Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

thelizri/PotBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PotBot

II1302 VT23 Projects and Project Methods
Repository For Group 5

Website

Background

The idea behind this project is to create a smart plant pot that can automatically water plants, while also measuring and recording various environmental factors to ensure optimal plant growth. Here's a breakdown of each of the proposed features:

Automatic Plant Watering: The smart plant pot will use sensors to detect the soil moisture levels and will water the plant automatically when the soil becomes too dry. This will ensure that the plant is always well hydrated without the need for manual watering.

Light Level Monitoring: The smart plant pot will also measure and record the light levels around the plant, which is important for plant growth. The sensor can be placed at the top of the pot to measure the intensity of the light that the plant is receiving, and can be used to adjust the position of the pot to ensure that the plant is getting enough light.

Soil Moisture Monitoring: The smart plant pot will measure and record the soil moisture levels, which is important to prevent over or under watering. The sensor can be placed in the soil and will detect the moisture content of the soil, providing data that can be used to trigger the automatic watering feature.

Temperature Monitoring: The smart plant pot will also measure and record the temperature around the plant, which is important for plant growth. The sensor can be placed at the top of the pot to measure the ambient temperature and can be used to adjust the position of the pot to ensure that the plant is not exposed to extreme temperatures.

Overall, the smart plant pot will provide a convenient way to ensure that plants are healthy and thriving, without the need for constant monitoring and manual intervention. The data collected by the various sensors can also be used to analyze and optimize plant growth over time.

Below is a 3D model of what the first prototype PotBot is imagined to look like. The smaller container will house a Raspberry Pi with an attatched screen as well as an Arduino. The bigger piece is both pot and water reservoir, the smaller container inside being the pot and the surronding area being the reservoir.

alt text

Developers

Andreas: [email protected]
Mahad: [email protected]
Otto: [email protected]
Pontus: [email protected]
Robert: [email protected]
Veronica: [email protected]
William: [email protected]

Images of Project

alt text alt text alt text

Raspberry Pi

Access

  • If you access the device through a LAN-cable, the Raspberry Pi can be reached at this address: 169.254.246.9/16
  • Username: pi
  • Password: group5pass

Install NetworkManager

Install DNSmasq

Fix Time Syncing

PotBot

  • Network address: 10.42.0.1:80
  • Network address: pot.bot

DNS

  • Hosts can be found -> /etc/hosts
  • DNS settings can be found -> /etc/dnsmasq.conf

Network Manager Commands

  • nmcli device disconnect wlan0
  • nmcli device wifi list
  • nmcli connection show
  • nmcli connection up name
  • nmcli device wifi connect SSID_or_BSSID password password

Activate Scripts on Startup

  • Add line below to /etc/rc.local
  • /usr/bin/Python3 /home/pi/Desktop/PotBot/RasberryPi/hotspot_manager.py &

Install Python Packages for Root

  • sudo pip3 install google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client
  • sudo pip install firebase-admin

Allow Anybody to Call XHost

  • sudo nano /etc/X11/Xwrapper.config
  • allowed_users = anybody

About

II1302 VT23 Repository For Group 5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published