Would like to have the datasheet for the Stemma 4026

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
vanimoc
 
Posts: 1
Joined: Mon Dec 05, 2022 2:53 am

Would like to have the datasheet for the Stemma 4026

Post by vanimoc »

Hi,
Do you have a datasheet for the Stemma 4026? We are interested in writing our own library for a class project using I2C transmission on a ATMEGA2560.
Please let me know,
Thanks!

User avatar
bidrohini
 
Posts: 202
Joined: Thu Oct 20, 2022 10:03 am

Re: Would like to have the datasheet for the Stemma 4026

Post by bidrohini »

Could not find any datasheet of Stemma QT. However, this sensor is based on ATSAMD10. Here is the datasheet:

http://www.rchips.com/_upload/Product/p ... SAMD10.pdf

User avatar
adafruit_support_carter
 
Posts: 29165
Joined: Tue Nov 29, 2016 2:45 pm

Re: Would like to have the datasheet for the Stemma 4026

Post by adafruit_support_carter »

The PID 4026 is not like a typical sensor. It's a SAMD10 loaded with custom firmware (seesaw) that provides various functionality (in this case moisture sensing) via I2C.

The general seesaw protocol is discussed here:
https://learn.adafruit.com/adafruit-see ... w-platform

There are also existing library examples you can use as code reference.

Arduino:
https://github.com/adafruit/Adafruit_Seesaw
here's the code that gets the moisture value:
https://github.com/adafruit/Adafruit_Se ... w.cpp#L348


CircuitPython:
https://github.com/adafruit/Adafruit_Ci ... hon_seesaw
here's the code that gets the moisture value:
https://github.com/adafruit/Adafruit_Ci ... aw.py#L275

Locked
Please be positive and constructive with your questions and comments.

Return to “For Educators”