I Built an open-source LED controller and app from scratch

Free Phyto Promo
Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed
Shop Now Code: FREEPHYTO

PPBlimpy

Valuable Member
View Badges
Joined
Jan 9, 2025
Messages
1,692
Reaction score
2,102
Location
Cumberland
Rating - 0%
0   0   0
That is awesome. I want to build one! what wattage are the LEDs you are running? wondering how hard it would be to scale this up?

I have a 300g i wouldn't mind playing with.
 
OP
OP
oldrev

oldrev

Community Member
View Badges
Joined
Feb 21, 2025
Messages
89
Reaction score
174
Location
Yunnan, China
Rating - 0%
0   0   0
That is awesome. I want to build one! what wattage are the LEDs you are running? wondering how hard it would be to scale this up?

I have a 300g i wouldn't mind playing with.
My design splits the controller and the LED driver circuit, so there’s no limit on power scaling. You can parallel the controller's PWM signal to multiple driver circuits based on your needs.

My prototype has a max power of 58W. Yes, it can measure the LED’s current and calculate the power.

Screenshot_2025-05-05-23-39-37-359_com.borneoiot.app.jpg
 

Besieged

Active Member
View Badges
Joined
Jan 2, 2025
Messages
453
Reaction score
489
Location
Metro Atlanta
Rating - 0%
0   0   0
Small update: This week, I got the firmware and app to support the acclimation mode. Once you turn it on, it gradually increases the brightness a bit each day within your set date range until it hits your current dimming setting.

Screenshot_2025-05-05-23-08-27-089_com.borneoiot.app.jpg

Also, I redesigned the dashboard interface.
Screenshot_2025-05-05-23-09-11-563_com.borneoiot.app.jpg

One last thing, in the settings, you can now pick from 5 different brightness correction algorithms.
Screenshot_2025-05-05-23-09-31-692_com.borneoiot.app.jpg



You may wondering why there's a latitude and longitude setting for your location. Don't worry, it's not for stealing your privacy. It's just that the fully automatic sun simulation feature, which calculates your local sunrise, noon, and sunset times based on astronomical algorithms, needs to know your location on Earth. All that fancy math happens in the tiny LED controller, not the phone app.
Okay the auto thing is awesome... now, could we have some sort of manual offset, of both sunrise and sunset? Right now, where I live, sunrise is about 06:30, and sunset is at 20:30... which is not only way longer than I want my lights to run (especially in this phase of the tank growth, where a photoperiod that long would only fuel algae growth), but rather off from the times I'm in here with it.

Due to my schedule (and my use of a reverse-lit "display refugium"), the lights in my tank come on 8 hours after sunrise (at 2:30pm), full "daylight" begins at 4pm, sunset begins at 10:30pm, and lights are out by midnight, so, if I could offset sunrise and sunset separately by +/- some hours, that would be super helpful.
 
OP
OP
oldrev

oldrev

Community Member
View Badges
Joined
Feb 21, 2025
Messages
89
Reaction score
174
Location
Yunnan, China
Rating - 0%
0   0   0
Okay the auto thing is awesome... now, could we have some sort of manual offset, of both sunrise and sunset? Right now, where I live, sunrise is about 06:30, and sunset is at 20:30... which is not only way longer than I want my lights to run (especially in this phase of the tank growth, where a photoperiod that long would only fuel algae growth), but rather off from the times I'm in here with it.

Due to my schedule (and my use of a reverse-lit "display refugium"), the lights in my tank come on 8 hours after sunrise (at 2:30pm), full "daylight" begins at 4pm, sunset begins at 10:30pm, and lights are out by midnight, so, if I could offset sunrise and sunset separately by +/- some hours, that would be super helpful.
The sun simulation is just to make things easy. For advanced players, you can use the "Scheduled" mode for programming, with up to 48 time points to set.

Screenshot_2025-05-06-00-08-08-560_com.borneoiot.app.jpg
 

badstraw

Community Member
View Badges
Joined
Mar 1, 2016
Messages
35
Reaction score
5
Rating - 0%
0   0   0
Have you been able to make it work with IOS? it would be amazing if it worked both on iPhone and android
 

Besieged

Active Member
View Badges
Joined
Jan 2, 2025
Messages
453
Reaction score
489
Location
Metro Atlanta
Rating - 0%
0   0   0
I'm just following along with this. It's a VERY cool project, and it will be even cooler when all the DiY parts are available to make our own lights! :D
One of my local club members was doing a really awesome job of DIY lights, until the tariffs hit.

He was able to build, iirc, ~90w light bars for about $50 or so using components sourced mainly from alibaba, then the cost of everything tripled or more.
 

vandy

Well-Known Member
View Badges
Joined
Apr 14, 2022
Messages
653
Reaction score
461
Location
St. Louis
Rating - 100%
2   0   0
Love the sun mode you created! Can you set your location to another place? Something like the apex option for a specific geographical area where your corals are from? Would be cool for natural spawning
 
OP
OP
oldrev

oldrev

Community Member
View Badges
Joined
Feb 21, 2025
Messages
89
Reaction score
174
Location
Yunnan, China
Rating - 0%
0   0   0
Love the sun mode you created! Can you set your location to another place? Something like the apex option for a specific geographical area where your corals are from? Would be cool for natural spawning
Yeah, I was thinking about it too. I will implement it soon.
 

strich

Well-Known Member
View Badges
Joined
Feb 28, 2024
Messages
534
Reaction score
678
Location
Queensland, Australia
Rating - 0%
0   0   0
Super cool project mate and thanks for making it open source.
Can you talk about the LEDs you've chosen and why?
One topic of research I always meant to look more into was UV A or B LEDs in the 350+ range. There is research to support the usefulness of that spectrum in coral health and brightness, but they're difficult to work with or find.
 
OP
OP
oldrev

oldrev

Community Member
View Badges
Joined
Feb 21, 2025
Messages
89
Reaction score
174
Location
Yunnan, China
Rating - 0%
0   0   0
Super cool project mate and thanks for making it open source.
Can you talk about the LEDs you've chosen and why?
One topic of research I always meant to look more into was UV A or B LEDs in the 350+ range. There is research to support the usefulness of that spectrum in coral health and brightness, but they're difficult to work with or find.
Thanks. I'm not a scientist, I just saw everyone using LEDs at this wavelength. As I mentioned before, the LED arrangement is "borrowed" from an older version of the AI Prime.
 
Last edited:
OP
OP
oldrev

oldrev

Community Member
View Badges
Joined
Feb 21, 2025
Messages
89
Reaction score
174
Location
Yunnan, China
Rating - 0%
0   0   0
Please allow me clarify here: of course I could choose high-efficiency, high-quality 3535 LED beads from Cree or Osram, but without a custom integrated lens, it doesn't make much sense.
The LEDs currently used come from a supplier I've been buying from for years, and they're good enough. I'm not aiming for the highest efficiency or something that lasts a century.
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 37 27.8%
  • 100% dry rock + 100% live sand

    Votes: 45 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 29 21.8%
  • 75% live rock, 25% live sand

    Votes: 12 9.0%
  • 25% live rock, 75% live sand

    Votes: 10 7.5%
Back
Top