Hi again,
> adding hardware feels like a surrender ;) > But sometime the right tool can save you lots of headache... > > I think it should be feasable to create accurate timing with an isr by > reprogramming the timer for each servo if there are no other interrupts. > And since i2c slave is the most usefull interface, we should adapt the i2c > slave lib to work without interrupts. > > TLC5940 can also be chained, we could provide a "simple" 16 PWM controller, and a "fat" 32 PWM controller, etc... It requires minimal external part (1 resistor if I'm reading ok). And as I said, i2c + programmable sequence + per-servo configuration doesn't look like a surrender :) There are also things using 74HC595 shift register. One hardware PWM channel could sequentially drive 8 PWM output from this chip. Cheers, Seb http://www.instructables.com/id/The_Dawm/ > Joep > > > > 2009/10/10 Sebastien Lelong <[email protected]> > > Hi guys, >> >> I'm still thinking about a nice servo controller made in jallib (at least >> 8 channels I'd say). Goal would be to provide a Jaluino shield too. While we >> already discussed about implementing PWM in software, this can give problems >> of accuracy. What about using a dedicated chip, like TLC5940 ? >> >> http://focus.ti.com/docs/prod/folders/print/tlc5940.html >> >> It's used to control LEDs, but it seems it can be used to control servos >> too (in some arduino references). >> >> Don't you think it would speed up development of such controller ? >> >> >> Cheers, >> Seb >> -- >> Sébastien Lelong >> http://www.sirloon.net >> http://sirbot.org >> > > > > > -- Sébastien Lelong http://www.sirloon.net http://sirbot.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
