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

ReefSpy

New Member
View Badges
Joined
Nov 21, 2017
Messages
13
Reaction score
40
Location
Planet Earth
Rating - 0%
0   0   0
Thanks. No I have not heard of Reefberry Pi. I will have to look it up when I get a second

Reefberry Pi is a project I started. Its not as complete as what you guys are working on, but I have been making steady progress. I don't want to hijack Ranjibs thread talking about my project, but if people are interested I can start my own thread. I am taking a slightly different approach with mine. It is written in Python and it is more app based rather than web based, but it will have network capability. I hope to have more to share on it soon. I really appreciate what you guys are doing here and hope to cross pollinate with some ideas and designs. Once I am happy with how mine works I will be posting it up.

Sneak peek:
Screen Shot 2018-07-31 at 11.19.59 AM.png

Screen Shot 2018-07-31 at 11.20.42 AM.png
 
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
Reefberry Pi is a project I started. Its not as complete as what you guys are working on, but I have been making steady progress. I don't want to hijack Ranjibs thread talking about my project, but if people are interested I can start my own thread. I am taking a slightly different approach with mine. It is written in Python and it is more app based rather than web based, but it will have network capability. I hope to have more to share on it soon. I really appreciate what you guys are doing here and hope to cross pollinate with some ideas and designs. Once I am happy with how mine works I will be posting it up.

Sneak peek:
Screen Shot 2018-07-31 at 11.19.59 AM.png

Screen Shot 2018-07-31 at 11.20.42 AM.png
very nice :-)
I went through your youtube videos few months ago. I am glad you are making steady progress. You should totally start a DIY thread on it. I bet people would love it.
I already liked the idea of having an alarm and test log. I have plans to work on something similar on this line for reef-pi. As you said, cross polination is a very good thing. I cant recall, is your project opensource ?
 
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
Hi,
as I wrote, you have to power the PI seperately wit 5V. It's not not OK to power the PI via the GPIO ports :cool:
Not ok ? I thought theres a limit on current draw and absence of some protections, but if we recommend powering everything via separate rails and use lm2596 or some analogous voltage regulator/converter than we should be ok. I power all my builds exclusively via GPIO. I would love to know if this is not safe,
 

ReefSpy

New Member
View Badges
Joined
Nov 21, 2017
Messages
13
Reaction score
40
Location
Planet Earth
Rating - 0%
0   0   0
very nice :)
I went through your youtube videos few months ago. I am glad you are making steady progress. You should totally start a DIY thread on it. I bet people would love it.
I already liked the idea of having an alarm and test log. I have plans to work on something similar on this line for reef-pi. As you said, cross polination is a very good thing. I cant recall, is your project opensource ?

Thank you, yes this will be open source. Once I get a few more things ironed out I will be posting the code on github
 

sjeff35

Active Member
View Badges
Joined
Jun 14, 2018
Messages
172
Reaction score
356
Location
Corrales, NM
Rating - 0%
0   0   0
Reef-pi setup now for about two weeks is doing an AWESOME job! Just wanted to thank @Ranjib again for all his hard work!!! What a great project!!!

My fan setup is doing an awesome job of maintaining temp.

upload_2018-7-31_14-49-51.png
 

Zephrant

Active Member
View Badges
Joined
Sep 14, 2017
Messages
111
Reaction score
76
Location
Spokane, WA
Rating - 0%
0   0   0
Minor bug in beta 6- Brand new install, no configuration at all yet:
Code:
Jul 31 14:24:24 pi-seahorse systemd[1]: Started raspberry pi based reef tank controller.
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 DB: reef-pi.db
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: system
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 INFO: equipment subsystem: Finished syncing all equipment
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: equipments
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: timers
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: ato
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: temperature
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 reef-pi is up and running
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Starting http server at: 0.0.0.0:80
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 ERROR: health checker. Failed to load usage. Error: Item 'health_stats' does not exist in bucket 'reef-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
Minor bug in beta 6- Brand new install, no configuration at all yet:
Code:
Jul 31 14:24:24 pi-seahorse systemd[1]: Started raspberry pi based reef tank controller.
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 DB: reef-pi.db
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: system
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 INFO: equipment subsystem: Finished syncing all equipment
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: equipments
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: timers
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: ato
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Successfully started subsystem: temperature
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 reef-pi is up and running
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 Starting http server at: 0.0.0.0:80
Jul 31 14:24:24 pi-seahorse reef-pi[800]: 2018/07/31 14:24:24 ERROR: health checker. Failed to load usage. Error: Item 'health_stats' does not exist in bucket 'reef-pi'
hmm.. this is as expected.. its a benign error that will go away. If you are curious this is whats happening:
You have just installed reef-pi and there is no health usage data. Health usage data is gathered every minute, so you'll have the first data point after one minute. But since you have dashboard open, it will ask reef-pi about all the usage data after every 10 seconds. Which causes this error. It will go aways soon after 1 minute. And even if it occurs, it does not impact functioality or performance. Think of it as skimmer breaking in :-)
 
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
Reef-pi setup now for about two weeks is doing an AWESOME job! Just wanted to thank @Ranjib again for all his hard work!!! What a great project!!!

My fan setup is doing an awesome job of maintaining temp.

upload_2018-7-31_14-49-51.png
Thank you so much for the kind words. Projects like this critically rely on user feedbacks which is what drives the feature development and bug fix process.
 

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
Hi guys! I'm trying to learn about PWM and how it works, in the hopes of building a DIY LED Reef-Pi controlled lighting system. Could I just quickly ask, would Reef-Pi be able to control the NanoBox V3.1 LED array? This is a 5 channel array, I *tentatively* hope to use five appropriate Mean Well LDD-H drivers on a NanoBox driver board. I would just like to know if Reef-Pi can control this LED array? And how does this work, by PWM? If someone could please just answer that for me, it would be a huge help in my research and learning.

Thank you in advance!

-Fish Fan
 
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
Hi guys! I'm trying to learn about PWM and how it works, in the hopes of building a DIY LED Reef-Pi controlled lighting system. Could I just quickly ask, would Reef-Pi be able to control the NanoBox V3.1 LED array? This is a 5 channel array, I *tentatively* hope to use five appropriate Mean Well LDD-H drivers on a NanoBox driver board. I would just like to know if Reef-Pi can control this LED array? And how does this work, by PWM? If someone could please just answer that for me, it would be a huge help in my research and learning.

Thank you in advance!

-Fish Fan
Yes it should be . Get the nano box array, and the board and a pca9685 for pwm generation with raspberry pi.
I’ll start a thread specifically in NR , since Dave Fason is active there
 

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 would be awesome! Dave has been very helpful to me so far, which is a big reason why I hope to choose his DIY array. I am a member of NR, and would be grateful to tag along there too. You are always so helpful, thank you again!

-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
Any proposal for improvement? Something I'm missing?[/QUOTE

Not really.. What mine has.. 1 8 cannel uln for 8 relays (two of these are better like yours) I have 4 Temp prob circuits and 4 Float- sensor Circuits. Header pins for 3v and 5V AND A Roll of gound pins.. Extra gpio pins .. Like i said similar.. mine is based on what i need not a general board .

I am still thinking tinkering and Improving.. Thank you so much for sharing
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
^^^This!!! I have one of those ADJ bars. It would be awesome if the board had a DB9 jack or 2 on it.


My relays are using db9 same with my Dosing pumps... I power the Relay from its own power source and use the 9th wire as common ground.. I prefer the Relays to be in there own METAL BOX With A Fuse . (Mine is not complete yet! ) Its on the TO-DO Soon list..
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
Not ok ? I thought theres a limit on current draw and absence of some protections, but if we recommend powering everything via separate rails and use lm2596 or some analogous voltage regulator/converter than we should be ok. I power all my builds exclusively via GPIO. I would love to know if this is not safe,
"absence of some protections" that's the reason I claimed it's not OK. If you're fine using the LM2596 I will think if we can incorporate this on the board so that we only have a single 12V power source. Would also make the UPS option simpler :D
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
I would love to see us settling on ADJ SR 2 power bars, which uses 12v , db9 connectors.

I think most of us will be just fine to have the controller little bit bigger (like 4"x7"), so throwing some extra space is fine. That will also openup more space for connectors. l293d uses the GND pins as heat sink as well, so the a bigger board will automatically act as beefier heat sink. I am wondering if its better to not design this as hat (due to space constrain, and stacking things together leads to strange pillar like form factor) and instead think of the board as a bigger, flatter pcb and users can solder through hole components in it, and attach the pi header socket and directly mount the pi there. Put otherway, is there any obvious gains by sticking to Pi hat form factor?
I can't find any reference to ADJ SR 2 power bars. Do you mean standard DB9 connectors (I used them to connect the fuselage and wing in model airplanes ;))

Present design was intended just as an interface to the I2C interface and occupies all GPIO ports. Making it larger in size would not help in the present PCB design as there are no spare GPIO ports (unless you leave away some IC's). I can make a different PCB, just need to know the requirements :). Was fun making the HAT.

The boards I ordered are to verify the schematics, if this works fine it would be relatively simple to make other designs and PCB's.
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
I can't find any reference to ADJ SR 2 power bars. Do you mean standard DB9 connectors (I used them to connect the fuselage and wing in model airplanes ;))

Present design was intended just as an interface to the I2C interface and occupies all GPIO ports. Making it larger in size would not help in the present PCB design as there are no spare GPIO ports (unless you leave away some IC's). I can make a different PCB, just need to know the requirements :). Was fun making the HAT.

The boards I ordered are to verify the schematics, if this works fine it would be relatively simple to make other designs and PCB's.
what program are you using , Please share...
 

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
Yes, it should be, the recommended driver board uses meanwell ldd-h drivers, and those are pwm controllable. So ideally, you'll just connect the pca9685 pwm channel to the pwm pins of the driver board and it should work as it is. What I am not sure if they work with straight 5v pwm or needs something different. But I wont be too worried about it since that can be addressed by any common npn transistor

Yes it should be . Get the nano box array, and the board and a pca9685 for pwm generation with raspberry pi.
I’ll start a thread specifically in NR , since Dave Fason is active there

Hi, Ranjib! First, I apologize, I didn't even see your first reply to me, but as always, thank you for your time and help! I just want to double check if you think that Reef-Pi could control the NanoBox V3.1 array. I am asking because I had another member in a different thread tell me that I shouldn't use Reef-Pi because that LED array is 5 channels. Do you see any problem with Reef-Pi controlling 5 separate channels? I'm still learning, but I thought the pca9685 board (which I already have) gave you multiple PWM signals.

If/when you do start a thread at NR, could you let us know here please? I would like to be apart of that thread for sure.

I do now have Reef-Pi installed and running on my Pi, I'm going to start playing with the "easier" builds like the power switch relays and maybe temperature monitoring over the next few days, and I will continue to be researching and hopefully learning how the lights will work.

Thank you again for your help!

-Fish Fan
 

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