Candle - 433 Hub - A universal 433Mhz signal cloner



  • It took three weeks to build, but here it is: a device that will easily connect almost any 433Mhz device to your smart home.

    The 433 Hub can do two things:

    • You can teach it a signal, and from then on it will be able to detect it.
    • You can teach it a signal, and from then on it will be able to replay it.

    Both of these features come in 'single signal' and 'on+off" versions. So for example:

    • You could copy the ON and OFF button from a remote for your 433Mhz sockets, and from then on switch the socket from your smart home controller.
    • You could teach it to detect window sensors that have both on and off states.
    • You could teach it to detect the alarm signal from a wireless smoke detector.

    For each signal that you teach it to recognise, a door sensor will be presented to your controller.
    For each signal that you teach it to replay, an on/off switch will be presented to your controller.

    Signals take between 8 and 28 bytes to store, depending on complexity and if they are simple or on+off signals. This means an Arduino Nano can store between 20 and 60 signals in just half of it's eeprom (512 bytes).

    HARDWARE

    • Arduino

    • 433Mhz receiver & transmitter

    • Touch screen (optional, recommended)
      or

    • OLED screen (optional)

    • Keypad (optional)

    Here's the version that uses a touch screen.
    0_1551117671838_20190218_220842_resized.jpg
    0_1551117742127_20190218_220924_resized.jpg

    Here's a version that uses a keypad.
    0_1547905513000_433hub-lowres.jpg
    With a 12 button keypad you can easily replay 10 signals. The last two buttons are used to navigate and make selections in the menu system.

    You can also trigger the learning sequences from 4 virtual buttons that the device creates on your controller (detect simple, detect on+off, replay simple, replay on+off).

    It works best if you use the touch screen. Using the menu you can delete the last recorded signal, or delete all recorded signals.

    It's designed to work with the upcoming Candle privacy friendly smart home, and the Candle Manager. More on that later this year.

    CODE
    https://github.com/createcandle/devices/blob/master/433-hub/433-hub.ino



  • @alowhum So this can act as a kind of learning remote, correct?

    Nice work by the way.



  • Exactly.

    And a learning detector at the same time.



  • The touch screen code is now also available.



  • Something I had hoped actually works: it can also copy IR (infrared) signals!

    Settings need to be slightly different, as IR signals are 'slower' than RF signals. Changes I made to the settings are:

    #define MAXEDGES 100            // instead of 400                    
    #define GRANULARITY 100       // the default settings of '50' also work, but IR signals need less precision.
    #define MAXIMUMDURATION 66000
    #define MINIMUMSILENCE 66000
    

    It doesn't recognise things perfectly, as IR signals don't seem to repeat themselves in the same way. You may have to press the button a few times before the signal can be copied.

    I also haven't tested if transmitting the signals actually switches IR devices on and off.

    An example:

    00000000 > 0
    11110111 > 239
    00010000 > 8
    11101111 > 247
    

 

324
Online

8.3k
Users

9.1k
Topics

96.7k
Posts