Working RC5/RC6 transmission of 1 byte, 3 integers

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

User avatar
Jan Lichtenbelt
Posts: 794
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 261 times
Contact:

Working RC5/RC6 transmission of 1 byte, 3 integers

Postby Jan Lichtenbelt » Tue Apr 08, 2014 2:03 pm

P1060070_t.jpg
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 1321 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-september-2013-en. But I use the 16F1847 microchip in stead of the 16F628A.

Succes

Jan Lichtenbelt
Attachments
RC5_Rx_V16F1847.fcfx
(31.12 KiB) Downloaded 66 times
RC5_Tx_V16F1847.fcfx
(14.84 KiB) Downloaded 74 times
These users thanked the author Jan Lichtenbelt for the post (total 3):
LeighM (Tue Apr 08, 2014 3:40 pm) • kersing (Tue Apr 08, 2014 5:54 pm) • Benj (Wed Apr 09, 2014 1:00 pm)
Rating: 15.79%
 

User avatar
Jan Lichtenbelt
Posts: 794
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 261 times
Contact:

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

Postby Jan Lichtenbelt » Tue Apr 08, 2014 3:58 pm

Improved file Rx
Attachments
RC5_Rx_V16F1847_V2.fcfx
(31.17 KiB) Downloaded 85 times
These users thanked the author Jan Lichtenbelt for the post:
Benj (Wed Apr 09, 2014 1:00 pm)
Rating: 5.26%