Arduino: How to measure a distance with a HC-SR04 module.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ultrasonic-distance
README.md

README.md

Arduino: Ultrasonic Distance

1 Description

In this little script I will show you how to measure distances with the HC-SR04 ultrasonic module for Arduino. Besides the module I also used a 0,96" I2C OLED display device to show the current distance.

For a more detailed description visit my webiste:

2 License

This project is licensed under the GNU GPLv3 open source license. Thus anybody is allowed to copy and modify the source code, provided all changes are open source too and the author is in knowledge of all done changes. This can happen either via eMail or directly on GitHub, in other words at this repository.

3 Disclaimer

I am not responsible for anything in conjunction with this project, including bugs, failure, fire, harm of equipment and harm of persons. Reasonably foreseeable misapplication:

  • Bug in the code
  • Failure of used parts due to a bug in the code or a wrong wiring diagram, including a wrong design.
  • Fire due to a wrong wiring diagram, including a wrong design.
  • Harm of equipment, meaning third party parts (cameras, flashes, etc.) due to a bug in the code or a wrong wiring diagram, including a wrong design.
  • Harm of persons due to any failure of the system, a wrong wiring diagram or a wrong behaviour.

It is your own responsibility to use these contents. Be careful, this project includes lethal electrical voltage. Put yourself in knowledge about the risks before you start with this project.