Connecting Raspberry Pi Pico Gravity Expansion Board with sensors

userHead yht.yht 2024-02-23 01:05:40 495 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-05 05:17:12

Thank you for you reply.

userHeadPic yht.yht
2024-03-04 18: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-05 05:50:10
1 Replies
2024-03-03 00:09:01

Waiting for your reply

userHeadPic yht.yht