Sonoff Installation #6061
Replies: 1 comment
-
Posted at 2017-10-18 by @gfwilliams Maybe just try unplugging the USB-TTL completely and plug the Sonoff into the mains? You should be able to see it appear as a new It's highly likely that your USB-TTL converter won't supply enough power on the 3.3v line. When I did mine in the video I'd got a beefed up 3.3v regulator added to it. Posted at 2017-10-18 by user82278 OK thank you, is it possible to subsitute the 3.3 FTDI with Lipo ? Posted at 2017-10-19 by @gfwilliams I don't think so unless you can drop the voltage with a diode. LiFePo4 batteries are in the right voltage range though. You could always run from the mains, and should be able to connect the USB-TTL converter (just not with the 3.3v supply connected). The only reason I'm less happy about suggesting that is you want to be really careful you don't touch the mains connection. Posted at 2017-10-19 by user82278 Hello, Thank you for your advice, I was thinking of doing this but I was not sure it would work, but I gave it a try and... it still fails. (I'm sure my wiring RX/TX is ok. If i swap it fails miserably to load the .bin) Here is the output of esptool :
Moreover find attached the new output off the IDE with baudrate configured to 115200. A bit better, but not fully satisfying. I will investigate on the FTDI side and may be Sonoff... Can you confirm this is the right file I'm loading :
Thank you for your help. Regards; Attachments: Posted at 2017-10-20 by user82278 Hello, Finally succeded to install the firmware, but I had to change parameters in the esptool command line ; -fs and -fm
But, now I'm not able to connect to Wifi. I will double check my wifi configuration.
Do you think something is missing in the code ? Attachments: Posted at 2017-10-21 by @allObjects @user82278, could you please publish your code you upload and try to run? Posted at 2017-10-21 by user82278 Hello @allObjects, Sorry, I didn't exposed my "project" here : I'm just trying to reproduce Gordon's Home automation project, so this is the code I try : Naturally I've changed the Wifi ssid and password.
Posted at 2017-10-22 by user82278 Update : 1- Can I load espruino 512k on a Wemos D1 ? I will try to load the firmware and the same code on an other Sonoff to try. Have a nice sunday. 2 - How can I change my notverypersonnal nickname on this forum ? It fails each time when I perform the action my profile. Posted at 2017-10-30 by Vasily I installed it on Wemos, works fine. In the firmware .zip file there is readme file with a command line for 4MB upload. Posted at 2018-01-31 by Will I found the "-fm dout" to be a critical setting to get it to stick. Posted at 2018-01-31 by DrAzzy I've had to use the dio flash mode on my wemos boards. If both dout and dio work, dio is better. Posted at 2018-03-16 by @gfwilliams I've had a report from a user that I guess maybe some revisions are different - the one I used for the video here: https://www.youtube.com/watch?v=-BYHwGIMKXw worked fine with the normal flashing commands. Posted at 2018-04-16 by @allObjects SONOFF - 1 outlet - Reprogramming a $30 WiFi Switch - N outlets! Posted at 2018-12-11 by opichals I was able to flash Tasmota FW using the following https://github.com/arendst/Sonoff-Tasmota/wiki/Esptool#upload-firmware instructions (-fm dout). But I didn't have any luck with Espruino 2v00 version (haven't tried older versions unfortunately). I have tried with and without the Is there here anybody who managed to use the 2v00? Posted at 2018-12-12 by Wilberforce Which firmware are you using - the 512k combined? Does the flash succeed? If you use putty or similar you should see output on boot - set to 115200 baud. There might be some initial output at the start with a baudrate of 74880 if it's looping and resetting set to that rate to see what the messages are saying. Posted at 2018-12-12 by opichals Yes I used this one https://www.espruino.com/binaries/espruino_2v00_esp8266_combined_512.bin . You mean connecting through the FTDI? Posted at 2018-12-12 by Frida I'm using version 2v00.17 on my Sonoff. root=$(pwd)/espruino_2v00.17_esp8266
Posted at 2018-12-13 by opichals @frida Thanks! Will try that once I convince myself to dig into the lamp guts again :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-10-18 by user82278
Hi guys,
I started to post on "Sonoff troubles" but I think my problem is now different.
I try to install Espruino on a simple Sonoff.
I download Espruino 1.94
I upload it to sonoff via Esptool after I had pressed the button and plugged in the module :
It seems to be OK.
After that, I unplugged the module, repplugged it.
I'm not able to connect to Sonoff with Web IDE nor putty. Even if I've set baudrate to 115200 bd.
In WEB IDE I have "Connect" and a prompt ">" but I'm not able to type anything.
Do you have any idea ?
Thank you,
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions