WeatherDuino Forum

Full Version: Nearly up and running from Mackay
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Now have the transmitter and receiver working.

have found a Replacement for my Broken Anemometer. One of cups had been broken off. found that the Local Jaycar could supply the full Anemometer with the cable. the Part number if anyone in Australia needs to replace is EH8000 and cost was only $4.95 AU.

I now repairing the wind direction vain that was broken at the same time. will show pictures of the repair when I have some time.

Now for the question or questions.

I am still in testing Mode and I want to use the DHT22 as the outside Temperature/Humidity Module so I can checked that the display and readings in Cumulus are coming across. If I look in the extra data for Cumulus i can see the external temp and humidity as Sensor 2.

this is the RX_V013_b014 setup code.
Code:
// --------------------------------------------------------------------------------------
//   User configurable options start here.
// --------------------------------------------------------------------------------------

// --- Station ID, use the same value in your TX unit
const byte StationID = 0xA1;

// --- Define Software Operation Mode
#define Work_Mode        0   // Mode 0= Davis VP2 Emulation Mode, Mode 1= EasyWeather Mode

// --- Define your Display type
#define DisplayType      0   // 0= TFT, 1= LCD 20x4, 2= LCD 16x2

// --- Define Backlight timeOut
// --- With RX boards version <= 3.01 without the TFT backlight control mod, always set this value to 0
byte  BackLight_Timeout = 0; // Timeout for TFT backlight in minutes (1 to 255). 0 = Always ON

// --- Define Temperature and Wind Display units
byte Temp_Display_Unit  = 0;  // 0 for ºC, 1 for ºF
byte Wind_Display_Unit  = 0;  // 0 for Km/h, 1 for mph, 2 for m/s

// --- Fine adjusts for Inside Temperature and Barometer
const int   TemperaturaInt_offset =    0;   // Inside Temperature Fine Adjust in Tenths of Degree (-4 = -0,4ºC)
const float pressure_offset       = -1.0;   // Pressure Fine Adjust in mB

// --- Some Data from your Weather Station location
#define LATITUDE        0    // Put here your Station latitude in tenths of degrees North
#define LONGITUDE       0    // Put here your Station longitude in tenths of degrees East
#define ELEVATION       0    // Put here your Station height above sea level in Meters

// --- Define Starting Hour of your Meteorological Day
#define MeteoDay_HStart 0    // Use values from 0 to 23

// --- Define Wind Speed and Wind Gust resolution
#define VP2_WindRes     2    // If set to 2, set Cumulus Wind Speed and Wind Gust multipliers to 0.448. Wind Resolution 0.72 Km/h
                             // If set to 1, set Cumulus Wind Speed and Wind Gust multipliers to 0.224. Wind Resolution 0.36 Km/h
                             // WARNING !!! Setting this variable to 1 allows a better wind speed and gust resolution,
                             // but also limits both of them, to a maximum reading of just 91.8 Km/h
                             // This setting only have effect when the software is used in Davis VP2 emulation mode  
  
// --- Define type of outside temperature / humidity sensor
#define TH_OutSensor     1    // 0 for SHT21 or HTU21D sensor, 1 for SHT1x or DHT22 sensor,

// ---- Let's define the source of the sensors we want to receive
// ---- If you have all the sensors connected to only one TX board, always select Unit 0

#define TH_OutUnit       0    // 0 for Temp/Hum sensor connected to TX_Unit 0, 1 for Temp/Hum sensor connected to TX_Unit 1
#define WIND_OutUnit     0    // 0 for Wind instruments connected to TX_Unit 0, 1 for TX_Unit 1, 2 for Auriol RF Odometer
#define RAIN_OutUnit     0    // 0 for Rain Gauge connected to TX_Unit 0, 1 for TX_Unit 1, 2 for Auriol RF Rain Gauge
#define SRUV_OutUnit     0    // 0 for Solar Rad / UV sensors connected to TX_Unit 0, 1 for TX_Unit1

// ---------------------------------------------------------------------------------------------------
//                       There is nothing to edit below this line !!!
// ---------------------------------------------------------------------------------------------------

and this is the TX_V013_b005 code.

Code:
// --------------------------------------------------------------------------------------
//   User configurable options start here.
// --------------------------------------------------------------------------------------
byte StationID     = 0xA1;      // Must be equal to your RX Unit (Value from 0x00 to 0xFF)  
byte UnitID        =    1;      // If you use only one TX unit define it as UnitID = 0
                                // For a second TX unit, define it as UnitID = 1

// -------  Let's define the data we want to send --------------
//#define ID0 0        // Temp / Hum sensors - 0 for SHT2x sensor, 1 for HTU21 sensor
#define ID1 1        // Temp / Hum sensors - 0 for SHT1x sensor, 1 for DHT22 sensor
#define ID2          // Wind data
#define ID3          // Rain data
//#define ID4          // UV / SolRad data
#define ID5          // Hardware Status - System Temp, Battery Voltage etc

byte fanOn_HiTemp  =   32;      // RS Fan turn on when outside temperature is >= than this value (ºC)
byte fanOn_LowTemp =    3;      // RS Fan turn on when outside temperature is <= than this value (ºC)
byte fanOn_LowWind =    2;      // RS Fan turn on when Wind Average is <= than this value (m/s)

// ---------------------------------------------------------------------------------------------------
//                       There is nothing to edit below this line !!!
// ---------------------------------------------------------------------------------------------------

//#define DebugID0
#define DebugID1
//#define DebugID2
//#define DebugID3
//#define DebugID4
//#define DebugID5
#define Local_TestMode

I have the DebugID1 and Local_TestMode enabled
Code:
Sending...
DataPacket ID1: 161,17,280,432,0,0
  Temp: 28.0  Hum: 43.2

0, 0, 0, 0, 73948, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73951, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73954, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73957, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73960, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73963, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73966, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73969, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73972, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73976, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73979, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73982, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73985, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73988, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73991, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73994, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
0, 0, 0, 0, 73997, 0, 50, 20.0, 43, 28.0, 0, 0, 0, 1000.00, 0.00, 0, 0.00, 0, 0, W, 0, 0, 0, 0.00, 0, 0, 0, 0.00,
Sending...
DataPacket ID1: 161,17,281,432,0,0
  Temp: 28.1  Hum: 43.2

Is there some other location that needs to be enabled to allow me to use DHT22 sensor?

the next item to tackle is to see if i can get Weewx linux to run.

I am sure that I will have other questions.


Darryl
Hi Darryl

Thanks for the good news, it's always a pleasure to know that a new system is about to be born.

All I see in the configuration options seems right.
Maybe I have not got it right. Are you trying to tell me that you only see the data from your DHT22 in the Extra Sensors window?
The same data (with better precision) isn't show in Cumulus as outside temp / hum?
(08-03-2015, 01:31)Werk_AG Wrote: [ -> ]Hi Darryl

Thanks for the good news, it's always a pleasure to know that a new system is about to be born.

All I see in the configuration options seems right.
Maybe I have not got it right. Are you trying to tell me that you only see the data from your DHT22 in the Extra Sensors window?
The same data (with better precision) isn't show in Cumulus as outside temp / hum?

Yes That is right on the main page of cumulus shows no Temperature and Humidity and on Display (TFT) on the RX board does not show any External Data. I see the indoor Temperature and Humidity on the display. I don't see the outside Temperature and Humidity on the Display. It Shows 0.0 for Both.

Hope this helps.

Darryl
(08-03-2015, 02:53)BigD-58 Wrote: [ -> ]
(08-03-2015, 01:31)Werk_AG Wrote: [ -> ]Hi Darryl

Thanks for the good news, it's always a pleasure to know that a new system is about to be born.

All I see in the configuration options seems right.
Maybe I have not got it right. Are you trying to tell me that you only see the data from your DHT22 in the Extra Sensors window?
The same data (with better precision) isn't show in Cumulus as outside temp / hum?

Yes That is right on the main page of cumulus shows no Temperature and Humidity and on Display (TFT) on the RX board does not show any External Data. I see the indoor Temperature and Humidity on the display. I don't see the outside Temperature and Humidity on the Display. It Shows 0.0 for Both.

Hope this helps.

Darryl

I'm surprised! I will check if anything is wrong with the code for the DHT22. Are you sure that the compiled code have this line with a value of 1?

#define TH_OutSensor 1 // 0 for SHT21 or HTU21D sensor, 1 for SHT1x or DHT22 sensor,

and this one, with the value 0?

#define TH_OutUnit 0 // 0 for Temp/Hum sensor connected to TX_Unit 0, 1 for Temp/Hum sensor connected to TX_Unit 1
Forget previous post!
The problem is in the TX configuration:

Code:
byte UnitID        =    1;      // If you use only one TX unit define it as UnitID = 0

Change this to UnitID 0
(08-03-2015, 03:51)Werk_AG Wrote: [ -> ]Forget previous post!
The problem is in the TX configuration:

Code:
byte UnitID        =    1;      // If you use only one TX unit define it as UnitID = 0

Change this to UnitID 0

Changed the TX unit to 0 and now have information on the display and in cumulus.

All good now.

Darryl

Here is a link to building 433 MHZ Antenna.

1/4 wave 433 Antenna
(08-03-2015, 00:14)BigD-58 Wrote: [ -> ]Now have the transmitter and receiver working.

have found a Replacement for my Broken Anemometer. One of cups had been broken off. found that the Local Jaycar could supply the full Anemometer with the cable. the Part number if anyone in Australia needs to replace is EH8000 and cost was only $4.95 AU.

Hi Darryl

Any chance you could post a link to that anemometer, I have done a search on the Jaycar site for that part with no luck.

thanks
It is a spare part. Had go into the store to buy.
(23-03-2015, 02:56)BigD-58 Wrote: [ -> ]It is a spare part. Had go into the store to buy.

You could try ringing them too. I think it's like $10 delivery charge, but they should sent it to a store for collection.
You most likely will want to say it's spare cups for XC0348 which is their product that is most closely representative of the Fine Offset "original" style anemometer.
Pages: 1 2