• Radio433Brennenstuhl
  • Radio433Brennenstuhl Class


    The Radio433 class helps to interact with the 433 MHz receiver and transmitter. More...

    Header: #include <Radio433Brennenstuhl>
    Inherits: Radio433

    Public Functions

    Radio433Brennenstuhl(QObject * parent = nullptr)

    Reimplemented Public Functions

    virtual bool available() const
    virtual bool enabled() const

    Public Slots

    virtual bool sendData(int delay, QList<int> rawData, int repetitions)

    Reimplemented Protected Functions

    virtual void setEnabled(bool enabled)

    Additional Inherited Members

    Detailed Description

    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 CONFIG+=radio433gpio

    Member Function Documentation

    Radio433Brennenstuhl::Radio433Brennenstuhl(QObject * parent = nullptr)

    Construct the hardware resource Radio433 with the given parent. Each possible 433 MHz hardware will be initialized here.

    [virtual] bool Radio433Brennenstuhl::available() const

    [virtual] bool Radio433Brennenstuhl::enabled() const

    See also setEnabled().

    [virtual slot] bool Radio433Brennenstuhl::sendData(int delay, QList<int> rawData, int repetitions)

    Reimplemented from Radio433::sendData().

    Returns true, if the rawData with a certain delay (pulse length) could be sent repetitions times.

    [virtual protected] void Radio433Brennenstuhl::setEnabled(bool enabled)

    See also enabled().