All Projects → sparkfun → HC-SR04_UltrasonicSensor

sparkfun / HC-SR04_UltrasonicSensor

Licence: other
Arduino example code for the HC-SR04 ultrasonic ranging sensor.

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to HC-SR04 UltrasonicSensor

nRF52840 Breakout MDBT50Q
Breakout board for the MDBT50Q nRF52840 module
Stars: ✭ 23 (-30.3%)
Mutual labels:  sparkfun
MP3 Player Shield
MP3 Player Shield - Play MP3s from an SD card! Created by and available from SparkFun Electronics
Stars: ✭ 22 (-33.33%)
Mutual labels:  sparkfun
SparkFun AutoDriver Arduino Library
Arduino library support for the SparkFun AutoDriver board based on the ST Micro L6470 stepper driver.
Stars: ✭ 14 (-57.58%)
Mutual labels:  sparkfun
Qwiic Spectral Sensor AS726X
Qwiic breakout for the AS7261/AS7262/AS7263 spectral sensors from AMS.
Stars: ✭ 20 (-39.39%)
Mutual labels:  sparkfun
arduino-midi-footswitch
USB MIDI Pedal built with Arduino
Stars: ✭ 24 (-27.27%)
Mutual labels:  sparkfun
SparkFun MMA8452Q Arduino Library
SparkFun Triple Axis Accelerometer Breakout - MMA8452Q Arduino Library
Stars: ✭ 16 (-51.52%)
Mutual labels:  sparkfun
SparkFun MLX90640 Arduino Example
Controlling and reading from the MLX90640 IR array thermal imaging sensor
Stars: ✭ 84 (+154.55%)
Mutual labels:  sparkfun
ESP8266 Thing
A breakout and development board for the ESP8266 WiFi SoC.
Stars: ✭ 41 (+24.24%)
Mutual labels:  sparkfun
ESP32 Thing Plus
ESP32 Thing-compatible board using the WROOM module and a QWIIC connector.
Stars: ✭ 18 (-45.45%)
Mutual labels:  sparkfun
scd30
arduino esp8266 ESP8266 SCD30 SCD-30 ESP32
Stars: ✭ 38 (+15.15%)
Mutual labels:  sparkfun
Github Tutorial
A very basic and flawed piece of code to show how Github GUI works.
Stars: ✭ 72 (+118.18%)
Mutual labels:  sparkfun
SparkFun ATECCX08a Arduino Library
An Arduino library to use with the Microchip ATECCX08a Cryptographic Co-processors.
Stars: ✭ 26 (-21.21%)
Mutual labels:  sparkfun
OpenLCD
An open source serial LCD (HD44780) controller based on the ATmega328.
Stars: ✭ 28 (-15.15%)
Mutual labels:  sparkfun
SparkFun Edge BSP
BSP and examples to integrate the SparkFun TensorFlow board with the AmbiqSuite
Stars: ✭ 19 (-42.42%)
Mutual labels:  sparkfun
Spectrum Shield
Spectrum Shield for Arduino, available from SparkFun Electronics.
Stars: ✭ 21 (-36.36%)
Mutual labels:  sparkfun
GraphicLCD Nokia 5110
Example Code for Nokia 5110 Graphic LCD
Stars: ✭ 60 (+81.82%)
Mutual labels:  sparkfun
RF Links
These wireless transmitters and receivers easily fit into a breadboard and work well with microcontrollers to create a very simple wireless data link.
Stars: ✭ 53 (+60.61%)
Mutual labels:  sparkfun
BMPtoArray
Python script to convert a bitmap to an Arduino prog_mem array for outputting grayscale images to OLEDs.
Stars: ✭ 25 (-24.24%)
Mutual labels:  sparkfun
Big Easy Driver
The Big Easy Driver available from SparkFun Electronics
Stars: ✭ 21 (-36.36%)
Mutual labels:  sparkfun
SunnyBuddy
MPPT single-cell LiPo battery charger based on the LT3562
Stars: ✭ 29 (-12.12%)
Mutual labels:  sparkfun

Ultrasonic Sensor - HC-SR04

Ultrasonic Sensor - HC-SR04)

Ultrasonic Sensor HC-SR04 (SEN-15569)

This is the HC-SR04 ultrasonic ranging sensor. This economical sensor provides 2cm to 400cm of non-contact measurement functionality with a ranging accuracy that can reach up to 3mm.

There are only four pins that you need to worry about on the HC-SR04: VCC (Power), Trig (Trigger), Echo (Receive), and GND (Ground).

HC-SR04 data sheet

Repository Contents

  • /Firmware - Arduino example code. Make sure to check the pin definitions and what you are connecting to.

Documentation

  • Hookup Guide - Basic hookup and project example using the ultrasonic sensor. (Note: The example code used in this tutorial is slightly different than the basic example used in this GitHub repo. Make sure to check your pin definitions if you are just using just the ultrasonic sensor.)

Product Versions

  • SEN-15569- Blue ultrasonic sensor w/ crystal
  • SEN-13959- Red ultrasonic sensor w/out crystal

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact [email protected].

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].