Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Help with sonar sensor (http://www.chiefdelphi.com/forums/showthread.php?t=42410)

supertw 22-01-2006 03:54

Help with sonar sensor
 
How can i wire this to the 2006 RC?
http://www.edpcompany.com/pdf/Mini.pdf

and will I be able to program it?
as of now i'm guessing i should use PWM output to generate a signal and analog to receive the pinging

how would i do that?

rufu5 22-01-2006 23:38

Re: Help with sonar sensor
 
did you get the mini-a transducer?

we ordered a pair of those about a week ago, and they are supposed to come in tomorrow or Tuesday. as soon as i get a crack at them, I'll tell you what i can figure out

until then, just remember ... don't wire them straight to the battery :ahh: :D

rufu5 24-01-2006 23:38

Re: Help with sonar sensor
 
ours came in, and from what i've read, you have your ground and power pins, and then you have the TTL out put (like what the camera uses)

you would find the pin designations on your RC (the TTL port) and make a custom cable that brings your power and ground to an un used pwm port, and your input pins into the TTL port on the robot

the downside to this ... no camera, because you only have one TTL port :(

i'm still looking into this, and if i can find a way to hook this up using an analog or digital input instead, that would be great

if you have any more questions or more specific questions specific to your model feel free to PM me

good luck!
rufus

Eldarion 24-01-2006 23:41

Re: Help with sonar sensor
 
Quote:

Originally Posted by rufu5
ours came in, and from what i've read, you have your ground and power pins, and then you have the TTL out put (like what the camera uses)

you would find the pin designations on your RC (the TTL port) and make a custom cable that brought your power and ground to an un used pwm port, and then your input pins into the TTL port on the robot

the downside to this ... no camera, because you only have one TTL port :(

i'm still looking into this, and if i can find a way to hook this up using an analog or digital input instead, that would be great

if you have any more questions or more specific questions specific to your model feel free to PM me

good luck!
rufus

You could use a TTL level converter (like the MAX232), and hook the device up to the program port (serial port 1, I believe). From there, it is actually a bit simpler to use the program port, as you can use printf()s and the like to "talk" to it. This will allow you to use the camera, but may hinder debugging a bit, as you have no easy way for the RC to "talk" to you.


All times are GMT -5. The time now is 11:25.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi