Join us in Chat. Click link in menu bar to join. Unofficial chat day is every Friday night (US time).
0 Members and 1 Guest are viewing this topic.
But, even though the Arduino only has 6 PWM, does that mean that the ATMEGA 328 only has 6 available?
Or can you get more PWM out of microcontrollers...
So, if I were to want lots of PWM pins (like thousands) would I have to get hundreds (if not thousands) of controllers to run them?
I'm sure there are controllers that have more then 6, no idea how many could be on one though.
What makes a PWM pin special and how can I get more out of a chip?
(I know PWM are special because of what they can do in the programming, but what about them hardware wise makes them special?)
So, if I were to want lots of PWM pins (like thousands) [...]
The TLC5940 is a 16 channel PWM unit with 12 bit duty cycle control (0 - 4095), 6 bit current limit control (0 - 63), and a daisy chainable serial interface. It is handy for expanding the number of PWM outputs available.
So yes, multiplexing is part of the game plan. As far as I can tell though, I'll still need 300 PWM pins...
O.o .... So you're saying I only need 32 pins to drive 1000 LEDs, each having 3 colors and therefore 3 legs? Those 32 pins are able to make the color changes on each individual color of each individual LED?I cannot wrap my head around how that would work... If that is really what you are saying, just say yes. I'm sure there is a large technical explanation on how it works, but I'm not going to make you explain it to me