I love my Unicorn! I want to teach it to see me. I have a proximity detector and want to hook it to the QW/ST connector. I see the schematic online, but it isn’t clear to me which pin is on the left edge of the connector… like, is the schematic left to right or right to left when I’m looking at the back of the board?
OK, looking at it from the back side it goes like this, left to right.
Plug 1 - Yellow, Blue, Red, Black
Plug 2 - Yellow, Blue, Red, Black
Pinout
Black - GND
Red - V+ (3.3V for Qwiic, 3-5V for STEMMA QT)
Blue - SDA
Yellow - SCL
That’s a great link, thanks! I was in fact using an Adafruit proximity sensor with my Unicorn, so some friendly mixing and matching was in play. I found using the Adafruit drivers with Pimoroni’s python was giving me some trouble (like, it wanted to import Adafruit “board” which I think would have been redundant or conflicting with the Pimoroni python libraries) but there were other Python libraries available for my sensor on GitHub that worked fine.
Does anyone have a link for a tutorial about combining Adafruit and Pimoroni stuff?
To use an Adafriut Breakout / sensor with the Pimoroni uf2, you have to hunt up a Micro Python Library for it. It’s what I had to do for a UV sensor i wanted to use. There wasn’t any Pimoroni Library for it.
Just in case someone (or future me ;) ) needs to know, the python driver at
works just fine for the Adafruit APDS9960 Proximity, Light, RGB, and Gesture sensor. You just set up the connection and it’ll go. That’s what was provoking this whole thread in the first place. But I’m definitely going to go look at Blinka. Thanks for the tip!