Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
You may have this in the works already but I got an AHT21 sensor which I found was not already in the list of supported devices so I thought I'd give this a shot and from what I can tell, it seems to be working fine.
Some additional notes:
In my case, the sensor always returned ok status 0x18 and the initRegistries call was never needed.
The datasheet points to an "official website implementation" for the registry initialization logic, so I just adapted what was there
Add AHT21 Humidity & Temperature sensor
You may have this in the works already but I got an AHT21 sensor which I found was not already in the list of supported devices so I thought I'd give this a shot and from what I can tell, it seems to be working fine.
Some additional notes:
ok status 0x18
and theinitRegistries
call was never needed.Thank you for maintaining this awesome project 🙏.