Skip to content

Wireless bluetooth low energy temperature / humidity sensor based on Feather 32u4 BLE with AM2302 sensor

License

Notifications You must be signed in to change notification settings

lcor1979/moisture-monitor-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

moisture-monitor-sensor

Wireless bluetooth low energy temperature / humidity sensor based on Feather 32u4 BLE with AM2302 (DHT22) sensor

https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/ https://learn.adafruit.com/dht

The sensor is totaly wireless (use a LIPO battery which can be charged witgh the Feather's USB port).

(pictures will be added later)

It uses GATT attributes to publish the measures.

https://learn.adafruit.com/introduction-to-bluetooth-low-energy/gatt

Sent attributes are :

  • One notify attribute indicating a new measure is available
  • Three read attributes for : battery (in percent), humidity (in percent), temperature (in °C)

The code contains two projects :

  • moisture-monitor-sensor-init-gatt: initializes the GATT attributes and GAP informations. It should be ran only once on the device.
  • moisture-monitor-sensor: the sensor logic which should be uploaded to the Feather after the initialisation has been done.

Code could be run in Arduino IDE : https://www.arduino.cc/en/Main/Software

About

Wireless bluetooth low energy temperature / humidity sensor based on Feather 32u4 BLE with AM2302 sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages