The code for transitioning colors was commented out and rewritten. The rewrite relied on the concept of how it should work rather than the previously written code. The old code was written during a sleep-deprived coding session but laid the work for this revision which worked immediately.
A reed switch was soldered to a two conductor cable, sealed with heat-shrink tubing then the other end of the cable was soldered to the proto-board. The code was modified to change modes from signals on the reed switch rather than a potentiometer. The potentiometer could be used during testing to change the transition speed. The reed switch uses the bounce2 library like the other switches so modes are not switched inadvertently.
Reed switch soldered to proto-board
Reed switch covered in heat shrink tubing
The rest of the posts for this project have been arranged by date.
This blog, including pictures and text, is copyright to Brian McEvoy.
A reed switch was soldered to a two conductor cable, sealed with heat-shrink tubing then the other end of the cable was soldered to the proto-board. The code was modified to change modes from signals on the reed switch rather than a potentiometer. The potentiometer could be used during testing to change the transition speed. The reed switch uses the bounce2 library like the other switches so modes are not switched inadvertently.
Reed switch soldered to proto-board
Reed switch covered in heat shrink tubing
Demonstrating reed switch and transitions
To do:
- Build electronics
Solder reed switch- Solder remaining NeoPixels
- Solder three more switches
- Solder power terminals for transferring power
- Solder terminals for accepting power from source
- Program Arduino
Add transitioning sequence which looks at current and intended color then transitions if necessary- Create mode to rotate primary colors & white
- Create mode to change all lights when any switch is pressedW
- Write digital output code for one or two sounds
Write digital input code for reed switch to change modesEliminate pots- Immediately shows first pattern of scheme when switched
- Immediately plays sound if appropriate
Use bounce2 library- Cut and drill polycarbonate sheet
- 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