Idea:To create a backdrop sheet with LED's that resembles stars in space. This will be used as a backdrop for my recital. The backdrop will consist of constillations that will flicker at different rates. some constilations will be paired with audio tracks and go brighter or darker depending on how much volume is being used on that channel. Others will flicker randomly. Should i be using resistors on these lights? The thought occured to me, and since these LED's are in series, and all the constilations are different sizes, they will require different resistors. To calculate the desired resistor value (in ohms) we can use this formula. (Power supply voltage – LED voltage) / current (in amps) = desired resistor value (in ohms) https://www.evilmadscientist.com/2012/resistors-for-leds/ Therefore for one light: (5v - 3v) / 0.02 amps = 100 ohms two lights (5v - 3v) / 0.04 amps = 50 ohms five lights (5v - 3v) / 0.1 amps = 20 ohms ten lights (5v - 3v) / 0.2 amps = 10 ohms How many ports on the arduino can send fade values effectively? There are 15 different ports which will effectively work with the analogWrite command. those ports are 2 to 13, and 44, 45 and 46. These are the PWM pins, and they can send a variable amount of voltage through each pin. Max Patch:
0 Comments
Leave a Reply. |
AuthorMy name is Daniel Ohm and this section will include my research into music theory, experimental ideas, Mixing techniques and lessons learned from creative forums and musical endeavors. Archives
September 2022
Categories |