An OpenSource project about a RGBW Lamp for Aquariums.
The idea of a RGBW lamp for aquariums stems from the idea of having an open-source lamp, which has the characteristics of being highly feature-rich due to its open-source hardware and software but at the same time easily repairable or interchangeable due to its modularity at very low cost. The lamp can be controlled via Bluetooth via your smartphone and allows you to manage the light intensity separately, so that you can have the lighting effect you like best and bring out the colours of the aquarium. In addition, you can set on and off times for the lamp with fading time to simulate sunrise and sunset. Finally, it is possible to monitor the aquarium water temperature via sensor.
- Aquariums Fresh/Salt Water
- Aquaponics
- Terrariums
- Plants Growth
- LED-Drivers PCB x 4
- ESP32 PCB Controller x 1
- Central Board x 1
- LED-Boards x 4
- Interface Board (between Main Board and LED-Boards) x 1
- Power Supplier 24V/3A
- 3D-Printed Case
- M3 Inserts x 8
- Aluminium Round Bar 10mm x 1
- MiniWare MHP30
- Miniware T80 IronSolder
- PLA 1.75mm Wood
- Bambulab A1 Mini
I hope this lamp it's a starting point to an open source and community developed project! I will updates this projects with new features both hardware and Software side! If anyone is interested to cooperate with me on this project is welcome!
This is the first Aquarium Open-Source Project!
The design of this lamp is based on the concept of modularity, a design principle in which a complex system is broken down into smaller, well-defined parts called ‘modules’.
Why design a modular RGBW lamp?
The answer is simple, this allows you to configure the colours of the lamp to your liking, as you wish. For example, if I wanted to bring out certain colours in the aquarium, I can change only the LEDs without necessarily having to change the whole lamp. This means that the lamp can also be used for a marine aquarium by simply changing the colour of the LEDs or for plant growth by increasing the number of UV LEDs. Another important aspect is that modularity lowers the maintenance costs of the lamp, as it allows the component to be replaced very easily without having to buy the lamp again.
I wanted to make PCBs as small as possible, modular and high quality. That is why I relied on the quality, reliability and efficiency of PCBWay, a leading PCB fabrication company. I was amazed by the PCBWay customer service, they answered all my questions by mail, and very quickly. The price is very competitive and the production and delivery times are very fast, impeccable service.- LED-Driver PCB
- ESP32 Micro-controller Board
- Central Board
- LED-Boards
- Temperature Sensor
In this chapter will be explained the main features of the Aquarium Lamp, dividing it in 3 sections:
- ESP32 Firmware
- Android Application
- Blynk IoT Remote Control
The ESP32 Firmware is the core of the aquarium lamp, where all the logic of the functions are executed.
- Handle the WiFi/Bluetooth connection with application to receive commands.
- Set the brightness intensity of the LEDs.
- Set the scheduling time to Turn ON/OFF the lamp with sunset/sunrise effects.
- Display the current Power of the lamp.
- Monitor the Water Temperature.
- Handle the Blynk IoT Connection to monitor/set remotely some parameters.
- Get info about the IP Address, Firmware Version or Current Time.
- Update the firmware via OTA.
- Scheduling page
To correctly set the scheduling mode, you need to set the switch button to "AUTO" and click on "SAVE AND EXIT". When the lamp is setted to scheduling mode, it is not possible anymore to manually set the intensity brightness on The Main Screen.
At this point, when the internal clock matches the scheduled time, the lamp will turn on/off with the fade effect selected until the brightness reaches the manually intensity previously configured.
- Info Page
DashBoard (click to see image)
The case of the Aquarium lamp has been designed with SolidWorks and printed with the Bambulab A1 Mini.The main parts are basically 4:
- The case to store the electronics.
- The cover to close the case and hold the lamp with a bracket
- Wings/Deflectors to improve the reflections of the lights
- A white light diffuser to make the light homogeneous.
Basically you have two options:
- Downloading PCB Gerbers and have them produced by a PCB company such as PCBWay.
- Buying directly the Lamp from my store, helping me to support and continue to develop the project with new features and updates.
- How can i pair the lamp with the phone?
- Go to the settings of your phone and pair from there the lamp device, once done open the app and start the scanning process.
- How can i update the firmware?
- Open the app and go to "info" (the green icon on the main menu), press "UPDATE FIRMWARE". The device will be setted-up in AP mode with SSID "LAMP_updater" and type the password "aquariumlife". Once connected open a tab on browser and type the following address 192.168.4.1/update , now "Select file" and choose the .bin you downloaded, the process will start automatically.