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

815reefer

New Member
View Badges
Joined
Feb 16, 2017
Messages
19
Reaction score
27
Rating - 0%
0   0   0
So i just got home i had it set to 5v at 50% when i move slider to 99% it reads 9.21 should it be 9.9? Also i set the max to 99 and 100 still drops to 0. I am using versuo 1.4 currently i just seen you dropped 1.5 today. Keep up the good work guys.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
So i just got home i had it set to 5v at 50% when i move slider to 99% it reads 9.21 should it be 9.9? Also i set the max to 99 and 100 still drops to 0. I am using versuo 1.4 currently i just seen you dropped 1.5 today. Keep up the good work guys.
You are using the same circuit as the kessil controller guide and with a pca9685 board?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
So i just got home i had it set to 5v at 50% when i move slider to 99% it reads 9.21 should it be 9.9? Also i set the max to 99 and 100 still drops to 0. I am using versuo 1.4 currently i just seen you dropped 1.5 today. Keep up the good work guys.
also check the voltage reading coming out of pca9685 directly. I'll run a set of test on my end with 10% increments. Last time I checked it was pretty consistent, to +/- .1 decimal range. They were not exactly on point.
 

Bronc

Valuable Member
View Badges
Joined
Mar 1, 2016
Messages
1,348
Reaction score
2,212
Location
Tulsa, OK
Rating - 0%
0   0   0
Hello hive minds,
I have cut a new release of reef-pi, 1.5. This is one of the largest release by sheer amount of code change that went in since 1.4 release. 1.5 release contains several key changes that we need for 2.0 release without breaking any existing features significantly (more on that shortly).
Major highlights of release 1.5 is
  • Introduction of a customizable dashboard. From 1.5 onwards users will be able to configure the reef-pi dashboard, in terms of the charts grid (how many rows and columns) and height width of individual charts. A new "dashboard" section under "Configuration" tab let's user specify the grid , individual chart width & height and contains of the grid. This will allow users to build dashboard specific to the features they are using, the charts order and dimensions to fit in the primary device they are using to view the charts (tablets, laptop , phone etc). For example a temperature only controller can configure reef-pi to show only 1x1 grid (i.e. only one chart) that fits in the entire screen (say 1200px width and 800px height). This is a key features that was required for 2.0 functionalities (multiple ato and temperature sensor), which will make the older dashboard unusable (since it assume only one temperature or ato sensor)
  • A new connector type named "inlet" has been introduced. This connector will denote all digital inputs like ato sensor, tactile buttons, leak detectors etc. As of now its not being used by any of the existing sub-system. In future I plan to integrate the ATO system (which currently uses raw GPIO number as sensor pin). This was another required feature to support multiple ato sensor. We'll use "inlets" for implementing leak detector or a generic purpose `if this happens then do that` style sub-system, that users can leverage to automate leak detectors, door switches (automatically turning on cabinet light when door is open etc) type inputs
  • The "jack" connector has been rewritten to support both pca9685 as well as rpi based pwm output. This is a strategic work for reef-pi, which comes at a cost. Historically reef-pi used only pca9685 to generate pwm output. Since last February, Raspberry Pi exposed the two hardware time (pwm) from its processor, which we can use now. To accommodate this (let users use Pi instead of PCA9685 based pwm output) the "jack" logic has been rewritten. User can now specify the driver type (rpi or pca9685) while creating a jack, other than specifying the pin numbers. One benefit of this feature is if you are building a kessil controller or two part doser, then you only need two pwm output, which pi can provide. This will save 12$ and some space in housing , since user will not need the pca9685 chip. One bad side effect of this work is if you are using pwm on older reef-pi installation, they wont work after update. Users have to recreate the jacks and light in 1.5 (take a screenshot of your settings before your upgrade)
  • We have a favicon now :) . Its a tiny icon consist of two greek letter, r and pi that can be observed on brower tabs. Users will find it easy to detect which tab reef-pi is in, when multiple browser tabs are open.
  • reef-pi now validates GPIO and pwm pin numbers. We have seen multiple issues arising from wrong GPIO settings. I hope this will fix some of that.
There are many other small non-feature tech related changes that also went in , including go 1.10 based binary (faster and more efficient), various bug fixes, improvement of developer environment using dockerfile (thanks @theatrus ) etc. A big changes on that front was migrating to in-house pca9685 and i2c driver instead of embd library. This will ease long term maintenance of reef-pi easier.

Release packages can be found in usual location: https://github.com/reef-pi/reef-pi/releases/tag/1.5

Some screen shots:
2x2 dashboard

Screen Shot 2018-04-10 at 10.16.22 PM.png

Settings for custom dashboard
Screen Shot 2018-04-10 at 10.16.34 PM.png


New connector type "inlet"
Screen Shot 2018-04-10 at 10.16.47 PM.png


Jack connectors now has a type (pca9685 or rpi)
Screen Shot 2018-04-10 at 10.17.14 PM.png


Thats all for now,
happy reefing
I just upgraded to 1.5 but do not have the dashboard under configuration. I verified that dashboard is checked under settings and have reloaded.
 

Bronc

Valuable Member
View Badges
Joined
Mar 1, 2016
Messages
1,348
Reaction score
2,212
Location
Tulsa, OK
Rating - 0%
0   0   0
I just upgraded to 1.5 but do not have the dashboard under configuration. I verified that dashboard is checked under settings and have reloaded.
Nevermind, perhaps I wasn’t patient enough. It is showing up now.

Looks great!
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
is there a way to reset user name and password..

For some odd reason my reef-pi is not accepting them... I know I am using the right password but its just not working ..
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
is there a way to reset user name and password..

For some odd reason my reef-pi is not accepting them... I know I am using the right password but its just not working ..
Ssh Inyo your pi , and run
Code:
sudo strings /var/lib/reef-pi/reef-pi.db
Should reveal your user id and password
 

815reefer

New Member
View Badges
Joined
Feb 16, 2017
Messages
19
Reaction score
27
Rating - 0%
0   0   0
also check the voltage reading coming out of pca9685 directly. I'll run a set of test on my end with 10% increments. Last time I checked it was pretty consistent, to +/- .1 decimal range. They were not exactly on point.
Ill check that tonight what voltage should i be seeing?
 

815reefer

New Member
View Badges
Joined
Feb 16, 2017
Messages
19
Reaction score
27
Rating - 0%
0   0   0
Okay so at 99% I'm getting 3.6volts. At 50% I'm getting 1.69 volts. And at 5% I'm getting .18 volts.
 

815reefer

New Member
View Badges
Joined
Feb 16, 2017
Messages
19
Reaction score
27
Rating - 0%
0   0   0
Just to verify I hooked this up right. I have vcc to 5v off the pi and gnd to gnd than scl to pin to scl1 on the pi and sda to sda1 on the pi.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Just to verify I hooked this up right. I have vcc to 5v off the pi and gnd to gnd than scl to pin to scl1 on the pi and sda to sda1 on the pi.
yup.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Okay so at 99% I'm getting 3.6volts. At 50% I'm getting 1.69 volts. And at 5% I'm getting .18 volts.
This is not good. Can you post an image of your setup (unless you have already posted it). Is it possible to test this in isolation. i.e. disconnect everything except pi+ pca9685
 

815reefer

New Member
View Badges
Joined
Feb 16, 2017
Messages
19
Reaction score
27
Rating - 0%
0   0   0
This is not good. Can you post an image of your setup (unless you have already posted it). Is it possible to test this in isolation. i.e. disconnect everything except pi+ pca9685
It's a little messy right now. The pca9685 is just temporary while I figure it out. Also just ordered a 3d printer maybe ill have a cool case soon. [emoji16]
7c1a6b85b212bf41699f944cb2e7939c.jpg
99b4c14afe39c083a32228c744973c67.jpg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Okay so I think I got it narrowed down to voltage drop if I check the pin on the pca board I get 4.876volts if I check the plug on it I get 3.358volts.
even thats not very good. I have seen ditto 5.2 to 5.2 conversion in my current kessil controller, but it does only that :-( . I have also encountered these type of issues involving voltage drops in few of my builds. Particularly those using multiple type of dc voltages for different parts etc. For some of them, it does not matter (like relays), but the ones involving pwm, are sensitive. I belive we have to add few capacitors while distributing multiple dc voltages
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
It's a little messy right now. The pca9685 is just temporary while I figure it out. Also just ordered a 3d printer maybe ill have a cool case soon. [emoji16]
7c1a6b85b212bf41699f944cb2e7939c.jpg
99b4c14afe39c083a32228c744973c67.jpg
relays are directly wired to GPIO ? They can sink decent amount of current. In my recent builds I am using uln2003 ICs to connect the relays with GPIOs.
 

815reefer

New Member
View Badges
Joined
Feb 16, 2017
Messages
19
Reaction score
27
Rating - 0%
0   0   0
even thats not very good. I have seen ditto 5.2 to 5.2 conversion in my current kessil controller, but it does only that :-( . I have also encountered these type of issues involving voltage drops in few of my builds. Particularly those using multiple type of dc voltages for different parts etc. For some of them, it does not matter (like relays), but the ones involving pwm, are sensitive. I belive we have to add few capacitors while distributing multiple dc voltages
Okay, I am running 8 relays, optical ATO sensor, temp sensor, and the pca9685 board. Checking the 5v rail to the pca9685 board I do get 4.99 volts.
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 38 27.1%
  • 100% dry rock + 100% live sand

    Votes: 47 33.6%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 31 22.1%
  • 75% live rock, 25% live sand

    Votes: 14 10.0%
  • 25% live rock, 75% live sand

    Votes: 10 7.1%
Back
Top