Interfacing bi-direction serial 5V devices to the Prop !?!
ChrisE
Posts: 19
Hello all!
·
Firstly, I would like to wish everybody a Merry Christmas and a happy new year for this holiday season.
·
Now back to the topic at hand, I have read through the sticky thread,·HOW TO SAFELY INTERFACE A 5V SIGNAL TO THE PROPELLER?, and although it is·a little 'cloudy' at points, I understand the parts about one-way communication between different devices.
·
But would a simple resistor·be suitable for bi-directional communication between·a prop and Parallax's GPS module,·and·which value is best? 4.7K?··
·
Thanks,
·
Chris
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Firstly, I would like to wish everybody a Merry Christmas and a happy new year for this holiday season.
·
Now back to the topic at hand, I have read through the sticky thread,·HOW TO SAFELY INTERFACE A 5V SIGNAL TO THE PROPELLER?, and although it is·a little 'cloudy' at points, I understand the parts about one-way communication between different devices.
·
But would a simple resistor·be suitable for bi-directional communication between·a prop and Parallax's GPS module,·and·which value is best? 4.7K?··
·
Thanks,
·
Chris
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
·
"would a simple resistor be suitable for bi-directional communication between a prop and Parallax's GPS module" -· for receiving the RAW signals yes, a 4.7K resistor would be fine.
For sending it depends on what the input threshold voltage is for the 5V device. (<--This applies to any 5V device connected to a lower voltage interface.)·· ... I could not find this
information on the GPS datasheet, and I no longer have my setup connected.· But if I recall, the input voltage threshold is around 4V.· You could try this trick using a diode to the
GND connection of the 3.3V regulator supplying the Propeller.· Effectively this level shifts the Propeller I/O so that it outputs .6V for a logic LOW and 3.9V for a logic HIGH.
·
I haven't tried this with the Propeller, but I have used this method with other processors running at 2V.· It might be just enough to get you within the input trigger threshold.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I'm in the process of designing a·PCB·for a hand-held device so·I·need·some idea of the layout to accommodate·the additional components. I will include a·jumper (and pull-down resistor) to manually select RAW mode·if I have problems after proto-typing.
Thanks again.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔