Go to Post Reach out to successful teams and ask them for help, rather than complain about them. I have never seen a successful team deny help to anyone. - OZ_341 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-01-2006, 03:54
supertw supertw is offline
Registered User
#1560
 
Join Date: Dec 2004
Location: California
Posts: 10
supertw will become famous soon enough
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?
  #2   Spotlight this post!  
Unread 22-01-2006, 23:38
rufu5's Avatar
rufu5 rufu5 is offline
20something
FRC #6721 (Trailblazer Robotics)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2000
Location: Indiana
Posts: 177
rufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud of
Send a message via AIM to rufu5
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
__________________
have no fear of perfection, you will never reach it.
-Salvador Dali
  #3   Spotlight this post!  
Unread 24-01-2006, 23:38
rufu5's Avatar
rufu5 rufu5 is offline
20something
FRC #6721 (Trailblazer Robotics)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2000
Location: Indiana
Posts: 177
rufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud ofrufu5 has much to be proud of
Send a message via AIM to rufu5
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
__________________
have no fear of perfection, you will never reach it.
-Salvador Dali
  #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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a Sensor Board SpaceOsc Technical Discussion 11 15-05-2004 12:46
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Banner Sensor Programming Problem 2Crisis Programming 4 24-02-2004 13:40
Translating pressure sensor readout into actual pressure Mercutio Pneumatics 0 13-02-2004 16:29
Quick Optical Sensor Question zorro Technical Discussion 10 21-01-2003 06:39


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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