2 unstable releases
new 0.2.0 | Jan 24, 2025 |
---|---|
0.1.0 | Nov 18, 2024 |
#1889 in Embedded development
108 downloads per month
14KB
253 lines
am2301-rs
A crate to interface with an AM2301 humidity and temperature sensor using a Raspberry Pi Pico 1 (RP2040) microcontroller and the embassy framework.
Because the sensor uses a custom one-wire protocol with tight timings the measure is blocking and and expected to take around 5ms (the sensor cannot be pulled sooner than every 2s anyway, as per its datasheet).
A basic example can be found in the examples
directory.
Dependencies
~13–22MB
~339K SLoC