- Arduino Uno Ethernet alt. Arduino with Ethernet Shield
- DHT22 temperature/humidity sensor
- Adafruit BMP085 breakout board
- Geiger Counter Radiation Detector
- nRF24L01 module
Arduino pin | Attached to |
---|---|
VCC | VCC pin of the DHT22 and BMP085 |
GND | GND pin of the DHT22 and BMP085 |
A5 | SCL of the BMP085 |
A4 | SDA of the BMP085 |
D2 | Pin 2 of the DHT |
D3 | Interupt pin on Geiger Counter |
GND | GND pin of nRF24L01+ |
3.3V | VCC pin of nRF24L01+ |
D6 | CE pin of nRF24L01+ |
D7 | CSN pin of nRF24L01+ |
D11 | MOSI pin of nRF24L01+ |
D12 | MISO pin of nRF24L01+ |
D13 | SCK pin of nRF24L01+ |
Add a 10K resistor between pin 2 and pin 1 of the DHT
export MAC_ADDRESS="0x90, 0xA2, 0xDA, 0x00, 0x75, 0xED"
export IP_ADDRESS="10,0,1,20"
export ARDUINODIR=/home/daijo/arduino-1.0.1/
export SERIALDEV=/dev/ttyUSB0
export BOARD=ethernet
make
make upload
Once powered on the Ethernet Weather Station will try to get an IP address via DHCP and wait for HTTP clients to connect. It also listens for incoming data packets from the nRF24L01 module.
- Adafruit BMP085 library - BSD License, Copyright (c) Limor Fried/Ladyada for Adafruit Industries.
- Adafruit DHT library - MIT License, Copyright (c) Adafruit Industries.
- Ethernet Weather Station - GPL, Copyright (c) 2012, Daniel Hjort
- MsTimer2 library - LGPL, Copyright (c) 2008, Javier Valencia
- RF24 library - GPL, Copyright (C) 2011 J. Coliz