The relays could not trigger simultaneously because I used the delay() function. Even if the buttons were pressed at exactly the same time, one relay would close while the other waited. I revised the code so each relay would act faithfully to the corresponding button.
Next, I wanted to get the addressable LED strip working. I have used these enough in the past that I assumed this would be a quick task to get something functional before moving on to more significant issues. I was a fool. I added the necessary code and nothing happened. It should have turned each of the eight LEDs a different hue, similar to the key colors when a switch was pressed. All of the code was formatted correctly, even before I checked it eleventy-billion times.
I checked that I was getting power to the board, and I was. I thought something was wrong with the signal pin on the Arduino, so I desoldered it and put it on a digital output, but that did not work any better. To make sure I was getting a signal to the board, I put an LED between the ground and signal wire, and it flashed at the appropriate times.
This project used nearly every pin on the Arduino, which is poor form. It is wise to keep a few spares in case one burns out or unsuitable. The only open sockets were the data pins, 0 and 1. As a cheap time-gamble, I assigned the LED output to the TX pin, but it had the same result as before. This project will not have lights. Bummer.
The rest of the posts for this project have been arranged by date.
First time here?
Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.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, is 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 property or assets based on their post.
This blog, including pictures and text, is copyright to Brian McEvoy.
2019-12-29
Next, I wanted to get the addressable LED strip working. I have used these enough in the past that I assumed this would be a quick task to get something functional before moving on to more significant issues. I was a fool. I added the necessary code and nothing happened. It should have turned each of the eight LEDs a different hue, similar to the key colors when a switch was pressed. All of the code was formatted correctly, even before I checked it eleventy-billion times.
Filtering components
I checked that I was getting power to the board, and I was. I thought something was wrong with the signal pin on the Arduino, so I desoldered it and put it on a digital output, but that did not work any better. To make sure I was getting a signal to the board, I put an LED between the ground and signal wire, and it flashed at the appropriate times.
Additional segment and an LED on digital-out
This project used nearly every pin on the Arduino, which is poor form. It is wise to keep a few spares in case one burns out or unsuitable. The only open sockets were the data pins, 0 and 1. As a cheap time-gamble, I assigned the LED output to the TX pin, but it had the same result as before. This project will not have lights. Bummer.
Digital-in from TX pin
The rest of the posts for this project have been arranged by date.
First time here?
Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.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, is 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 property or assets based on their post.
This blog, including pictures and text, is copyright to Brian McEvoy.
2019-12-29
Comments
Post a Comment