reef-pi :: An opensource reef tank controller based on Raspberry Pi.

Thought I'd share my quick experience setting up a raspberry pi / reef pi for the first time.

Fairly tech savvy, so I didn't have any issues getting it going; however, I found the raspberry PI OS installation (and youtube/web guides) a little... diverting and outdated, which may be trouble for some of our less savvy folks.

The guides had me looking for 'raspian' (lol) and downloading third party imagers - seems clear these are made useless by raspberry pi's official imager, and that raspian is now called raspberry pi os. The software name change was clear after a quick google search, but I wasted about 10 mins of time wondering what exactly I was looking for or using to 'install' the main raspberry operating system to the SD card.

Basically all you gotta do is download the raspberry pi imager (basically an installer in laymans terms, but ya) from:
Insert your micro sd to you pc. run the raspberry pi os imager, and click two buttons to 'install' rasberry pi os to your microsd via raspberry pi's imager, as it contains the OS.

After that, insert your sd to the pi, insert your monitors hdmi, keyboard usb, mouse usb, insert the pi power plug to turn it on, and you can use the pi just like an actual computer now with a display and everything to connect to the internet, and download the reefpi installer from directly inside the raspberry pi. Im sure I missed a few things, but the process is way simpler than it seems.

After that, it took ~5 mins to reboot, and be in the reefpi dashboard. Another 10 mins to configure some settings using the reef-pi interface. And around 20 mins to setup email alerts in the reef-pi - primarily because there were a few extra steps in gmail's settings to get smtp to work, but Rob has a great guide in this thread on how to do that.

Hope some people find this helpful - the whole thing can be done in 5-10 minutes tbh.
Lmk if I'm just being a noob and if I missed some important steps/features :D but it turns out to be incredibly straight forward, and I'm pretty confident someone with far less tech experience could get it going. I think the biggest hurdle for most people would surprisingly be figuring out what their PI's local IP is to get to the dashboard.

You can figure that out by logging in to your internet router (the black internet box) and looking at your connected device list. In my case it was 192.168.1.111 - but I had this knowledge from configuring private runescape servers back in the day lol - as well as a little javascript, setting up websites via cpanel, etc - although I am definitely no super genius and technically dumb to most people in this thread, there are a lot of people who may find that the most difficult part.
 
Last edited:
Anyone using the Nicrew Hyperreef LED, the one that can be controlled via 0-10v pwm? I have my reefpi working and taking measurement it is putting out on both channel accordingly but when I plug it in to the Hyperreef it does not do anything, lights stay at the same intensity. These are being fed by a pca9685 with frequency set to 1000, does anyone have this working with these lights and if so what else is needed in order to get them to work, supposed to be like Kessil 0-10v analog but it no workie for me yet. :(

Thanks :)
 
Anyone using the Nicrew Hyperreef LED, the one that can be controlled via 0-10v pwm? I have my reefpi working and taking measurement it is putting out on both channel accordingly but when I plug it in to the Hyperreef it does not do anything, lights stay at the same intensity. These are being fed by a pca9685 with frequency set to 1000, does anyone have this working with these lights and if so what else is needed in order to get them to work, supposed to be like Kessil 0-10v analog but it no workie for me yet. :(

Thanks :)

Never used it. How do you have your 3.5mm jacks wired? I found this chart on their product page that may be helpful.

1618709446418.png
 
Never used it. How do you have your 3.5mm jacks wired? I found this chart on their product page that may be helpful.

1618709446418.png
Yeah thats how I have it wired up, I have verified with a MM that tip and ring have voltage and it goes up and down based on what I have the channel set to but the light just stays doesn't budge from its current setting. Maybe that function is not working, never tested it and have no way to test it but right now I am getting nothing.
 
Never used it. How do you have your 3.5mm jacks wired? I found this chart on their product page that may be helpful.

1618709446418.png
Are you sure it's 10v pwm control and not 0..10v analog? And your multimeter probably can't tell the difference, while a lamp might.

Do you have a breadboard and a potentiometer or two? Then I'd put those between a 12v power supply and the lamp channels to test if they work at all and then you can measure with your multimeter without it lying
 
Anyone using the Nicrew Hyperreef LED, the one that can be controlled via 0-10v pwm? I have my reefpi working and taking measurement it is putting out on both channel accordingly but when I plug it in to the Hyperreef it does not do anything, lights stay at the same intensity. These are being fed by a pca9685 with frequency set to 1000, does anyone have this working with these lights and if so what else is needed in order to get them to work, supposed to be like Kessil 0-10v analog but it no workie for me yet. :(

Thanks :)
Is it 0-10V analog or 10V PWM?
 
Are you sure it's 10v pwm control and not 0..10v analog? And your multimeter probably can't tell the difference, while a lamp might.

Do you have a breadboard and a potentiometer or two? Then I'd put those between a 12v power supply and the lamp channels to test if they work at all and then you can measure with your multimeter without it lying

Is it 0-10V analog or 10V PWM?
All I know is these lights Nicrew Hyperreef led say they can be controlled with a Kessil controller which is a 0-10v input, which I believe it should be analog input like this - hyperreef link

However I am not using a robotank, I am using an @Michael Lane goby hat and have one of his old mars aqua boards - Mars aqua board and here is how I have it wired up, I do see voltage output based on the pwm setting.

mars-aqua-pic.png

But so far the light does not change intensity when hooked up, nada. :(

Anyone has any thoughts let me know.
 
All I know is these lights Nicrew Hyperreef led say they can be controlled with a Kessil controller which is a 0-10v input, which I believe it should be analog input like this - hyperreef link

However I am not using a robotank, I am using an @Michael Lane goby hat and have one of his old mars aqua boards - Mars aqua board and here is how I have it wired up, I do see voltage output based on the pwm setting.

mars-aqua-pic.png

But so far the light does not change intensity when hooked up, nada. :(

Anyone has any thoughts let me know.
what does "does not change" mean? Stays at 100%? Stays off?

Different approach: do the voltages also show up at the end of the cable, or did you just measure the output at the board?

Also, what happens if instead of connecting the cable to the board, you connect the ground line to ground, and the two other lines to a resistor that also goes to ground?
 
Someone I helped with doing a similar thing had the problem that part of the connector inside the lamp was corroded and did not make contact, so the light ignored the signal.

Hence my suggestion to hardwire stable voltages to the pins to see what happens, to figure at which end of the cable the problem is, or whether it is the cable itself.
 
what does "does not change" mean? Stays at 100%? Stays off?

Different approach: do the voltages also show up at the end of the cable, or did you just measure the output at the board?

Also, what happens if instead of connecting the cable to the board, you connect the ground line to ground, and the two other lines to a resistor that also goes to ground?
Not change mean that the light is on but doesnt respond to me changing the intensities on reefpi. I measured at the plug end, it shows voltage for tip and ring and slave as ground. I change the percentage on reefpi and it changes at the plug tip, but when I insert it into the light it just stays on its current setting, no change.
 
Someone I helped with doing a similar thing had the problem that part of the connector inside the lamp was corroded and did not make contact, so the light ignored the signal.

Hence my suggestion to hardwire stable voltages to the pins to see what happens, to figure at which end of the cable the problem is, or whether it is the cable itself.
I verified the cable multiple ways, one was a continuity test before I crimped my connectors, tip, ring and sleeve all were fine. Not sure what else to try, I do have another tip and was going to see if it made any difference, but the one I have now looks and tests fine.
 
I do not have a variable control dc supply but I do have buck converters, could I use a buck converter and turn the voltage down to say 5v and see if that worked. Just trying to figure out how to test it further and figure out what could be the issue.

Thanks :)
 
I do not have a variable control dc supply but I do have buck converters, could I use a buck converter and turn the voltage down to say 5v and see if that worked. Just trying to figure out how to test it further and figure out what could be the issue.

Thanks :)
I don't know that lamp, how involved would it be to take it apart and measure in the lamp? Doesn't sound like the rest is the issue
 
I have a nicrew 0-10v running off a robo tank. It is working correctly now, but I am getting some flickering when dimming. The connector on the light is a 4-pin TRRS (tip, 2 rings, sleeve) DO NOT go by the diagram on Nicrew’s Amazon page which shows it as a regular headphone (TRS) jack. Tip is channel 1, first sleeve is channel 2, second sleeve is a 24v output (for powering the as-yet unreleased nicrew controller) and the sleeve is ground. I killed a Pi when I used a headphone jack the first time around so I am speaking from experience. Wired it up as per the Amazon page, plugged it in, and got magic smoke from my Pi.

double check all your connections with a multimeter before you do a live run, and DO NOT plug or unplug the jack from the light when it is on, or you may short out the contacts.
 
The Nicrew is 0-10v Analog, quite a few people are using it and they seem to like. @lucasw try changing the PWM frequency for the pca9685 driver to 600 instead of the 150 it's likely set to, this should clear up the flickering.

@Tom Bishop looks like you have things connected correctly, maybe check the ground is actually connected from Pi to ground going to light, if there's no common ground I think you'll have full power and no dimming even if signal voltage changes.

The plug in the Nicrew is actually a TRRS as mentioned, one ring has +24v on it which is used to power the Nicrew controller, apparently shorting out the ring (+24v) and sleeve (GND) you will get a ground that's why the Amazon listing shows a TRS connector.

 
The Nicrew is 0-10v Analog, quite a few people are using it and they seem to like. @lucasw try changing the PWM frequency for the pca9685 driver to 600 instead of the 150 it's likely set to, this should clear up the flickering.

@Tom Bishop looks like you have things connected correctly, maybe check the ground is actually connected from Pi to ground going to light, if there's no common ground I think you'll have full power and no dimming even if signal voltage changes.

The plug in the Nicrew is actually a TRRS as mentioned, one ring has +24v on it which is used to power the Nicrew controller, apparently shorting out the ring (+24v) and sleeve (GND) you will get a ground that's why the Amazon listing shows a TRS connector.

So a three tip plug should be fine, if I read that correct, if you short the one ring to ground it acts like a ground. I have a three tip plug but the light is not changing to any input.
 
So a three tip plug should be fine, if I read that correct, if you short the one ring to ground it acts like a ground. I have a three tip plug but the light is not changing to any input.
I believe so but @lucasw thinks that might have ruined his Pi. Only thing I can think other than no common ground is try a TRRS cable so you have access to the GND and not shorting any pins in light.

If you have some cable you could open the light and solder directly to the jack internally to test saving you from getting a TRRS cable.
 
The Nicrew is 0-10v Analog, quite a few people are using it and they seem to like. @lucasw try changing the PWM frequency for the pca9685 driver to 600 instead of the 150 it's likely set to, this should clear up the flickering.

@Tom Bishop looks like you have things connected correctly, maybe check the ground is actually connected from Pi to ground going to light, if there's no common ground I think you'll have full power and no dimming even if signal voltage changes.

The plug in the Nicrew is actually a TRRS as mentioned, one ring has +24v on it which is used to power the Nicrew controller, apparently shorting out the ring (+24v) and sleeve (GND) you will get a ground that's why the Amazon listing shows a TRS connector.

Ground checks out, verif
I believe so but @lucasw thinks that might have ruined his Pi. Only thing I can think other than no common ground is try a TRRS cable so you have access to the GND and not shorting any pins in light.
I do not think I have a trrs plug, the information on amazon specifically calls out a trs plug, they mention a trrs plug and state to not use ring 2 close to the sleeve. I have verified the grounds and they look good but I am missing something, going to see when I have the plug in the light and see if the multimeter reads anything.
 
I do not see any power coming out of the trs plug when plugged into the light, no voltage at all. I think a three tipped plug should work and be safe since you don't want 24v being fed back. Not sure what else to try at this point, it all looks good but the light is not reacting like it should, light could have issues in that regard, never tested it so how would I know and I do not have anything else to try it on.
 
I do not see any power coming out of the trs plug when plugged into the light, no voltage at all. I think a three tipped plug should work and be safe since you don't want 24v being fed back. Not sure what else to try at this point, it all looks good but the light is not reacting like it should, light could have issues in that regard, never tested it so how would I know and I do not have anything else to try it on.
Yeah I think if a TRS is plugged in TRRS jack the sleeve will short out the bottom ring which would be the 3 Pin mode, unfortunately I don't have a TRRS jack to verify though. If you get no voltage with TRS plugged in it sounds like is doing what it should.

Can you find another DC power point in the light? With the TRS plugged in use the sleeve for ground probe and see if it is indeed a ground.

I guess another thing you could test is connect light to adapter and see if you get 0-10v testing from the jack in light. You tested plug but how about jack when its plugged in.
 

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 33 54.1%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 28 45.9%
Back
Top
Home
Post thread…
Market
What's new