reef-pi :: An opensource reef tank controller based on Raspberry Pi.

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0
Well im at a stopping point.

When looking over the led light parts i have all them.

But when trying to assemble them im having trouble.

Have anyone built these yet?
 

Cary

Well-Known Member
View Badges
Joined
Feb 19, 2016
Messages
638
Reaction score
766
Location
Allen, Tx
Rating - 0%
0   0   0
Ranjib. I am in Reef-pi/website. It looks like I can't seem to figure it out. I can't do a pull because the glossary has not been forked. Do I need to fork, then pull, enter the additions, and commit?
 

Cary

Well-Known Member
View Badges
Joined
Feb 19, 2016
Messages
638
Reaction score
766
Location
Allen, Tx
Rating - 0%
0   0   0
Ranjib. I am in Reef-pi/website. It looks like I can't seem to figure it out. I can't do a pull because the glossary has not been forked. Do I need to fork, then pull, enter the additions, and commit?
It also looks like I can click the pencil to fork the glossary project and edit the file. Is that the way you want me to do this?
 

Aaron Smith

Active Member
View Badges
Joined
Apr 9, 2017
Messages
250
Reaction score
273
Location
Oregon
Rating - 0%
0   0   0
Ranjib. I am in Reef-pi/website. It looks like I can't seem to figure it out. I can't do a pull because the glossary has not been forked. Do I need to fork, then pull, enter the additions, and commit?

Are you making pulled pork?[emoji15][emoji23]
 

Aaron Smith

Active Member
View Badges
Joined
Apr 9, 2017
Messages
250
Reaction score
273
Location
Oregon
Rating - 0%
0   0   0
Because my driver is 5v pwm I am powering the terminal from the pi
IMG_0206.JPG


Tank shot while I'm at it
IMG_0207.JPG
 
OP
OP
Ranjib

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
It also looks like I can click the pencil to fork the glossary project and edit the file. Is that the way you want me to do this?
Yes. Use github UI to fork the repository into your personal github profile. This will make a copy of the entire repo. Then edit the file you want in your own repo. Once you are comfortable with the changes, commit and raise a pull request. more here: https://help.github.com/articles/about-pull-requests/

if this sounds too much, email me the content, i'll update the docs over weekend
 
OP
OP
Ranjib

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
Well all i have right now is the pca9685 hooked up to the pi3. The i have my gnd and pwm hooked to my lights.
have you wired up the pca9685?... tutorial can be found here: https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/overview
Once wired, declare the pwm outlets in configuration file and restart reef-pi service. Because we are in the middle of a code change (all configuration file based modifications will be moved to UI based workflow, for ease), the configuration file is in bit of flusk, currently it should be like this
Code:
lighting:
  enable: true
  jacks:
     J1:
        pins:
           - 0
           -  1
       J2:
           pins:
             - 3
Where all connectors ae represented by individual jacks, which have name and an array of pins. Jacks can support multiple pins (each pin denotes the pin number from pca9685 board). For kessil, we need dual channel(J1) 3.5 mm audio jacks, while for most other things we need single channel (J2) barrel jacks. If you are using cat5 cable or vga cable you can have more than 2 pins, thus controlling more than 2 channel using a single jack/connector.

Once you have declared the jacks, and restarted reef-pi, you should be able to add/remove light and associate jacks with lights using UI. You can use a multimeter to test that pwm is working (should generate 0-5 v output)
 
OP
OP
Ranjib

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
Well all i have right now is the pca9685 hooked up to the pi3. The i have my gnd and pwm hooked to my lights.
Your lights require 10v signal. Dont hook up the pca9685 output to light controls yet, test the pca9685 is working as expected using reef-pi first (i.e. configure and test that its generating correct 5 v pwm).. then take the next step to hook up transistor+resistors + 10v DC supply to convert 5v pwm to 10v.
 

Cary

Well-Known Member
View Badges
Joined
Feb 19, 2016
Messages
638
Reaction score
766
Location
Allen, Tx
Rating - 0%
0   0   0
Yes. Use github UI to fork the repository into your personal github profile. This will make a copy of the entire repo. Then edit the file you want in your own repo. Once you are comfortable with the changes, commit and raise a pull request. more here: https://help.github.com/articles/about-pull-requests/

if this sounds too much, email me the content, i'll update the docs over weekend

Ranjib, It looks like I was able to create a pull though I noticed some errors afterward. Please edit as you wish.
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0
have you wired up the pca9685?... tutorial can be found here: https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/overview
Once wired, declare the pwm outlets in configuration file and restart reef-pi service. Because we are in the middle of a code change (all configuration file based modifications will be moved to UI based workflow, for ease), the configuration file is in bit of flusk, currently it should be like this
Code:
lighting:
  enable: true
  jacks:
     J1:
        pins:
           - 0
           -  1
       J2:
           pins:
             - 3
Where all connectors ae represented by individual jacks, which have name and an array of pins. Jacks can support multiple pins (each pin denotes the pin number from pca9685 board). For kessil, we need dual channel(J1) 3.5 mm audio jacks, while for most other things we need single channel (J2) barrel jacks. If you are using cat5 cable or vga cable you can have more than 2 pins, thus controlling more than 2 channel using a single jack/connector.

Once you have declared the jacks, and restarted reef-pi, you should be able to add/remove light and associate jacks with lights using UI. You can use a multimeter to test that pwm is working (should generate 0-5 v output)


So this is what my config looks like. Do i change it to what urs says.


Also is there a way to edit thru ssh? I tried but get a permission error. Ive been editing thru sudo nano

IMG_1922.JPG
 

TOP 10 Trending Threads

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

  • More helpful.

    Votes: 52 41.9%
  • More hurtful.

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

    Votes: 48 38.7%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 37 29.8%
Back
Top
Home
Post thread…
Market
What's new