G470: Difference between revisions
Replace <comments/> with <comment-streams /> |
|||
| (21 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{GD Template Impl}} | {{GD Template Impl}} | ||
[[File: IMG-8988-Dimension.jpg|right|thumb|G470 Screw Terminal Block Breakout Board]] | |||
[[File:G470-IMG-8989.jpg|thumb|right|G470 Screw Terminal Block Breakout Board]] | |||
[[File:G470-IMG-8995.jpg|thumb|right|G470 Screw Terminal Block Breakout Board]] | |||
[[File:G470-IMG-8994.jpg|thumb|right|G470 Screw Terminal Block Breakout Board]] | |||
==Overview== | ==Overview== | ||
This G470 GPIO Test Terminal Block Breakout Board for Raspberry Pi is an easy-to-use expansion board designed to simplify wiring and connections for your Raspberry Pi projects. With labeled screw terminals for each GPIO pin, it provides a reliable way to connect external components without soldering, making it ideal for prototyping and development work. This breakout board is perfect for makers, hobbyists, and developers looking to simplify and improve the connectivity of their Raspberry Pi projects. | |||
==Features== | ==Features== | ||
| Line 14: | 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== | |||
===Schematic=== | |||
[[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 | |||
sudo nano /boot/config.txt | |||
[[File: Pi-sensor-board-01.png|400px]] | |||
Ensure that I2C is on, and then restart the system. | |||
sudo reboot | |||
After restart, address 48 can be detected by I2C address detection command. | |||
i2cdetect -y 1 | |||
[[File: Pi-sensor-board-02.png|400px]] | |||
Ensure that jumper caps are connected to PCF. | |||
[[File:Rpi-all-gpio-test-board-b-03.jpg|400px]] | |||
Download sample code [[File:Pcf8591-220714.tar.gz|pcf8591]] | |||
run command | |||
cd pcf8591/ | |||
sudo python pcf8591_adc.py | |||
[[File: Pi-sensor-board-04.png|400px]] | |||
Phenomenon: | |||
4-channel print AD value | |||
DAC | |||
run command | |||
sudo python pcf8591_dac.py | |||
[[File: Pi-sensor-board-05.png|400px]] | |||
Phenomenon: | |||
The brightness of the LED light changes with the DAC output value. | |||
===LED running light=== | |||
Make sure that the jumper caps are connected to the LED. | |||
[[File: Rpi-all-gpio-test-board-b-06.jpg|400px]] | |||
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 | |||
sudo python GPIO_Test.py | |||
Phenomenon: | |||
The power indicator LED is always on, and the GPIO connection LED is turned on in turn, and then turned off in turn, continuously circulating | |||
==FAQ== | ==FAQ== | ||
| Line 27: | Line 99: | ||
<!--Add review function! --> | <!--Add review function! --> | ||
< | <comment-streams id="main" /> | ||
<!--Please choose the --> | <!--Please choose the --> | ||