Documentation for the first setup updated

This commit is contained in:
ollo 2016-06-23 20:45:07 +02:00
parent 141b1b25d9
commit eebe794df2

View File

@ -1,11 +1,25 @@
# ESP Wordclock # ESP Wordclock
## Setup ## Setup
Generate a wlancfg.lua for your wifi based on the given example wlancfg.lua.example
Copy the required files to the microcontroller: Install the firmware on the ESP:
The ESP must be set into the bootloader mode, like [this](https://www.ccc-mannheim.de/wiki/ESP8266#Boot_Modi)
The firmware can be downloaded with the following script:
<pre> <pre>
sudo ./programESP.sh serial wlancfg.lua.lua wlancfg.lua cd os/
sudo ./programESP.sh serial init.lua init.lua ./flash.sh ttyUSB0
</pre>
Reboot the ESP, with a serial terminal,
format the filesystem with the following command and reboot it:
<pre>
file.format()
node.reboot()
</pre>
Then disconnect the serial terminal and copy the required files to the microcontroller:
<pre>
./tools/initialFlash.sh /dev/ttyUSB0
</pre> </pre>
## Internal Setup ## Internal Setup