Network or serially accessible DHT22 based temperature and humidity sensor.
- Board: Arduino Nano
- Processor: ATmega328
- Ethernet Shield (HanRun HR911105A 15/27)
UIPEthernet: https://github.com/ntruchsess/arduino_uip
DHTLib: http://playground.arduino.cc//Main/DHTLib
Requesting sensor data:
Send 'r'
Receive 'T<temperature>:H<humidity>'
Turn on auto mode (keeps periodically sending sensor data)
Send 'a'
Turn off auto mode
Send 's'
The network protocoll is completely http based.
Urls:
Receive a plain HTML view:
http://ip-of-device/
Receive a JSON formatted response:
http://ip-of-device/j
Receive a CSV formatted response:
http://ip-of-device/c
Client/
nths-client
Python based utility to access sensor data via http or serial and write it to file.
nths-serial-web-bridge
bash script to either grab data and publish it via netcat or periodically write to a file.
Web/
Contains a small html document which consumes the CSV based data and displays a neat graph.
Arduino direct through Ethernet Shield (HanRun HR911105A 15/27)
A.5V <-> DHT22.(+)
A.GND <-> DHT22.(-)
A.D3 <-> DHT22.OUT