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

I did this for now[emoji2]
20181123_031958.jpeg

@LionHeart2017 - Looks nice!

I don't mean to be nitpicky but I do believe @Ranjib intended for all the letters of "reef pi" to be in lower case only. I could be wrong though.
 
As they say there is no such thing as a dumb question; is the 24v mounted to the back side of the aluminum mounting plate?

BTW - I followed along with your build and, when the time comes, was thinking of going the same route.
Not a dumb question! Yes, the 24v and 5v power supplies are mounted to the back side. Also the 120vac terminal strip and ALL 120vac connections are back there. Nothing on the front with exposed line voltage! Next time I pull it off the wall, I'll take a picture of it, thought I had one when I wrote the build thread but I couldn't find it in my phone. I want to re-do the bottom plate and organize my connectors better, also have to make room for new connectors for pH and pump controls.
 
As of today, it cannot do anything like the controllers for the pumps do. Just on and off. It is in the works.
Hello! Thank you for the fast reply, that's what I needed to know ;-)

-FF
 
Yes, a software linking of multiple pi's so "one pi to rule them all" :p. I'm going to run out of gpio's since my lights are just relay controlled and want to add another 8 relays for rodi control of solenoids. Couple zero's running as slaves was what I was thinking.
Ranjib said:
My current thought are around using MCP23017 to add another 16 I/O that can be used across outlets and inlets
With the PCA9685 and MCP23017 technically we could control > 1'000 outputs with just a single PI. Each component/module has 16 channels and around 80 can be used in parallel.:D
 
Last edited:
With the PCA9685 and MCP23017 technically we could control >1'000 outputs with just a single PI. Each component/module has 16 channels.:D
yes :-) . I think we'll run our of compute power on pi, before electronics limitations, once mcp23017 support lands. We have to update the reef-pi code as well, currently it assumes only one pca9685 is present.
Whats more interesting is Raspberry Pi 4 will be based on different processor, means significantly more firepower. And god knows what else peripheral, may be more built in PWMs, or even analog I/O .. finger crossed
 
yes :-) . I think we'll run our of compute power on pi, before electronics limitations, once mcp23017 support lands. We have to update the reef-pi code as well, currently it assumes only one pca9685 is present.
Whats more interesting is Raspberry Pi 4 will be based on different processor, means significantly more firepower. And god knows what else peripheral, may be more built in PWMs, or even analog I/O .. finger crossed

Finding analog I/O or PWM in smartphone SoCs would be very rare - it’s not going to be in the core CPU. It could pivot to an embedded SoC like the Beagleboard family with its MCU co-processors, or just tack on an analog I/O front end. I’d imagine RPi would stay with Broadcom for the corporate support (and consuming all the excess inventory :)).

It would probably be best to standardize on an MCU for General I/O and analog, and just use it as a programmable I/O hub sort of like a data acquisition and control board. Most microcontrollers will have oodles of analog inputs, PWMs, and pins. This would necessitate some pre-programming of the part, but some have USB or I2C bootloaders from the factory letting ReefPi manage firmware.
 
Finding analog I/O or PWM in smartphone SoCs would be very rare - it’s not going to be in the core CPU. It could pivot to an embedded SoC like the Beagleboard family with its MCU co-processors, or just tack on an analog I/O front end. I’d imagine RPi would stay with Broadcom for the corporate support (and consuming all the excess inventory :)).

It would probably be best to standardize on an MCU for General I/O and analog, and just use it as a programmable I/O hub sort of like a data acquisition and control board. Most microcontrollers will have oodles of analog inputs, PWMs, and pins. This would necessitate some pre-programming of the part, but some have USB or I2C bootloaders from the factory letting ReefPi manage firmware.
I’m going to think about this . After the baseboard and ph board is out for general consumption I’ll have a better idea on what it would take to support reef-pi with its specific hardware dependencies
 
I look at the light controller guide. It specified the use of truelumen strip as a moon light.

I have a couple of spare truelumen pro led. They work on 24 VDC.

Does the same concept applies? Meaning cam i use the same mosfet and a 24 v power supply to control the led. ( which come with the led). Each strip uses 9 w i believe and i would like to use 3 of them.

Is this possible?

Also, these leds are a bit strong for moonlight so i would like to be able to dim them or even better have them ramp up/down.

Can it be done and how would you do it?

These leds don t accept pwm. I know they can be dim with and inline dimmer on the power cords. However, I got no clue on what to use to accomplish this with reef pi.

Thank you as always for your help.
 
I’m going to think about this . After the baseboard and ph board is out for general consumption I’ll have a better idea on what it would take to support reef-pi with its specific hardware dependencies

I’m thinking along the lines of the Atmel SAMD21 series

Why?

Cheap
Good peripherals
Not archaic
Already used by the Arduino Zero and Circuit Playground Express (you can run MicroPython on the big one!)
I was already use the SAMD10/11 on the Pico board for pH and system watchdog :)

It’s not a DIP package and not 5V I/O as the main downsides. But someone could reprogram a CircuitPlaygroundExpress or Arduino Zero as the controller.
 
I’m thinking along the lines of the Atmel SAMD21 series

Why?

Cheap
Good peripherals
Not archaic
Already used by the Arduino Zero and Circuit Playground Express (you can run MicroPython on the big one!)
I was already use the SAMD10/11 on the Pico board for pH and system watchdog :)

It’s not a DIP package and not 5V I/O as the main downsides. But someone could reprogram a CircuitPlaygroundExpress or Arduino Zero as the controller.
Can we reuse any of the adafruit micro controller boards, like feather or trinket or metro m0 ?
 
halow Ranjib, I need your help to check my schematic, sorry I am not electronic engineer maybe there are still many errors, I have a problem with libraries for CHIP L29D tipe SMD. I am very happy if anyone can help this eagle library chip. thanks

1REEFSOULS-REEF PI.jpg


2REEFSOULS-REEF PI.jpg


3REEFSOULS-REEF PI.jpg


4REEFSOULS-REEF PI.jpg


5REEFSOULS-REEF PI.jpg


6REEFSOULS-REEF PI.jpg


This design is not finished just to see the chip layout.

TOP REEFSOULS-REEF PI.jpg
 
Last edited:
halow Ranjib, I need your help to check my schematic, sorry I am not electronic engineer maybe there are still many errors, I have a problem with libraries for CHIP L29D tipe SMD. I am very happy if anyone can help this eagle library chip. thanks

1REEFSOULS-REEF PI.jpg


2REEFSOULS-REEF PI.jpg


3REEFSOULS-REEF PI.jpg


4REEFSOULS-REEF PI.jpg


5REEFSOULS-REEF PI.jpg


6REEFSOULS-REEF PI.jpg


This design is not finished just to see the chip layout.

TOP REEFSOULS-REEF PI.jpg
Im not an expert on these things, but from my limited knowledge, I think the circuit is ok. MCP23017 VDD input should have a capacitor?
 
halow Ranjib, I need your help to check my schematic, sorry I am not electronic engineer maybe there are still many errors, I have a problem with libraries for CHIP L29D tipe SMD. I am very happy if anyone can help this eagle library chip. thanks

1REEFSOULS-REEF PI.jpg


2REEFSOULS-REEF PI.jpg


3REEFSOULS-REEF PI.jpg


4REEFSOULS-REEF PI.jpg


5REEFSOULS-REEF PI.jpg


6REEFSOULS-REEF PI.jpg


This design is not finished just to see the chip layout.

TOP REEFSOULS-REEF PI.jpg

You’re trying using an LM2596 as a boost converter (5 to 12V?)? It’s only capable of buck operation. When designing with switching converters you’ll want to pay close attention to the layout - use the datasheet as a reference.

http://www.ti.com/lit/ds/symlink/lm2596.pdf
 
So, I'm having an issue with telemetry. Reef-Pi 2.0 on Pi0.

When I put the AIO key in and hit "update" it gives me an error and says "please set a valid password".

Email alerts aren't enabled.

The log says "Invalid API key provided"
 
Guys, I took my DCI apart today and here are images. I ran the multimeter across them to verify resistance and r3 was 2.66k ohm. Rest are readable in the images. Lmk if this tells you guys anything about what we passed thru to the jebao wp pumps from the 0-10v analog signal.
e4d4e799d0660752e1a2b960c2b31aa6.jpg
831a3fbca85724e4ba46b5261ea9c3bb.jpg
 
Any chance you can set it to calibrate nema motors? like 100 steps per mm. then you can say does 5mm and it will tell the motor to move 500 steps?
currently, the calibration features only allow speed (percentage of a single PWM channel) and duration.
 
Guys, I took my DCI apart today and here are images. I ran the multimeter across them to verify resistance and r3 was 2.66k ohm. Rest are readable in the images. Lmk if this tells you guys anything about what we passed thru to the jebao wp pumps from the 0-10v analog signal.
e4d4e799d0660752e1a2b960c2b31aa6.jpg
831a3fbca85724e4ba46b5261ea9c3bb.jpg
Theres nothing on the opposite side of the pcb ?
 

TOP 10 Trending Threads

Back
Top
Home
Post thread…
Market
What's new