Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

I'm under way
#11

(30-07-2014, 23:20)uncle_bob Wrote:  One thing I was curious about was that you didn't use the DHT22 in the TX unit as well, instead of the TMP36?

This question shows me clearly that I must work harder to explain how the system WeatherDuino Pro2 works.

For the outside temperature and humidity readings, the TX unit (and the software) supports three types of sensors:
DHT22, SHT11 or SHT21 (the last two are high quality sensors from Sensirion).

Regardless of the sensor used, to get accurate readings, it must be installed inside a radiation shield.
With DHT22 or SHT11 sensors, the cable between the TX unit and the radiation shield can be up to 10 meters.

My home made aspired radiation shield
[Image: My_Rad_Shield.jpg]

The SHT21 sensor is a I2C device, and requires special care with the cables, they must have very low capacitance and be short.
Here in MeteoCercal, I'm using a SHT21 sensor connected to the TX board by CAT5e cable, using one twisted pair to the SDA and SCL lines, and another pair for VDD and GND (the other two pairs I'm using for powering the RS fan). With the module shown in the photo below and this type of connection, I'm able to use a two meters cable, without any SDA / SCL signal extenders (Philips P82B715).

[Image: sth21-1.jpg]

Module Schematic
[Image: electhouse_sht21.jpg]

Please, take a look at bottom right of your TX board. There are connections for the DHT22 as well connections for a fan (for those who have, or want to build an aspired Radiation Shield).

The TMP36 sensor is optional and is used only for remote monitoring of the temperature inside the box in which the TX unit is mounted.

The WeatherDuino Pro2 system has a lot of features and possibilities. I'm beginning to realize that it will take some time for me to be able to explain them all.

Reply
#12

(31-07-2014, 00:37)Werk_AG Wrote:  This question shows me clearly that I must work harder to explain how the system WeatherDuino Pro2 works.

Werk, don't blame yourself because of my reading comprehension Smile
I totally missed missed that other connection point for the DHT22.

Thanks for posting all the other info, that's really cleared things up.
Reply
#13

My apologies, uncle_bob

I ended up using the answer to your question to add some more info on what kind of temp / hum sensors can be used with WeatherDuino Pro2 system.

I'm trying to publish as much information as possible, but I'm probably not doing it in an organized and systematic manner.
For example, in the parts list for the TX unit is not mentioned any outside temperature / humidity sensor, as is not the anemometer or the rain gauge, but information about it is in this topic
I'll try to improve the way I'm publish information.

Reply
#14

I've been having some fun and some hair pulling. Lot's of trouble with old libraries and not knowing the syntax very well.

I've got this working by copying and pasting parts of different people sketches and projects. So now I have the RTC supplying the time and an DHT22 supplying the temp and humidity. Any one who knows how to code properly would laugh at my mish mashed code Smile

Might look at adding battery power and self dimming LCD next.
[Image: tempntime.jpg~original]
Reply
#15

(02-08-2014, 06:40)uncle_bob Wrote:  Any one who knows how to code properly would laugh at my mish mashed code Smile

I think I could say the same thing about "my advanced programming techniques". SmileSmileSmile

I'm not a programmer, just do it because it gives me great pleasure and I like to play with Arduinos...

Seeing your picture... I need to remind me to tell you where to change the display date format in WeatherDuino Pro2 code. Currently it's in the dd-mm-YYYY format.

Reply
#16

(03-08-2014, 03:59)Werk_AG Wrote:  Currently it's in the dd-mm-YYYY format.

That's fine. It's what we actually use down here.

Edit: I also got the a dimmer working now too.
I've also been having thoughts that it might be a good idea to incorporate a alarm clock in the the RX unit, also thinking that having ultra sound sensors to switch the alarm off might be a good idea, so you can just wave your hand over the unit to switch it off or snooze Smile
Reply
#17

Nice to know about the date format.

Quote:I've also been having thoughts that it might be a good idea to incorporate a alarm clock in the the RX unit, also thinking that having ultra sound sensors to switch the alarm off might be a good idea, so you can just wave your hand over the unit to switch it off or snooze

This is the beauty of programming ... and Arduinos. We are always thinking about adding one more feature, one more sensor, one more something ...

Unfortunately the memory of the Arduino is quite limited, and in the case of the RX unit, the memory of the Arduino Nano is already being used almost entirely (especially when the TFT is used).
To add an alarm, we need a way to program it, possibly some buttons, some free pins... there are some free yet, but memory no more Sad

Certainly, a more efficient writing code could save a few more bytes ...

Perhaps in a 2015 code version...Smile

Quote:Edit: I also got the a dimmer working now too.

PWM, with some Up an Down push button?

Reply
#18

Dimmer may have been the wrong word Smile It's either on or off. Press a button and it comes one, then timer count up then turns it off. So not using PMW.

Shame about the memory being full.
Reply
#19

TX board is nearly finished.
Just awaiting for the IRLZ44N and the TMP36.

I make a couple of substitutions:
I only could find a 20K pot for R8 (15K).
And a 360R for R1 (380R).

[Image: d94d3959-423a-4794-8e91-033e5b6810cf.jpg~original]

[Image: photo2.jpg~original]
Reply
#20

Edit: It's OK, I just tried the VirtualWire-1.27 version and it compiled ok. Werk, please let me know if this library isn't the right one.

Hi Werk,
I'm having a problem with compiling the TX code.
It looks like the virtual wire library is missing?
Am I OK to download this elsewhere? This page http://www.airspayce.com/mikem/arduino/VirtualWire/ says it's been replaced by the RadioHead library.

Here's the IDE error:
[Image: IDE.png~original]
Reply




Users browsing this thread: 5 Guest(s)