Gets the next upcoming sunrise from a sunrise API, then triggers an Adafruit Neopixel to begin a sunrise simulation sequence, going from dim and deep red to bright and white. Includes the STL for a 3D printed bulb enclosure and mounting plate for the Neopixel (using translucent PETG).
Please describe the steps to install this project.
-
Adjust your desired sunrise sequence using the file
sunrise.ino
. -
Once you have something you like, copy it into
sunrise-on-time.ino
.
The sketch expects the DATA IN for the Neopixel to be connected to pin 6 on the Arduino. The clock needs to be connected to corresponding pins on the Arduino (SDA to SDA, SCL to SCL).
Upload the code contained in this sketch on to your board
sketch123 => Arduino sketch folder ├── sunrise.ino => just the sunrise sequence for testing ├── sunrise-on-time.ino => the code for connecting to Wifi, getting the time of the sunrise, comparing it to the RTC, and triggering the sunrise └── ReadMe.adoc => this file
To contribute to this project please contact khaledallen https://id.arduino.cc/khaledallen
Add the bill of the materials you need for this project.
ID |
Part name |
Part number |
Quantity |
R1 |
Real time clock |
- |
1 |
L1 |
12-LED RGBW Adafruit Neopixel Ring |
- |
1 |
A1 |
Arduino MKR1000 |
- |
1 |
This document is written in the AsciiDoc format, a markup language to describe documents. If you need help you can search the AsciiDoc homepage or consult the AsciiDoc cheatsheet