The spectrum function which changes the desired color of a light based on the address and a color value from 0 to 767 was revised for the third day in a row. The function was the core of the device's ability to change colors in all modes except mode 0 were a random color fades to off which each button press. The other random mode, mode 1, used the spectrum to generate colors which stayed lit but since the colors were expected to be randomized it was never checked for accuracy.
The rest of the modes described yesterday were programmed. This was done in large by looking at the starting presentation written earlier and adding to the spectrum value at a given light. The code will be made available online soon.
A video was made with a time lapse phone app which took a picture every second then compiled the photos into a movie. The video was made of the Demo Mode so the lights change every two seconds without input from the user.
The rest of the posts for this project have been arranged by date.
This blog, including pictures and text, is copyright to Brian McEvoy.
The rest of the modes described yesterday were programmed. This was done in large by looking at the starting presentation written earlier and adding to the spectrum value at a given light. The code will be made available online soon.
A video was made with a time lapse phone app which took a picture every second then compiled the photos into a movie. The video was made of the Demo Mode so the lights change every two seconds without input from the user.
Demo mode time lapse
To do:
- Build electronics
- Solder remaining NeoPixels
- Solder three more switches
- Solder power terminals for transferring power
- Solder terminals for accepting power from source
- Add IR receiver socket
- Program Arduino
Create mode to rotate primary colors & whiteCreate mode to change all lights when any switch is pressed- Write digital output code for one or two sounds
- Immediately play sound at new mode if appropriate
- Cut and drill polycarbonate sheet
- Drill frame for wires
- Install switches
- Install light hoods
- Install electronics
- Install polycarbonate and light diffuser sheets
- Research inexpensive RGB controller for non-addressable LEDs
- Put code online
- Create instructions for project
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