reef-pi :: An opensource reef tank controller based on Raspberry 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
do you have a link to the exact light your thinking of . The beamworks lights i found with a quick search have .5w led bulbs.. NOT GOOD FOR Our tanks. You need 3 to 5 w bulbs
He is talking about freshwater tanks.
 

Fish Fan

Master of Disaster
View Badges
Joined
Dec 8, 2017
Messages
12,922
Reaction score
33,647
Location
461 Ocean Boulevard
Rating - 100%
6   0   0
^^This. The Beamswork lights I'm talking about are these, and I do only use them on freshwater tanks:
https://www.amazon.com/Beamswork-Aq...809&sr=8-1-spons&keywords=beamswork+led&psc=1

A friend of mine who owns the same light has told me he uses this inexpensive PWM dimmer with his Beamswork light:
https://www.amazon.com/GOOBAT-Inlin...-spons&keywords=aquarium+led+dimmer+pwm&psc=1

Would this mean that ReefPi could potentially control these lights?

Thanks very much everyone, I really appreciate the help!

-Fish Fan
 

sector9

Active Member
View Badges
Joined
Jun 26, 2017
Messages
129
Reaction score
189
Rating - 0%
0   0   0
So, per probe latest temperature only in the temperature specific tab or in the dashboard ?
I really like the view doughboy used in his arduino controller combining the most recent reading, some basic max/min/avg stats along with a graph

upload_2018-7-3_2-14-14.jpeg


(Source http://www.reefcentral.com/forums/showthread.php?t=2332822)

upload_2018-7-3_2-15-48.jpeg
 
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
I really like the view doughboy used in his arduino controller combining the most recent reading, some basic max/min/avg stats along with a graph

upload_2018-7-3_2-14-14.jpeg


(Source http://www.reefcentral.com/forums/showthread.php?t=2332822)

upload_2018-7-3_2-15-48.jpeg
I’ll update the charts to show latest reading as a separate label. I am not sure I like the average values. That can be meaning less, something that does not exist. Median (aka 50th percentile is a better aggregate metric, if that’s what you are looking for) . For reference, the temperature controller usage chart , which has hourly roll up , shows average value
 

jcmental

Active Member
View Badges
Joined
Jan 25, 2018
Messages
114
Reaction score
137
Rating - 0%
0   0   0
A noob question here guys, I'm following this diagram but cant figure out what relay the heater will connect to or the cooling fan?
I run 11 relays for my lights and equipment but I do have 5 not in use.
breadboard.png
 
Last edited:

jcmental

Active Member
View Badges
Joined
Jan 25, 2018
Messages
114
Reaction score
137
Rating - 0%
0   0   0
OK scratch the above. found it. it's what ever equipment you have assigned.
New problem though, can someone please post the path to the code that puts the columns and rows in your dashboard settings, i altered mine to 3 x 3 with 200 x 200 and now it wont load any thing but an empty page so cant navigate to setting to alter it back. Ta
 
Last edited:
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
wow no one? sat here like a lemon normally theres loads of reply's

You have to go to Configuradtion -> Dashboard -> Rows, coloums. That will setup the layout. You can select individual cell items from the drop down after that. Here is the settings for my ph monitor (just ph sensor and nothing else)
Screen Shot 2018-07-03 at 7.59.49 AM.png


Here is the corresponding dashboard
Screen Shot 2018-07-03 at 8.00.08 AM.png



Here is the settings for my another build, which has relays and couple of temp sensor (its a temperature controller)
Screen Shot 2018-07-03 at 8.00.55 AM.png


And the corresponding dashboard:
Screen Shot 2018-07-03 at 8.01.10 AM.png


Is that what you are looking for?
 

jcmental

Active Member
View Badges
Joined
Jan 25, 2018
Messages
114
Reaction score
137
Rating - 0%
0   0   0
You have to go to Configuradtion -> Dashboard -> Rows, coloums. That will setup the layout. You can select individual cell items from the drop down after that. Here is the settings for my ph monitor (just ph sensor and nothing else)
Screen Shot 2018-07-03 at 7.59.49 AM.png


Here is the corresponding dashboard
Screen Shot 2018-07-03 at 8.00.08 AM.png



Here is the settings for my another build, which has relays and couple of temp sensor (its a temperature controller)
Screen Shot 2018-07-03 at 8.00.55 AM.png


And the corresponding dashboard:
Screen Shot 2018-07-03 at 8.01.10 AM.png


Is that what you are looking for?
Thanks @Ranjib, I did this and now the screen wont load, when I open reef pi it flashes the dashboard up then all goes blank like there is no continence, I get no navigation link across the top i.e Dashboard, Equipment, Lighting...ect it all not there
 
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
Thanks @Ranjib, I did this and now the screen wont load, when I open reef pi it flashes the dashboard up then all goes blank like there is no continence, I get no navigation link across the top i.e Dashboard, Equipment, Lighting...ect it all not there
can you share a screenshot? Check if theres any error in the javascript console (right click -> developer tools -> console) in your browser
 
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
I can see the error. Little bit more help, on the very first screen shot, you can see the error "Cannot read property 0 of undefined ... ui.js:65", can you click on the very first line? thats should show the javascript line , share that screenshot, and i can release a fix.
 
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 command i can type in the text box at the bottom to see the error?
i think you have set one of the dashboard config (row or column ) as zero , and that’s what causing this. Any chance you can reset data base? You can update the settings with api as well(without deleting the dB)
 
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
i think you have set one of the dashboard config (row or column ) as zero , and that’s what causing this. Any chance you can reset data base? You can update the settings with api as well(without deleting the dB)
This guide has example of get and update settings
https://reef-pi.github.io/additional-documentation/api/

Use the get api to obtain and save a copy of your setting in a file (>settings.json) , then check it for dashboard configuration , fixes if there’s a zero, ), then update setting using the update example.
Or just reset dB :-/
 
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
Some update on led circuit.

For sometime folks have asked for circuits other than kessil (which I use exclusively), I had tested a few things which worked earlier but never had a full on build. After some new requests this week, I decided to build out a permenant controller for my moon lights. I may combine this with one of the existing build as well, the circuit is a standalone one and will work for a wider range of voltage .

This is the circuit to control direct led power, allows you to dim led strips /bulbs etc. For my case, I want to dim coralife biocube moonlight strip, it has tree leds , runs at 12v and draws 1 amp at peak

Here is the whole setup :
C5EA402F-0F4F-4862-B7F6-2FC39D78070A.jpeg


I am using pi for generating pwm straight. Which controls a power mosfet , which in turn controls the led power. I am using a single 12v power source , and an lm2596 to step down to 5v, which feeds pi. The custom circuit houses the power rails, connectors for power in, led power out , male headers for connecting lm2596 and pi pwm out. It should work with pca9685 as is. Just wire a pwm source .
70D0EC59-5B22-432B-BB4F-253997A1F517.jpeg

I am using adafruit perma proto board to solder everything , the mosfet gate (which is connected to pwm) is pulled down (connected to grown) using a 100k resistor. I am using p30n06le power mosfet.
4AB50D18-B5E7-46F2-89AF-FECEDAF839E4.jpeg


621AA399-57CF-49AC-986F-657ECFA1941F.jpeg


I am very happy with the results. I was able to dim down to 1%. I’ll do a thorough thorough test with multimeter and oscilloscope next and share with you.
I think I am close to the solution of rpi pwm problem. I had to dial down the pwm frequency . I have also added a setting for specifying pwm frequency (details to 100) in the api and ui
 

Fish Fan

Master of Disaster
View Badges
Joined
Dec 8, 2017
Messages
12,922
Reaction score
33,647
Location
461 Ocean Boulevard
Rating - 100%
6   0   0
Ranjib, that last post with all the pics was very helpful to someone like me just getting started with these electronics. As much as I like Kessils too, and indeed I do own an A360we, I'm also looking for ways to control other brands and styles of lights for both fresh and saltwater tanks. So not to steer you too far from your original goals, but I find projects like this one are very helpful and informative for sure. Thank you very much for posting!

-FF
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
adafruit order shipped today.. My new pi 3 and a new pi zero w ordered the zero just because i did not wanna pay shipping for just the one item..

I have my The temp probe circuit issue solved..... There is a VERY Specific way you have to connect the circuits

You can not connect them in a star arrangement..I have 4 probes working
The longest probe has to be at the far end of the circuit.. Each of the other probes next longest wire 3rd position and so on.. Short wire in position 1 of the circuit.... I also switched to using cat3 phone cable. I think its 30g ..
 
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
adafruit order shipped today.. My new pi 3 and a new pi zero w ordered the zero just because i did not wanna pay shipping for just the one item..

I have my The temp probe circuit issue solved..... There is a VERY Specific way you have to connect the circuits

You can not connect them in a star arrangement..I have 4 probes working
The longest probe has to be at the far end of the circuit.. Each of the other probes next longest wire 3rd position and so on.. Short wire in position 1 of the circuit.... I also switched to using cat3 phone cable. I think its 30g ..
That is a very valuable feedback. I have to remember to add this in the guide
 

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 26.6%
  • 100% dry rock + 100% live sand

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

    Votes: 32 22.4%
  • 75% live rock, 25% live sand

    Votes: 15 10.5%
  • 25% live rock, 75% live sand

    Votes: 10 7.0%
Back
Top