Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OBI Socket 2
OBI Socket 2
Another cheap socket from the German Hardware Store, based on ESP-WROOM-02 with 2MB Flash. Smaller form factor as the first OBI Socket. You can use it with the "Generic Module" module mode of Tasmota (see the pictures below).
One way to flash the module is soldering 4 wires to the RX/TX/3V3/GND pins from the ESP. The PCB has no serial pinout connector. For flashing the module enable the flash mode of the ESP, connect GPIO 0 to GND.
Another way to flash is soldering 4 wires to the bottom side of the PCB as described on https://github.com/mattzzw/obi_socket/wiki/OBI-socket. If you follow that approach of powering the socket with 5V (which enables the relay coil allowing for acoustic feedback) you need to make sure to nevertheless use 3V3 for the actual serial interface to the module!!! This happens to work out very nicely with the popular cheap CH340 USB to Serial TTL adapters which come with a jumper to select between 5V and 3.3V. Setting the adapter to 3.3V by putting the jumper on the 3V3 and VCC pins leaves the 5V pin free. That pin is directly connected to the USB port. So you can just connect the four wires from the socket to the four free pins of the CH340 adapter :-)
!!! DO NOT try to flash the module when it is connected to mains power. You WILL brick or destroy the device and your computer or USB Port. Use only a 3.3V USB adapter for flashing!!!
Note: Sonoff-Tasmota v6.4.1 doesn't fully support this socket yet. See https://github.com/arendst/Sonoff-Tasmota/issues/4829 for details.
If you want the green wifi led to work, please use latest development version. You can either use "Obi Socket 2 Type (61)" (with default behaviour "wifi led = off" when connected) or use "Generic (18)" for manually override. See https://github.com/arendst/Sonoff-Tasmota/issues/4567 for details.
PCB serial pinouts
( Note: Same PCB as OBI Socket IP44 (Black) )