Flashing Tasmota With an Arduino
No flashing tool? No problem.
I recently acquired some Sonoff smart switches, and soon discovered the open-source Tasmota firmware as a flexible alternative to what they shipped with from the factory. I wanted to flash them with Tasmota, but I didn’t have a USB-to-serial adapter or a flashing tool. I did have an Arduino Leonardo, though, and it turns out that’s all you need.
Following this guide, I was able to flash Tasmota onto my Sonoff switches using ESPTool, with the Arduino as a USB-to-serial adapter. The process is turned out to be pretty straightforward, and only required a little bit of surgery!