Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drivers for Qwiic & StemmaQT boards? #739

Open
jphastings opened this issue Feb 14, 2025 · 2 comments
Open

Drivers for Qwiic & StemmaQT boards? #739

jphastings opened this issue Feb 14, 2025 · 2 comments

Comments

@jphastings
Copy link

jphastings commented Feb 14, 2025

I have a number of Qwiic & StemmaQT boards that I'd be interested in getting working with Tinygo. I've not built any drivers before, but I may try and build them if I can't find them!

I'll update this issue with what I find as I go, but I'd appreciate pointers to drivers that already exist, or new Qwiic/StemmaQT boards that you already know work.

(If you'd also like a driver for one of these boards, please just 👍 on this issue, rather than post a comment 😊)


I'm testing with a QT Py RP2040.

Company Board Name I2C Chip Purpose Existing driver Testing notes
Elechouse NFC module v3 NXP PN532 NFC reader 3rd party driver Working example
Adafruit STEMMA MiniGPS MTK3333 Geographic location Possible official driver? I've not had it working yet
Adafruit NeoDriver ATtiny1616 buffering WS2812 RGB LED strip driver Possible official driver? Not tried yet
Adafruit IS31FL3741 IS32FL3741 LED Matrix Similar board driver Not tried yet
Adafruit ST25DV16 ST25DV16K NFC tag emulator (ish) no driver?
Adafruit LTR-329 LTR-329ALS-01 Light sensor no driver?
Adafruit Rotary Encoder SeeSaw Rotary encoder & LED Possible official driver? Not tried yet
Adafruit Infineon Trust M Infineon OPTIGA TRUST M SLS 32AIA Crypto functions & key store no driver?
Sparkfun Qwiic Button ATTiny84 running Sparkfun code Button & LED no driver?
Sparkfun Qwiic Alphanumeric Display vk16k33 4 letter display no driver?

(Places I've looked: Official drivers, Periph drivers — code & issues/PRs, Github & searching the internet.)

(Ideally this would be a Github Discussion thread, but they don't seem to be enabled here!)

@conejoninja
Copy link
Member

Hello, I like this, nice initiative, I might be able to help if I get some of the boards.

Qwiic & StemmaQT is just the connector for I2C, you need to look for the specific chip on those boards.

  • Rotary encoder is using the adafruit's seesaw firmware -Adafruit seesaw is a near-universal converter framework- , there's already a driver for it ( tinygo.org/x/drivers/seesaw ), some modification might be needed to work with the rotary encoder

  • The Qwiic button uses a similar library (in a sense), here's the C/Arduino library you can use as a base : https://github.com/sparkfun/SparkFun_Qwiic_Button_Arduino_Library

  • Qwiic alphanumeric display uses a vk16k33 led driver

  • neopixel is ws2812 driver

@jphastings
Copy link
Author

Thanks @conejoninja! I've added your information into my table, and created a column for the I2C chip driving each of these boards (great pointer) — hopefully I'll get some time over the next week or two to try out the rotary encoder & the qwiic button (which seems simple enough it should be a great starter driver project for me!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants