View Single Post
  #4   Spotlight this post!  
Unread 24-01-2006, 23:41
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
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.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL