User Tools

Site Tools


elec:esp8266:nodemcu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
elec:esp8266:nodemcu [2015/11/07 11:59] – [NodeMCU from source] redoxelec: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 from source+    Connecting... 
 +    Erasing flash... 
 +    Writing at 0x00070c00... (100 %) 
 +     
 +    Leaving... 
 + 
 +Reset your board (powercycle). Connect using a serial app, like _picocom_ 
 + 
 +    picocom /dev/ttyUSB0 
 + 
 +And you should be ready to go ! More info on NodeMCU usage, on the github page: https://github.com/nodemcu/nodemcu-firmware 
 + 
 +### Connect to your AP 
 + 
 +In the serial terminal: 
 + 
 +    wifi.setmode(wifi.STATION) 
 +    wifi.sta.config("SSID","password"
 +    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://github.com/nodemcu/nodemcu-firmware Grab the firmware from github: https://github.com/nodemcu/nodemcu-firmware
/home/share/www/redox.ws/wiki/data/attic/elec/esp8266/nodemcu.1446897580.txt.gz · Last modified: 2023/11/24 21:55 (external edit)