Post topics, source code that relate to the Arduino Platform

User avatar
By RichardS
#8966 4 ESC :-) 4 PWM :-)

Richard.
User avatar
By ficeto
#9777 the ESP has only one usable timer for that sort of thing and is not a big deal to implement servo control like the one in the RC receivers. I have posted a nice arduino-like library that has all things pretty easily available. RC control uses 20-22 ms intervals to transmit the signals to each pin/motor and it does that is sequence so setting up a single timer with the period of the first pulse will trigger the interrupt at the point where you need to pull that pin down, pull the next channel up and set the timer for the length of the next pulse. Doing that in sequence for all 8 channels will give you the result you want. You can of course use less channels/pins or even better... use one for PPM. I hope this answers your question :) And i'm hoping to be flying MultiEspWii this summer :)