Reef-pi dimming controller

figaro93

Community Member
View Badges
Joined
Jan 5, 2019
Messages
65
Reaction score
60
Rating - 0%
0   0   0
hi guys, I have a new problem ...
waiting to finish the main I started to build the controller for lighting will be a self-built 600w led with 12v driver dimmable 0 / 10v (what you see in the picture)
I mounted the whole controller as a guide adafruit and here are the photos too!
but I can not start a fan connected to the driver (powered by 12v)
in practice, the current at the 0 / 10v input does not arrive.
How can I solve?
A help?
thank you
ps. I connected the gpio and v + together and the ground alone but it does not get the current there

@Ranjib

1EF90978-B863-40F3-A6D9-7F68DDAA079B.jpeg


27EDB949-E6BE-4DA2-81D7-8016AE93F94F.jpeg


E1836880-5D33-41DF-8615-3242F6958E48.jpeg


0FE1B604-493B-4BC7-9871-F9DDF043D5AE.jpeg


0B30849D-86DC-4A2A-BA6F-9B85A1C12789.jpeg
 
OP
OP
figaro93

figaro93

Community Member
View Badges
Joined
Jan 5, 2019
Messages
65
Reaction score
60
Rating - 0%
0   0   0
I have to take a look at it later.
but I think I have not brought the 10v to the transistors of this I'm not sure
I can update later
 
OP
OP
figaro93

figaro93

Community Member
View Badges
Joined
Jan 5, 2019
Messages
65
Reaction score
60
Rating - 0%
0   0   0
updating for the transistors the 10v voltage arrives and even to the connectors I have only one problem I can not reduce the voltage through reef-pi I have also configured the adafruit card pca9685 which is read sa raspberry p0w but I can not give the commands to dim the leds @Ranjib could you pass me the text to add to the commands?
Tanks
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I am sorry I am having a hard time understand. Let’s break it down even farther. What’s working , what’s not working, let’s check continuity and voltage at each junction
 
OP
OP
figaro93

figaro93

Community Member
View Badges
Joined
Jan 5, 2019
Messages
65
Reaction score
60
Rating - 0%
0   0   0
then I try to explain myself better ...
I did the test and from the transistors the power of 10v is delivered and so on everything okey ...
while reading your guide on adafruit to build the controller lights I came across a link that explained how to best use the pca9685 and to use it you had to install a library that provides adafruit right?
I tried to install the PWM / Servo library but I can not ...
could you please explain how I can solve?
 
OP
OP
figaro93

figaro93

Community Member
View Badges
Joined
Jan 5, 2019
Messages
65
Reaction score
60
Rating - 0%
0   0   0
I am sorry I am having a hard time understand. Let’s break it down even farther. What’s working , what’s not working, let’s check continuity and voltage at each junction

the voltage arrives on all the transistors at 10v and above I have a voltage of 5v as explained in your guide
 

boneone

Community Member
View Badges
Joined
Dec 15, 2018
Messages
43
Reaction score
15
Rating - 0%
0   0   0
i am planing to start with the same, led controller as my first PI function.
following...
 
Last edited:
OP
OP
figaro93

figaro93

Community Member
View Badges
Joined
Jan 5, 2019
Messages
65
Reaction score
60
Rating - 0%
0   0   0
[QUOTE = "boneone, post: 5601754, member: 113690"] hai una porta pwm sul tuo driver? o stai correndo 12V su PCA9685 ???

sto progettando di iniziare con lo stesso controller a led come la mia prima funzione PI.
segue ... [/ QUOTE]

well no!
the pca9685 I fed it with the 5v which is the same voltage with which raspberry food at 10v instead feeds the transistors and connectors pwm
 

boneone

Community Member
View Badges
Joined
Dec 15, 2018
Messages
43
Reaction score
15
Rating - 0%
0   0   0
my planed controller is for 4-5 LDD-****H they can use 5V pwm so it might be very easy, i hope so ^^
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
then I try to explain myself better ...
I did the test and from the transistors the power of 10v is delivered and so on everything okey ...
while reading your guide on adafruit to build the controller lights I came across a link that explained how to best use the pca9685 and to use it you had to install a library that provides adafruit right?
I tried to install the PWM / Servo library but I can not ...
could you please explain how I can solve?
reef-pi does not use adafruit libraries, I do not know why they are not working.
Can you check the error thats visible in reef-pi UI (under configuration -> errors). Do you have i2c enabled?
 
OP
OP
figaro93

figaro93

Community Member
View Badges
Joined
Jan 5, 2019
Messages
65
Reaction score
60
Rating - 0%
0   0   0
reef-pi does not use adafruit libraries, I do not know why they are not working.
Can you check the error thats visible in reef-pi UI (under configuration -> errors). Do you have i2c enabled?
after checking what error it may be
so you tell me that I did not have to install the libraries?
just connect it and it works?
yes i enabled i2c
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
after checking what error it may be
so you tell me that I did not have to install the libraries?
just connect it and it works?
yes i enabled i2c
yes. lets do some methodical troubleshooting
- With pca9685 connected, can you run this command in Raspberry pi terminal and show the output
Code:
i2cdetect -y 1
- I am assuming you have created a Jack and Light in reef-pi UI. If not do it, use pca9685 as driver to create a jack (and use a pin .. anywhere between 0-15)
- Now set the light intensity to 50% fixed.
- Check reef-pi log, and check voltage output from pca9685

Does these 4 steps work as expected. Lets address this ones first before trying anything else.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
Another thing to check is to make sure that PCA9685 is enabled in reef-pi software.
That setting is at Configuration - settings - Enable PCA9685

upload_2019-1-19_12-56-5.png
 
OP
OP
figaro93

figaro93

Community Member
View Badges
Joined
Jan 5, 2019
Messages
65
Reaction score
60
Rating - 0%
0   0   0
[QUOTE = "Ranjib, post: 5602565, membro: 67835"] si. lascia fare qualche risoluzione metodica
- Con pca9685 connesso, puoi eseguire questo comando nel terminale Raspberry pi e mostrare l'output
[codice]
i2cdetect -y 1
[/codice]
- Suppongo che tu abbia creato un Jack and Light nell'interfaccia di reef-pi. Se non lo fai, usa pca9685 come driver per creare un jack (e usa un pin .. ovunque tra 0-15)
- Ora imposta l'intensità della luce al 50% fissa.
- Controllare il registro reef-pi e controllare l'uscita di tensione da pca9685

Questi 4 passaggi funzionano come previsto. Prima di provare qualcos'altro, rivolgiti a questi. [/ QUOTE]

if I enter the command i2p gives me in table 0x40 and 0x70 then I assume that the card is connected correctly ... yes I created the 3 jacks as in your guide with the name pca9685 I tried to move something in the commands but nothing happens. the card is on and the raspberry also lights up
 
OP
OP
figaro93

figaro93

Community Member
View Badges
Joined
Jan 5, 2019
Messages
65
Reaction score
60
Rating - 0%
0   0   0
Another thing to check is to make sure that PCA9685 is enabled in reef-pi software.
That setting is at Configuration - settings - Enable PCA9685

upload_2019-1-19_12-56-5.png

Thank you for your answer... I think I have enabled that command (at least I hope) tonight on my return home check (it would be great if it would be the only thing I forgot)
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
In the original pictures I see SDA and SCL connected on the pi, but it looks like nothing is connected to SCL on the PCA9685.
Is it just not showing up in the pictures?
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
[QUOTE = "Ranjib, post: 5602565, membro: 67835"] si. lascia fare qualche risoluzione metodica
- Con pca9685 connesso, puoi eseguire questo comando nel terminale Raspberry pi e mostrare l'output
[codice]
i2cdetect -y 1
[/codice]
- Suppongo che tu abbia creato un Jack and Light nell'interfaccia di reef-pi. Se non lo fai, usa pca9685 come driver per creare un jack (e usa un pin .. ovunque tra 0-15)
- Ora imposta l'intensità della luce al 50% fissa.
- Controllare il registro reef-pi e controllare l'uscita di tensione da pca9685

Questi 4 passaggi funzionano come previsto. Prima di provare qualcos'altro, rivolgiti a questi. [/ QUOTE]

if I enter the command i2p gives me in table 0x40 and 0x70 then I assume that the card is connected correctly ... yes I created the 3 jacks as in your guide with the name pca9685 I tried to move something in the commands but nothing happens. the card is on and the raspberry also lights up
Ok. So pca9685 is detected , that also means i2c is configured. What about the reef-pi log ? What does reef-pi log shows when you change dimming from the ui ?
 

Creating a strong bulwark: Did you consider floor support for your reef tank?

  • I put a major focus on floor support.

    Votes: 45 41.3%
  • I put minimal focus on floor support.

    Votes: 23 21.1%
  • I put no focus on floor support.

    Votes: 38 34.9%
  • Other.

    Votes: 3 2.8%
Back
Top