well, I have read a lot of threads about PWM and stepper motors and so on, but I couldnt find an final answer that helps me to answer my next question.
I like to control some RC servos with the MB64. That means the DOUT have to output an PWM signal.
I’ts not really highspeed clocked … every 20ms a pulse of 1ms (min. value) to 2 ms (max.value).
I have read that PWM needs very much performance, but I dont know if this relative slow PWM is also too much for an PIC (in the case that there are 4 to 16 such PWM needet). And finaly I have no idea how I could programm such a PWM “option” ::).
Ahhh PWM… It’s like the $64000 question around here lately!
There’s a PWM peripheral on the PIC, has anyone aside from TK used it and feels like explaining it to us all? I’ve got a rough idea, so I’ll step up and learn the rest if needed… But I don’t want to reinvent the wheel if someone already knows
Anyhow, that’s just the one output, not 4-16, so I don’t know if this is the right way to go for you e-toy.
I have read that PWM needs very much performance, but I dont know if this relative slow PWM is also too much for an PIC (in the case that there are 4 to 16 such PWM needet). And finaly I have no idea how I could programm such a PWM “option”
This is the state when switched “on”. Selectable values range from 1ms to 2ms (1.5ms middle) like the RC-model specification). When the extended Mode has been selected, you can switch back to standard mode by writing a 0 (zero) to register 21. Values from 1 - 255 (0x01 - 0xff) in register 21 switch to extended mode