What is infra-red (IR)? Infra-red is an electromagnetic wave who wavelength is between 0.75 microns to 1000 microns (1 micron = 1µm). Since infra-red is out of visible light range, we can’t really see IR with naked eye. However, there is a method to “see” IR which will be shown later on. Some of the infra-red applications includes night vision, hyperspectral imaging, and communications. We also use IR daily in our TV remote or any device remote.
If you haven’t check on the first part on RF module explanation, you might want to read it before proceed with RF using library. Here we going to discuss how to implement VirtualWire library with low cost RF module. VirtualWire library does not use the Arduino UART pin (digital pin 0 and digital pin 1).
You can download the VirtualWire library here.
Before we look into the code, let us see some of the functions.
Ever wonder how to implement wireless control on your project without spending too much of money? It is possible with cheap radio frequency (RF) module, consists of transmitter (Tx) and receiver (Rx). The RF module has to be used in pairs which are of the same frequency. Frequency of low cost RF module available are 315MHz and 433MHz.