Difference between revisions of "Node WND"
(Created page with "==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-CC2...") |
|||
Line 17: | Line 17: | ||
==Port Definitions== | ==Port Definitions== | ||
− | #define VSOLAR BIT4 //on port 4 | + | #define VSOLAR BIT4 //on port 4 |
− | #define VBATT BIT5 //on port 4 | + | #define VBATT BIT5 //on port 4 |
− | #define DHT1 BIT0 //on port 2 | + | #define DHT1 BIT0 //on port 2 |
− | //for future dual probes? | + | //for future dual probes? |
− | #define DHT2 BIT1 //on port 2 | + | #define DHT2 BIT1 //on port 2 |
− | #define WIND BIT2 //on port 2 | + | #define WIND BIT2 //on port 2 |
− | #define RAIN BIT3 //on port 2 | + | #define RAIN BIT3 //on port 2 |
− | #define BUTTON BIT2 //on port 1 | + | #define BUTTON BIT2 //on port 1 |
− | #define LED_RED BIT0 //on port 1 | + | #define LED_RED BIT0 //on port 1 |
− | #define LED_GRN BIT1 //on port 1 | + | #define LED_GRN BIT1 //on port 1 |
Revision as of 10:05, 8 September 2022
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
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
#define BUTTON BIT2 //on port 1
#define LED_RED BIT0 //on port 1 #define LED_GRN BIT1 //on port 1