elec:esp8266:nodemcu
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| elec:esp8266:nodemcu [2015/11/07 11:52] – [NodeMCU] redox | elec:esp8266:nodemcu [2023/11/24 21:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| So, I got a cheap NodeMCU board from eBay. Here are some notes to get started with the ESP8266 ! | So, I got a cheap NodeMCU board from eBay. Here are some notes to get started with the ESP8266 ! | ||
| - | ## Requirements | + | ## Basic use |
| ### ESPTool | ### ESPTool | ||
| Line 44: | Line 44: | ||
| Wait until completion... | Wait until completion... | ||
| - | ### NodeMCU | + | Connecting... |
| + | Erasing flash... | ||
| + | Writing at 0x00070c00... (100 %) | ||
| + | |||
| + | Leaving... | ||
| + | |||
| + | Reset your board (powercycle). Connect using a serial app, like _picocom_ | ||
| + | |||
| + | picocom / | ||
| + | |||
| + | And you should be ready to go ! More info on NodeMCU usage, on the github page: https:// | ||
| + | |||
| + | ### Connect to your AP | ||
| + | |||
| + | In the serial terminal: | ||
| + | |||
| + | wifi.setmode(wifi.STATION) | ||
| + | wifi.sta.config(" | ||
| + | ip = wifi.sta.getip() | ||
| + | print(ip) | ||
| + | |||
| + | Output is the current IP of your board. Open a new terminal and try to _ping_ it =) | ||
| + | |||
| + | This setting is kept in flash I guess, since it still works after powercycling the board... | ||
| + | |||
| + | ## Build from source | ||
| Grab the firmware from github: https:// | Grab the firmware from github: https:// | ||
| Line 51: | Line 76: | ||
| cd nodemcu-firmware/ | cd nodemcu-firmware/ | ||
| + | FIXME Todo | ||
/home/share/www/redox.ws/wiki/data/attic/elec/esp8266/nodemcu.1446897157.txt.gz · Last modified: 2023/11/24 21:55 (external edit)