Troutt's Reef-Pi Build

So you need +12v signal to turn the led driver on correct? Can u invert the outlet in reef pi so that a low signal is on and a high signal off?
 
You can still use it, but you have to invert the outlet in reef pi configuration and probably add a resistor on the high side. I wish i was better at drawing a quick circuit on the computer, maybe someone could chime in and help here.
 
You can still use it, but you have to invert the outlet in reef pi configuration and probably add a resistor on the high side. I wish i was better at drawing a quick circuit on the computer, maybe someone could chime in and help here.

Excuse my rough drawing but here is how I have everything connected.

There is a reverse option in reef pi. With just that switch flipped driver does not turn on

AB23D7A1-40CA-4470-8A69-6D7BD9F130E9.jpeg
 
Ok first off is that a ulq2002a? If so the reef pi wont have enough voltage to run it, it needs 14 volts to turn it on, you need a ulq2003, a uln2003 or a uln2803 to be able to turn on the darlington from logic level
 
Ok first off is that a ulq2002a? If so the reef pi wont have enough voltage to run it, it needs 14 volts to turn it on, you need a ulq2003, a uln2003 or a uln2803 to be able to turn on the darlington from logic level

It’s a 2003a. I was aware of the difference and got the ones that are logic level compatible. I just noticed I was an idiot and wrote 2002a....
 
Ok give me a minute and ill make a quick drawing on paper for you.
Heres a pic and a quick explanation.
You still need to invert the outlet in reef pi.
When gpio turns on, ulq2003 output goes to ground which gives your on off switch 0 volts.
When gpio turns off, ulq2003 output is not connected to anything, so the on off switch gets 12v thru the 1k resistor(limits current)
20181222_210246.jpg

Before you attach this to the on off, test this at the dot i have on the diagram to see if you get 12v and 0 volts when toggling the outlet gpio on and off
 
Last edited:
@Diamond1 that’s fair

Hey let me ask you this question. With the wykat boards. I don’t have u1 yet so that spot is open but the darlington transistors are not putting out the right voltage. I see voltage on the output pins but less than a volt on the 5v darlington that drive my power outlets and just a tad over a volt for the one that is supposed to drive my led drivers.

I cut the trace that originally cut the trace on the board that fed one of the darlingtons 5v and hard wired a 12v line to that pin. Not sure what is going on.

Not sure what's going on with the 1v output you have. I'm using 2 ULN2803 chips and they both output 5v.

I tried to keep everything as simple as I could since I have a very limited knowledge of electronics.
That's why I used relays for off on. Not the best solution but it has worked flawlessly for the last week while I'm bench testing the new setup.
 
This is where circuits don't make sense to me. Seems to me that current would flow through the Darlington or the resistor, whichever has least resistance. In my head it would always be on either way? I am in no way saying your wrong.
 
This is where circuits don't make sense to me. Seems to me that current would flow through the Darlington or the resistor, whichever has least resistance. In my head it would always be on either way? I am in no way saying your wrong.
It flows thru the darlington output to ground when the input is on, so the test point where the on/off switch is gounded at zero volts when the darlington is on...the 12 volts is used by the resistor.
When the input is off, the darlington is no longer on and the output is not "connected" to anything, so the test point is sitting at 12 volts.
 
Not sure what's going on with the 1v output you have. I'm using 2 ULN2803 chips and they both output 5v.

I tried to keep everything as simple as I could since I have a very limited knowledge of electronics.
That's why I used relays for off on. Not the best solution but it has worked flawlessly for the last week while I'm bench testing the new setup.

I have a bad darlington array grr. Replacing that and will see how things go
 
It flows thru the darlington output to ground when the input is on, so the test point where the on/off switch is gounded at zero volts when the darlington is on...the 12 volts is used by the resistor.
When the input is off, the darlington is no longer on and the output is not "connected" to anything, so the test point is sitting at 12 volts.

Ok I am understanding how it is supposed to work. But I am trying to control 4 separate drivers from one darlington array. That is why I wanted to use a separate 12v source for the signal instead of the 12v from the driver.
 
Ok I am understanding how it is supposed to work. But I am trying to control 4 separate drivers from one darlington array. That is why I wanted to use a separate 12v source for the signal instead of the 12v from the driver.
Oh..in that case it may not work unless all your drivers grounds are connected to the same ground as the ulq chip, and the ground to your seperate 12v source, so everything has the same reference point. It may be easier to use a 2n3904 transistor for each driver in that case...
But if you want to try make sure everything has a common ground and test voltages at the test point before hooking up the on off of your driver.
 
Oh..in that case it may not work unless all your drivers grounds are connected to the same ground as the ulq chip, and the ground to your seperate 12v source, so everything has the same reference point

I can connect all the grounds from the driver connector to the same ground as the darlington array. The 12v source is in the box and is connected to all the other grounds.
The ground on the PCA9685 board is connected to the ground of the pi which is connect to the 12v ground.

If I’m not using the 12v from the driver do I still need the 1k resistor?
 
I can connect all the grounds from the driver connector to the same ground as the darlington array. The 12v source is in the box and is connected to all the other grounds.
The ground on the PCA9685 board is connected to the ground of the pi which is connect to the 12v ground.

If I’m not using the 12v from the driver do I still need the 1k resistor?
Yes it serves to limit current when the darlington is connected to ground...otherwise it becomes a dead short to ground. The resistor should also be rated at 1/4 watt
 
Last edited:
Yes it serves to limit current when the darlington is connected to ground...otherwise it becomes a dead short to ground. The resistor should also be rated at 1/4 watt

So each driver line needs its own 1k resistor. Just making sure.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top