Distance Measurement Using Python & Tk Gui Tools
About the project
This project uses an ultrasonic sensor to indicate the distance of any object from it.
Project info
Difficulty: Easy
Platforms: Adafruit, DFRobot, Raspberry Pi, SparkFun, Python
Estimated time: 1 hour
License: GNU General Public License, version 3 or later (GPL3+)
Items used in this project
Hardware components
Story
Ultrasonic ranging module HC-SR04 provides 2cm to 400cm non-contact distance measurement range. Its accuracy can reach ±3mm with a cycle period of 50ms, which is the minimum time delay recommended before measurements are taken. The module includes ultrasonic transmitter, receiver and control circuit. This project uses an ultrasonic ranging module with a Raspberry Pi to build an ultrasonic distance meter GUI.
Note:
The project can be developed by adding a button with a new function such as start function to repeat the measurment process:
Leave your feedback...