Using the Parallax Position Controller and HB25 with a propeller
jgunderson
Posts: 6
Hi,
Has anyone connected the propeller chip up with the position controller (Parallax part 29319)? I'm concerned because the position controller appears to have a 5 Volt data line, and the Propeller wants 3.3V If we were just reading data, we could use the same dodge as the Ping))) connection, and put a resistor in line, but we need to both send commands, and receive data.
So I thought I'd see if anyone else had already solved this.
Thanks in advance,
Jim
Has anyone connected the propeller chip up with the position controller (Parallax part 29319)? I'm concerned because the position controller appears to have a 5 Volt data line, and the Propeller wants 3.3V If we were just reading data, we could use the same dodge as the Ping))) connection, and put a resistor in line, but we need to both send commands, and receive data.
So I thought I'd see if anyone else had already solved this.
Thanks in advance,
Jim
Comments
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Cool, Thanks, this is a much better solution than the one I was working towards.
This chip looks like it requires a direction pin to be toggled between transmit and receive, so I guess I'll have to dedicate another pin on the propeller to handle direction. I don't suppose that you know of some auto-sensing version
Thanks again,
Jim
http://www.sparkfun.com/commerce/product_info.php?products_id=8745
Regards,
Jim
Thanks Jim! We followed your link to the Spark Fun product, and thought we might get a road trip up to Boulder for a moment. However, it looks like they support up shift and down shift, but require separate lines in each direction. The Position Controller uses a single Tx/Rx line, so we would need to do some logic to multiplex. However, the schematic did inspire us to try a quick fix with a voltage divider and an inverter.
Thanks for the help!
Jim
I am attaching a schematic of a circuit used by Steve Norris ( http://www.norrislabs.com/·) for·his RoboStool project.
Steve has interfaced the Propeller to the the Position Controller with just a 1k series resistor.
Just a thought.
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
Tom,
Thank you very much, this does work.
I'm a little concerned on the Tx side - it seems that the 1K resistor should drop the 3.3V output of the Propeller chip to be very close to the logic threshold on the 5v TTL side. But it works fine on the test bench, so we will move it onto the robot and see how robust it is.
Thanks to everyone!
Jim
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Searider