Open baud mode with Propeller and Stamps?
gilabite
Posts: 20
Hello Ive been browsing the forums trying to figure out how to use open baud mode to make a serial network between a Propeller as a master and several Stamps as slaves. Ive found some posts that seem to say that it works and then others that say that using the required protection resistor for the Propeller and the pull up resistor for the network ends up turning it into a voltage divider, which is what I seem to be experiencing. I can get it working for the Stamps, but the voltage divider kills the signal to the Propeller. The grounds are shared so its not that. Hoping I can do this without spending money because Im broke right now
Comments
If you are trying to use a single serial line to connect a prop and several uC's you will need to add a little circuitry so the prop 3.3V output can drive that 5V line. That could be as simple as an npn transistor and pullup resistor. It really depends on how you want to connect things.
I have a 3.3K resistor on the Propellers pin and thats what seems to turn the circuit into a voltage divider. If I used the transistor method would that work with a one wire setup like this or would it just work one way?
Andy
If you need higher numbers you need to implement some sort of a protocoll on the serial bus. Something like a start byte then 4 bytes for the value and perhaps an ending byte. If you want it more reliable also a checksum can be implemented for every "frame".
Andy