Author Topic: WeatherShield!  (Read 32782 times)

hexibot43

  • Jr. Member
  • **
  • Posts: 78
Re: WeatherShield!
« Reply #45 on: April 17, 2014, 03:26:18 AM »
A,

     I still can't believe how small some of these devices on your WeatherMote are.  The Si7021 is making me realize how much I need glasses!  Almost 50 and feeling it.  Thank you.  I'll definitely be moving away from the DHT22.  Your board was perfect for me.  I liked the BMP085 too.  When I started all this I was looking for commonly used sensors that work easily with the Arduino.  I wish I had thought more of power consumption when I started all this knowing I wanted to run on battery power.  I really like the footprint of the Si7021 over the DHT22 too.  But I would never have been able to get that chip on the board.       

     Is there a schematic to the R3 board?  And do you have a direct link to your OSH files?  I see you have set up a voltage divider circuit, and was interested in giving that a go.

      I am really liking the Ds18b20s and they will work perfect for me to monitor temperatures within my Aquaponics system.  I'm thinking of having 11 three pin headers all connected in parallel.  One to connect to your weathermote, and the others for DS18b20s        Also thinking of using a simple micro to allow mapping based on position on this board, rather than by ID numbers of the DS18b20s.  Postion 1 temp, position 2 temp, etc,..  I don't want to have to change my code if I have to change out one of the sensors.  Just change out the sensor, and I'm done.  I was thinking of mimicking the DS18b20s on the 1 wire bus with simplified ids of 0 through 9.  And make it so the whole thing could be plugged in like a single DS18b20. 

     Keep up the good work. 

     And Yes I am using a Raspberry PI as my gateway.  Almost ready for prime time.  I haven't gone live online yet.  Been testing the database and webpages.  Not sure how it will deal with public access.  Perhaps not even a good idea.

.   

A

  • Newbie
  • *
  • Posts: 43
Re: WeatherShield!
« Reply #46 on: April 17, 2014, 12:11:14 PM »
I still can't believe how small some of these devices on your WeatherMote are.  The Si7021 is making me realize how much I need glasses!  Almost 50 and feeling it.  Thank you.  I'll definitely be moving away from the DHT22.  Your board was perfect for me.  I liked the BMP085 too.  When I started all this I was looking for commonly used sensors that work easily with the Arduino.  I wish I had thought more of power consumption when I started all this knowing I wanted to run on battery power.  I really like the footprint of the Si7021 over the DHT22 too.  But I would never have been able to get that chip on the board.       

It was how quickly a DHT22 drained a 9v on a buddy's board that made me want to find a lower power option for humidity sensing. The size was a bit intimidating, but after watching videos about SMT soldering from Felix and others, I figured it was worth a shot. Now it feels like I'm working with giants when I have to use through hole parts.

Is there a schematic to the R3 board?  And do you have a direct link to your OSH files?  I see you have set up a voltage divider circuit, and was interested in giving that a go.

I'll put up the schematic as soon as I remember to.

I am really liking the Ds18b20s and they will work perfect for me to monitor temperatures within my Aquaponics system.  I'm thinking of having 11 three pin headers all connected in parallel.  One to connect to your weathermote, and the others for DS18b20s        Also thinking of using a simple micro to allow mapping based on position on this board, rather than by ID numbers of the DS18b20s.  Postion 1 temp, position 2 temp, etc,..  I don't want to have to change my code if I have to change out one of the sensors.  Just change out the sensor, and I'm done.  I was thinking of mimicking the DS18b20s on the 1 wire bus with simplified ids of 0 through 9.  And make it so the whole thing could be plugged in like a single DS18b20. 

Quite a few of the 1-wire parts have address pins to address (rimshot) this issue. The MAX31826 for example has 4 bits of address so that you can get info on position in the circuit in addition to unique serial number. Since you're doing probes, the best idea I can come up with is a 1-wire thermocouple breakout like this guy: https://www.adafruit.com/products/1727 where each position has values set via the address pin. Looks like that might be a spendy option though.

Keep up the good work.

Will do, I'm actually waiting on some boards from OSH Park that are Moteinos with an line of sensors above the upper pins.

And Yes I am using a Raspberry PI as my gateway.  Almost ready for prime time.  I haven't gone live online yet.  Been testing the database and webpages.  Not sure how it will deal with public access.  Perhaps not even a good idea.

Screen shots (with addresses blurred) would be nice. Otherwise having your raspberry pi push the data to an AWS instance if you want to show off without tipping over your RPI.

thinkpeace

  • Newbie
  • *
  • Posts: 27
Re: WeatherShield!
« Reply #47 on: April 24, 2014, 06:24:41 PM »
This project is of interest to me, as I am working on a garden sensor which measures soil moisture along with temperature and humidity.  I'm using the DH22 for temperature and humidity.

I am curious as to what is a good solar radiation shield to use with the sensors?

It looks like the cost anywhere from $30 to $130.  Are you using a ready-made shield, or are you building your own?

Eric

A

  • Newbie
  • *
  • Posts: 43
Re: WeatherShield!
« Reply #48 on: April 27, 2014, 04:01:51 PM »
Here are the schematic and board file of R4 for this board. Sorry that I was so long in getting these uploaded, I wanted to clean up the schematic a bit before releasing it.



I think that this will be my last project with through hole options. Between component options getting more and more limited in through hole packages and how easy it is to do at home surface mount, it just isn't worth it. Being able to order boards and stencils for mere pennies of what they used to cost sure helps a bunch as well.

Here is a teaser of the evolution of this project:


A

  • Newbie
  • *
  • Posts: 43
Re: WeatherShield!
« Reply #49 on: April 27, 2014, 04:03:00 PM »
It looks like the cost anywhere from $30 to $130.  Are you using a ready-made shield, or are you building your own?

I actually haven't yet. I've been having so much fun making boards that I've kind of lost sight of the original goal I set out with.

Let us all know what you come up with and how it works out for you.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 5959
  • Country: us
    • LowPowerLab
Re: WeatherShield!
« Reply #50 on: April 28, 2014, 08:30:03 AM »
Sweet ! ;)

andrewmoss

  • Newbie
  • *
  • Posts: 1
Re: WeatherShield!
« Reply #51 on: July 12, 2014, 04:55:28 AM »
any news on your newest prototype?  It looks awesome. 

A

  • Newbie
  • *
  • Posts: 43
Re: WeatherShield!
« Reply #52 on: July 12, 2014, 03:57:49 PM »
any news on your newest prototype?  It looks awesome.

No news, sorry. I had to shelve this guy to work on a project with a definite timeline. I hope to get back to this fall, though with all of the empty board space on Felix's Moteino MEGA I think I might take it in that direction.

2cvman

  • Newbie
  • *
  • Posts: 9
Re: WeatherShield!
« Reply #53 on: December 28, 2014, 09:25:04 AM »
Am I correct in thinking that the shield contains the remote sensors and a TX?
What is at the Rx end of things???
Any links to code?

Cheers
Peter

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 5959
  • Country: us
    • LowPowerLab
Re: WeatherShield!
« Reply #54 on: December 28, 2014, 09:41:53 AM »
What is a "TX" and an "RX"? You mean the transceivers?
This is a shield and a Moteino mounts above or below it, that is how you get the data to your receiver (Moteino or RFM69 powered arduino).
A weather shield simiar to this is in the beta at LowPowerLab and is expected to be produced sometime in the near future. It will contain a BMP180 temp/pressure and si7021 temp/hum sensors.

2cvman

  • Newbie
  • *
  • Posts: 9
Re: WeatherShield!
« Reply #55 on: December 28, 2014, 10:55:49 AM »
@Felix tanks for reply.
By Tx I mean Transceiver sorry.
Interested in remote the  Temp/Humidty module.

steve v

  • Newbie
  • *
  • Posts: 18
  • Country: us
Re: WeatherShield!
« Reply #56 on: August 09, 2016, 03:39:51 PM »
I see in the SI7021 data sheet that it has an embedded  64 bit unique serial number.  As I am building a network of 60+   weathershield nodes, I would like to have them each self identify their  unique serial number, and then send the temperature.

I haven't seen any examples of people reading SI7021 Serial numbers over I2C yet.   Has anyone here seen similar code and if so can they point me to it please ?

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 5959
  • Country: us
    • LowPowerLab
Re: WeatherShield!
« Reply #57 on: August 10, 2016, 10:35:55 AM »
I see this is actually a serial number specific to si7021, mentioned on p24 of the DS.

I haven't tried this but there are 2 functions in the si7021 library which you can use to read those registers that hold these bytes:

Code: [Select]
int SI7021::getSerialBytes(byte * buf) {
    _writeReg(SERIAL1_READ, sizeof SERIAL1_READ);
    _readReg(buf, 6);
 
    _writeReg(SERIAL2_READ, sizeof SERIAL2_READ);
    _readReg(buf + 6, 6);
   
    // could verify crc here and return only the 8 bytes that matter
    return 1;
}

int SI7021::getDeviceId() {
    byte serial[12];
    getSerialBytes(serial);
    int id = serial[6];
    return id;
}

FWIW the 4MBIT flash mem chips on the Moteinos also include a 64bit MAC id. There are examples how to read that in the RFM69 Node example.

FYI There will be a new WeatherShield rev which will rely on BMP280 rather than Si7021.