# Connecting sensors to a Raspberry Pi Zero

**URL:** <https://forum.core-electronics.com.au/t/connecting-sensors-to-a-raspberry-pi-zero/22649>\
**Category:** Core Electronics\
**Created:** [10 June 2025 08:34 UTC](https://forum.core-electronics.com.au/t/connecting-sensors-to-a-raspberry-pi-zero/22649 "2025-06-10T08:34:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phil289055](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@Phil289055](https://forum.core-electronics.com.au/u/Phil289055)\
**Post date:** [10 June 2025 08:34 UTC](https://forum.core-electronics.com.au/t/connecting-sensors-to-a-raspberry-pi-zero/22649/1 "2025-06-10T08:34:18Z")

</div>

Hello, I have a [Gravity HX711 Weight Sensor](https://core-electronics.com.au/gravity-hx711-weight-sensor-kit.html) and [WaveShape I2C 16x02 LCD Display](https://core-electronics.com.au/lcd1602-i2c-module-white-color-with-blue-background-16x2-characters-lcd-33v5v.html) that I wish to connect to a Raspberry Pi Zero via a [PiicoDev Adapter](https://core-electronics.com.au/piicodev-adapter-for-raspberry-pi.html). I have found that the cables supplied with the weight sensor and LCD display do not fit the sockets in the PiicoDev Adapter. However I notice that the pin outs are the same {GND, 3.3V, SDA, SCL}, so I’m wondering if I can join a [PiicoDev Cable](https://core-electronics.com.au/piicodev-cable-100mm.html) to the cable supplied with the weight sensor by joining the four wires. Specifically, I am thinking of snipping a PiicoDev Cable in half and soldering the 4 wires onto the 4 wires of the cable that came with the weight sensor? (and same for the LCD display). Is this the best approach? I assume that pin-outs the four sockets on the PiicoDev Adapter are identical?  
I appreciate any thoughts or advice, Phil

---

<div class="post-metadata">

**Author:** ![Dan](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/dan/32/10815_2.png) [@Dan](https://forum.core-electronics.com.au/u/Dan)\
**Post date:** [11 June 2025 05:50 UTC](https://forum.core-electronics.com.au/t/connecting-sensors-to-a-raspberry-pi-zero/22649/2 "2025-06-11T05:50:57Z")

</div>

Hi @Phil289055

Welcome to the forum!

Rather than cutting up a cable you could look at using [4-pin JST PH to JST SH Cable - STEMMA to QT / Qwiic - 200mm long | Buy in Australia | ADA4424 | Adafruit | Core Electronics](https://core-electronics.com.au/4-pin-jst-ph-to-jst-sh-cable-stemma-to-qt-qwiic-200mm-long.html) to adapt between both the LCD and also the Weight sensor. You will have to swap some pins over on the larger JST-PH side but this is easily done by gently prying up the plastic retaining clips on the connector and pulling the cable back.

---

<div class="post-metadata">

**Author:** ![Phil289055](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@Phil289055](https://forum.core-electronics.com.au/u/Phil289055)\
**Post date:** [11 June 2025 05:57 UTC](https://forum.core-electronics.com.au/t/connecting-sensors-to-a-raspberry-pi-zero/22649/3 "2025-06-11T05:57:05Z")

</div>

Thanks Dan, that is a neat solution, thank you… better than soldering.

---

<div class="post-metadata">

**Author:** ![Dan](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/dan/32/10815_2.png) [@Dan](https://forum.core-electronics.com.au/u/Dan)\
**Post date:** [11 June 2025 06:18 UTC](https://forum.core-electronics.com.au/t/connecting-sensors-to-a-raspberry-pi-zero/22649/4 "2025-06-11T06:18:40Z")

</div>

Hey @Phil289055

No worries at all, always better to work smarter not harder 🙂
