Files
esp8266-laser/README.md
2017-10-09 21:36:43 +02:00

36 lines
1.0 KiB
Markdown

# Esp8266-Laser
Wifi Host for the Arduino-Laser-Spirograph
#usage:
/motor/{motorNr}/{value}
/laser/{value}
/ssid/{ssidname}
/pwd/{password}
/apmode/1 -> SofAP (default), 0 -> client
/saveconf -> write wificonfig to file
/resetwifi -> reconnect wifi with the new settings
/readwifi -> returns wifi settings
/readvalues -> return laser and motor values (all 0 at startup, ram only)
#install
- install arduino ide (1.8.5)
- follow this instruction
https://github.com/esp8266/Arduino#installing-with-boards-manager
- clone/exctract repo to sketchbook
- install this libaries
https://github.com/plerup/espsoftwareserial
https://github.com/bblanchon/ArduinoJson/
- follow this instruction:
set wifi parameters in data/config.json before upload
http://esp8266.github.io/Arduino/versions/2.0.0/doc/filesystem.html#uploading-files-to-file-system
You may also need to:
- get and install driver for nodemcu
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers