-
• #2
My (2) sonoff is worked good without any problem.
But now I try to flash a simple esp8266. The flasing is success. And I think I got the same:
>>> Connecting... Set Slow Write = true [object Object] Connected [object Object] Found a prompt... great! >>> Sending... ---> "echo(0);\nconsole.log(\"<\",\"<<\",JSON.stringify(process.env),\">>\",\">\");echo(1);\n" Sending block "echo(0);\nconsol", wait 50ms Sent Sending block "e.log(\"<\",\"<<\",", wait 50ms Sent Sending block "JSON.stringify(", wait 50ms Sent Sending block "process.env),\">", wait 50ms Sent Sending block ">\",\">\");echo(1)", wait 50ms Sent Sending block ";\n", wait 50ms Sent >>> Sent WARNING: No result found - just got "" Device found (connectionId=20) >>> Connected to port /dev/ttyUSB0 Sending block "1", wait 50ms Sent Sending block "1", wait 50ms Sent Sending block "\r", wait 50ms Sent Sending block "1", wait 50ms Sending block "2", wait 50ms
-
• #3
I think it will be a power supply issue. When espurino on the esp8266 boots for the first time, the AP mode is on which draws more current.
From memory the ftdi boards can can't supply enough current.
-
• #4
For those who has not sent this on gitter, here is a blog that talks about the insides...
http://tech.scargill.net/itead-slampher-and-sonoff/
The relay is on gpio12.
Also on dx.com
http://www.dx.com/p/diy-smart-wi-fi-wireless-switch-w-abs-shell-case-for-home-white-422387#.V1lWlcqeqrV -
• #5
Thanks @Wilberforce. I will try to power my Sonoff from external power while connecting tx/rx over the ftdi usb programmer.
-
• #6
Hello, how is your problem solved? I now also encounter the same problem, the connection, the console can not accept the keyboard operation
-
• #7
I solved it by disconnecting and reconnecting the Sonoff and make a connection with Putty first. Then disconnect and connect again with the Espruino IDE. Make sure your FTDI USB programmer can provide enough current at 3V.
-
• #8
Putty?
screen /dev/tty.usbserial 115200? no response
Disconnected, connected, repeated several times?
current at 3.3V -
• #9
Does Sonoff need access to power?
-
• #10
Does Sonoff need access to power?
Not if you provided 3.3v to it. Did the flashing process complete successfully?
-
• #11
@CrashingDutchman Please describe your operation steps in detail!
https://github.com/arendst/Sonoff-Tasmota Arduino firmware is no problem
Help!!!
2 Attachments
-
• #12
Hello,
I'm exactly in the case shown on the 2 attachments. I'm on Mac Os. I got esptool 2.2 (latest). I've tried Espruino 1.94 and 1.93.
Do you think it's matter of power ?
If my ftdi doesn't deliver enough current, how can I provide good power ? Is it ok to plug a lipo battery 3.7 if I don't plug the 3.3 of the ftdi ?Thank you
-
• #13
After flashing Espruino firmware to my Sonoff you have to disconnect it from power (USB). Then connect again and make a connection to it with Putty (Serial / 115200 bd).
Re-connect again and now use Espruino.
-
• #14
@BruceChao have you set the baud rate in the Web IDE's settings to 115200?
-
• #16
@CrashingDutchman youtube recording a teaching video? hehe
-
• #17
Have you tried unplugging it from USB and re-plugging it - without holding down the button?
-
• #18
Do not press the button, repeat the plug three times, and then use the "espruino-p /dev/cu.SLAB_USBtoUART" connection
1 Attachment
-
• #19
Connect the IDE before the Sonoff button, press?
-
• #20
Ah, you are on a Mac. Not sure how it would work there. I am on Windows.
-
• #21
好吧, 我放弃了!
-
• #22
Translates as - Okay, I gave up
I am trying to flash a Sonoff with Espruino.
It seems that erasing flash and flashing works, but the Espruino Web IDE does not. After connecting (while holding the button I insert the connected USB programmer into an USB port) I select the correct port and get a connected message in the console. However, the console does not respond to any key I enter.
In Settings -> Console I see:
Please note the: Warning No result found - just go"". This has been discussed in this thread too, however the suggestions do not seem to work.
Also when connecting to the Sonoff through Putty does not show any characters coming from Sonoff.
After each erase or flash I disconnect the Sonoff from my PC.
I appreciate any suggestions to try.