Another reef-pi build.

OP
OP
b4tn

b4tn

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Review score
+0 /0 /-0
Location
Columbia MD
Rating - 0%
0   0   0
Me, coding? No! Code doesn't "speak" to me, the hardware does. I am a software USER. I like building stuff, that's probably as much of the appeal to this hobby as the living things in the tank. I can USE software, navigate file systems, edit files and I'm really good at using Google as well as following directions from people like @Ranjib who know what all the code means! The machines I work on have Linux (and older Unix based systems) as their operating system and I've gained a lot of knowledge from beating my head against the proverbial wall with them.

You pretty summed up me lol. I like building things and can follow directions pretty well. I have a very a basic understanding of linux but typically have to google the more advanced stuff. I do wish I knew more about coding. I was asking a software engineer friend of mine the other day if he knew python and he said "yeah I can code in python" so I asked for some learning resources and he said "google, thats how I would do it" Turns out he has never used python but feels confident enough that he could get around it quickly if needed. I guess some people are just wired to understand it better than others.
 
OP
OP
b4tn

b4tn

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Review score
+0 /0 /-0
Location
Columbia MD
Rating - 0%
0   0   0
@b4tn What is the second db9 connector to the right of the temp probes?

So one is actually an HD15 connector. The power box needed 8 pins for the GPIO and 2 more for power and ground so a DB9 wasnt going to work. The DB9 connector on the right goes to the doser motor box which is only 4 pins total with more if I decide to add more dosers. Its actually just a jebao doser that I am going to gut and re use the motors until I get nicer ones.

410m4BejGSL._SX425_.jpg
 

ScottBrew

Active Member
Review score
+0 /0 /-0
View Badges
Joined
Oct 17, 2018
Messages
385
Reaction score
865
Review score
+0 /0 /-0
Location
Dunedin Florida
Rating - 0%
0   0   0
You pretty summed up me lol. I like building things and can follow directions pretty well. I have a very a basic understanding of linux but typically have to google the more advanced stuff. I do wish I knew more about coding. I was asking a software engineer friend of mine the other day if he knew python and he said "yeah I can code in python" so I asked for some learning resources and he said "google, thats how I would do it" Turns out he has never used python but feels confident enough that he could get around it quickly if needed. I guess some people are just wired to understand it better than others.
Everybody has their specialty. Playing well together is what makes advancement possible, here and in life in general!
 
OP
OP
b4tn

b4tn

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Review score
+0 /0 /-0
Location
Columbia MD
Rating - 0%
0   0   0
Everybody has their specialty. Playing well together is what makes advancement possible, here and in life in general!

@ScottBrew Funny I was listing to a a guy speaking last night that had a job I had never heard of. His sole purpose in his job was to help the engineers communicate with the technicians lol. Evidently without an intermediary it was chaos.
 

Ranjib

7500 Club Member
Review score
+0 /0 /-0
View Badges
Joined
Apr 16, 2016
Messages
9,810
Reaction score
16,998
Review score
+0 /0 /-0
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@ScottBrew Funny I was listing to a a guy speaking last night that had a job I had never heard of. His sole purpose in his job was to help the engineers communicate with the technicians lol. Evidently without an intermediary it was chaos.
I can see that :) , communication is a big hurdle between disciplines
 
AquaCave Logo Banner

ScottBrew

Active Member
Review score
+0 /0 /-0
View Badges
Joined
Oct 17, 2018
Messages
385
Reaction score
865
Review score
+0 /0 /-0
Location
Dunedin Florida
Rating - 0%
0   0   0
@ScottBrew Funny I was listing to a a guy speaking last night that had a job I had never heard of. His sole purpose in his job was to help the engineers communicate with the technicians lol. Evidently without an intermediary it was chaos.

I can see that :) , communication is a big hurdle between disciplines

One of my favorite quotes is "I was not consulted during the design phase!" [from Jim, a guy I used to work with]. I'm often asking "what were they thinking?" when they designed this or wrote the software. Inaccessible bolts, taking half a machine apart to replace one small part, useless software tools, or specialty tools that nobody has, etc. That applies to what I do now, working on medical equipment, what I used to do, a mechanic or pretty much any other field. The engineers, mechanical, electrical or software have parameters they have to work within that aren't always (usually) compatible with anybody else's! As the technician, I have to put up with all of them.
 
OP
OP
b4tn

b4tn

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Review score
+0 /0 /-0
Location
Columbia MD
Rating - 0%
0   0   0
@Ranjib , do you know what causes this error? I originally tested the PCA9685 by putting my LED with current limiting resistor 4xx ohm iirc directly on the pwm pin to ground. It dimmed and worked like it should. Now I get nothing on the output pins and get the below error. I’m testing with 3 volt 20mA LED’s with a 100 ohm resistor. I don’t read any voltage with a meter on the pwm pins. Both data pins and vcc have 3.3 volts. I have tried disabling and re enabling the pca9685 with a reboot in config with no luck.

a03af12581b8b9802384816d36fae85e.jpg
 

Ranjib

7500 Club Member
Review score
+0 /0 /-0
View Badges
Joined
Apr 16, 2016
Messages
9,810
Reaction score
16,998
Review score
+0 /0 /-0
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib , do you know what causes this error? I originally tested the PCA9685 by putting my LED with current limiting resistor 4xx ohm iirc directly on the pwm pin to ground. It dimmed and worked like it should. Now I get nothing on the output pins and get the below error. I’m testing with 3 volt 20mA LED’s with a 100 ohm resistor. I don’t read any voltage with a meter on the pwm pins. Both data pins and vcc have 3.3 volts. I have tried disabling and re enabling the pca9685 with a reboot in config with no luck.

a03af12581b8b9802384816d36fae85e.jpg
The first error indicate pca9685 is not recognized. Check if you have i2c enabled and pca9685 address value is correct (using i2cdetect -y 1)
The second and third error indicate metric submission to adafruit failed twice. It happens sometime if you reboot pi, and reef-pi starts up earlier than netwok is setup (hence the metric submission failure).
 
Top Shelf Aquatics

Diamond1

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Oct 17, 2013
Messages
1,368
Reaction score
1,911
Review score
+0 /0 /-0
Location
Cleveland Ohio
Rating - 0%
0   0   0
So much on this project is starting to look like an afterthought. Here are the pn2222 transistors soldered in place. It’s messier than I like but the relays work like a charm now.
79727b52d23ff3658b57501245f80513.jpg

One of the things I have found in the process of redoing my boards is that a lot of the push on female jumper cables I used have a tendency to loosen up after they have been plugged onto the board a few times. I see that you have quite a few of them in your build could it be that some of them have loosened up on you?
I found that giving them a little squeeze with a pair of needle nose pliers tightens them back up a bit and might help with intermittent connections.

Just for a point of reference here's a pic of the AV plug mini xlrs and 1/8 stereo jack you asked about. The mini XLRs are looking to be my favorite so far and their footprint is only slightly bigger than the 1/8" jacks.

IMG_4614.JPG
 
Top Shelf Aquatics

Ranjib

7500 Club Member
Review score
+0 /0 /-0
View Badges
Joined
Apr 16, 2016
Messages
9,810
Reaction score
16,998
Review score
+0 /0 /-0
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
One of the things I have found in the process of redoing my boards is that a lot of the push on female jumper cables I used have a tendency to loosen up after they have been plugged onto the board a few times. I see that you have quite a few of them in your build could it be that some of them have loosened up on you?
I found that giving them a little squeeze with a pair of needle nose pliers tightens them back up a bit and might help with intermittent connections.

Just for a point of reference here's a pic of the AV plug mini xlrs and 1/8 stereo jack you asked about. The mini XLRs are looking to be my favorite so far and their footprint is only slightly bigger than the 1/8" jacks.

View attachment 915131
I love the mini xlrs, cant wait to put them on use :)
 

Diamond1

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Oct 17, 2013
Messages
1,368
Reaction score
1,911
Review score
+0 /0 /-0
Location
Cleveland Ohio
Rating - 0%
0   0   0
I love the mini xlrs, cant wait to put them on use :)

I like everything about them, good strong connection that locks in place, you don't need to worry about plugging them in with power on and they up solder nicely without a lot of heat on the plastic parts.
 
OP
OP
b4tn

b4tn

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Review score
+0 /0 /-0
Location
Columbia MD
Rating - 0%
0   0   0
One of the things I have found in the process of redoing my boards is that a lot of the push on female jumper cables I used have a tendency to loosen up after they have been plugged onto the board a few times. I see that you have quite a few of them in your build could it be that some of them have loosened up on you?
I found that giving them a little squeeze with a pair of needle nose pliers tightens them back up a bit and might help with intermittent connections.

Just for a point of reference here's a pic of the AV plug mini xlrs and 1/8 stereo jack you asked about. The mini XLRs are looking to be my favorite so far and their footprint is only slightly bigger than the 1/8" jacks.

View attachment 915131

I am not disappointed with what I have but those min xlr's do look nice. If I had to do it over I would probably get those.
 
Avast

Diamond1

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Oct 17, 2013
Messages
1,368
Reaction score
1,911
Review score
+0 /0 /-0
Location
Cleveland Ohio
Rating - 0%
0   0   0
@Diamond1 when you took apart your OR fixtures do you think there would be room to drill small holes for LED's in the rows that form an + between the lights? Or is it inaccessible?

There should be room. The drivers are about 3/4" to 1" above the base of the ligh and there's a space between them in the middle. Might even be enogh room for a low profile heatsink. I'll post some pics after work tonight.
 
OP
OP
b4tn

b4tn

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Review score
+0 /0 /-0
Location
Columbia MD
Rating - 0%
0   0   0
There should be room. The drivers are about 3/4" to 1" above the base of the ligh and there's a space between them in the middle. Might even be enogh room for a low profile heatsink. I'll post some pics after work tonight.

Awesome, thanks!
 
www.dinkinsaquaticgardens.com
OP
OP
b4tn

b4tn

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Review score
+0 /0 /-0
Location
Columbia MD
Rating - 0%
0   0   0
When you don’t have a breadboard but really, really, want to test out your idea lol. I have exactly one pin left in each of my 9 pin connectors and I have about 100 5mm blue LED’s so I decided to work moon lights into my build. 12 volts and ground are already available in the light housing so all I need is to run one of the 14 available PWM pins to the housing. Works perfect. The idea was to run 3 or 4 LED’s per housing and work them into the timers and ramping control. But I wasn’t sure how the best way to do would be. I ended up using 3 LED’s with a current limiting resistor of 150 ohms. Here is the circuit
01898bd88cdb5dca2ea7a60668610781.jpg


They are all in series but I may look into driving them In parallel so if one dies it doesn’t take out the whole circuit. In series they draw 20mA in parallel it would be more like 60mA which the PN2222 should handle easily.

My breadboardless test in series. 12 volt PWM and dimming works just fine
969fd16287f3ffc95bf10d091ac4ca63.jpg
 

Diamond1

Valuable Member
Review score
+0 /0 /-0
View Badges
Joined
Oct 17, 2013
Messages
1,368
Reaction score
1,911
Review score
+0 /0 /-0
Location
Cleveland Ohio
Rating - 0%
0   0   0
@b4tn Here's a shot of the inside of my lights. Hope it helps.
There looks like there might be enough room for a couple of leds right in the middle of the base. There's about 1 1/2 inches between the drivers. and the drivers hang down to just below the heatsinks.

IMG_4558.JPG
 

Polyp polynomial: How many heads do you start with when buying zoas?

  • One head is enough to get started.

    Votes: 27 10.6%
  • 2 to 4 heads.

    Votes: 145 57.1%
  • 5 heads or more.

    Votes: 65 25.6%
  • Full colony.

    Votes: 10 3.9%
  • Other.

    Votes: 7 2.8%
Hanna
Back
Top