Flash the Sonoff DUAL R2 with ESP Easy

 itead wifi sono switch flechedroite  Sonoff dual R2

Flash the Sonoff DUAL, for those who have tried, it is sport to go find the GPIO 0 and switch to programming mode.

Fortunately, the developers took users' comments into account when creating the R2 version.

It is written there (and not outside) and it changes everything: Dual R2

Prepare the circuit board by welding male connectors:

Welding the classics 2.54mm connectors on the Sonoff’s printed circuit board, two pairs of 4 connectors, surrounded in red below:

Dual R2 2

 Prepare a small dupont cable to connect the Button 0 to GND

It is very simple to put this Sonoff into programming mode, just connect Button 0 to GND, it can be done with a small dupont cable.

Here is the picture demonstration:

sonoff dual3

Prepare the FTDI232 before connecting it to the computer

The FTDI232 will allow your computer to chat via a serial port with the Sonoff.

For the Sonoff’s connection to FTDI232, an image speaks louder than a long speech:

sonoff dual4

Noted that I do not connect the VCC terminal (3.3V power supply) generated by the USB port and the FDTI232 because I had problems in this configuration. I will power the Sonoff with the 220v on the Lin and Nin terminals (incoming Phase and Neutral).

Prepare Flashing Software

Be careful, this Sonoff is equipped with an ESP 8285 and not an ESP 8286 like most Sonoffs.

Download page for the latest version of ESPEasy:

https://github.com/letscontrolit/ESPEasy/releases

  •  Save the ZIP file, unzip it in a folder and in that folder, launch FlashESP8266, Select the port of the FTDI232 and the file Easyxxx_normal_ESP8285_1024.bin and launch the Flash, taking care to feed the Sonoff into programming mode.

4chpror2 flash7

4chpror2 flash8

Reminder, to put it in programming mode:

  • Plug a small Dupont Cable between Button0 and GND
  • Connect the FDTI232 to the USB port of the computer
  • Turn the Sonoff to 220v
  • Unplug the little one Dupont Cable the Button0 or GND
  • You are in programming mode (no LEDs need to be switched on until then, otherwise you have to start again).

Once the Sonoff is flashed, it must be connected to the WIFI network

For this, as the procedure is identical to all Sonoffs, you can look at this article: After Flashing, connect a Sonoff to the WIFI network and link to Jeedom

BONUS: Use the DUAL to control a heating area with a pilot wire

This small bonus refers to several tutorials:

For GPIOs, should be used GPIO5 and GPIO12 for Sonoff DUAL, here is the control screen corresponding to relay 1 and relay 2 (in analogy to Tuto based on the Sonoff 4 CH Pro)

sonoffdualgpio

For the rest, I will not repeat anything, just give you some pictures of my installation

dual2

dual3

dual1

Leave a Reply