![]() The cost per LED will decrease with each additional LED as the driver (transistor) required to drive the LED is dirt cheap. ![]() Also, an arduino has higher initial cost. Using an arduino is a completely different venue as it requires programming. Simply add more circuits when the tree has grown In my view this setup has the charme that you can build it on a small PCB and easily use as many LEDs as you like. Pulse duration and ratio can be tweaked using potentiometers instead of fixed resistors. A few additional components are required. The DC of a 555 based circuit can be adjusted within certain limits, so you can achieve the desired effect (short on pulse, long off duration).Ī "breathing" effect can be achieved with a modified 555 circuit, where the voltage across the timing capacitor is used to control an LED (instead of the "real" output pin 3). The ratio of on-time to total time (on+off) is called duty cycle, short DC (so we can talk on a common basis). Am I correct in assuming that it would be difficult to achieve the effect I want using ICs and discrete components? Would I be able to achieve the effect using Arduino or some other microcontroller? Having some ability to tweak flash rates would be helpful, and I don't know if that's doable with just 555 timers, and their ilk.Ĭlick to expand.Reading the first lines of your post that was the idea that came to my mind. I have no experience with such things, but I can read a schematic and use a soldering iron and have put together circuit projects before. The main question I'm having right now is whether to try to put something together using ICs/capacitors/resistors/transistors, or instead using something semi-prefab like Arduino or Raspberry Pi. I even found one circuit that ramped-up the brightness (rather than just going on with full brightness), which I thought was great it would look more "organic" than a hard on/off. I've seen circuits using 555 chips that will control up to 8 LEDs and give a random blinking effect for each LED, but each LED appears to spend approximately equal amounts of time on and off, and I'd like them to be more off than on. ![]() I definitely want each emitter to appear to be independent of the others, rather than multiple ones blinking at the same time. I would want the circuit to only operate when lighting falls below a certain threshold there's no point having it going during the daytime. Since the emitters use +/-3v, I figured I'd have a solar panel feeding a storage battery, off which the circuit would run. Each emitter will be coated with a little glow-in-the-dark powder mixed with a clear medium like silicone, so the powder will be activated by the UV light and will glow after the emitter blinks-off, with the glow gradually decaying. I want each emitter to blink off and on in a seemingly random way, with more time being spent off, than on - a bit like fireflies. It will involve an array of 30 LEDs (technically, UV emitters) that will be suspended in a tree on the ends of two-to-four foot-long leads, so they can sway in the breeze. I strongly suggest that you learn about "arrays", which are excellent tools for keeping track of a list of numbers.I'm hoping to get some guidance on an outdoor lighting project I'm undertaking. Random numbers are actually a surprisingly intricate topic, especially with a "no repeats" rule like you seem to want. Once you can make it count from 1 to 6, then it would be a good time to work on random numbers. ![]() (This is to make sure that everything is working right: your button, the code to read the button, the code to display a number from 1 to 6, and the code to remember a number from 1 to 6.) I would begin by forgetting about random numbers, and just making it count from 1 to 6, one number per button press. Thanks much in advance for the help I will appreciate it much!įirst, I would suggest you keep it simple. In the future I will need help to make it work on a barebones circuit boardįor now this thread will develop after I get the peices I need. I am just wondering what parts I would need first to begin with, I have to order another arduino so would need recommendation on which one to purchase for this project (mini?) It will also have an on and off button as well as a reset button to reset the random numbers to start all over again. Once a button is pushed it will show a number between 1 to 6 and it will remember this random number so it is not done twice(so as it is running a button will be pushed and it will get 4, than it is pushed again and it will skip 4 and try out all of the other numbers from 1 to 6. I was wondering what parts I would need for a random number generator that basically does this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |