Hi folks,
Thanks to you all for you awesome contributions. Love HA!
Running HA 0.99.3.
I’m embarrassed to have to post this…
I’m embarking on a Sonoff journey and have tripped at the first hurdle it seems…
I’m trying to flash my first Sonoff basic using ESPHome.
Can compile my code okay.
I’m using one of these to interface to my OTHER W10 computer (not HA machine). https://www.pakronics.com.au/products/usb-to-ttl-serial-cable-debug-console-cable-for-raspberry-pi-ada954
I’m powering the Sonoff via 2xAA batteries with an on/off switch. The USB to TTL converter doesn’t supply 3.3V.
I’m trying to flash the Sonoff with either ESPHome-Flasher-1.1.0-windows-x64 or NodeMCU-PyFlasher-4.0-x64.
Quite imply neither can see the ESP.
Get this error: Connecting........_____....._____....._____....._____....._____....._____....._____ Unexpected error: ESP Chip Auto-Detection failed: Failed to connect to Espressif device: Timed out waiting for packet header
I’ve tried loading this extra driver for good measure:
CP210x_Universal_Windows_Driver
I don’t think my soldering is too bad, here’s an image of the underside:
I’m connecting USB Tx to the corresponding Rx on the Sonoff (and vice versa for Rx).
Holding the button GPIO0 on boot for 5 seconds… No LED, no response.
Leave GPIO0 off during boot the device flashes in various sequences…
The computer detects the insertion of the USB TTL converter…
Have I forgotten anything? I’m sure there’s a simple mistake I’m making.
Am just about to go and have a look around.
Any specific/recommended adapter?
I’m going to have to buy something online as there’s nothing local in any case.
Could I ask, the jumper on the top of the image - does that change the VCC voltage (either 5V or 3.3V) on the pins at the back?
Ma okay to solder headers to the side holes if needed…
Found a domestic supplier of an equivalent device.
Should be here before next weekend.
I’ll have a spare.
Once again, thank you for the prompt response.
I’ll update this thread once it arrives.
I was going to say that Jaycar stock a similar device and you might be able to pick one up this weekend if there is a store near you. Expect to be price gouged for the convenience of a brick and mortar store though:
Okay, so I’ve gone out and bought one of these: https://www.jaycar.com.au/arduino-compatible-usb-to-serial-adaptor-module/p/XC4464?utm_campaign=redirect&utm_source=XC4464r&utm_medium=web
I have a simple question - there’s no specific 3.3V pin to supply the Sonoff.
There is a 5V pin… Am I missing something?
I’ve toggled the switch to 3.3V on the board - All pins (with the exception of 5V) show 3.3V with the multimeter… But there’s no 3.3V source?
Tried powering the Sonoff with my 2xAA package - the serial still ‘fails to connect’. sigh.
I did a bit of reading about that IC. It has a 3.3v low dorp out regulator but it is only capable of supplying 50mA to external circuits. This is not sufficient to run wifi on the ESP chips that Sonoff’s use.
So even if you picked up 3.3v from the 0.1uF decoupling cap it would not help you much.