Node WND
Problem Statement
I want to test a temperature / humidity sensor on my porch that will tie into the Raspi datalogger and visualization system. I want to use the EZ430-CC2500 because they are cheap and I have template code written already in MSPGCC. I want to use the DHT22 because I have a couple, and it seems like an affordable solution. It should be powered from a solar panel or other harvested source.
Update: I want to measure the wind speed, and this sensor is already in an ideal location for a 3D printed anemometer. In any case it will make a great testbed. Update: I want to measure the rain, and this sensor *might* be in an ideal location for a 3D printed tipping bucket gauge. In any case it will make a great testbed. Update: DHT22 sucks - temp is good but humidity has drifted *WAY* off over the past two years of installation. Replace it with an SHT31?
System Overview
EZ430-CC2500 runs an MSP430F2274 and a CC430 chip for a 1mW 2.5Ghz radio, which I am running at 250kbps for short burst speeds and hopefully less packet collisions between various nodes reporting at random intervals.
Pinout
Pin 1 DHT GND Pin 2 DHT Vcc (3.3V) Pin 3 DHT1 Data Pin 4 DHT2 Data Pin 5 WND Data (must be filtered for bounce) Pin 6 RAIN Data (must be filtered for bounce) Pin 9 Solar Panel Voltage (3.3Vmax! divide by 2!) Pin 10 Lipo Voltage (3.3Vmax! divide by 2!)
Port Definitions
#define VSOLAR BIT4 //on port 4 #define VBATT BIT5 //on port 4 #define DHT1 BIT0 //on port 2 //for future dual probes? #define DHT2 BIT1 //on port 2 #define WIND BIT2 //on port 2 #define RAIN BIT3 //on port 2 //board resources #define BUTTON BIT2 //on port 1 #define LED_RED BIT0 //on port 1 #define LED_GRN BIT1 //on port 1