Showing posts with label ultrasonic. Show all posts
Showing posts with label ultrasonic. Show all posts

Saturday, September 3, 2016

Arduino Sensor Pod - Mock up

I got all my parts in from eBay finally (well except a 3 volt regulator pack they had to reship). So I soldered up some headers on to a mock up of the layout. I think I may put in the effort and cash to get some custom pcb's for this project. Mainly because this will be a lot of wiring if I don't and a real mess to troubleshoot if there's an issue. I like having the header pins though, makes it easy to swap out parts and move things around.






Wednesday, July 13, 2016

Ultrasonic Sensor on an Oscilloscope

So having an oscilloscope makes me always wonder how most electronics work and communicate data. I unfortunately am no expert but sometimes a scope can really help you better understand what's actually going on. In my testing of sensors for the sensor project, I was looking at the Ultrasonic sensors output. Really it's pretty straight forward.

The sensor puts out a pulse and listens back for the response. When that pulse is sent out, the output pin for the echo is set to HIGH. When the reflected ultrasonic sound comes back, the echo pin goes back down to LOW. So essentially all that an arduino does it measure the time between the high and low rise and fall, then calculate the distance based on the speed of sound.

Here was a short video of me moving back and forth in front of a sensor showing the incresing and decresing pulse length.