An arduino-based clock connected to Internet
Short video presenting my project : https://www.youtube.com/watch?v=bhy818PjfPU
Description of the project on my blog
The following wiring was used on an Arduino Mini Pro 5v 16Mhz
ESP8266 (wifi module) : RX -> 2, TX-> 4
RGB LED : Red -> 5, Green -> 6, blue -> 9 (caution intensity is inverted)
Buzzer : Pin 3
APDS9960 : On I2C port (A4 and A5)
MATRIX LED (4 MAX7221) : DataIn->12 Clock->13 Load/CS->10
The script will connect to a VPS server (IP must be changed on ESP.ino line 62) The request is like a telnet request and the result should be this :
17#26#22#13#02#2016##15#7#42#
Hour#Minutes#Seconds#day#month#year##day of alarm#hour for alarm#minutes for alarm#42 (because 42 !)
I will try to share the server side code in my future ...