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

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
I have a question. What is the best way to handle water changes and reef-pi? Should you just unplug it or what?

I built two water change macros. One to turn off everything I want off and another to turn it all back on in the order I want it back on. You could also just turn it off with the macro and have it all come back on after a certain time but I wanted to turn it on when I was done. Not wait for a timer
 

rushbattle

Valuable Member
View Badges
Joined
Oct 19, 2016
Messages
1,347
Reaction score
1,628
Location
Equality
Rating - 0%
0   0   0
Is there a tutorial on making a macro? This is a challenge area for me.
I haven’t seen one, but think of it like a storyboard. First I turn off the skimmer pump, then I turn off the return and the power heads. Each step is another line in the macro.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Is there a tutorial on making a macro? This is a challenge area for me.

I can take some screen shots of what I have in mine, but they are pretty simple. Turn temp monitoring off, turn filters off, turn heaters off, etc. Then I have a corresponding macoe that turns everything back on. I also have one with a timer to turn the filter off for feeding, then it automatically turns the filter on after 5min.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
This is really great news. I am new to reef-pi but now I am even more excited to get it up and running. I think I will get it started on my daughter's freshwater tank while I wait for my reef tank to get going.
Great...it has been flawless running everything in my 75 gallon freshwater planted tank...im running 2 lights (4 channels)pwm, 2 heaters, and 3 canisters...with macros and timers to automate water changes, feeding and the like.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
This is really great news. I am new to reef-pi but now I am even more excited to get it up and running. I think I will get it started on my daughter's freshwater tank while I wait for my reef tank to get going.

Welcome!
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
I haven’t seen one, but think of it like a storyboard. First I turn off the skimmer pump, then I turn off the return and the power heads. Each step is another line in the macro.

Here are some screenshots of a couple of my macros, pretty simple:



reef-pi-2.png


reef-pi-2.png


Hope this helps, just add the steps in the order you want things to happen.

:)
 
Last edited:

Mandelstam

Well-Known Member
View Badges
Joined
Oct 29, 2017
Messages
688
Reaction score
1,066
Location
Malmö, Sweden
Rating - 0%
0   0   0
It's been a long time coming but I'm soon at the point where I can start a build thread of my version of Reef-pi. But until then I'll have to post some specific questions here.

I'm drawing up the enclosure for the whole controller in cad so I can laser cut the parts at work (benefits of working at an architectural firm with a model workshop). I want to have some status leds on the front panel.
  • RPi power led, I read somewhere that you can hook that up to pin 1 and it will act as a power status indicator, is that true? Does that pin always have power on as default? If not, do you have any suggestions on how to hook up a custom power indicator led?
  • Status indicators for relay board/power module. Can I hook up a small 20mA 5mm led (with resistor) in parallell on the GPIO pin that connects to each of the relays?
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Status indicators for relay board/power module. Can I hook up a small 20mA 5mm led (with resistor) in parallell on the GPIO pin that connects to each of the relays?
The raspberry pi has a max of around 30ma on the whole 3.3v rail, use more than that and you kill your pi, so I would not use the 20ma leds there. You would be better off paralleling them on the outputs of the ULN2803 which handles more current. Thats why it is used, it handles alot more current than the raspberry pi outputs can handle.
 

Mandelstam

Well-Known Member
View Badges
Joined
Oct 29, 2017
Messages
688
Reaction score
1,066
Location
Malmö, Sweden
Rating - 0%
0   0   0
The raspberry pi has a max of around 30ma on the whole 3.3v rail, use more than that and you kill your pi, so I would not use the 20ma leds there. You would be better off paralleling them on the outputs of the ULN2803 which handles more current. Thats why it is used, it handles alot more current than the raspberry pi outputs can handle.

Ofcourse, much better option! Thank you!
 

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
14,913
Reaction score
76,074
Location
SW, FL, USA
Rating - 0%
0   0   0
It's been a long time coming but I'm soon at the point where I can start a build thread of my version of Reef-pi. But until then I'll have to post some specific questions here.

I'm drawing up the enclosure for the whole controller in cad so I can laser cut the parts at work (benefits of working at an architectural firm with a model workshop). I want to have some status leds on the front panel.
  • RPi power led, I read somewhere that you can hook that up to pin 1 and it will act as a power status indicator, is that true? Does that pin always have power on as default? If not, do you have any suggestions on how to hook up a custom power indicator led?
  • Status indicators for relay board/power module. Can I hook up a small 20mA 5mm led (with resistor) in parallell on the GPIO pin that connects to each of the relays?

@dmolavi may be able to chime in on this as I believe he did exactly what you want to do.
 

That Crusso Kid

10K Club member
View Badges
Joined
Oct 21, 2018
Messages
14,913
Reaction score
76,074
Location
SW, FL, USA
Rating - 0%
0   0   0
Ok so dumb question, where is reefapalooza being held?

:)

There are several venues but I believe the one @Ranjib is referring to is the Anaheim one in August. There's one this weekend in Orlando too.
 
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
Id love to go, but im so busy at work right now its not even funny
I can totally understand . I have been headsdown busy with company work for past couple of months . Lots of security and compliance work.
 

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

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

    Votes: 34 23.3%
  • 75% live rock, 25% live sand

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

    Votes: 11 7.5%
Back
Top