Society of Robots - Robot Forum
|
Robot Tutorials
|
FAQ
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Squirrels have fuzzy tails.
Home
Help
Search
Login
Register
Society of Robots - Robot Forum
»
Electronics
»
Electronics
»
Ultrasonic Project Crisis
Print
Author
Topic: Ultrasonic Project Crisis (Read 4794 times)
0 Members and 1 Guest are viewing this topic.
Hal9000
Supreme Robot
Posts: 338
Helpful? 0
Ultrasonic Project Crisis
«
on:
February 09, 2007, 07:25:06 AM »
Hey there folks,
I'm currently in the middle of a larg-ish project of 3D position location using ultrasonics and the principle of trilateration.
My transmitter has 4 ultrasonic transducers on it, and it sends a 40kHz burst for 0.1ms and then goes silent for 0.9ms. It uses Max232 chips to step up the voltage level to the transducers so that the range is further. This works fine.
I made some recievers each with a ultrasonic transducer, then an amplification stage with a single-rail op-amp and then a 567 tone decoder. These were all working before christmas, however, on my return to the lab all but one of them has stopped working.
What is supposed to happen, is that when the pulse is generated from the transmitter, the reciever then 'catches' it, this 40kHz is then amplified, then the tone decoder goes low (OV), (and when there is no 40kHz tone, it goes high (5V) ).
However, the tone decoder always seems to activate now, even without the transmitter switched on. I am using 0.1uF and 0.01uF decoupling capacitors and a regulated power supply, and obviously they were all working at some stage so I'm now wondering what went wrong. Could it be the power supply?
These are pretty much the circuit diagrams i'm using, except obviously the transmitter has max232s.
http://www.eetasia.com/ARTICLES/2002MAR/2002MAR08_RFD_DA_AN.PDF
Cheers for taking a look
«
Last Edit: February 09, 2007, 07:27:26 AM by Hal9000
»
Logged
"The truth is, you can't hide from the truth, cos the truth is all there is" - Handsome Boy Modeling School
Admin
Administrator
Supreme Robot
Posts: 11,703
Helpful? 173
Re: Ultrasonic Project Crisis
«
Reply #1 on:
February 09, 2007, 07:58:28 AM »
quick stupid-check . . . did you check the voltages on all your pins with a multimeter? this will help you rule out components that fried . . . i am guessing the Max232 is giving you 20V? might possibly be exceeding/near maximum voltage on other components . . .
are all grounds still common?
if the tone decoder always goes high, yet you dont hear the ultrasonic pulses, then the tone decoder is the failure point . . . i suspect that it would be the problem.
Logged
subscribe to SoR's YouTube account
Hal9000
Supreme Robot
Posts: 338
Helpful? 0
Re: Ultrasonic Project Crisis
«
Reply #2 on:
February 09, 2007, 01:05:41 PM »
Yeah, its going to be a weird one to sort out
Thanks for the suggestions, i'll take a look
Logged
"The truth is, you can't hide from the truth, cos the truth is all there is" - Handsome Boy Modeling School
Hal9000
Supreme Robot
Posts: 338
Helpful? 0
Re: Ultrasonic Project Crisis
«
Reply #3 on:
February 10, 2007, 12:52:53 PM »
Woop! It works now!
It was grounding faults and the references to ground that was the problem in the end. Thanks for your suggestions.
Logged
"The truth is, you can't hide from the truth, cos the truth is all there is" - Handsome Boy Modeling School
santiagoe
Jr. Member
Posts: 15
Helpful? 0
Re: Ultrasonic Project Crisis
«
Reply #4 on:
March 24, 2007, 11:39:46 PM »
how do you program the basic stamp2 for using 2 or more ultrasonics ping sensors?
Logged
Hal9000
Supreme Robot
Posts: 338
Helpful? 0
Re: Ultrasonic Project Crisis
«
Reply #5 on:
March 25, 2007, 07:41:52 AM »
I haven't ever used the BS2 ones because they seem like a bit of a rip-off. You could try making your own with a 567 tone decoder, though
Logged
"The truth is, you can't hide from the truth, cos the truth is all there is" - Handsome Boy Modeling School
Hal9000
Supreme Robot
Posts: 338
Helpful? 0
Re: Ultrasonic Project Crisis
«
Reply #6 on:
March 25, 2007, 07:44:37 AM »
Actually, fairplay, the PDF document that I originally posted has the circuit diagram for that on.......so basically I am using it, but not for ping. Distance calculations are therefore very easy with this ping detection.
Like, switch on the transmitter and see how long (in clock cycles) it takes to reach the reciever, placed next to the transmitter. Relatively simple, no?
Logged
"The truth is, you can't hide from the truth, cos the truth is all there is" - Handsome Boy Modeling School
Print
Society of Robots - Robot Forum
»
Electronics
»
Electronics
»
Ultrasonic Project Crisis
Get Your Ad Here
data_list