Skip to content

hardware project to report the humitdy outside my house. Uses: adafruit feather (one with sd card logging), and a humidity sensor

License

Notifications You must be signed in to change notification settings

wisehackermonkey/20200307_weather_station_portable

Repository files navigation

Portable wather station

Written&coded by oran collins
oranbusiness@gmail.com
github.com/wisehackermonkey

parts list


Getting started

download the repo. flash the Arduino sketch on both the receiver and arduinos. trails off.... this project is for fun and im recording this here just for show and tell, if you take the challenge of running my code, please just email me if you get any questions.

Arduino nano pinout diagram

Wiring


arduino pinout for the DHT11,

VCC: 5V or 3V
GND: GND
DATA: pin 5

water sensor pinout

sensor | arduino uno/nano

 S  - A2 (you can use any analog pins A0-5)
(+) - v5
(-) - GND

Pinout

13 - SCK (RFM9x)
12 - MISO (RFM9x)
11 - MOSI (RFM9x)
06 - LED (+) indecator (used for flashing codes)
05 - USED by humidiy sensor
04 - CS (RFM9x)
03 - G0 (RFM95_INT is a interrupt pin) (RFM9x)
02 - RST (RFM9x)
A2 - water sensor (read)

Installing/running pyserial python server

works on raspberry pi and windows, it might work with mac not fully tested, please email me if you get it working! :)

Run the server

Note: plug in the second receiving arduino before running the server

cd ~
git clone https://github.com/wisehackermonkey/20200307_weather_station_portable.git
cd ./20200307_weather_station_portable
pip3 install -r requirements.txt
python3 ./python_scripts/serial_to_csv.py 

run in background

Simple:
nohup python3 ./python_scripts/serial_to_csv.py  &

Advanced:
tmux
python3 ./python_scripts/serial_to_csv.py &> logs.txt
"ctrl + b" then 'd'

Hardware

Here's the final build. pictured is a adafruit

Results

Pictured bellow is temperature readings from the weather station outside my house over 1 day and night. notice how the high point around 45c (mesured in celcius) corrisponds to the day and the nigh time is low with 5c. the data is skused because the weather station was on top of a barbicue and thouse got hotter then the abent temperature outside (oh well face emoji). With a 2200mAh battery my project lasted 1.1857 days on one charge! I was expecting at most 6 hours tops, im really impressed with the low mA's that everything is using.


More photos


  • close up of the led and the arduino nano

Update 20200315

added water detection sensor

(water sensor is the red flat board sticking out, below the blue led)


Photos from the water sensor Elegoo Tutorial

water sensor im using

wiring diagram for water sensor without rest of project

fritzing view

example useage


My raspbery pi speciafic notes:

>cd ~/github/20200307_weather_station_portable && git pull && cd ./python_scripts/ && python3 ./serial_to_csv.py
>nohup python3 ./python_scripts/serial_to_csv.py  &

Written by oran collins oranbusiness@gmail.com github.com/wisehackermonkey

About

hardware project to report the humitdy outside my house. Uses: adafruit feather (one with sd card logging), and a humidity sensor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published