2016-04-12 18:24:21 +02:00
|
|
|
# ESP Wordclock
|
2016-04-12 18:07:25 +02:00
|
|
|
## Setup
|
|
|
|
|
2019-04-18 16:32:35 +02:00
|
|
|
### Initial Setup
|
2016-06-23 20:45:07 +02:00
|
|
|
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>
|
|
|
|
cd os/
|
|
|
|
./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:
|
2016-04-12 18:07:25 +02:00
|
|
|
<pre>
|
2016-06-23 20:45:07 +02:00
|
|
|
./tools/initialFlash.sh /dev/ttyUSB0
|
2016-04-12 18:07:25 +02:00
|
|
|
</pre>
|
|
|
|
|
2019-04-18 16:32:35 +02:00
|
|
|
### Upgrade
|
|
|
|
|
|
|
|
Determine the IP address of your clock and execute the following script:
|
|
|
|
<pre>
|
|
|
|
./tools/remoteFlash.sh IP-Address
|
|
|
|
</pre>
|
|
|
|
|
2016-04-12 18:07:25 +02:00
|
|
|
## Internal Setup
|
|
|
|
* GPIO2 LEDs
|