Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12
Return to list New
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
Post time 2016-12-18 02:02:18 | Show all posts
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
Post time 2016-12-29 00:23:49 | Show all posts
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
Post time 2019-10-4 00:10:32 | Show all posts
@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,


12
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-11-15 03:20 GMT+8 , Processed in 0.026704 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list