Hello
I've got two 16F628A to communicate with SERIN/SEROUT at 2400baud, on 2 wires, and it manage to work. 2400bauds seems to be a safe speed.
Lots of sync error since my program is doing stuff and is not always waiting for data, but it will respond in less than 2-3 sec at worst case.
I'm curious about how you would make it work with only 1-wire(for 2 way comm)!? Or is it for 1 way comm only?
How the port would be set, does it have to be swtiched live from input to output?
Also, I wanted to know if there's a way to get the PIC going if no wire is connected, as currently it hang the program as soon as it hit SERIN.(even timeout is not triggered).
Can this be fix by adding resistor or caps between TX and RX?
Maybe onewire comm will get this
Bookmarks