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

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
Is this in the official guides? We should update it if theres any mistake in those..
No, it's in the Reef-PI_HAT documentation table 6

I checked the Schematics, PCB lay-out and SJ1-3533NG documentation and can confirm that it should read:

Left (tip) - Connects to GPIO7 (Data) - J5-2
Middle (ring) - Connects to 3V3 power supply GPIO17 (VDD) - J5-3
Right (sleeve) - Connects to GND - J5-1

The tip and ring are wrong in the present HAT documentation. I will make an update ASAP but I fried my Raspberry yesterday and I first want to find out why. Either it's the PWM module (which was working fine before) or just a heating problem (I had placed the PI on a silicon plate I use for soldering, so I think that fried the PI as I wasn't able to get the PWM pulse anymore which I could see on the oscilloscope before). Ordered a new Raspberry that will arrive tomorrow but will counter check the PWM/HAT configuration today as well.
 

naoki

Community Member
View Badges
Joined
Aug 30, 2018
Messages
37
Reaction score
31
Location
Fairbanks, Alaska
Rating - 0%
0   0   0
Jumping around between my projects........

I acquired this "black-box" LED light the other day for really cheap off a fellow reefer near me with the express intention of modifying it to dimmable drivers and setting up a Pi Zero on it to control the lighting cycle.

But as usual, I have got myself a bit confused. I thought it would be as simple as replacing the existing drivers with Meanwell LDD-H drivers or similar, but I see that they all seem to work on DC input. My drivers here seem to take 220VAC and convert it to 46VDC to run the LED's. Does this mean I would use the current drivers to run the LDD-H with the Pi providing the PWM signal to do the dimming?

A bit of help with the circuit would be appreciated.

Meanwell LPF-25D-48 can replace each driver, and you can dim them with PWM or 10VDC.
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
No, it's in the Reef-PI_HAT documentation table 6

I checked the Schematics, PCB lay-out and SJ1-3533NG documentation and can confirm that it should read:

Left (tip) - Connects to GPIO7 (Data) - J5-2
Middle (ring) - Connects to 3V3 power supply GPIO17 (VDD) - J5-3
Right (sleeve) - Connects to GND - J5-1

The tip and ring are wrong in the present HAT documentation. I will make an update ASAP but I fried my Raspberry yesterday and I first want to find out why. Either it's the PWM module (which was working fine before) or just a heating problem (I had placed the PI on a silicon plate I use for soldering, so I think that fried the PI as I wasn't able to get the PWM pulse anymore which I could see on the oscilloscope before). Ordered a new Raspberry that will arrive tomorrow but will counter check the PWM/HAT configuration today as well.

Documentation and BOM have been updated and are available at https://github.com/vandegraaf/Reef-PI_PCBs
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
14,898
Reaction score
76,049
Location
SW, FL, USA
Rating - 0%
0   0   0
@Des Westcott - I am curious to what solution you implemented regarding the AC/DC - DC/DC dilemma. Can you please share?
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
@Des Westcott - I am curious to what solution you implemented regarding the AC/DC - DC/DC dilemma. Can you please share?
I have ordered 2 of these
https://www.digikey.co.za/product-detail/en/mean-well-usa-inc/LDD-700H/1866-3119-ND/7704740

The reason being that the solution as suggested by @naoki is 4 times the price and I'm doing this as a proof of concept and the intention is to sell the light or donate it on to a local reefer starting out.

Also to help make people aware of the Reef-Pi ability.
 

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
14,898
Reaction score
76,049
Location
SW, FL, USA
Rating - 0%
0   0   0
@Des Westcott - Cool, thanks! It'll be interesting to see if it works. Personally, I do not see any reason it wouldn't. However, that does not necessarily make it safe.

Also, did you give the that the installed driver might be dimmable by PWM? If it is dimmable it's probably not by PWM could be worth a try to run a test on it.
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
@Des Westcott - Cool, thanks! It'll be interesting to see if it works. Personally, I do not see any reason it wouldn't. However, that does not necessarily make it safe.

Also, did you give the that the installed driver might be dimmable by PWM? If it is dimmable it's probably not by PWM could be worth a try to run a test on it.
The lights were never dimmable according to the previous owner. Knowing the "Chinese Black Box" mentality, I seriously doubt they would have used dimmable drivers if they didn't have to. At least this way I know what voltage I have there as well as what I'm getting in terms of the quality Meanwell PWM drivers.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0

JDowns

Valuable Member
View Badges
Joined
Oct 6, 2017
Messages
1,228
Reaction score
2,658
Location
Phoenix
Rating - 0%
0   0   0
I don't think opening it up will help much, but I'd be interested in pictures if you do. What we really need to know is the protocol. Once I fully move my heaters off the RKL, I plan to hook up a logic analyzer to mine.

The RKL uses a pretty simple I2C protocol. Each module has its own I2C address and command set. It's pretty simple to sniff out the address/command bits using the head unit and isolating each command / response cycle. You can use something like this to bridge between the head unit and the first power bar (or whatever module you want to sniff).

https://www.amazon.com/gp/product/B017B69D3U/ref=oh_aui_search_detailpage?ie=UTF8&psc=1

It's a typical four wire connection on the jack (VCC, GND, SDA, SCL).

I had looked at this years ago and stopped at the point of controlling the PB4's and probe modules.

There is no reason you couldn't integrate this into reef-pi although it may be hard to find hardware now. I always thought DA should open source the hardware since their UI/UX was lacking and it was obvious they weren't going to put any real investment into furthering the product line. Which sucks because their hardware has always been rock solid. I still have a DA setup on a paludarium I did almost a decade ago now, and it's still going strong.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
The RKL uses a pretty simple I2C protocol. Each module has its own I2C address and command set. It's pretty simple to sniff out the address/command bits using the head unit and isolating each command / response cycle. You can use something like this to bridge between the head unit and the first power bar (or whatever module you want to sniff).

https://www.amazon.com/gp/product/B017B69D3U/ref=oh_aui_search_detailpage?ie=UTF8&psc=1

It's a typical four wire connection on the jack (VCC, GND, SDA, SCL).

I had looked at this years ago and stopped at the point of controlling the PB4's and probe modules.

There is no reason you couldn't integrate this into reef-pi although it may be hard to find hardware now. I always thought DA should open source the hardware since their UI/UX was lacking and it was obvious they weren't going to put any real investment into furthering the product line. Which sucks because their hardware has always been rock solid. I still have a DA setup on a paludarium I did almost a decade ago now, and it's still going strong.
Interesting, thank you for sharing. I’ll take a look at the amazon product
 

ScottBrew

Active Member
View Badges
Joined
Oct 17, 2018
Messages
385
Reaction score
865
Location
Dunedin Florida
Rating - 0%
0   0   0

naoki

Community Member
View Badges
Joined
Aug 30, 2018
Messages
37
Reaction score
31
Location
Fairbanks, Alaska
Rating - 0%
0   0   0
I have ordered 2 of these
https://www.digikey.co.za/product-detail/en/mean-well-usa-inc/LDD-700H/1866-3119-ND/7704740

The reason being that the solution as suggested by @naoki is 4 times the price and I'm doing this as a proof of concept and the intention is to sell the light or donate it on to a local reefer starting out.

Also to help make people aware of the Reef-Pi ability.

Did you measure the forward voltage (Vf, initial and after warmed up)? The original CC driver has an extremely narrow range of Constant Current region (39-45V). With LDD-H, the driver has to be able to supply 3V above the Vf required by the LEDs.

Whether it works or not depends on the type of over-voltage protection in the original CC. Some CC drivers behave as a CV driver above a threshold voltage (e.g. HLG series). But others shut-off (e.g. LPC series). If yours is the former type, it works. When you use the dimmer in LDD, the original CC driver tries to supply 550mA by raising the voltage, and it will hit the overvoltage threshold (slightly above 45V, I guess). The CC+CV driver will maintain 45V and decrease the current, so it works. But the later type will just shut down (so it probably will flicker). I'm guessing that these cheap drivers are the later type.
 

ScottBrew

Active Member
View Badges
Joined
Oct 17, 2018
Messages
385
Reaction score
865
Location
Dunedin Florida
Rating - 0%
0   0   0
Has anybody done any research on the Current USA loop enabled devices and how to hook it up to the reef-pi? I have the EFLUX 6010 DC pump and would like to hook it up to more than just an on/off relay and then only have manual speed control. Here are pics of the controller. According to the documentation it hooks to another module (the loop controller) which allows you to access the devices via a phone app. My other option would be to plug the pump directly to the reef-pi eliminating the pictured unit and build in a 0-24v controller. Any thoughts?





20181107_163341.jpg 20181107_163402.jpg
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,253
Reaction score
3,603
Location
Sacramento, CA area
Rating - 0%
0   0   0
Has anybody done any research on the Current USA loop enabled devices and how to hook it up to the reef-pi? I have the EFLUX 6010 DC pump and would like to hook it up to more than just an on/off relay and then only have manual speed control. Here are pics of the controller. According to the documentation it hooks to another module (the loop controller) which allows you to access the devices via a phone app. My other option would be to plug the pump directly to the reef-pi eliminating the pictured unit and build in a 0-24v controller. Any thoughts?





20181107_163341.jpg 20181107_163402.jpg

Not at all familiar with these. I imagine this is a digital bus - snoop for I2C or other levels. For example, the APEX is a MODBUS-esque protocol over CAN signaling.

What tools do you have? Pictures of any chips can be helpful.
 

TOP 10 Trending Threads

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

  • 100% live rock + bagged sand

    Votes: 38 27.1%
  • 100% dry rock + 100% live sand

    Votes: 47 33.6%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 31 22.1%
  • 75% live rock, 25% live sand

    Votes: 14 10.0%
  • 25% live rock, 75% live sand

    Votes: 10 7.1%
Back
Top