# Using a RFID PiicoDev module with Prototyping Cables

**URL:** <https://forum.core-electronics.com.au/t/using-a-rfid-piicodev-module-with-prototyping-cables/20768>\
**Category:** Product Questions\
**Created:** [2 September 2024 03:18 UTC](https://forum.core-electronics.com.au/t/using-a-rfid-piicodev-module-with-prototyping-cables/20768 "2024-09-02T03:18:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Timothy56227](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/timothy56227/32/1146_2.png) [@Timothy56227](https://forum.core-electronics.com.au/u/Timothy56227)\
**Post date:** [2 September 2024 03:18 UTC](https://forum.core-electronics.com.au/t/using-a-rfid-piicodev-module-with-prototyping-cables/20768/1 "2024-09-02T03:18:07Z")

</div>

I have a question about using PiicoDev components with the prototyping cable when the expansion board is NOT used.

The Cable SKU: CE07796 PiicoDev Prototyping Cable (Male) 200mm for example has these notes on the cable colors  
- Black for GND  
- Red for V+ with PiicoDev and Qwiic boards that are 3.3V  
- Blue for SDA GPIO16(Pin21)  
- Yellow for SCL GPIO17(Pin22).

However, when I connect the RFID module in this way and run this code on the pico:  
from PiicoDev\_RFID import PiicoDev\_RFID  
from PiicoDev\_Unified import sleep\_ms  
from PiicoDev\_SSD1306 import \*

rfid = PiicoDev\_RFID() # Initialise the RFID module

print(‘Place tag near the PiicoDev RFID Module’)  
print(rfid)

while True:  
if rfid.tagPresent(): # if an RFID tag is present  
id = rfid.readID() # get the id  
if (id == “CB:61:B8:08”):  
print(“9”)  
else:  
print(id)  
sleep\_ms(100)

I see this error:  
Traceback (most recent call last):  
File “”, line 6, in   
File “/lib/PiicoDev\_RFID.py”, line 79, in **init**  
File “/lib/PiicoDev\_RFID.py”, line 284, in reset  
File “/lib/PiicoDev\_RFID.py”, line 95, in \_wreg  
OSError: [Errno 5] EIO

When using the PiicoDev Cable 100mm SKU: CE07773 which has a 4-wire harness with 1mm pitch SH connectors on each end, the code works as expected.

So my question is, how can I use the prototyping cable with the male headers for situations when I am not using an expansion board? Why is SDA associated with GPIO16(Pin21) and the SCL pin is associated with the GPIO17(Pin22)? What do SDA and SCL mean? Do I need to configure the SDA/SCL pins manually?

I note there are similar questions to this but I didn’t not find a solution yet.

---

<div class="post-metadata">

**Author:** ![Timothy56227](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/timothy56227/32/1146_2.png) [@Timothy56227](https://forum.core-electronics.com.au/u/Timothy56227)\
**Post date:** [2 September 2024 03:22 UTC](https://forum.core-electronics.com.au/t/using-a-rfid-piicodev-module-with-prototyping-cables/20768/2 "2024-09-02T03:22:41Z")

</div>

![20240901_191707](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/3/34a5132d94eea944f9e3a8621632398f42dfc4fc.jpeg)  
 ![20240901_192511](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/d/de3ab658ca84bd19f0af844973c295ef05f51381.jpeg)  
Here are images of using the two different cables.

---

<div class="post-metadata">

**Author:** ![Aaron](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/aaron/32/9861_2.png) [@Aaron](https://forum.core-electronics.com.au/u/Aaron)\
**Post date:** [2 September 2024 06:13 UTC](https://forum.core-electronics.com.au/t/using-a-rfid-piicodev-module-with-prototyping-cables/20768/3 "2024-09-02T06:13:03Z")

</div>

Hi @Timothy56227, Welcome to the Forums!!!

I think the issue may be stemming from using the wrong pins for the Piicodev connection.  
According to [the Schematic,](https://github.com/CoreElectronics/CE-PiicoDev-LiPo-Expansion-Board-for-Raspberry-Pi-Pico/blob/main/Documents/schematic.pdf) the Pins for the Connector are on GP 8 and 9 (SCL:Pin 9, SDA:Pin 8)

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/9/9e3ea40db560f6b0505b00f4942ac78bd3f7596f.png)

> [@Timothy56227](#):
>
> What do SDA and SCL mean?

PiicoDev is based on the I2C bus. They stand for Serial Data and Serial Clock.

---

<div class="post-metadata">

**Author:** ![Timothy56227](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/timothy56227/32/1146_2.png) [@Timothy56227](https://forum.core-electronics.com.au/u/Timothy56227)\
**Post date:** [2 September 2024 18:45 UTC](https://forum.core-electronics.com.au/t/using-a-rfid-piicodev-module-with-prototyping-cables/20768/4 "2024-09-02T18:45:57Z")

</div>

Thank you Aaron, those PIN details work for me: Blue for SDA:Pin 8 and Yellow for SCL:Pin 9.

On a somewhat related topic, I need to share the 3.3V pin without the space for a breadboard. Is it a common practice to solder wires together to share this pin, or are there any parts sold for this purpose, such as jumper cables with more than two ends?

---

<div class="post-metadata">

**Author:** ![Samuel](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/samuel/32/11763_2.png) [@Samuel](https://forum.core-electronics.com.au/u/Samuel)\
**Post date:** [3 September 2024 01:36 UTC](https://forum.core-electronics.com.au/t/using-a-rfid-piicodev-module-with-prototyping-cables/20768/5 "2024-09-03T01:36:14Z")

</div>

Hey @Timothy56227,

You should be fine to solder wires together to share this pin.

‘Y cables’ or ‘Y splitters’ are the common terms for this cable type. While these cables do exist such as this [2-Way 2.1mm DC Barrel Jack Splitter Squid](https://core-electronics.com.au/2-way-2-1mm-dc-barrel-jack-splitter-squid.html), it is normally easier to solder breadboard wires together for prototyping like this.

If you are after a temporary solution you could always connect 3 alligator clip cables to achieve a similar result.

> **[Short Wire Alligator Clip Test Lead (set of 12)](https://core-electronics.com.au/short-wire-alligator-clip-test-lead-set-of-12.html)**
>
> Connect this to that without soldering using these handy mini alligator clip test leads. Approximately 4.5" overall cables with alligator clip on each end, color...

Hope this helps! 😀
