Hi, I have decided to create a blog page to help if you have a similar project in mind.
I am part of a model flying club and for years we have had to guess and hope the weather was right to fly.
Some people have
to travel a long way to find that its too windy or the wind is
going the wrong way.
I have built a weather station that has wind sensors and sends the information from these sensors to a website where the other club members can see the weather conditions at the field. There is no mains electricity or internet connection so the system has to be self sufficient. There is a solar panel on site that runs the electric fence (animals not people) so there is a 12v supply there.
How the system works...
The main board is an Arduino Mega 2560. I chose this bard because earlier versions of the code were too big for the Arduino UNO, although now an UNO would probably work just as well.
This Mega is the master. Its job is to collect information from the sensors and send this over the GSM network, using the SIM900 board, to a website called dweet.io.
There is a slave Arduino, connected to the master using I2C. This is a bit like a USB cable for machines. The slaves's job is to calculate wind speed and send this, when asked, to the Master. The slave also resets the Master board every 1.5 hours. This is because I have had some issues where there are no updates being sent and this solved that somehow.
The SIM900 board is the Master's connection to the internet. The master has to send AT commands over a virtual serial port.
The system sends an update every minute to...
This site is really just for raw information. It all gets collected and displayed for the club members at...
Here's how its all connected...
|FUNCTION||Mega Port||UNO Port||SIM900 Port||INA219 Port|
|+5v||5v||5v||UNO Equiv. 5v||VCC|
|-ve||GND||GND||UNO Equiv. GND||Gnd|
|RX||10||-||UNO Equiv. 7||-|
|TX||11||-||UNO Equiv. 8||-|
|Slave Reset||-||RESET - 9||-||-|
|GSM Status||-||6||UART - 2v8||-|
|GSM Power||-||7||UNO Equiv. 9||-|
|Solar Panel +||-||-||-||Vin +|
|Main Battery +||-||-||-||Vin -|