===== Wall Clock and Voting Tabulator ===== The wall clock and voting tabulator is built using a RaspberryPi to create a WiFi Access Point for the voting boxes. This then communicates with an Arduino Mega 2560 that runs the display and tabulates votes. The date and time are kept by a DS3231 real-time clock module. The available commands on the keypad are: - Switch to clock mode - Switch to Set Clock mode. The clock then waits for 5 additional keypad presses in the format hhmmx where x equal to 0 indicates AM and x greater than 0 indicates PM. - Switch to Set Date mode. The clock then waits for 8 additional keypad presses in the format mmddyyyy. - Switch to Vote mode - Reveal voting results as Count - Reveal voting results as Pass/Fail - Subtract 1 hour from the clock (for DST) - Add 1 hour to the clock (for DST adjust) - Switch to random display mode The source code for the clock can be found [[https://drive.google.com/open?id=0ByE4uXHeoDYNLVZGaEZMUXdvd28|here]]. In addition, there are a number of third-party libraries used. The DS3231 library can be found [[https://github.com/jarzebski/Arduino-DS3231|here]]. The other libraries are standard libraries and most can be installed directly within the Arduino IDE.