With four lights and one switch wired the programming was started. Example code from Adafruit was copied and gutted. A simple program to randomly assign colors when the switch was pressed was uploaded. A delay was added so the colors would not flicker so quickly which made them appear almost white. A routine was added so the color cannot get so close to white. A burst of photos was taken to show the lights changing colors.
Code to change colors at a button press
Colors changing on NeoPixels
To do:
- Build/print all light hoods
- Build electronics
- Draft schematics
- Program Arduino
- Break up tasks
- Sketch pseudo-code
- Write code for first switch and 4 NeoPixels
- Cut, install, and paint 1/4 round molding
- Cut polycarbonate sheets
- Cut light diffuser sheets
- Install switches
- Install light hoods
- Install electronics
- Install polycarbonate and light diffuser sheets
Journal Page
The rest of the posts for this project have been arranged by date.
A list showing of all the final posts of COMPLETED projects.
Disclaimer for http://24hourengineer.blogspot.com/
This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.
All
information in this blog, or linked by this blog, are not to be taken
as advice or solicitation. Anyone attempting to replicate, in whole or
in part, is responsible for the outcome and procedure. Any loss of
functionality, money, property or similar, is the responsibility of
those involved in the replication.
All digital communication regarding the email address 24hourengineer@gmail.com becomes
the intellectual property of Brian McEvoy. Any information contained
within these messages may be distributed or retained at the discretion
of Brian McEvoy. Any email sent to this address, or any email account
owned by Brian McEvoy, cannot be used to claim property or assets.
Comments
to the blog may be utilized or erased at the discretion of the owner.
No one posting may claim claim property or assets based on their post.
Comments
Post a Comment