Measure Distance Using Ultrasonic Sensor | Pi4J | JAVA | Raspberry Pi
by WearGenius in Circuits > Raspberry Pi
2301 Views, 2 Favorites, 0 Comments
Measure Distance Using Ultrasonic Sensor | Pi4J | JAVA | Raspberry Pi
Ultrasonic ranging module HC - SR04 provides 2cm - 400cm non contact measurement function, the ranging accuracy can reach to 3mm. The modules includes ultrasonic transmitters, receiver and control circuit. The basic principle of work:
(1) Using IO trigger for at least 10us high level signal,
(2) The Module automatically sends eight 40 kHz and detect whether there is a pulse signal back.
(3) IF the signal back, through high level , time of high output IO duration is the time from sending ultrasonic to returning.
Intro visual Source: http://bit.ly/2iJ1vAI
---------------------------------------------------------------------------------------------------
Links : Java Application on Pi Playlist: http://bit.ly/2iJ1vAI
Schematic : http://bit.ly/2iJ1vAI
Pi4J GPIO Numbering : http://bit.ly/2iJ1vAI
Download Pi4J Library : http://bit.ly/2iJ1vAI
Code : http://bit.ly/2iJ1vAI
Buy Sensor : http://amzn.to/2iJ3Z24 (India)
Buy Raspberry Pi : http://amzn.to/2iJ3Z24 (India)
********************************************************************
Subscribe YouTube : https://goo.gl/FhfdL7
Guys Subscribe to my channel for latest contents into your inbox. Support me to keep going.
Support me on Patreon : http://bit.ly/2jcjTSo
___________________________________________
Website : http://www.weargenius.in
Twitter : http://www.weargenius.in
YouTube : http://www.weargenius.in
Instagram : http://www.weargenius.in
GIT : http://www.weargenius.in
Facebook: http://www.weargenius.in