a digital clock with an arduino, 4 soldered 16x16 led matrix and a DS3231 For Pi
-
Operating System:
- Windows, macOS, Linux, FreeBSD, Linux ARMv6+
-
Software requirements:
-
Python (3.5 or greater)
-
PlatformIO Core (CLI) (You can install it with an Installer Script or a Python Package Manager) or PlatformIO IDE
-
NOTE: PlatformIO Core provides a rich and documented Command Line Interface (CLI). The other PlatformIO-based software and IDEs are based on PlatformIO Core CLI, such as PlatformIO IDE. In other words, they wrap PlatformIO Core with own GUI.
-
-
Hardware requirements:
To get started clone this repository
$ git clone https://github.com/omar-bb/arduino-clock.git
# install project dependencies
$ platformio lib install
# Build project and upload firmware to all the devices specified in “platformio.ini”
$ platformio run --target upload
# if you're using an Arduino ISP or any other programmer to program your arduino
# use this following command
$ platformio run --target program
To build and upload with PlatformIO IDE you just need to click on the upload button
If you want to contribute to this project here is a quick guide to help you use platformio awesome tools
Before starting to develop with PlatformIO Core (CLI) it is better to have a virtual environment. See "Virtual Environment"
Platformio provides all commands well documented in their official website. See "CLI Guide"
With PlatformIO IDE installed in your favourite (IDE / Code Editor) you already have a nice gui interface to get started
NOTE: you can do unit tests in the "test" folder see UNITTESTING.md
Arduino | 16x16 LED Matrix | DS3231 For Pi |
---|---|---|
5V | +5V | +5V |
GND | GND | GND |
D5 | A | |
D4 | B | |
D3 | C | |
D2 | D | |
D6 | G | |
D7 | DI | |
D8 | CLK | |
D9 | LAT | |
(I2C) SDA | SDA | |
(I2C) SCL | SCL |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Distributed under the MIT License. See LICENSE.md for more information.
Omar Ben Brahim - @omarbb44 - omar@ihub-bridge.org