Hey! This may sound like a stupid question, however I was wondering whether the PiicoDev Adapter for Raspberry Pi was compatible with the Raspberry Pi Zero W and it’s successors, not exclusively the 4 and 400.
Thanks for the help!
Hey! This may sound like a stupid question, however I was wondering whether the PiicoDev Adapter for Raspberry Pi was compatible with the Raspberry Pi Zero W and it’s successors, not exclusively the 4 and 400.
Thanks for the help!
Hey @Ezra224017 - it certainly is compatible with the Pi Zero family (zero, 2, W, 2W)
Wow, that’s great, thanks for the reply @Michael. I have 2 more questions:
It looks like the case has been designed with HATs in mind - the adapter ought to connect without any issues. I haven’t gotten hands on with a case so i couldn’t tell you for certain.
Follow the Raspberry Pi instructions in the guide - there you will install PiicoDev as a Python package using Thonny or Pip. Which PiicoDev device are you looking to use? If you’re struggling to find the right resource let us know here and we can point you in the right direction.
I am fine with finding all the tutorials, the guides are excellent! I was hoping to be able to use Piicodev with the Raspberry Pi Zero without it being a desktop environment installation (headless). Is there any way to do this?
The guides focus on Thonny, which is just an editing environment for Python. You can still write your own python scripts however you like and execute them from the command line as follows:
Install PiicoDev using pip3
in the command line:
sudo pip3 install piicodev
This will install all the PiicoDev modules for Python3.
Then you can execute your python script my_script.py
using
sudo python3 my_script.py
This all assumes you have the I2C interface enabled. From memory you do this by editing /boot/config.txt
or running the config utility sudo raspi-config
(docs)
Ahh that makes sense! It just never occurred to me that Piicodev had a pip package. Thanks for your help.