What's the current draw on those? TLC5940 does not have lot of current drive:
...Might be better off using those to drive transistors for sinking current thru the motors.
Question: What is the code to make the Uno & TLC5940 output a 25kHz signal?
This application is only speed control, so it only needs a few... 640 steps would be way more than enough.
I don't think it's the Uno's limits I must be concerned with (Uno can output up to 62.5kHz according to http://playground.arduino.cc/Main/TimerPWMCheatsheet).
I'm sure my answer is simple...
Which requires exactly 16 MHz. Given the fact that the processor can execute exactly one operation (or fewer) per clock tick, how do plan to toggle the GSCLK signal at 16 MHz?
Which is 256 times slower than you need. Do you understand the difference between "MHz" and "kHz"? Do you understand how the TLC5940 works?
But first you need to get your expectations in line with what the hardware is capable of doing.
No, I don't fully understand the TLC5940... it's a black box to me, but I understand it can expand UNO's capability to 16 channels...
Without using a TLC5940, I only have 2 maybe 3 channels from the UNO.
I had assumed the TLC5940 had it's own timer.
I don't know if the UNO must put out 25kHz to make the TLC5940 put out 25kHz.
...then talk the TLC5940 into changing the duty cycle for the respective channel at 10% increments...
I only require it be a digital 25kHz output (not analog).
...take some temperature inputs...
If these components aren't correct to acheive my Goal, would you please suggest what is?
For outputting 16 PWM signals at 25 kHz with 10 steps an Uno + TLC5940 will most certainly work.As for the rest of your goal, who knows. You haven't told us enough to offer an opinion.
So if anyone here were to actually know a working answer to my question...
... 25 kHz output from the Arduino equates to an essentially useless PWM cycle rate......the TLC5940 library for a 250 kHz clock output and...
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16