Need suggestions for a project...
Posted: Sat Oct 03, 2009 7:02 pm
I decided to make one of those music/lights synchronized Christmas displays, but I need a bit more information; I need more digital I/O pins than the most of the boards have. The Arduino Mega would have enough, but it has lots of analog I/O pins, too - thus adding cost for features I wouldn't use.
I have my computer playing the music, and sending the commands to the board to turn lights on/off. I tried other ways, such as having the board initiate with the computer, and then continue on its own. However, the way I have it now is my preferred way.
The best option that I can think of is if there were some way to turn analog pins into digital pins. Other ideas so far include:
Use more than one board attached to the computer (ruled out because of changes in code, multiple USB cables, et cetera)
Use one board connected to the computer, and more boards attached to it (haven't tried yet; might be the best option)
Use one board connected to the computer, and then use one of these things (not sure how this works... Delays? Individual control of a light going on/off?)
Main concern: latency and/or delays. I want the time between the following two events to be as little as possible:
1. Computer starts sending command to board.
2. Light has finished changing its state, and the board is ready to receive another command.
Once I decide on my physical interface, I plan on adding transistors (and, if necessary, resistors,) to the "controlled" electrical contacts, so that I can drive 12V LED strips.
Also, if anyone knows of any LED strips specifically approved for outdoor use - preferably "winter-resistant" - that use 12V power, that would be awesome, but I have a plan either way, provided I can get the physical control interface taken care of.
I have my computer playing the music, and sending the commands to the board to turn lights on/off. I tried other ways, such as having the board initiate with the computer, and then continue on its own. However, the way I have it now is my preferred way.
The best option that I can think of is if there were some way to turn analog pins into digital pins. Other ideas so far include:
Use more than one board attached to the computer (ruled out because of changes in code, multiple USB cables, et cetera)
Use one board connected to the computer, and more boards attached to it (haven't tried yet; might be the best option)
Use one board connected to the computer, and then use one of these things (not sure how this works... Delays? Individual control of a light going on/off?)
Main concern: latency and/or delays. I want the time between the following two events to be as little as possible:
1. Computer starts sending command to board.
2. Light has finished changing its state, and the board is ready to receive another command.
Once I decide on my physical interface, I plan on adding transistors (and, if necessary, resistors,) to the "controlled" electrical contacts, so that I can drive 12V LED strips.
Also, if anyone knows of any LED strips specifically approved for outdoor use - preferably "winter-resistant" - that use 12V power, that would be awesome, but I have a plan either way, provided I can get the physical control interface taken care of.