os | ||
simulation | ||
tools | ||
unit | ||
.gitignore | ||
displayword.lua | ||
init.lua | ||
main.lua | ||
mqtt.lua | ||
Readme.md | ||
telnet.lua | ||
timecore.lua | ||
webpage.html | ||
webserver.lua | ||
wordclock.lua |
ESP Wordclock
Setup
Initial Setup
Install the firmware on the ESP: The ESP must be set into the bootloader mode, like this
The firmware can be downloaded with the following script:
cd os/ ./flash.sh ttyUSB0
Connect to the ESP via a terminal emulator like screen using a baud rate of 115200. Then format the filesystem and reboot the ESP with the following commands:
file.format() node.restart()
Then disconnect the serial terminal and copy the required files to the microcontroller:
./tools/initialFlash.sh /dev/ttyUSB0
Upgrade
Determine the IP address of your clock and execute the following script:
./tools/remoteFlash.sh IP-Address
Internal Setup
- GPIO2 LEDs