Read DHT22, DS18B20, MAX6675, Humidity capacitive sensor via nRF24L01 transmitter with an arduino
Arduino pin out for DHT22
2 DHT22 DATA with a 4k7 pull-up resistor 4 DHT22 POWER I use IO pin to reduce power GND DHT22 GND 3 nRF24L01 IRQ pin 8. 7 nRF24L01 CS pin 4 8 nRF24L01 CE pin 3 11 nRF24L01 MOSI pin 6 12 nRF24L01 MISO pin 7 13 nRF24L01 SCK pin 5 3.3V nRF24L01 VCC pin 2 GND nRF24L01 GND p in 1
N.B. Pins are specific to the sensor.
Needed library
- RF24 by TMRh20 from arduino library
- Sleep_n0m1 by Noah Shibley from arduino library
Needed library for specific sensors
- http://playground.arduino.cc//Main/DHTLib Check for DHTlib in library manager
- http://www.pjrc.com/teensy/td_libs_OneWire.html
- http://milesburton.com/Dallas_Temperature_Control_Library - https://github.com/milesburton/Arduino-Temperature-Control-Library
And for nRF24Reader.py
- https://github.com/BLavery/lib_nrf24.git *** please add SPI clock speed in the function begin if the nRf24L01 doesn't work self.spidev.max_speed_hz=8000000
I made some video in French explaining the use of it in my garden
- Part 1 https://www.youtube.com/watch?v=X7y6lOSt4_s
- Part 2 https://www.youtube.com/watch?v=79MHdWFCXho
- Part 3 Not done yet! Will be about humidity calibration and node red