-
Hello friends. I have a problem with
Uncaught No 'ready' after AT+RST at line 2 col 18 if (err) throw err;
Serial2.setup(115200, { rx: A3, tx : A2 }); var wifi = require("ESP8266WiFi_0v25").connect(Serial2, function(err) { 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); }); }); }); }); });
When I was testing baud rates, only reasonable output was:
AT+GMR\r\r\nAT version:0.21.0.0\r\nSDK version:0.9.5\r\n\r\nOK\r\n
What am I doing wrong? Red light is on. When I removed the "if(err) throw err;" the script continues and Blue light is sometimes blinking (when trying to connect)
-
What about HM-11 board? Iam using B6,B7 for TX,RX. But do I need the system key to solder (HM11 pin 16) with A8? (http://www.elecrow.com/download/bluetooth40_en.pdf)
Edit:I tried with A8 but It seems I cant connect to the bluetooth module. When I try to connect to tty.Bluetooth-Incoming-Port, I cant write any command :/
Hello, I have a problem with Espruino Pico on Mac.
When I plug it in, red light flashes and then nothing flashes.
When I connect espruino tty.usbmodem1 it connects and after a while it disconnects.
When I want to connect it again, connection options state tty.usbmodem2 and again disconnects.
I tried to reflash the firmware (with success) but still the same.
Sometimes it writes this log:
Can you help me