Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Initial readme info commit
  • Loading branch information
thesnakeguy authored Dec 3, 2024
1 parent a0da4fe commit e4595b7
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
# RasPi_terra
Python and R code for temperature and humidity tracking using a Raspberry Pi.

RasPi_terra is a tool for monitoring and controlling environmental conditions in terrariums using a Raspberry Pi. This repository contains the code for:

1. Reading temperature and humidity data from multiple DHT22 sensors.
2. Automatically controlling a fan based on predefined thresholds.
3. Visualizing the data on an interactive dashboard created with R and Shiny.

---

## Features

- **Sensor Monitoring**: Continuously reads temperature and humidity data from up to four DHT22 sensors.
- **Fan Control**: Automatically manages fan operation based on monthly temperature thresholds.
- **Interactive Dashboard**: Displays real-time and historical data trends in an R Shiny application with multiple tabs for detailed analysis.

---

## Setup Instructions

### Hardware Requirements

- Raspberry Pi with GPIO pins.
- Up to four DHT22 sensors. (easily expandable with additional code)
- A fan connected to a GPIO pin.
- Required libraries installed on the Raspberry Pi (`Adafruit_DHT`, `gpiozero`, etc.).

### Software Prerequisites

1. Install Python 3 and required Python libraries:
```bash
pip3 install Adafruit_DHT gpiozero
2. R with following packages: shiny, shinyWidgets, stringr, lubridate, dplyr, ggplot2.
3. Command line software such as "Ubuntu for windows" to run the .sh wrapper script.

0 comments on commit e4595b7

Please sign in to comment.