5v on the prop pins?
kutalinelucas
Posts: 80
Could anybody give me any ideas of the best way to interface a PIC18F and a propeller? I'm guessing the prop wouldn't be too happy with 5v on its pins!
I'm looking to communicate through a 2 way 4-bit data bus, so a voltage divider is out of the question. I have a 74LVC244AD line driver, but its surface mount and I'm on a breadboard, plus I haven't really looked into how to use it yet...
Cheers
I'm looking to communicate through a 2 way 4-bit data bus, so a voltage divider is out of the question. I have a 74LVC244AD line driver, but its surface mount and I'm on a breadboard, plus I haven't really looked into how to use it yet...
Cheers
Comments
http://forums.parallax.com/showthread.php?130733-Did-any-one-read-the-article-in-Nuts-and-Volts-by-Chris-Savage-about-Mixing-Voltage&highlight=chris+savage+nuts+volts
There's also some interfacing the Prop to "foreign" voltages in the sticky thread at the top of the forum:
http://forums.parallax.com/showthread.php?111166-Propeller-HYDRA-Key-Thread-Index
Of course, when you've done it with success, please come back and share your solution with all of us!!
(note: tx stands for transmit, rx stands for receive)
prop rx pin <
/\/\/\
<PIC tx pin
the prop has internal clamping diodes to keep the voltage below 3.3V, the resistor is there to limit current going through the diodes
check the PIC's logic high voltage, make sure it's less than 3.3V, then you can directly connect the prop tx pin with the PIC rx pin. A better idea would be to put another resistor between the pins to prevent damage caused by setting the pin states incorrectly (ie: PIC rx pin set to output high instead of input, and prop output low)
prop tx pin>
/\/\/\
>PIC rx
[/INDENT][/INDENT]10K
you could also read this http://www.sparkfun.com/tutorials/65