Weather Station


    This project is one of many others I had made to control my house with rules, web interface, logger and many more. This one is a weather station that reports almost anything about the external environment. I bought mechanical part of the wind sensor at I had to remove all the electronics that came with it and replace them with my own. 

The lightning detector is very simple but it works very well if you have a REAL ground, not your ground of your electronic part, and don't worry about the 9v battery, after 2 years it is still working. The humidity and temperature sensors are the same ones I had used in the barometer project. I drilled a 3cm hole in 5 soup bowls, mounted upside down. The top and bottom soup bowl doesn't have holes. The sensors are place in the middle of those and this way the sensors are protected from sun heat and the air could pass through.  The light sensor is done with a simple LDR and that does a good job to tell my house to go into night mode.  Rain fall sensor is a simple tipping bucket that gives pulse to the MCU and with a simple formula you can know how many millimeter of rain fell.


  • All direct digital reading
  • Temperature
  • Humidity
  • Light
  • Lightning
  • Humidex
  • Wind chill
  • Wind speed
  • Wind speed max in the last hour
  • Wind direction
  • Rain fall




Weather Station Schematic

Lightning Detector Schematic

Weather Station Source Code

3 Comments to “Weather Station”

  • cna training April 6, 2010 at 7:08 am

    Keep posting stuff like this i really like it

  • makakasirapuka April 7, 2011 at 9:52 am

    why not adding ethernet support to send logs to some webserver to get beautiful graphics later?

  • admin April 7, 2011 at 12:18 pm

    That’s a good idee you can make it !!!

Post comment

Please note

All my source codes were taken from my personal projects.

Everything is for your information only. The C/C++ codes have been written
with ICCAVR. You can find the header and source CRT files by downloading their compiler.

All is for your information and everything is AS IS without any warranty of any kind. No other files are available and I don't make any modification for any body.



Electronic Links


AGC Anemometer AVR AVR Bootloader Bootloader Capacitence Capacitor Clock Color Control DCC Debugger Devices Digital driver Function Generator High Gain Microphone Humidity Inductance Inductor Laser LCD LED 3W Library Lightning Detector MegaLoad Meter Moodlight Mood Light MS5534 Nixie OscilloScope projector Rain Fall Sensor rgb RGB LED Scop Sensor SHT75 Temperature Terminal Tipping Bucket Train Modeling Vintage Water Detector