Buddy's Reef-Pi Build

OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
Also is it possible to have the LEDs completely off?
0 = full power and no other number will turn them off.
100 also = full power, but I notice in the documentation that 100 should be off?
 
Last edited:

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
Put in the new voltage regulator and hooked it up to a couple of my LED drivers and it all works :)
The only one thing that I noticed is that my power supply for my LEDs is making a high pitch buzz now. It's not loud but definitely noticeable. Any idea why this might be happening?

20181224_141500.jpg
PWM frequency (100-1KHz)? I assume that the Meanwell driver have to follow this PWM signal but then the buzz should disappear if you turn the lights completely on or off. Quote from datasheet "◎ During PWM dimming operation, the output current will change to PWM style."
 
OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
PWM frequency (100-1KHz)? I assume that the Meanwell driver have to follow this PWM signal but then the buzz should disappear if you turn the lights completely on or off. Quote from datasheet "◎ During PWM dimming operation, the output current will change to PWM style."
It seems to have stopped on its own o_O
Anyways, just trying to figure out how to turn the LEDs off since no setting in reef-pi will turn them off.
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
Also is it possible to have the LEDs completely off?
0 = full power and no other number will turn them off.
100 also = full power, but I notice in the documentation that 100 should be off?
There is an issue in Reef-pi with 100% Rajib has confirmed, see https://www.reef2reef.com/posts/4558992/ So try 99% According the Meanwell documentation a PWM value <0.4V (LDD 1'000 ~ 1'500) should switch off the LED's. The PWM voltage at 99% should be around 0.05V (reversed signal due to transistor circuit).
 
OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
There is an issue in Reef-pi with 100% Rajib has confirmed, see https://www.reef2reef.com/posts/4558992/ So try 99% According the Meanwell documentation a PWM value <0.4V (LDD 1'000 ~ 1'500) should switch off the LED's. The PWM voltage at 99% should be around 0.05V (reversed signal due to transistor circuit).
99% gives me the same brightness as 0% and 100% and I am not too sure why.
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
99% gives me the same brightness as 0% and 100% and I am not too sure why.
Disconnect the Meanwell driver and measure voltage at the PWM output of the PWM Module at different percentages, then at least we can see if the PWM module is working correctly.
 
OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
Deleted all the lights and jacks and re added them. I had the lights set as 'active low' earlier, but I have kept them at active high for now.
LEDs are still on at 99%, but just extremely dim. If I use my Typhon controller at 0% the LEDs are off.

With LDD disconnected.
100% = 5v
99% = 0v
50% = 2.5v
1% = 4.88v
0% = 5v

piled.PNG
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
Deleted all the lights and jacks and re added them. I had the lights set as 'active low' earlier, but I have kept them at active high for now.
LEDs are still on at 99%, but just extremely dim. If I use my Typhon controller at 0% the LEDs are off.

With LDD disconnected.
100% = 5v
99% = 0v
50% = 2.5v
1% = 4.88v
0% = 5v

piled.PNG
This all looks as expected (you can see that 0 and 100% both give 5V). Also the 99% is ok and should switch off your LED's, but for sure the PWM module is working as expected. Now it would be interesting to have the values with the Meanwell LDD connected, at 99% I see no reason why the Meanwell driver PWM input would not drop to 0V as well.
 
OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
With LDD connected and LEDs on.
100% = 5v
99% = 0.01v (very dim but still on)
50% = 2.5v
1% = 4.88v
0% = 5v

Also just checking that the correct behavior when powering off the reef-pi is that the LEDs completely turn off.
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
With LDD connected and LEDs on.
100% = 5v
99% = 0.01v (very dim but still on)
50% = 2.5v
1% = 4.88v
0% = 5v

Also just checking that the correct behavior when powering off the reef-pi is that the LEDs completely turn off.
Looks like the threshold doesn't work for PWM and still 1% of the pulse is forwarded. Can you try following:

Change "behavior" to Active Low and set fixed value at 0%, then LED's should (theoretically) switch off completely.
 
OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
Looks like the threshold doesn't work for PWM and still 1% of the pulse is forwarded. Can you try following:

Change "behavior" to Active Low and set fixed value at 0%, then LED's should (theoretically) switch off completely.
Active low on
Fixed 0% = 5v and full brightness.
 
OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
That's very strange as it should have reversed the output :( :confused:
Well I had it originally set to Active Low because then 1% = dim and then 100% = bright
When it is Active High its backwards.
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
Some other option to try since the resistor/transistor circuitry inverts the output signal. Can you try following:
a) Leave GND connection to Meanwell LDD
b) Connect PWM input to resistor R9 (closest to wording R9). Basically you then connect directly to the PCA9685 chip without inversion
 
OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
@wykat is this where you wanted me to connect the pwm wire to? I soldered it to the underside of the board to the resistor.
I get the same results as if it is connected to port one on Active High... 1% is bright and 99% is dim.
0% and 100% are both 5v.

If on Active Low, 0%, 99% and 100% are all bright, 1% is dim.

It seems the difference between high and low is that high 99% is dim and low 99% is full brightness.

20181224_210534.jpg
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
@wykat is this where you wanted me to connect the pwm wire to? I soldered it to the underside of the board to the resistor.
I get the same results as if it is connected to port one on Active High... 1% is bright and 99% is dim.
0% and 100% are both 5v.

If on Active Low, 0%, 99% and 100% are all bright, 1% is dim.

It seems the difference between high and low is that high 99% is dim and low 99% is full brightness.

20181224_210534.jpg
No, sorry my mistake. With this connection it's the same as connecting to the connector as you experience. What I meant is for channel 0, R1 on the left side (without circle) closest to the R9 text. That pin goes directly to the PCA9685 chip, offering 5V output and is not inverted.
 
OP
OP
buddy.

buddy.

Active Member
View Badges
Joined
May 16, 2018
Messages
291
Reaction score
617
Location
Australia
Rating - 0%
0   0   0
Alright some new results...

Active High on
0% = Off!
1% = dim
99% = bright
100% = Off
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
Alright some new results...

Active High on
0% = Off!
1% = dim
99% = bright
100% = Off
So that works :) Sorry to say but the Reef-PI_PWM board is an overkill for you since you didn't need a 10V input signal to the Meanwell LDD for which the PWM is designed (e.g. 0-5V from PCA9685 -> 10-0V). The 100% off is what I wrote before and confirmed by @Ranjib. Good to know that we could solve it.

for the other channels you can do the same with R2-R8 and R17, R19, R21, R23, R25, R27, R29 and R31. You didn't need the resistor/transistor/capacitors nor voltage regulator ;)
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 2 15.4%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 0 0.0%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 0 0.0%
  • I wear reef gear primarily to relax where I live.

    Votes: 1 7.7%
  • I don’t wear gear from reef brands.

    Votes: 10 76.9%
  • Other.

    Votes: 0 0.0%
Back
Top