I want to use the Espruino for controling my hexapod robot. Therefore I need 18 PWM signals at one time. Until now I used an Atmega16 to simulate the PWM signals, but Espruino has enough hardware PWM outputs, so I thought of using it, instead of the microcontroller.
Unfortunately I read, that there are only 6 timers for the PWMs and I didn't find anything of saying which timer should be used for which pin. So it seems to be random, if the PWM work or not.
Is there any workarround, not simulating the PWM signals or is it impossible to control 18 PWM signals? What is the maximum of working PWM together, only 6 like timers, less or more?
P.S.: I also read something about PWMs dont working together, but it seems that there are enough outputs to avoid this problem.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
I want to use the Espruino for controling my hexapod robot. Therefore I need 18 PWM signals at one time. Until now I used an Atmega16 to simulate the PWM signals, but Espruino has enough hardware PWM outputs, so I thought of using it, instead of the microcontroller.
Unfortunately I read, that there are only 6 timers for the PWMs and I didn't find anything of saying which timer should be used for which pin. So it seems to be random, if the PWM work or not.
Is there any workarround, not simulating the PWM signals or is it impossible to control 18 PWM signals? What is the maximum of working PWM together, only 6 like timers, less or more?
P.S.: I also read something about PWMs dont working together, but it seems that there are enough outputs to avoid this problem.
Thank you!