Page 1 of 1

Working RC5/RC6 transmission of 1 byte, 3 integers

Posted: Tue Apr 08, 2014 2:03 pm
by Jan Lichtenbelt
433 MHz transmission of 1 byte and 3 integers by means of RC5/RC5 protocol<br />Remark: The LCD of the receiver is quicker compared to the transmitter!
433 MHz transmission of 1 byte and 3 integers by means of RC5/RC5 protocol
Remark: The LCD of the receiver is quicker compared to the transmitter!
P1060070_t.jpg (163.62 KiB) Viewed 2581 times
On request here 2 Flowcodes for the transmission of 1 byte and 3 integers by means of RC5/RC6 protocol.

The advantage is that each bit has its own synchronisation transition (0->1 or 1->0). That makes it easier compared to RS232.

The choice of 1 byte and 3 integers is due to an application of me. It can easily be changed in the program.

The bit period time in these examples is 2 x 255 usec. That is due to the fact that this is about the maximum speed with 433MHz transmission between the RC5-Tx (transmitter) and the RC5-Rx (Receiver). If both Tx and Rx are directly connected the bit speed can even be 2 x 100 usec.

With 2 startbits and 1 byte and 3 integers that takes minimal: 2+8+3x16= 58 bits or 58 x2x100usec = 11.2 msec.

The 433 MHZ transmitter has been described in Elektor September 2013 http://www.elektor.com/120049 or http://www.elektor.com/elektor-magazine ... er-2013-en. But I use the 16F1847 microchip in stead of the 16F628A.

Succes

Jan Lichtenbelt

Re: Working RC5/RC6 transmission of 1 byte, 3 integers

Posted: Tue Apr 08, 2014 3:58 pm
by Jan Lichtenbelt
Improved file Rx