-
• #2
Ok, so let's continue this here.
-
• #3
Will setup a ESP8266 with Espruino 2v12 and run some wifi test.
-
• #4
How to set
-
• #5
ESP 32 is OK but in esp8266 is [];
1 Attachment
-
• #6
With latest software 2v12.40 on an esp8266-01 it works for me.
1 Attachment
-
• #8
no
1 Attachment
-
• #9
[ ]
1 Attachment
-
• #10
please share a picture of the board you use
-
• #11
My board is ok in arduino
1 Attachment
-
• #12
Thanks for sharing. Please try the 4mb image.
-
• #13
This one
1 Attachment
-
• #14
address in 0x0? or in 0x1000?
-
• #15
help me to espruino_..._combined_4096.bin
-
• #16
look
1 Attachment
-
• #17
look
1 Attachment
-
• #18
no
1 Attachment
-
• #19
I have the same problem with the same board shown above. It seem that the WiFi is not working properly on WeMos Dev board (weak WiFI, maybe?) with Espruino. Please try with other board. I try on an old NodeMcu board and it went ok. I said, 'weak WiFi' because running scan with MicroPython on the WeMos board returned only a few AP where there should be plenty. Give it a try on another dev board other then WeMos.
-
• #20
it in arduino is OK!
-
• #21
My ROM is 32M字节
-
• #22
Ok, there is maybe a explanation for the different results: Espruino is using SDK ESP8266_NONOS_SDK-2.2.1.tar.gz and arduino using a newer one.
-
• #23
我希望你能修它
I hope you can fix it -
• #24
Wemos NodeMCU V3 is a nice dev board. It is ashamed that Espruino WiFi is not
working on it. I've managed to compile Espruino with SDK 3.0.6-dev(865fa65). The
SDK used with Arduino. But sadly, still problem with Espruino WiFi.
Wemos NodeMCU V3 ESP8266
process.env
={
VERSION: "2v12.58",
GIT_COMMIT: "f148c737",
BOARD: "ESP8266_ME",
FLASH: 0, STORAGE: 196608, RAM: 81920,
SERIAL: "d8f15b07-1f41",
CONSOLE: "Serial1",
MODULES: "Flash,Storage,hea" ... "r,crypto,neopixel",
EXPTR: 1073648148 }var esp=require("ESP8266")
esp.getState()
={
sdkVersion: "3.0.6-dev(865fa65)",
cpuFrequency: 80, freeHeap: 12752, maxCon: 10,
flashMap: "4MB:512/512",
flashKB: 4096,
flashChip: "0x20 0x4016"
}var wifi=require('Wifi')
wifi.stopAP()
wifi.getStatus()
={
mode: "off",
station: "off",
ap: "disabled",
phy: "11n",
powersave: "ps-poll",
savedMode: "off"
}wifi.scan((w)=>print(w))
[ ]wifi.getStatus()
={
mode: "sta",
station: "off",
ap: "disabled",
phy: "11n",
powersave: "ps-poll",
savedMode: "off"
}wifi.scan((w)=>print(w))
[ ]
now on another board. AI ESP-12S ESP8266
process.env
={
VERSION: "2v12.58",
GIT_COMMIT: "f148c737",
BOARD: "ESP8266_ME",
FLASH: 0, STORAGE: 196608, RAM: 81920,
SERIAL: "e8db849c-4951",
CONSOLE: "Serial1",
MODULES: "Flash,Storage,hea" ... "r,crypto,neopixel",
EXPTR: 1073648148 }
var esp=require("ESP8266")esp.getState()
={
sdkVersion: "3.0.6-dev(865fa65)",
cpuFrequency: 80, freeHeap: 12752, maxCon: 10,
flashMap: "4MB:512/512",
flashKB: 4096,
flashChip: "0xd8 0x4016"
}
var wifi=require('Wifi')wifi.scan((w)=>print(w))
[
{ "rssi": -84, "channel": 1,"authMode": "wpa2", "isHidden": false, "ssid": "NextGenTel_6332", "mac": "60:03:a6:2e:63:32"
},
...
...
{ "rssi": -81, "channel": 11,"authMode": "wpa2", "isHidden": false, "ssid": "Telenor7783gre", "mac": "b8:ec:a3:53:24:83"
}
]So newer SDK does not solve the problem. I think it is a hardware problem. Can the chip did not get enough power during WiFi operation. I say this because I got brown out when using Espruino on ESP32 hub without external power.
1 Attachment