Upgrading Sonoff Stock Firmware to Sonoff-Tasmota – USB to Serial, and OTA Update Methods

This post was initially supposed to be part 2 of Sonoff B1 light bulb review, where I would have explained how easy it was to use OTA mechanism to update to Sonoff-Tasmota open source firmware, and shortly show about its features and capabilities. However, it took me over 10 hours to make that work, mostly due to misunderstand in the documentation, and time spent to configure routers. I also failed the first time with Sonoff B1, so I used the serial console method, and instead managed to use SonOTA method with Sonoff POW switching from stock firmware to Sonoff-Tasmota without having to solder or tear down anything. Updating software with a USB to Serial Board Using a USB to serial board is the most common method to switch from stock firmware to open source firmware such as ESPurna or Sonoff-Tasmota in Sonoff devices or other ESP8266 based devices. It’s quite […]

Geolocation on ESP8266 without GPS Module, only WiFi

When I think about geolocation in I normally think about global navigation satellite systems such as GPS, GLONASS, Galileo, or Beidou, as well as IP geolocation, but the latter is highly inaccurate, and often only good for find out about the country, region, or city. But if you’ve ever been into your phone location settings, you’d know GPS is only one option, as it can also leverage cellular base stations and WiFi SSIDs, where the former working where there’s coverage, and the later in area with a high enough density of access points. Somehow, I had never thought about using such technology to find location with WiFi modules until Espressif Systems released an application note entitled “Geolocating with ESP8266“. This document describes how the ESP8266 module may be used to scan for nearby Wi-Fi access points and, then, use their SSID, RSSI and MAC address to obtain a potential fix […]

2.9″ ESPaper Lite Kit is a $40 ePaper Display Kit with an ESP8266 WiFi Module

Squix (Daniel Eichhorn) has designed a 2.9″ ESPaper Lite Kite is a battery powered kit based on a black and white ePaper module, and ESP-WROOM-02 module based on Espressif Systems ESP8266 WiSoC. 2.9″ ESPaper Lite Kit specifications: Wireless Module – ESP-WROOM-02 WiFi module with Espressif ESP8266 Display – 2.9″ B&W ePaper module with 296×128 pixels resolution connect over SPI to ESP8266 Debugging / Programming – 6-pin serial port header USB – 1x micro USB port for programming Misc – 3 buttons: Reset (wake up from deep sleep);  S0 (flash/GPIO0); S1: user button connected to GPIO12; power switch; charging and (firmware) flashing LEDs Power – JST connector for LiPo battery; charging circuit You’ll need a 3.3V USB to TTL debug board for flashing the firmware to the board, and a LiPo battery to power it up. The solution is particularly useful if you want a battery powered display that is infrequently […]

ESPurna Firmware Now Supports Power Meters “Augmented” with ESP8266 Modules/Boards

Sonoff-Tasmota and ESPurna are the two main open source firmware used in home automation devices, such as Sonoff wireless switches, based on Espressif ESP8266 WiSoC. Xose Pérez – aka Tinkerman – has recently purchased “dumb” power meters / kill-a-watt meters, added WiFi to them with ESP-01 module and Wemos D1 mini board, and implemented support in ESPurna firmware leveraging earlier reverse-engineering work by Karl Hagström. The power meter above looks exactly like the one I’ve been using for review for over two years, and has been more more reliable than other models, such as Broadlink SP2 (with built-in WiFi) that gave up on me after a few months. Xose actually noticed that old and newer models of the power meters were based on different solutions. Karl’s meter relied on ECH1560, while Xose’s new meter was instead based on Vango V9261F, which has a public datasheet, and was already being worked on by […]

Designing a 3D Printed Jig to Flash Firmware to ESP8266 based Light Bulbs

Karl here. I have to say that my favorite part of 3D printing is designing things from scratch. Recently a reader was asking about a way to flash a lot of Ai Lights on a project he was working on. I suggested 3D printing a jig that pressure fits pins. He didn’t have a printer, and we exchanged contact information and he sent me one of the lights and some pogo pins from Amazon. Design in Fusion 360 I started by taking a picture of the light to get my pin placement. I set a scale by measuring a known distance then printed and tested. It took about 3 iterations to get them to line up in real life. Keep in mind camera lenses distort reality and knew It would take a couple times. I would just let a few layers print then stop and line everything up. I had […]

Review of Sonoff RF Bridge, Sonoff 4ch Pro, and Sonoff POW with Sonoff-Tasmota Firmware

Karl here. Today we are going to look at 2 new and one older Sonoff devices. Sonoff RF Bridge – $9.90 433MHz RF to WiFi Bridge Sonoff 4ch Pro – 4 Gang WiFi RF Smart Switch Sonoff POW – Wireless switch with power metering capabilities I spent very little time with the stock firmware on the device. I don’t like the fact that an Internet connection is needed, and I am not in control. As of the time of this writing I found the Ewelink was not configurable enough to meet my needs. There is one feature that is really nice that I could easily see keeping stock firmware. It is the Alexa Skill. It worked. I am also currently reviewing Vobot Smart Alarm Clock with Alexa integration and had no trouble controlling the Sonoff devices with Alexa. But unfortunately I am lazy and want everything automatic so I can’t […]

1btn is a Battery Powered Open Source ESP8266 WiFi Button

If you have some WiFi power switch like Sonoff TH16 at home, you’d normally control them using a mobile app or a web interface. This is all good, but getting your phone, unlocking it, and launching the app to turn on or off an appliance is not the most efficient way to operate, and in some cases, some people in the household may not know how to use a smartphone. Physical WiFi buttons are the solution, but there aren’t so many for sale. We’ve seen previously it was possible to hack an Amazon Dash, but it’s not really that flexible, and 1btn could potentially be a better option, as it’s open source and based on Espressif ESP8266 WiSoC. 1btn specifications: WiFi Module – ESP-12F based on Espressif ESP8266 MCU – Microchip Atmel ATmegaxx8 AVR MCU Connectivity – 802.11 b/g/b WiFi up to ~50 meter range USB – 1x USB port […]

Sonoff B1 is an $18 Hackable WiFi RGB LED E27 Light Bulb based on ESP8285 WiSoC

Earlier this year, I wrote about an ESP8266 based RGB LED “AI Light” lightbulb that was hacked to run ESPurna open source firmware. That’s all good, except some people tried to get one, and ended with a different hardware. So if you’d like something that’s more of a “sure thing”, ITEAD Studio has designed Sonoff B1 dimmable RGB LED E27 light bulb based on ESP8285 processor, and with a “4 pads” to allow for custom firmware flashing. Sonoff B1 hardware specifications: Typical Lumen Output – 600lm Beam Angle – 120 degrees typ. Color Temperature –  2800K-6500K & RGB full color Connectivity – WiFi 802.11 b/g/n @ 2.4GHz Power Supply – 90-260V AC 50/60Hz via E27 base Power Consumption – Light off: 0.5W Max; rated power: 6W Temperature Range – Operating: 0ºC~ 40ºC; storage: -20ºC~ 80ºC Operating Humidity – 5%-90% RH Sonoff B1 with stock firmware can be controlled using the […]

Exit mobile version
EmbeddedTS embedded systems design