The Radio433 class helps to interact with the 433 MHz receiver and transmitter. More...
|virtual bool||sendData(int delay, QList<int> rawData, int repetitions) = 0|
The Radio433 class helps to interact with the 433 MHz receiver and transmitter.
This class handles all supported radio 433 MHz transmitter. Receiving data on the 433.92 MHz frequency is only supported, if there are GPIO's available and a suitable receiver is connected to GPIO 27. Examples for receiver can be found here. The antenna has a very large impact on the quality of the signal and how well it is recognized. In many forums and blogs it is described that a 17, 3 mm piece of wire is enough. Experiments have shown, it's not. A 50 Ohm coaxial cabel (thickness = 1mm), mounted on the antenna pin of the receiver with a minimum distance of 5 cm away from the circuit and unisolated 17.3 mm at the end has shown the best results.
In order to send data to a 433 MHz device, there currently are two possibilitis. If there are GPIO's available, the data will be sent over the transmitter connected to GPIO 22. Also in this case the antenna is a verry important part.
The second possibility to sent data to a 433 MHz device is the Brennenstuhl 433 MHz LAN Gateway. If there is a Gateway in the local network, this class will automatically detect it and will be used. If both transmitter are available (Gateway + GPIO), each signal will be transmitted over both sender.
Note: : Radio 433 on GPIO's is by default disabled. If you want to enable it, you need to compile the source with the qmake config
Construct the hardware resource Radio433 with the given parent. Each possible 433 MHz hardware will be initialized here.
The virtual destructor of the Radio433.
Returns true if the given rawData can be sent to a RF 433MHz device with the given delay. The amount of packages to send can be configured with the parameter repetitions.