Skip to main content

UPDATE 1: DIY Sonoff RF Bridge with Sonoff RF

The Sonoff RF I have ordered arrived. It is similar to Sonoff Basic in term of the layout. Flashing the device with Tasmota firmware is easy. In Tasmota website, the instruction recommended soldering a jumper at R21. I discovered that this is not necessary. To start up the ESP in programming mode, I only need to short the inner pin of R21 to ground when powering up the ESP.



After I have flashed the device, I was trying to pair with my RF433 with pre-defined code but it does not go into pairing mode and I also noticed the ESP01 randomly throws errors. I suspected that the FTDI serial adapter may not have enough current to power both the ESP and the RF board. I put back the casing, powered the device using AC and cleared the existing code. I paired the Sonoff RF with my fixed code RF433 transmitter and using the DIY Sonoff bridge Web UI to trigger. Presto! The bridge is able to switch on/off the Sonoff RF.

That is a promising start for the DIY bridge. More exciting integrations with other RF433 codes may be possible in the future.

Comments

Popular posts from this blog

Xiaomi Mi Flora Chinese and International version comparison

Xiaomi Miflora sensor allows monitoring of the surrounding environment of the plant. It can monitor temperature, soil moisture, conductivity (acidity of the soil), ambience light. There are 2 versions of the sensor, international and Chinese version. Realistically, I cannot see the difference between the 2 versions. The left-hand side is the Chinese version and the right is the international version. Other than the packaging, the main difference is the price of the sensor. The International version cost 2x more. In other forums, there are discussions that the Chinese version cannot connect to the MiHome App. I have set my MiHome app to connect to China server and it is able to register the sensor correctly. For my usage, I will be connecting to Openhab to monitor the plants andusing  Thomas Dietrich MiFlora mqtt daemon  as the bridge between Openhab and the sensor. The International version is detected as Flower care and the firmware version is 3.1.9 wh...

Using ESP-Link transparent bridge (ESP-01 and Arduino Pro Mini)

Recently stumbled across an interesting open source project ESP-Link . Its main purpose is to network-enable a non-network microcontroller (MCU) such as Arduino Uno, Pro mini or Nano using ESP8266. The author termed it as "Transparent Bridge". The ESP and MCU  communicate via the serial link and there is a companion Arduino library EL-Client  for the MCU to connect up the network using MQTT, REST, TCP and UDP. Setup I have put together an ESP-01 and an Arduino Pro Mini for this experiment. I have chosen a 3.3 version Pro mini so that I do not need to do any voltage level shifting between the I/O pins. In order to have a stable voltage source, the ESP8266 is powered by Pro Mini and the Pro Mini "RAW" pin is connected to a 5v USB power source. The RAW pin can take voltage up to 12V. The reset pin of Pro Mini is connected to GPIO 0 of ESP-01. This enables the ESP-01 to reset the Pro Mini.   I have linked up an APDS 9960 sensor to it and periodically se...