- Sun Sep 30, 2007 8:28 pm
#35789
Hi!
So I've managed to have some success. I have an AVR m168 driving the TX side, it sends 4 bytes of 0xFF and then a constant stream of 0x55 at 2400 bps.
On my RX side I have the board sitting on a breadboard, it is powered via an ftdi ttl-232R USB cable, which is also hooked up to a terminal.
Watching the terminal, no data comes through. In attempting to debug, I was trying attaching capacitors across various pins to see if I could get *something*.
While plugging a 22pF capacitor, I suddenly saw a stream of data in the terminal. Looking into it, when one leg of the cap is plugged into the data line, and I'm *holding* the other leg (not touching any other wires), I get data. It's not clean data, it looks like:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.
with some extra garbage, but it's *data*.
No data (or just some low rate garbage) is recieved when the transmitter is off.
If I let go of the capacitor, or attach the cap to GND or +5v, the data stream stops.
Any thoughts?
So I've managed to have some success. I have an AVR m168 driving the TX side, it sends 4 bytes of 0xFF and then a constant stream of 0x55 at 2400 bps.
On my RX side I have the board sitting on a breadboard, it is powered via an ftdi ttl-232R USB cable, which is also hooked up to a terminal.
Watching the terminal, no data comes through. In attempting to debug, I was trying attaching capacitors across various pins to see if I could get *something*.
While plugging a 22pF capacitor, I suddenly saw a stream of data in the terminal. Looking into it, when one leg of the cap is plugged into the data line, and I'm *holding* the other leg (not touching any other wires), I get data. It's not clean data, it looks like:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.
with some extra garbage, but it's *data*.
No data (or just some low rate garbage) is recieved when the transmitter is off.
If I let go of the capacitor, or attach the cap to GND or +5v, the data stream stops.
Any thoughts?