

Second, converting from character arrays to numeric values and vice-versa is usually a pain to implement. Firstly because 432.67 can actually be transmitted using only two bytes (if it is encoded properly) whereas encoding it into a character array would need at least 6 bytes to be transmitted (count the characters 4 3 2 decimal 6 7). This is fine if you want to send ‘h’,’e’,’l’,’l’,’o’ over the RF link but if you want to send a floating point number say 432.67, you would have to encode it as a sequence of characters and send it as ‘4’,’3′,’2′,’.’,6′,’7′ The only drawback with the VirtualWire library is that it can only send character arrays, not numeric data.

It even incorporates an CRC to ensure the data arriving is of good quality. This is a great library, very easy to use (I had it up and running in just minutes), and very effective too. Mike McCauley has developed the VirtualWire library for use with these little TX-RX units. Max Baud Rate – I achieved about 2000 bps with almost no drops in messaging

Range – about 30 – 40 ft is what I could achieveĤ. These are not transceivers!!! You need to buy two sets if you want 2-way RF communicationsĢ. Transmitter on the left, receiver on the rightġ.
