I made a mistake last week in figuring out the API, I hadn’t used Tom’s demo, which gives a straightforward demo of how to set the interval time. I just noticed it after this week’s class and immediately removed the stupid delay… Here is my code.
Collecting all the API data I need via server and getting the data to Arduino is super helpful, since the moon phase API only has 10 times requests per day, not many chances to let me try the server code. I plan to continue using 2 Arduino Nano this time, if I can find a better API I will change to the server way.
This week I worked on the structure of the installation. I tried to 3d print some stuff as the fixations of LEDs strip and servo, and engrave some patterns on acrylic to see how it looks like when the light goes through.