Mars Aqua Chinese black box PWM Converter

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
468
Reaction score
593
Location
Knoxville
Rating - 0%
0   0   0
Hey @Michael Lane , working on adding light dimming to my Mars Aqua & came across this. I'm a bit unclear on how this ties into a reef-pi setup. Is this in place of the diagram on adafruit? In addition to? How does it connect to the pi/lights? Would I need one per light? I couldn't really find much of a write-up anywhere on these, so thought you may be able to shine some light :)
 

Urtoo

Well-Known Member
View Badges
Joined
Jul 1, 2019
Messages
688
Reaction score
924
Rating - 0%
0   0   0
@Michael Lane @Schreiber I too am looking at how to connect/modify my SB Reef Basic lights.
I will be purchasing the Goby and PWM this Friday (Payday) from Tindie.
Here is the inside of my SB Basic (mind the dust)
IMG_1588.jpg
IMG_1589.jpg
for help on above.
 
OP
OP
Michael Lane

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
@Schreiber The PWM adapters were designed before I had even heard of reef-pi, but they work great together. My design uses one board per light; the 4 pin connector from each original knob is plugged into the board. 2 pwm channels and ground plug into one of the 3 pin connectors. The other 3 pin connector can be used to daisy chain the signal to the next light.

IMG_20190825_181839.jpg

I have 8 connected on my system. I can't get a clear picture of them in the canopies, but it's basically like this.

1569978847361.png


I'm using the normal lights functionality in reef-pi using PCA9685 for PWM generation.
1569978564309.png
 
OP
OP
Michael Lane

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
@Urtoo I don't know how the SB Reef Basic lights are controlled, and I haven't tested them with my Mars Aqua adapter. I can see how the light is powered, but I can't see how they can be adjusted. The adapter I've made converts pwm to 0-10v analog and acts as a switch under a threshold voltage. We'd need to know more about the SB lights.
 

Urtoo

Well-Known Member
View Badges
Joined
Jul 1, 2019
Messages
688
Reaction score
924
Rating - 0%
0   0   0
I will gladly remove them and get the connectors off to see them. Also search my drivers pin outs to the switches themselves
I need to do this to replace the fans as o e is making a noise now, probably order noctura ....Tomorrow
 
OP
OP
Michael Lane

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
1572631413189.png

I am going to assume to match:
From SB Reef | ML PWM Board
Ground ground
on/off pm/off
0-10v vdim
(null) V+

Is this correct?
Looks pretty close,with some assumptions. The adapter board needs 12v applied to V+.

Are there any other wires coming in to that board? I don't see how it is able to generate 0-10v without a voltage source (unless ON/OFF is actually 12v). Could you measure voltage on the ON/OFF pin in a few different settings (off, 30%, 60%, 100% for example).

We'll just need to confirm the ON/OFF pin and identify where 12v might be available.
 

oreo54

5000 Club Member
View Badges
Joined
Sep 18, 2017
Messages
5,585
Reaction score
3,439
Rating - 0%
0   0   0
Looks pretty close,with some assumptions. The adapter board needs 12v applied to V+.

Are there any other wires coming in to that board? I don't see how it is able to generate 0-10v without a voltage source (unless ON/OFF is actually 12v). Could you measure voltage on the ON/OFF pin in a few different settings (off, 30%, 60%, 100% for example).

We'll just need to confirm the ON/OFF pin and identify where 12v might be available.
Schematic..
2019-05-05T03%3A25%3A17.526Z-mars-aqua-adapter-schematic.png
 

jesster_rm80

New Member
View Badges
Joined
Apr 3, 2014
Messages
1
Reaction score
1
Location
Florida
Rating - 0%
0   0   0
I feel late to this party. I have a blackbox and want to control it with my Profilux 2...it is my understanding it will dim/control the lights with this? The profilux does 0-10v unless we convert it into pwm. Not sure how the Reefpi controls the bb lights. This board looks great! Just wanted to see what everyone thinks here. If easier to swap out the drivers I can also do that as I have some ldd-h and Eln drivers laying around. Thanks in advance!
 
OP
OP
Michael Lane

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
I feel late to this party. I have a blackbox and want to control it with my Profilux 2...it is my understanding it will dim/control the lights with this? The profilux does 0-10v unless we convert it into pwm. Not sure how the Reefpi controls the bb lights. This board looks great! Just wanted to see what everyone thinks here. If easier to swap out the drivers I can also do that as I have some ldd-h and Eln drivers laying around. Thanks in advance!
reef-pi typically uses PWM to control lights, which was part of my motivation for this board. If you already have 0-10v output from the profilux, then this circuit would not work for you since it boosts the voltage.

I've made a couple of changes to this design since the schematic above was posted. I've replaced the zener and potentiometer with a TL431. If you are interested, I could post an updated schematic and board layout.

It could probably be modified to work with 0-10v input with the following modifications.
- replace R7 and R8 with a 0 ohm resistor
- Leave R5 and R6 unpopulated

This would buffer the signal from the profilux (probably doesn't add much value), and automatically turn the lights off when it drops below the threshold. I'm not 100% sure it would work with profilux since I haven't tried it. It's also possible that the analog output doesn't actually drop to 0v, so it would be interesting to test it.
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
I'm coming into the party late as well.
I have a sbreeflights 32" basic that I have made a custom PCB to dim. The circuit is also plug and play, just disconnect from the dimmer boards and plug in the circuit. You do need some of these JST connectors to make the transition in the lights, as they are already used between all LEDs/Drivers/Dimmers...Digikey JST from Adafruit

@Michael Lane your board is much more developed and I am interested in it as well.
Currently I do not have the on/off connected in the circuit, but I have been wanting to make a v2 which includes that. I cant remember when I had the system apart whether there was 12v or 0v on the On/off pin when the dimmer knob was "clicked" all the way off.

I can pull my light off and re-test if needed.
Here are some pictures of the stock dimmer circuit, and my circuit.
20171111_195957 - Copy.jpg
20180131_192324_cropped.jpg
Custom Dimming Circuit Updated.jpg
 
OP
OP
Michael Lane

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
I'm coming into the party late as well.
I have a sbreeflights 32" basic that I have made a custom PCB to dim. The circuit is also plug and play, just disconnect from the dimmer boards and plug in the circuit. You do need some of these JST connectors to make the transition in the lights, as they are already used between all LEDs/Drivers/Dimmers...Digikey JST from Adafruit

@Michael Lane your board is much more developed and I am interested in it as well.
Currently I do not have the on/off connected in the circuit, but I have been wanting to make a v2 which includes that. I cant remember when I had the system apart whether there was 12v or 0v on the On/off pin when the dimmer knob was "clicked" all the way off.

I can pull my light off and re-test if needed.
Here are some pictures of the stock dimmer circuit, and my circuit.
20171111_195957 - Copy.jpg
20180131_192324_cropped.jpg
Custom Dimming Circuit Updated.jpg
@Ryan115 Nice! That looks perfectly workable. It looks like you might also have a capacitor in the circuit.

For the Mars Aqua lights, the on/off is controlled controlled by basically opening and closing a switch. In other words, when the light is on, the on/off pin is connected to 12v, and unconnected when off. I don't recall measuring if it is floating, or pulled to GND.

I'm happy to help if you have any questions.
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
@Ryan115 Nice! That looks perfectly workable. It looks like you might also have a capacitor in the circuit.

For the Mars Aqua lights, the on/off is controlled controlled by basically opening and closing a switch. In other words, when the light is on, the on/off pin is connected to 12v, and unconnected when off. I don't recall measuring if it is floating, or pulled to GND.

I'm happy to help if you have any questions.
There is a RC filter on the 10v PWM in that image. I forgot to mention that the light would not dim with the filter, so it has since been removed and the light is dimming off of straight 10v PWM from reef-pi. I dont remember what the stock frequency was though
 

reefin_with_the_fam

Active Member
View Badges
Joined
Oct 19, 2019
Messages
150
Reaction score
147
Rating - 0%
0   0   0
So is this essentially a plug and play board? The only thing I’d have to really make is the wires to daisy chain them? And it’s all controlled via just one pwm input correct? I don’t need to run individual inputs to each board?
 
OP
OP
Michael Lane

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
So is this essentially a plug and play board? The only thing I’d have to really make is the wires to daisy chain them? And it’s all controlled via just one pwm input correct? I don’t need to run individual inputs to each board?
It's plug and play for the Mars Aqua 165w lights. It needs 2 pwm inputs; one for the blue channel and another for the white channel. I have 8 lights daisy chained together so they all have the same behavior on each channel.
 

raketemensch

Ape That Likes Fish
View Badges
Joined
Oct 13, 2019
Messages
378
Reaction score
478
Location
Northwest CT
Rating - 0%
0   0   0
What're the plugs that one would need for daisy-chaining these and for connecting to the ph probes?

[edit] Be these they?

I'm ordering up a hat and one of these boards tonight, and want to pick up the other parts.

I already have a stack of DS18B20s from some earlier brewing projects.

Do you still need one of these for ph probes with the goby hat?

 
Last edited:

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,527
Reaction score
1,810
Location
RVA
Rating - 100%
1   0   0
What're the plugs that one would need for daisy-chaining these and for connecting to the ph probes?

I'm ordering up a hat and one of these boards tonight, and want to pick up the other parts.

I already have a stack of DS18B20s from some earlier brewing projects.

Do you still need one of these for ph probes with the goby hat?


Yes you still need the PH board. HAT does not have a PH circuit built into it.
 
Back
Top