Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
pdany1116 authored Jul 13, 2022
1 parent 2fadcf4 commit b052fb3
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# (Work In Progress) is-iot-collector
# is-iot-collector

This repository represents the collector module of an IoT Irrigation System that:
1. Collects data from the field and sends it to the sink module via MQTT.

### System requirements
The application was developed on Raspberry Pi Zero W/Zero W 2 with Raspbian Buster as operating system, written in Python3.7.

### Electric connections
![collector-electric](https://user-images.githubusercontent.com/51260103/178805085-dc51ea45-6ad1-43d8-a8eb-09392ef2a30c.jpg)
1. 2x Capacitive Soil Moisture Sensors -> [source](https://www.amazon.com/Gikfun-Capacitive-Corrosion-Resistant-Detection/dp/B07H3P1NRM)
2. 1x DHT22 Air Temperature and Humidity -> [source](https://www.amazon.com/HiLetgo-Temperature-Humidity-Electronic-Practice/dp/B0795F19W6/ref=sr_1_3?keywords=dht22&qid=1657737065&sr=8-3)
3. 1x DIY Light Intensity Sensor
![LDR](https://user-images.githubusercontent.com/51260103/178808536-c2a7e598-0080-486c-b2e6-be6790812f13.jpg)
4. 1x ADS1015 Analog To Digital Converter -> [source](https://www.amazon.com/Comidox-channel-Development-Programmable-Amplifier/dp/B07KW2QZS2/ref=sr_1_4?crid=11S1RP1SKMJOI&keywords=ads1015&qid=1657738141&sprefix=ads101%2Caps%2C217&sr=8-4)

### Install prerequisites
```
sudo apt-get update
Expand All @@ -26,6 +37,18 @@ source env/bin/activate
pip install -r requirements.txt
```

### Configure enviroment variables
#### Change default values
```
cp .env.example .env
nano .env
```
`Note: Replace the environment variables with your values. All variables need to be defined!!!`
#### Export environment variables
```
set -o allexport; source .env; set +o allexport
```

### Configure system setup
```
nano setup.xml
Expand Down

0 comments on commit b052fb3

Please sign in to comment.