AquaLed Save

Arduino Dimmable PWM DIY LED Light for Marine/Reef/Freshwater Aquarium controller with Nextion LCD support and temperature/cooling fans control (3 sensors/fans)

Project README

AquaLed (en)

Arduino PWM LED lamp driver software with LCD support and temperature control for marine, reef or sweetwater aquariums.

Features:

  • 8 channel PWM control of LED modules (drivers), with I2C module up to 512 (up to 8 channels on LCD)
  • programmable light hours with sunsets and sunrises
  • night light support
  • 3 digital thermometers with asynchronous temperature read, for: water, lamp and addictional lamp or sump, controlling 3 separate relays (cooling fans)
  • customizable dimming, linear or logarithmic algorith
  • bluetooth compatibility with AQma Led Control by Maqu http://magu.pl/aqma-led-control
  • full configuration and status using Nextion 2.8" LCD with touch support, including: operational hours, sunset & sunrise hours, thermometers, dimming times, schedule, night mode etc.
  • override programs: off, night and user accessible from LCD
  • date/time support with RTC module
  • screen saver with water temperature and time
  • test mode
  • moonphases simulation for night light
  • all settings stored in EEPROM
  • works on Arduino Nano

Example Nextion project attached. I dont have copyright for graphics used, use only as an example.

Nextion LCD Screenshots

Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text

REQUIREMENTS:

Hardware:

  • Arduino Nano or better
  • RTC module
  • Bluetooth (optional)
  • 3x DS18B20 digital thermometers
  • 3x 5v relays modules
  • PCA9685 PWM i2c module (optional)
  • Nextion 2.8" LCD

Libraries:

Software:

Configuration: Driver configuration is in file aqualed.h

####PINS SETUP: Configuration on LCD.

####Modules (uncomment to disable). As for now bluetooth and nextion support does not fit into Arduino Nano/UNO etc. flash memory. Use arduino Mega or disable one module support.

// modules, uncomment to disable, comment to enable
#define NO_BLUETOOTH
//#define NO_NEXTION
//#define NO_TEMPERATURE

####Other There are many other options for eg. timers resolution, most of them are pretty self-explanatory ;)

Wiring:

Alt text

AquaLed (pl)

Sterownik lampy LED PWM na Arduino z obsługą termometrów, chłodzenia i wyświetlacza LCD Nextion dla akwariów słodko i słonowodnych.

Możliwości:

  • obsługa 8 ściemnialnych kanałów PWM dla modułów LED (driverów), z modułem I2C do 512 kanałów (maksymalnie 8 na wyswietlaczu)
  • programowanie godzin świetenia z symulacją wschodów i zachodów słońca
  • światło nocne
  • obsługa 3 cyfrowych termometrów sterujących pracą 3 przekaźników (np. wentylatorów), np. dla lampy, lampy w sumpie, wody w akwarium
  • ściemnianie/rozjaśnianie
  • kompatybilność z AQma Led Control by Maqu http://magu.pl/aqma-led-control w zakresie programowania przez Bluetooth
  • pełna konfiguracja i status za pomocą wyświetlacza Nextion LCD (przykłady na 2,8"), sterowanie przez dotyk.
  • możliwość chwilowego nadpisania działającego programu z wyświetlacza: wyłączenie/wymuszenie światła nocnego/program zdefiniowany
  • obsługa godziny i daty
  • wygaszacz ekranu z godziną i temperaturą wody
  • tryb test
  • symulacja faz księżyca
  • wszystkie ustawienia zapamiętywane w pamięci EEPROM
  • działa z Arduino Nano lub wyższym modelem

Przykładowy program na wyświetlacz załączony.

**Wygląd ekranów na wyświetlaczu **

Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text

Wymagania:

Sprzęt:

  • Arduino Nano lub wyższy
  • moduł czasu rzeczywistego RTC
  • Bluetooth (opcjonalnie)
  • 3x termometry cyfrowe DS18B20
  • 3x moduły przekaźników 5v
  • moduł PCA9685 PWM i2c (optionalny)
  • wyświetlacz Nextion 2.8" LCD lub większy

Biblioteki:

Oprogramowanie:

Konfiguracja: Konfiguracja w pliku aqualed.h i nextion.h

####Ustawienia pinów PWM: Konfiguracja z poziomu wyświetlacza.

####Moduły (odkomentuj żeby wyłączyć). Uwaga! Obsługa bluetooth i nextio nie mieści się jednocześnie w pamięcy flash Arduino Nano/Uno itd. wchodzi tylko do Arduino Mega lub podobnego.

// modules, uncomment to disable, comment to enable
#define NO_BLUETOOTH
//#define NO_NEXTION
//#define NO_TEMPERATURE

####Inne W pliku konfiguracyjnym można ustawić wiele opcji w tym czasy działania timerów, rozdzielczość załączania przekaźników itd. Większość ustawień wynika z samych nazw stałych :)

Podłączenie:

Alt text

PCB Prototype boards: Alt text Alt text

Support:http://nano-reef.pl/topic/88904-a-qualed-sterownik-led-termometry-lcd-nextion/

Open Source Agenda is not affiliated with "AquaLed" Project. README Source: mathompl/AquaLed

Open Source Agenda Badge

Open Source Agenda Rating