Most recent activity
-
Hey, sorry to answer just now but I had to move forward on another project.
Just want to let you know that it has worked I've been able to talk with my esp using the web ide. I've even be able to connect to the Wi-fi.
But I shut it down using a button on my power supply and now I'm where I was one week ago, not able to connect to my esp...
That's raging.
I tried to erase the memory and flash it again but nothing happen...
-
-
I know my computer is able to communicate, before I was using Arduino to programm my ESP and I did successfully.
What I just did is :
ESP : Off
Launching Espruino web IDE
ESP : ON
Connect to ESP
Try to type : var wifi = require("Wifi");
Try to type into the console.
Changing baud rate in Settings --> Communication
Switch OFF ESP
Do it again.Nothing happened. I've never been able to communicate with my esp nor to type into the console.
Could it finally be my power supply ? Am I still doing something wrong ?I'm a trainee, that's why my skills level is not high. Sorry about that :/
-
-
-
-
In fact I tried different code like :
Serial2.setup(115200, { rx: A3, tx : A2 }); var wifi = require("ESP8266WiFi_0v25").connect(Serial2, function(err) { // ^^^^^^^^^^^^^^^^ // Use ESP8266WiFi here (and 9600 baud) if you have an ESP8266 with firmware older than 0.25 if (err) throw err; wifi.reset(function(err) { if (err) throw err; console.log("Connecting to WiFi"); wifi.connect("WiFi_Name","WPA2_Key", function(err) { if (err) throw err; console.log("Connected"); // Now you can do something, like an HTTP request require("http").get("http://www.pur3.co.uk/hello.txt", function(res) { console.log("Response: ",res); res.on('data', function(d) { console.log("--->"+d); }); }); }); }); });
return http and NetworkJS modules not found
>var wifi = require("Wifi"); =function () { [native code] } >wifi.connect("my-ssid", {password: "my-password"}, function(err){if(err)console.log(err);else console.log("connected!");}) =undefined
return Wifi module not found.
I flashed it with esptool, and I am trying to communicate with my esp8266 using Chrome web IDE.
-
Hi,
I just flashed my esp8266 (ESP12E) using espruino_1v85_esp8266 but now, when I try to connect it to my wifi it keep telling me that the wifi module is not found.
I search on the forum and it didn't answer my question as long as I'm using a power supply (ywrobot connected to a power outlet) and I've used the latest espruino firmware (I think).
Do you have any idea of what's going on and how to fix it ?
I'm new to ESP8266 and Espruino, so it's totally possible that I've done something wrong.
I also had http and NetworkJS modules not found several times when running different code.
Thank you, and sorry if there are some english mistakes, it's not my native language :)
Nevermind guys, it's working again.
I just forgot to pull GPIO0 at HIGH :/
Thank you for your help !
Really appreciated it :)