All Projects → mcauser → micropython-am2320

mcauser / micropython-am2320

Licence: MIT license
MicroPython driver for the Aosong AM2320 temperature and humidity sensor

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to micropython-am2320

tehybug
Low Power WIFI environmental data trackers based on ESP8266 Module
Stars: ✭ 15 (-31.82%)
Mutual labels:  dht, am2320
SHT31
Arduino library for the SHT31 temperature and humidity sensor
Stars: ✭ 26 (+18.18%)
Mutual labels:  temperature, humidity
TempRa
Monitors the temperature, the humidity and the pressure in your room on Raspberry Pi.
Stars: ✭ 16 (-27.27%)
Mutual labels:  temperature, humidity
EnviroMonitorStation
Arduino compatible software for ESP8266 based environmental monitoring station. Includes temperature, humidity, barometric pressure and PM2.5, PM10 dust monitoring
Stars: ✭ 71 (+222.73%)
Mutual labels:  temperature, humidity
arduino-bme280
💧 Arduino library for Bosch Sensortec BME280 – combined temperature, pressure, humidity sensor. The library allows using the sensor over I2C or SPI on any board that supports Arduino.
Stars: ✭ 25 (+13.64%)
Mutual labels:  temperature, humidity
sht31
sht31 full function driver
Stars: ✭ 28 (+27.27%)
Mutual labels:  temperature, humidity
homebridge-tion
Homebridge plugin to control Tion breezers
Stars: ✭ 32 (+45.45%)
Mutual labels:  temperature, humidity
BME680
Arduino Library to access the Bosch BME680 - temperature, pressure, humidity and gas sensor
Stars: ✭ 30 (+36.36%)
Mutual labels:  temperature, humidity
Weather Shield
Barometric pressure, temperature, humidity and light sensing weather shield for Arduino.
Stars: ✭ 62 (+181.82%)
Mutual labels:  temperature, humidity
arduino-esp8266-mh-z19-serial
CO2, humidity and temperature sensor on ESP8266
Stars: ✭ 57 (+159.09%)
Mutual labels:  temperature, humidity
feels
🌀 Calculate apparent temperature using heat index, approximate wet-bulb globe temperature, humidex, australian apparent temperature and wind chill.
Stars: ✭ 25 (+13.64%)
Mutual labels:  temperature, humidity
embedded-sht
Embedded SHT Drivers for Sensirion Temperature and Humidity Sensors - Download the Zip Package from the Release Page
Stars: ✭ 53 (+140.91%)
Mutual labels:  temperature, humidity
ioTank
Indoor environment monitor based on Esp8266
Stars: ✭ 15 (-31.82%)
Mutual labels:  temperature, humidity
Devices
All the Candle Arduino code
Stars: ✭ 18 (-18.18%)
Mutual labels:  temperature, humidity
ArduinoWeatherOS
Arduino Uno, 433MhzRx and OS WMR86 Weather Station
Stars: ✭ 69 (+213.64%)
Mutual labels:  humidity
dht
golang dht / Kademlia
Stars: ✭ 24 (+9.09%)
Mutual labels:  dht
asus-fan
Kernel module to get/set (both) fan speed(s) on ASUS Zenbooks
Stars: ✭ 92 (+318.18%)
Mutual labels:  temperature
pwptemp
pwptemp
Stars: ✭ 54 (+145.45%)
Mutual labels:  temperature
ENose-Decorr Humdt Temp
Online decorrelation of humidity and temperature in chemical sensors for continuous monitoring
Stars: ✭ 25 (+13.64%)
Mutual labels:  humidity
peerstohttp
Simple torrent proxy to http stream controlled over REST-like api
Stars: ✭ 30 (+36.36%)
Mutual labels:  dht

MicroPython AM2320 I2C

A MicroPython library for interfacing with an Aosong AM2320 temperature and humidity sensor over I2C.

This library focuses on using the I2C interface. The sensor also supports a 1-wire interface, available when pin 4 is connected to GND.

demo

Examples

Basic measurement

import am2320
from machine import I2C, Pin
i2c = I2C(scl=Pin(5), sda=Pin(4))
sensor = am2320.AM2320(i2c)
sensor.measure()
print(sensor.temperature())
print(sensor.humidity())

Continuous measurement

import time
import am2320
from machine import I2C, Pin
i2c = I2C(scl=Pin(5), sda=Pin(4))
sensor = am2320.AM2320(i2c)

while True:
	sensor.measure()
	print(sensor.temperature())
	print(sensor.humidity())
	time.sleep_ms(4000)

For full documentation see http://micropython-am2320.rtfd.io/.

License

Licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].