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!
Would like to have the datasheet for the Stemma 4026
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- vanimoc
- Posts: 1
- Joined: Mon Dec 05, 2022 2:53 am
- bidrohini
- Posts: 202
- Joined: Thu Oct 20, 2022 10:03 am
Re: Would like to have the datasheet for the Stemma 4026
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
http://www.rchips.com/_upload/Product/p ... SAMD10.pdf
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Would like to have the datasheet for the Stemma 4026
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
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
Please be positive and constructive with your questions and comments.