Skip to content

simonet4/Proximars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪐 Arduino Proximars

License: MIT

An automated Arduino-based ecosystem monitor and controller. Designed for terrariums or small plant environments, Proximars manages light, watering, humidity, and air quality autonomously.

Arduino Status

🎮 Try it Live!

You can test the logic of this project directly in your browser without any hardware. Click the link below to open the Wokwi simulation:

Wokwi Simulation

Note: The simulation uses potentiometers to mimic sensors (SGP30, TSL2561) that are not available virtually.

✨ Features

  • 🌱 Automated Watering: Activates based on soil moisture levels.
  • 💡 Smart Lighting: Adapts NeoPixel grow lights based on ambient brightness (Lux) and time of day (via Bluetooth).
  • 🌡️ Climate Control: Controls a fan and heater based on temperature thresholds.
  • 🌬️ Air Quality Monitoring: Monitors eCO2 and TVOC levels using the SGP30 sensor, with an audible alarm.
  • 📱 Connectivity: Bluetooth communication for data logging and time synchronization.
  • 📊 Display: Grove RGB LCD showing real-time metrics with color-coded alerts.

🛠️ Hardware Requirements

  • Microcontroller: Arduino Uno or compatible
  • Sensors:
    • DHT22 (Temperature & Humidity)
    • Adafruit SGP30 (Air Quality)
    • Adafruit TSL2561 (Lux/Brightness)
    • Analog Soil Moisture Sensor
  • Actuators:
    • NeoPixel LED Strips (x3)
    • Relay Modules (for Heater, Fan, Bubbler, Pump)
    • Buzzer
  • Display: Grove RGB LCD (I2C)
  • Comms: HC-05/HC-06 Bluetooth Module

Mobile App

  • You can find the mobile app in the proximars/proximars.aia file. To install it, you will need to use the website MIT App Inventor.

fast tutorial: MIT App Inventor > Create Apps! > Projects > Import project (.aia) from my computer/repository

ps: The Arduino needs to be connected via Bluetooth to a cellphone to recover the time and light up the strips when it's the night.

📂 Project Structure

The code is modularized for better maintainability:

  • Proximars.ino: Main entry point and orchestration logic.
  • Config.h: Pin definitions and configuration constants.
  • Sensors.h: Handles reading from DHT, SGP30, TSL2561, and Soil sensors.
  • Actuators.h: Controls Relays, NeoPixels, and Buzzer.
  • Display.h: Manages the Grove RGB LCD output.
  • Bluetooth.h: Handles Serial communication.

🚀 Installation

  1. Clone this repository.
  2. Install the required libraries via Arduino IDE Library Manager:
    • DHT sensor library
    • Adafruit NeoPixel
    • Adafruit SGP30
    • Adafruit TSL2561
    • Grove - LCD RGB Backlight
  3. Open Proximars.ino.
  4. Upload to your board.

Thanks

This project was carried out in collaboration with CNES and participated in the night of researchers at the "Cité de l'Espace" in toulouse .

📄 License

MIT License - Copyright (c) 2024 simonet4

About

Arduino embedded system for a controlled atmosphere greenhouse with .aia phone application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages