Content originally posted in LPCWare by ewajs on Sat Oct 26 12:09:49 MST 2013 Hi, I'm using 2 LPC1769 and trying to interconnect their UART's through a standard 434MHz RF Module.
The first attempt was to connect both UART's directly (using a wire), the program worked as expected (turning on and off a led in the receiver when the transmitter send a specific character). When linking the LPC's through a standard RF 434MHz Module and a HT12D and a HT12E on the transmitter (simple encoder and decoder) the LED stopped blinking.
We tried to interconnect them using simple GPIO's instead of the UART's and the program started working again. So we narrowed the problem down to using both the UART and the RF modules (with encoder or decoder), it must be some electrical issue of the UART either on the transmitter or the receiver (or both), but we can't figure it out.
Things we tried: - Using a pair of resistors to lower the input voltage from the decoder (and encoder) from 5V to 3.3 V (we needn't do this when we used just the GPIO's) - Using a JFET transistor to isolate both UART's from the enconder/decoder in case there was a current drainage issue. -Tried 2400, 4800 and 9600 Baud Rates.
Content originally posted in LPCWare by Skashkash on Sat Oct 26 15:42:01 MST 2013
Not sure what a standard 434mhz rf modules is, but...
In general, these simpler rf modules won't work well when used with a uart sending normal ascii chars. They are not the simple equivalent of a wire. The modules have requirements for proper timing and modulation. You don't want long stretches of zeros or ones. You'll also typically want some preamble characters to get the receivers data slicer into 'sync'.
In general you'll get better results by not using the uart, and writing your own encoding and decoding routines. But it is possible to use the uart with some tricks. Some notes here that may help Link