please choosego to mobile | Continue to access the PC version
12
Return to list Post new posts
Author: snowbody

PWM (hard) orange pi PC (H3) example blinky OK

[Copy link]

9

threads

28

posts

303

credits

Intermediate member

Rank: 3Rank: 3

credits
303
Published in 2016-12-18 02:02:18 | Show all floors
jbrooks replied at 2016-6-24 14:43
Some findings to pass on:

WiringOP does not appear to have working PWM support at this time. I te ...

Just as a note to your findings, to clarify, because this is a post about PWM.
Frequency of the pulse, or read/write speed doesn't matter on PWM, because PWM is a fixed frequency modulation.

To control your circuit, you change the width of the pulse, not the frequency. (Pulse Width Modulation.)

Perhaps, for precision, the read/write speed is relevant, but, in general, PWM is "slow" (works on relative low frequencies in terms of a modern CPU capabilities.)

So if you are working on a PWM project with OPi, the performance of the GPIO is mostly irrelevant.

0

threads

3

posts

36

credits

Novice

Rank: 1

credits
36
Published in 2016-12-29 00:23:49 | Show all floors
Did any of you that was testing PWM have kernel module that provides /dev/pwm .. I can load module but I cannot get dev to show.

0

threads

1

posts

12

credits

Novice

Rank: 1

credits
12
Published in 2019-10-4 00:10:32 | Show all floors
@snowbody
I am using opi one with (Armbian_5.90_Ubuntu_bionic_4.19.57) image. and used the uart0 pins for hardware pwm but the output pwm was around 330mvnot 3.3v.

what could be the problem!?

thanks,


0

threads

1

posts

8

credits

Novice

Rank: 1

credits
8
Published in 2023-4-23 16:50:56 | Show all floors
@Snowbody I cannot download the attached zip file. Is it possible to reupload?
12
Return to list Post new posts
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list