Difference between revisions of "Wified Arduino 8266"
From Tmplab
Samneurohack (talk | contribs) (→Links) |
Samneurohack (talk | contribs) (→Software) |
||
Line 12: | Line 12: | ||
= Software = | = Software = | ||
− | * Basically there is 2 main firmware paradigms : | + | * Basically there is 2 main firmware paradigms Arduino/Lua |
+ | * How to talk ? You can use a terminal i.e : screen /dev/tty.USB0 9600 | ||
+ | * Esplorer is great but use java. | ||
+ | |||
+ | * 9600 is classical for nodemcu. | ||
+ | * 115200 is classical for Wemos D1 mini | ||
− | + | == Arduino == | |
− | |||
− | * | + | * you want speed, realtime or love arduino |
− | * | + | * get the ESP8266 library for arduino and program the thing as usual. |
+ | |||
+ | == Lua == | ||
+ | |||
+ | * you prefer the easy path : get one with lua firmware or upload it ! | ||
* luatool is in python and just works with a lua firmware. Download [https://github.com/4refr0nt/luatool source]. You need pyserial : sudo easy_install pyserial | * luatool is in python and just works with a lua firmware. Download [https://github.com/4refr0nt/luatool source]. You need pyserial : sudo easy_install pyserial | ||
− | * to flash the thing it's esptool : [ | + | * to flash the thing it's esptool : [https://github.com/themadinventor/esptool tutorial] |
+ | * lua firmware can be found | ||
= Links = | = Links = |
Revision as of 23:20, 14 June 2016
Work in Progress
Hardware
8266 can be programmed as every other arduino or in lua langage if you have the right firmware.
- There is plenty of ESP8266 boards available.
- The "ready made", brain free one is a devboard called nodemcu.
- it's 3.3 V board.
- It's a tiny board, with almost no memory, nice at home, but if you want reliable internet behavior, send the data to a real server.
Software
- Basically there is 2 main firmware paradigms Arduino/Lua
- How to talk ? You can use a terminal i.e : screen /dev/tty.USB0 9600
- Esplorer is great but use java.
- 9600 is classical for nodemcu.
- 115200 is classical for Wemos D1 mini
Arduino
- you want speed, realtime or love arduino
- get the ESP8266 library for arduino and program the thing as usual.
Lua
- you prefer the easy path : get one with lua firmware or upload it !
- luatool is in python and just works with a lua firmware. Download source. You need pyserial : sudo easy_install pyserial
- to flash the thing it's esptool : tutorial
- lua firmware can be found