Download TempHum / LibreConnect / Source
temphum is an USB temperature/humidity sensor.
You can optionally add a photoresistor to measure light.
A version with a small display will be available later.
There is a example of a widget here http://madnerd.org/interface/temphum
- Go to libreInterface
- Import apps/libreInterface/dht11.json
- Modify the code
All modifications made using the developer console will be saved.
Go to http://github.com/madnerdorg/libreinterface for more information.
- Copy arduino/libraries into Arduino Sketchbooks folder
- Upload arduino/temphum/temphum.ino
- Test your sensor on http://madnerd.org/interface/temphum
To add the photoresistor change this line in the arduino code
const bool hasPhotoResistor = true;
- Arduino nano CH340G: 2€
- DHT11 : 2€
- Resistor pack 400pcs (3€) (1 resistor: 0.0071€)
Total : 6€ (4€)
You need to add a 4,7kΩ resistor between 5v/pin 2.
- Arduino - 2 : DATA (2)
- Arduino - 2 : RESISTOR (4,7kΩ) --> VCC (1)
- Arduino - 5v : VCC (1)
- Arduino - GND : GND (4)
Models by Olivier Sarrailh : https://github.com/madnerdorg/temphum/tree/master/stl
/info -------> Give name:port
temphum:42004
Once /info is sent , the device will send humidity(%);temp(°c) or humidity(%);temp(°c);light(/1024)
50.00;24.00;600
- Author: Rémi Sarrailh (madnerd.org)
- Licence: MIT
- Author : Tony DiCola (Adafruit Industries)
- Licence : MIT
- Link : https://github.com/adafruit/DHT-sensor-library