Backend working

This commit is contained in:
FrYakaTKoP
2017-10-08 22:03:11 +02:00
parent 2e97d83740
commit 924caf8a72
3 changed files with 116 additions and 134 deletions

View File

@@ -1,6 +1,15 @@
# 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 (this will work)
#install
- install arduino ide (1.8.5)
@@ -9,13 +18,17 @@ Wifi Host for the Arduino-Laser-Spirograph
- clone/exctract repo to sketchbook
- install this libary
- install this libaries
https://github.com/plerup/espsoftwareserial
https://github.com/bblanchon/ArduinoJson/
- follow this instruction:
http://esp8266.github.io/Arduino/versions/2.0.0/doc/filesystem.html#uploading-files-to-file-system
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