Go Down

Topic: Failed project: Ultrasonic measuring tape. (Picture heavy) (Read 1 time) previous topic - next topic

XOIIO

Well, my project failed after a whole day of work on it, and I am sad and a bit pissed off. It was an ultrasonic measuring tape, with an ultrasonic sensor on each side, so that you could measure from the middle of a wall, ceiling, etc. (it would take into account the width of the box and take that out of the result). I went out, got the case, came back, made the holes for ultrasonic sensors, then realized I needed dremel saw bits, instead I spent several times more and bought a coping saw, got the LCD put in, wired everything up and secured the wires and got programming. Sadly, the ultrasonic sensors for some reason are just having trouble and not working, so the project is dead. I took pictures of a bunch of the steps so I figure I'd post them, maybe some of you would like them. It's a shame cause I was really excited about this. :(















Nick Gammon

Quote

Sadly, the ultrasonic sensors for some reason are just having trouble and not working, so the project is dead.


If you could be a bit more specific, perhaps we could help. What is "not working"? Where is your code? What readings are you getting, and what are you expecting to get?
http://www.gammon.com.au/electronics

XOIIO


Quote

Sadly, the ultrasonic sensors for some reason are just having trouble and not working, so the project is dead.


If you could be a bit more specific, perhaps we could help. What is "not working"? Where is your code? What readings are you getting, and what are you expecting to get?


I have a thread here: http://forum.arduino.cc//index.php?topic=193831.0

The ultrasonic sensors are just acting nuts, they were all fine yesterday, today readings are way off, not changing or registering 0 aimed at a flat surface 3 feet away. It's happening on both of my arduinos and I can't figure it out

CentaX

I have some similar experience.. I also bought 2 ultrasonic sensors and a display for my first attempts in arduino programming. When i thought everything was fine, suddenly i had weird readings, too. I can't tell you anymore how i got rid of this .. Just keep experimenting, tear them out of the box and test them again with sample code.

Peter_I

could it be, that the sensors are "hearing" each other?

You have sensors at each end of the box, as far as I understand your pictures.
Bob Pease: "My favorite programming language is ... solder."

hxtasy


could it be, that the sensors are "hearing" each other?

You have sensors at each end of the box, as far as I understand your pictures.


Thats what i was thinking too, you could also just turn one on for 250ms, then turn the other on, just alternate left and right.

depending on where you are measuring you could be getting some echoic noise off of walls, there are ways to deaden this noise or different surfaces that can increase or decrease noise, you can research into.

i did a project awhile back measuring the distance of my head from a computer monitor (for an automated kvm switch). i remember it working like a charm and not having any noise issues.

maybe you have some bats flying around your test area screwing it up?

Go Up