Changes

Jump to: navigation, search

Orange Pi 5 detail

123 bytes removed, 15:18, 23 April 2023
26pin 的 PWM 测试
=== 26pin 的 PWM 测试 ===
1) Android 默认只开启了 '''only opened PWM15''',对应的引脚在 26pin 的所在位置如下图所示by default. The corresponding pins are at the position of 26Pin.<br><br>
[[Image:Pi-5-details2-pic56.png]]<br><br>
2) 首先点击 wiringOP 图标打开 wiringOP APPFirst click theWiringOP icon to open the Wiringop App<br><br>
[[Image:Pi-5-details2-pic57.png]]<br><br>
3) 然后在 wiringOP 的主界面点击 '''Then click the PWM_TEST''' 按钮进入 button to enter the PWM 的测试界面test interface at the main interface of WiringOP<br><br>
[[Image:Pi-5-details2-pic58.png]]<br><br>
4) The corresponding address corresponding to the PWM15 对应的基地址是 '''is febf0030''' , 这里 pwmchip0 右边显示的刚好就是'''. The right side of PWMCHIP0 is exactly the febf0030.pwm''', 如果显示的基地址不对,请点击下拉选项选择其它的 pwmchip,直到右边显示 '''. If the displayed base address is wrong, please click the drop -down option to select other PWMCHIP until the febf0030''' 为止is displayed on the right.<br><br>
[[Image:Pi-5-details2-pic59.png]]<br><br>
5) 然后确认 Then confirm the PWM 的周期,默认的配置是 '''cycle. The default configuration is 50000ns''',转换为 , and the PWM 频率是 '''frequency is 20KHz''', 可自行修改,点击开启按钮导出 '''. You can modify it by yourself.Click on the button to export PWM15'''<br><br>
[[Image:Pi-5-details2-pic60.png]]<br><br>
6) 然后拖动下面的拖动条,就可以改变 Then drag the drag below to change the PWM 的占空比,然后勾选 Enable 就可以输出 duty ratio, and then check the enable to output PWM 波形了<br><br>
[[Image:Pi-5-details2-pic61.png]]<br><br>
7) 然后使用示波器测量开发板 26pin 中的第 7 号引脚就可以看到下面的波形了<br><br>
[[Image:Pi-5-details2-pic62.png]]<br><br>

Navigation menu