An automated Arduino-based ecosystem monitor and controller. Designed for terrariums or small plant environments, Proximars manages light, watering, humidity, and air quality autonomously.
You can test the logic of this project directly in your browser without any hardware. Click the link below to open the Wokwi simulation:
Note: The simulation uses potentiometers to mimic sensors (SGP30, TSL2561) that are not available virtually.
- 🌱 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.
- 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
- You can find the mobile app in the
proximars/proximars.aiafile. 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.
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.
- Clone this repository.
- Install the required libraries via Arduino IDE Library Manager:
DHT sensor libraryAdafruit NeoPixelAdafruit SGP30Adafruit TSL2561Grove - LCD RGB Backlight
- Open
Proximars.ino. - 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 .
MIT License - Copyright (c) 2024 simonet4