Connecting Raspberry Pi Pico Gravity Expansion Board with sensors

userHead yht.yht 2024-02-22 17:05:40 329 Views4 Replies

Hi,

 

I am using Raspberry Pi Pico W with the gravity expansion board. I have an HCSR 04 ultrasonic sensor and a TTP223 touch sensor at home. May I know how do I connect it? I also assume that all the gravity sensors are compatible with this expansion board. Do share with me about it.

 

 

Thanks.

2024-03-04 21:17:12

Thank you for you reply.

userHeadPic yht.yht
2024-03-04 10:16:44

SR04 is a TRIG-ECHO ultrasonic sensor, just keep GND->GND, VCC→3.3V, TRIG->GPIO3, ECHO->GPIO2.

All of the RED pin on Gravity board is 3.3V, and all the black pin on it is GND.

Tutorial is on this website:

https://www.tomshardware.com/how-to/raspberry-pi-pico-ultrasonic-sensor

 

 

TTP223 is an Digital output sensor, this is more easy like I/O→GPIO12, and VCC to read, GND to Black

userHeadPic Yeez_B
Yeez_B wrote:

TTP223 is an Digital output sensor, this is more easy like I/O→GPIO12, and VCC to Red, GND to Black.

Sorry for the typo.

2024-03-04 21:50:10
1 Replies
2024-03-02 16:09:01

Waiting for your reply

userHeadPic yht.yht