GithubHelp home page GithubHelp logo

isnuryusuf / aqualed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mathompl/aqualed

0.0 2.0 0.0 33.96 MB

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

License: GNU General Public License v3.0

C 18.78% C++ 81.22%

aqualed's Introduction

AquaLed (en)

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

Features:

  • 6 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 6 ś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/

aqualed's People

Contributors

mathompl avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.