Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wisehackermonkey/20200307_weather_station_portable
hardware project to report the humitdy outside my house. Uses: adafruit feather (one with sd card logging), and a humidity sensor
https://github.com/wisehackermonkey/20200307_weather_station_portable
adafruit arduino arduino-nano humidity-sensor logger portable-wather-station rfm9x station weather
Last synced: 6 days ago
JSON representation
hardware project to report the humitdy outside my house. Uses: adafruit feather (one with sd card logging), and a humidity sensor
- Host: GitHub
- URL: https://github.com/wisehackermonkey/20200307_weather_station_portable
- Owner: wisehackermonkey
- License: mit
- Created: 2020-03-08T02:18:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-18T03:31:47.000Z (over 3 years ago)
- Last Synced: 2024-05-02T04:24:01.218Z (7 months ago)
- Topics: adafruit, arduino, arduino-nano, humidity-sensor, logger, portable-wather-station, rfm9x, station, weather
- Language: C++
- Size: 31.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portable wather station
```
Written&coded by oran collins
[email protected]
github.com/wisehackermonkey
```
![](photos/20200309_weather_station_project_box.jpg)parts list
- Arduino nano (or uno) x1
- [humidity sensor x1](https://www.amazon.com/Temperature-Humidity-Digital-3-3V-5V-Raspberry/dp/B07WT2HJ4F/ref=sr_1_2?keywords=dh11+humidity+sensor&qid=1583824327&sr=8-2)
- led x2
- [adafruit RFM9X Lora 915hrz radio](https://www.adafruit.com/product/3072)
- [adafruit PowerBoost 1000 Charger | its a Rechargeable 5V Lipo USB Boost @ 1A - 1000](https://www.adafruit.com/product/2465)
- [Lithium Ion Cylindrical Battery - 3.7v 2200mAh](https://www.adafruit.com/product/1781)
- AND!
- most importanly
-
- free time----
## 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
![](photos/arduino_nano_pinout_diagram.png)
## Wiring
----------------------------
### arduino pinout for the DHT11,```
VCC: 5V or 3V
GND: GND
DATA: pin 5
```
### water sensor pinout
```
sensor | arduino uno/nanoS - 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
![](photos/20200309_weather_station_project_box.jpg)
![](photos/20200309_recieving_antena.jpg)## 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).
![](photos/ploted_temperature_point_from_weather_station_20200308-09.jpg)
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.
![](photos/battery_total_running_length_calculations.jpg)-----
## More photos
------ ![](photos/20200309_overview.jpg)
- close up of the led and the arduino nano
- ![](photos/20200309_closeup.jpg)
----------------------------
## Update 20200315
### added water detection sensor
#### (water sensor is the red flat board sticking out, below the blue led)
![](photos/water_sensor_v6.jpg)--------------
## Photos from the water sensor Elegoo Tutorial
#### water sensor im using![](photos/water_sensor_v1.jpg)
----------------------------#### wiring diagram for water sensor without rest of project
![](photos/water_sensor_v2.jpg)
#### fritzing view
![](photos/water_sensor_v3.jpg)#### example useage
![](photos/water_sensor_v4.jpg)
![](photos/water_sensor_v5.jpg)----------------------------
### 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
[email protected]
github.com/wisehackermonkey