egoexpress wrote:My HB-25 does produce noice during low PWM signals...
Which PWM frequency do you use currently?
1024 steps is borderlined.
In the datasheet of the Atmega8535, I found these specs:
– Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
How to get 4 Encoder inputs with 10bit resolution?
Perhaps an external decoder IC could be a solution?
10bit is not enough for sure
The HB-25 PWM frequency is fixed on 9,2Khz. No way to change it. I just send a servo pulse to it and it take cares of the rest.
Its true that the hardware it has it limitations but I'll try to implement it in multitasking software mode.
If it fails on speed responce, then I have to redesign it and make an addon board with several small Attiny AVR 's to take care of the counting of the encoders and the PWM of each motor. No big problem though. The smaller AVRs will be directed by the Atmega8535 easily.



Germany - Frankfurt/M
New Zealand