Connecting Raspberry Pi Pico Gravity Expansion Board with sensors
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.
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
Yeez_BTTP223 is an Digital output sensor, this is more easy like I/O→GPIO12, and VCC to Red, GND to Black.
Sorry for the typo.