- Mon Nov 27, 2006 8:06 am
#22541
Just FYI, I should mention that I've never tried one of the decoder chips.
My setup is UART-to-UART, and it has worked well for me so far.
More specifically, I do this at the moment:
- 18F4620's TX line driving the Data line on the xmtr at 4800 baud, 434 Mhz. The same TX signal also drives the trigger input on a 555 configured as a 1-shot with a duration of about 0.1 seconds. The 555's output supplies the Vcc to the xmtr. So, when the UART sends a byte, the xmtr is powered up by the 555. If additional bytes are sent within 0.1 seconds, the xmtr stays on. Shortly after the last byte is sent, the xmtr is powered down automatically.
- The code in the 4620 starts every transmission with a preamble of "<space>+++". The space gets the xmtr turned on, and the +++ is for the rcvr to lock onto the signal.
- The rcvr is connected to the RX input on a 16F917.
- The rcvr code watches for 3 consecutive '+' chars, then assumes that it will be followed by the real data. The rcvr stops listening when it sees a <cr>. This means that each 'packet' is assumed to be a single line of ASCII text.
Pete