Hello all! Thank you for taking the time to read/reply my thread.
This weekend I came up with (what I hope to be) a fun toy-ish type of project for my kids. What I aim to do is use PVC pipe, two total pieces with one smaller in diameter than the other; three long & wide pieces of glass to make a triangle within the smaller PVC pipe; use a small grid of LEDs (diffused obviously) to create interesting patterns; use a servo/small motor to rotate the grid of LEDs.
However the problem exist in how to randomly come up with LEDs shifts. Is there a way to create a semi-random (by semi I mean a long program, maybe 5 minutes, before it resets) switching on/off or delay for the LEDs? It is possible to just write up turn x LED on for this long, then this one, and so on. However this is very tedious and I forsee a lot of debugging with the code.
Any ideas are most welcomed, and appreciated.
***NOTES***
- The two PVC pipes are so I can mount circuitry on back and pull wires to the top connecting to an On/Off switch for the LEDs.
- Using two PVC pipes also allows room to store a battery pack (3xAAA) assuming the gap in diameters is large thick enough.
- Diffused LEDs must be used so as to not blind the viewer when looking through the kaleidoscope. DO NOT use regular or high power LEDs.
- Three bolt/nut combos will be used, 3 down each side, by 3 long, so 9 total individual bolts/nuts. This secures the two PVC pipes together.
This weekend I came up with (what I hope to be) a fun toy-ish type of project for my kids. What I aim to do is use PVC pipe, two total pieces with one smaller in diameter than the other; three long & wide pieces of glass to make a triangle within the smaller PVC pipe; use a small grid of LEDs (diffused obviously) to create interesting patterns; use a servo/small motor to rotate the grid of LEDs.
However the problem exist in how to randomly come up with LEDs shifts. Is there a way to create a semi-random (by semi I mean a long program, maybe 5 minutes, before it resets) switching on/off or delay for the LEDs? It is possible to just write up turn x LED on for this long, then this one, and so on. However this is very tedious and I forsee a lot of debugging with the code.
Any ideas are most welcomed, and appreciated.
***NOTES***
- The two PVC pipes are so I can mount circuitry on back and pull wires to the top connecting to an On/Off switch for the LEDs.
- Using two PVC pipes also allows room to store a battery pack (3xAAA) assuming the gap in diameters is large thick enough.
- Diffused LEDs must be used so as to not blind the viewer when looking through the kaleidoscope. DO NOT use regular or high power LEDs.
- Three bolt/nut combos will be used, 3 down each side, by 3 long, so 9 total individual bolts/nuts. This secures the two PVC pipes together.