Search found 3 matches

by matst
04 Jun 2020 21:06
Forum: Z-Uno
Topic: Help with Fast PWM
Replies: 3
Views: 2552

Re: Help with Fast PWM

That solved my issue. Thanks!
by matst
29 May 2020 00:23
Forum: Z-Uno
Topic: Help with Fast PWM
Replies: 3
Views: 2552

Re: Help with Fast PWM

Based on the reference i expected the below code to give 50% at 25khz, but the fan does not behave as it should. I don't have an oscillometer. 4mhz / 25khz = 160 pinMode(PWM3, OUTPUT); zunoFastPWMInit(0); // 0 for 4 MHz (tick is 0.25 μs) and ZUNO_GPT_SCALE1024 for 31.25 kHz (tick is 32 μs) zunoFastP...
by matst
28 May 2020 22:24
Forum: Z-Uno
Topic: Help with Fast PWM
Replies: 3
Views: 2552

Help with Fast PWM

Hi

Received my z-uno today and are trying to control a fan that has pwm speed regulation. It need 25khz pwm.

I guess the best approach would be Fast PWM?
Does anyone have an example with comments? I have some trouble understanding zunoFastPWMSet

Br
Mats