G470: Difference between revisions

Cindy (talk | contribs)
No edit summary
Replace <comments/> with <comment-streams />
 
(12 intermediate revisions by 3 users not shown)
Line 20: Line 20:
* 1 x Screw Terminal Block Breakout Board (Model: G470),  
* 1 x Screw Terminal Block Breakout Board (Model: G470),  
* 1 x Screws Pack
* 1 x Screws Pack
[[File:G470-IMG-8990-Packing-List.jpg|500px|G470 Packing List]]


==User Manual==
==User Manual==
===PCF8591===
===Schematic===
Test image version: 2022-04-04-raspios-bullseye-armhf.img Raspberry pi 4B
[[File:G470-Schematic-1636 x 1357.jpg|800px|G470 Schematic]]
 
===PCF8591 Guide===
Test image version: 2022-04-04-raspios-bullseye-armhf.img   '''based on Raspberry Pi 4B'''


Enable I2C
Enable I2C
Line 45: Line 49:
[[File:Rpi-all-gpio-test-board-b-03.jpg|400px]]
[[File:Rpi-all-gpio-test-board-b-03.jpg|400px]]


Download sample codepcf8591
Download sample code [[File:Pcf8591-220714.tar.gz|pcf8591]]


run command
run command
Line 67: Line 71:
Phenomenon:
Phenomenon:


The LED lamp changes with the output value of DAC, and the brightness changes.
The brightness of the LED light changes with the DAC output value.


===LED===
===LED running light===
Make sure that the jumper caps are connected to the LED.
Make sure that the jumper caps are connected to the LED.


[[File: Rpi-all-gpio-test-board-b-06.jpg|400px]]
[[File: Rpi-all-gpio-test-board-b-06.jpg|400px]]


Download GPIO_Test.py to raspberry pi.
Download [https://cdn.static.spotpear.cn/uploads/picture/learn/raspberry-pi/rpi-expansion/pi-all-gpio-test-board-a/GPIO_Test.py GPIO_Test.py] to Raspberry Pi.


run command
run command
Line 95: Line 99:


<!--Add review function! -->
<!--Add review function! -->
<comments />
<comment-streams id="main" />


<!--Please choose the  -->
<!--Please choose the  -->