Disclosure: We earn a commission from some links on this page. Details
Plug sensors into a Pi (no soldering)
SparkFun's Qwiic cables click in one way only. No soldering, no wiring mistakes.
Drafted with AI assistance, fact-checked and approved by RackedPrice.
- Put a Qwiic pHAT on the Pi's pins, or a Qwiic SHIM if the case is tight.
- Click a Qwiic cable into it and into the sensor.
- Add more sensors by chaining them, cable to cable.
On the Pi, turn on I2C with sudo raspi-config, under Interface Options.
Pick Interface Options > I2C > Yes, then reboot.
sudo raspi-configType i2cdetect -y 1. Each sensor shows up as a number.
If the command is missing, install the tools first. Each number is a sensor's address; the hookup guide says which number is which.
sudo apt install -y i2c-toolsi2cdetect -y 1
Ready for a bigger build?
Our project guides walk through a whole build, with a parts list priced by our tracker.
What you'll need
- Qwiic pHAT v2.0Check price at SparkFun
- Qwiic SHIM (for tight cases)Check price at SparkFun
- Qwiic Cable KitCheck price at SparkFun
SparkFun doesn't share prices with us, so check the price on its page.
More make and tinker how-tos
Set up your first Raspberry Pi
A tiny computer for learning, projects and small home servers.
30 minutesMake a room temperature sensor
See a room's temperature and humidity in Home Assistant, from a sensor you put together.
1 hourGet an alert when a room gets stuffy
Rising CO2 means stale air. A CO2 sensor tells you when to open a window.
1 hour