Meanwell LDD/Cree LEDs & Reef-Pi problem

CadTS25

New Member
View Badges
Joined
Jan 30, 2019
Messages
8
Reaction score
11
Rating - 0%
0   0   0
Hi everyone,
I am trying to control some Cree LEDs driven by Meanwell LDD drivers with the reef-pi.
I have wired everything according to the description and as shown in the diagram below. So, the circuit is:

5V-Pi to VCC-Pca9685
Gnb-pi to gnd-pca9685
SDA-pi to SDA-pca9685
SCL-pi to SCL-pca9685
PWM-ldd board to pwm-pca9685
Outbound gnd-pca9685 to ldd board out v-
Ldd board out v+ to led chain +
Other Ldd board out v- to led chain
Ldd board v+ in to meanwell power supply
Ldd board v- in to meanwell power supply v-

I have configured the lights in the reefpi by assigning a jack , choosing the pca9685 driver and selecting pin 0. However, my lights are always off. If I unplug the pwm cable then they turn on at 100%
What am I doing wrong? Am I missing something?

0E7EFE6C-F766-4A86-9799-DD01014B0913.jpeg
26B78368-F493-46BE-85B8-9CE36150435E.jpeg
39E93259-5563-4AD1-9242-E6693C7A4580.jpeg
961D6AFC-94D8-4F88-A970-1D3F0A9E1252.jpeg
C3A6F267-2168-48A9-B20E-ACB08BE8FC0B.jpeg
DFA339CB-FABB-4E9F-8DEA-FBD957C224E1.jpeg
Screen Shot 2019-02-14 at 11.05.37 AM.png
B5E40172-0C93-49DD-BCF5-89AA88B0A1A0.jpeg
 

oreo54

5000 Club Member
View Badges
Joined
Sep 18, 2017
Messages
6,930
Reaction score
4,127
Rating - 0%
0   0   0
Most "common" mistake is not having the LED power supply common-ed (-) w/ the rest of the system..
I'd let others verify though..and tell you where to put it..
 
OP
OP
CadTS25

CadTS25

New Member
View Badges
Joined
Jan 30, 2019
Messages
8
Reaction score
11
Rating - 0%
0   0   0

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
I'm using a similar driver board with reef-pi for some of my lights. I don't see anything immediately wrong with the wiring. Are you able to confirm that you are getting the expected signal from the PCA9685?
Can you confirm that you have pca9685 enabled in reef-pi?
upload_2019-2-25_14-6-21.png
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
I see the screenshots for most of the configurations, but don't see if you had the option to Enable pca9685 checked. If it is checked, try setting the brightness to 50% and measure the voltage on the output. Most meters will average the reading, so you should get around 2.5v.
 
OP
OP
CadTS25

CadTS25

New Member
View Badges
Joined
Jan 30, 2019
Messages
8
Reaction score
11
Rating - 0%
0   0   0
For no particular reason, it just started to work. I did not do any changes, just booted the system again and it started to work. Before that I had done at least 10 reboots (and cold starts) and nothing changed. Now, for some reason it is working (I rebooted again to make sure it will stay working and it stayed working. Weird but who cares, it works now!

However, I hear a whine coming from the ldd drivers. Is that normal?
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Everytime you change settings (like enable pca9685), you have to reload reef-pi for that change to take effect
 
OP
OP
CadTS25

CadTS25

New Member
View Badges
Joined
Jan 30, 2019
Messages
8
Reaction score
11
Rating - 0%
0   0   0
Everytime you change settings (like enable pca9685), you have to reload reef-pi for that change to take effect
Yes, must have been that. Although I am sure that I reloaded reef-pi and even restarted the pi itself a couple of times without changing something. Odd, but ok. I am very happy that I can move on.
Hopefully I can fix the whine noise coming from the ldd drivers (I would not mind so much the noise if I would know for sure that the drivers are fine).
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Keep us posted. I got busy with some stuff (first flu, and now bad weather). We’ll sort out the pwm frequency issue soon as we can, in case that’s something useful here
 

oreo54

5000 Club Member
View Badges
Joined
Sep 18, 2017
Messages
6,930
Reaction score
4,127
Rating - 0%
0   0   0
Keep us posted. I got busy with some stuff (first flu, and now bad weather). We’ll sort out the pwm frequency issue soon as we can, in case that’s something useful here
100-1kHz for the LDD-h's..per spec sheet.

3bcf4382-1930-4008-b366-87b2e87e8654-jpeg.990840
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
100-1kHz for the LDD-h's..per spec sheet.

3bcf4382-1930-4008-b366-87b2e87e8654-jpeg.990840
If his is like mine, the 1500 serting may be "stuck" and may not be able to be changed. Thats been my problem, the fet boards im using for my lights also take 1khz max, the high freq may be making the meanwells make the noise.

You can try lowering the freq, but if you measure it, im betting it dont move from 1500. This is the bug ive reported on.
 
OP
OP
CadTS25

CadTS25

New Member
View Badges
Joined
Jan 30, 2019
Messages
8
Reaction score
11
Rating - 0%
0   0   0
I would like to implement a atlas scientific pH probe and a ds3221 real time clock, both of which connect to the sda and scl pins like the pca9685. My question is rather simple as I am a beginner. Can I connect all 3 devices to the pi by using a breadboard, or should I connect first the pca9685 to the pi and then the pH probe to the outgoing sda/scl of the pca9685?
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
I would like to implement a atlas scientific pH probe and a ds3221 real time clock, both of which connect to the sda and scl pins like the pca9685. My question is rather simple as I am a beginner. Can I connect all 3 devices to the pi by using a breadboard, or should I connect first the pca9685 to the pi and then the pH probe to the outgoing sda/scl of the pca9685?
Either way should work fine, so choose whichever is more convenient to wire.
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
You got the pwm bits working ?
 

TOP 10 Trending Threads

DO YOU THINK TECHNOLOGICAL ADVANCEMENTS ARE MORE HELPFUL OR HURTFUL TO REEFING?

  • More helpful.

    Votes: 49 41.2%
  • More hurtful.

    Votes: 5 4.2%
  • I think it depends mostly on the technology.

    Votes: 47 39.5%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 36 30.3%
Back
Top
Home
Post thread…
Market
What's new