Raspberry Pi Pico W LESSON 108: Portable Distance Measurement Project With Ultrasonic Sensor
This is a link to the Oscilloscope I was using in today’s lesson. It is not required for the class, but is a pretty cool piece of lab gear to have:
Raspberry Pi Pico W LESSON 107: Precision Ultrasonic Distance Measurement With PIO State Machines
https://amzn.to/3DIDhF2
(Affiliate Link)
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
https://www.patreon.com/PaulMcWhorter
In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in this entire class.
In this video, I will show you how to work with PIO state machines and machine code to get precise timing control for accurate distance measurements with the HC-SR04 Ultrasonic sensor. I will show you how to hook up the circuit and how you can program the state machines for maximum accuracy. Then I will show how to include a SSD1306 OLED display for creating a portable distance sensor Enjoy!
More great content at:
http://toptechboy.com
[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. ]
#raspberrypipicow
#statemachine
#HC-SR04
source