Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
The current status can now be found on GitHub

You will find an overview of the current status and discussions with links.
Also includes comprehensive Links to Sources/Guides, Schematics and Pictures reporting on the progress.

I will post progress reports and pictures here as well.
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Update on the Aquarium:
  • got some filter medium
Aquarium_Filter_small.jpg
  • fitted the ground heater
    • Filter trays stand in for the plateaus (no need for heating there)
    • front left will get a sand-try for the cat-fish
Aquarium_GroundHeater_small.jpg
  • started on the DIY BIO CO2-Plant:
    • two 0.5 l washer bottles (top left)
    • two 5.0 l reservoirs
      • one holding sugar solution
      • one with the yeast solution
    • inline CO2 reactor from the same bottles
CO2_setup_small.jpg
  • inline reactor build
CO2_reactor_bioballs_small.jpg
  • connection by pushing on bottle inside => pressure will tighten the seal
CO2_reactor_fitting_small.jpg
  • Same construction on the connectors, water pressure will push the parts against the seal
CO2_reactor_feedLineH2O_small.jpg
  • Glued everything together by applying aquarium silicone on the part and then pushed it against the sealing surface, creating a seal
  • Will get mechanical reinforcement from the outside using a hot glue gun
  • Will test that in a bucket once it's finished ^^
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Progress on the Reef-Pi planning:

    • 12 VDC from 3 pin power cable
    • Ground connection
    • 5.0 VDC from Variable Buck converter
    • 3.3 VDC from Variable Buck converter
    • Power
      • 4-pin MOLEX
    • I2C
      • shielded USB type A cable (+5.0V, SDA SCL, GND)
      • chained through all devices
      • driven from Py through either:
        • a BSS138 level shifter + LTC4311 I2C Extender
        • a ISO1540 I2C isolator (includes level shifting)
    • GPIO:
      • 2xDB9 connectors (GND, 8 GPIO 3.3V pins)
      • 4-8xJST PH 3-pin (+5.0V, GND, Pin)
      • connected through a BSS138 level shifter
      • directly interfaces and supplies
        • DS18B20 temperature sensors
        • Water flow sensor
    • PWM:
      • 2xJST 2-pin (GND, PWM pin)
  • Modules:
      • Adafruit ADS1015
      • I2C connection
      • power connection
      • signal connection (4 x JST 3-pin connectors: +5.0V, GND, Analog In)
      • Adafruit PCA9685
      • I2C connection
      • power connection
      • 16 JST 2-pin connections for PWM out
      • JST 2-pin connections (isolated)
      • separate 12V power for direct LED drive
      • Robotank pH circuit
      • I2C connection
      • SCD30 sensor board
      • I2C connection
      • 2 x BMP280 sensor boards
      • I2C connection
      • DB9 GPIO connection
      • Power connection
      • DB9 GPIO connection
      • power connection
      • 2xPWM connection
      • mechanical switch to determine which PWM input is used for each doser
      • power and analog connection to ADC
      • internal isolation, both signal and power
Since I most definitely forgot something, be sure to let me know what you think ^^
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Some progress on the lighting and the according Reef-Pi control. I'm thinking of getting either:
  • ~120$ bare bone set
    • ~ 6 250 lm, 47W 24V
    • cold white, warm white and RGB
    • 60W power supply
    • very simple holder
    • coated LEDs and plugs (waterproof)
  • ~250$ Solid LS 870
    • ~10 000 lm, 92W 24V
    • same cold white warm white and RGB
    • 100W power supply
    • prettier and better heat dissipation (elox aluminium all over)
    • coated LEDs and plugs (waterproof)
Either allows to control all channels (6 in total), even with a third party dimmer (which is not standard as far as I can see, so I like this manufacturer a lot). Problem now is how to control those channels with Reef-Pi.

I couldn't find a nice ready PWM controlled dimmer online, so I'm thinking of building something myself.
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Also: had to be a bit flexible with a few parts:
  • the standard Adafruit power MOSFETs weren't available
    • replaced them with comparable ones from Nexperia
      • similar low capacitance
      • ~20mOhm on resistance compared to ~10mOhm
  • similar story with the Darlington transistor ULN2803A
    • replaced them with ULN2801A (same datasheet)
    • same transistor IC, just without 2,7k input resistor
    • I'll have to add them by myself
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Alright, I sorted the parts and the light arrived. And IT, IS, BEAUTIFUL !!
068A7C32-C1D8-4C9F-A1E6-FE4FC6087A2D.jpeg

I did however not find my micro SD adapter so I’ll have to wait to set up the reef-Pi :loudly-crying-face:
 
Last edited:
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Alright, filled in the fertilizer floor:
2BF6725F-5221-4069-A34A-E31609110114.jpeg

Modeled the plateaus with lava gravel:
7F355E41-9389-4C9A-AA3E-82DF77CC5F4A.jpeg

And started building the plateaus and fill in the ground:
9892322E-C64B-423F-94BE-748FA570DFF6.jpeg

I’m going to need more rocks though ^^

also started the first dry run of the CO2-plant. Currently it’s gravity fed through a valve:
6F15DB33-F2F6-4E60-8F61-654F87A50E62.jpeg

Beer-grade sugar solution on the left (100g per 1l, should give me about 5% max ethanol), gravity fed through that green valve down to the yeast. The gas exhaust equalizes the pressure difference between the two bottles and feeds into the two 0,5l washer bottles in the front. The exhaust goes to a CO2 meter that will ring when it exceeds 1000ppm :D
 
Last edited:
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Alright, restructured the Aquarium, increased the plateau areas, added more rocks and build a sand pit in the front left:
7919A84A-35CC-4068-9E66-FEC8041C6149.jpeg
774BCA63-8F72-449E-BD78-0CB06CD1094E.jpeg

Also added a small current pump for the catfish, that’s hidden behind the rocks
7E96199D-FADD-4F25-8DB3-044C1F93E036.jpeg


started building the reef-Pi unit. The 12V supply is too large however, so I’ll include it in the power supply and Relais unit on the left. That way I have more space in the reef Pi main unit on the right:
C4FD914D-9A22-4609-98D7-F9BA3F7E5E0C.jpeg
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Alright, tried to set up the Pi according to @robsworld78 guide.

Buuut the Pi Zero v1.3 doesn't show up on my network.
The PI is connected to a 5V 1A USB power supply.
The PI's status LED blinks a bit and then light up solid.
The PI's OS (Raspbian OS LITE 32 bit) is written on a kingston 32 GB class 10 micro SD card.
The Adafruit Ethernet Hub lights up green as well and shows the occasional orange flicker
The other side in the Router is lit orange as well and shows the occasional green flicker.

I also have a Printer that is connected to the Router whose MAC is hardwired to IP 192.168.0.253 in the Router's DHCP settings, that one shows up as well.

But I cannot see a device that fits the Pi and if I try to connect to the IP adresses around the ones I can see, typically 192.168.0.2 to 7, I can't get a connection using PUTTY on port 22.

Any Ideas ? I will currently try to set the PI's address manually if I can manage that.
 
Last edited:
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Strike that, managed to get a connection.

I tried manually setting an Ip if DHCP fails, but that didn't work.
I rebooted once, reconnected the Ethernet cable to no avail.

Then I rebooted the Pi without the Ethernet connected and only plugged it in after the PI seemed to have booted. Then it showed up as 192.168.0.9, Huray !

I also installed reef-Pi. Problem that I see: @robsworld78 file on his website uses Reef-Pi version 4.3
How can I update my Reef-Pi to the newest 5.2 release ?
 
Last edited:
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Found the Update part in Reef-Pi UI and the Code in the Adafruit Guide:
Code:
wget -c https://github.com/reef-pi/reef-pi/releases/download/4.3/reef-pi-4.3-pi0.deb

sudo dpkg -i reef-pi-4.3-pi0.deb
Just have to replace 4.3 with 5.2 I guess.

The Ethernet Problem still remains, however.
 
Last edited:

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,281
Location
Edmonton, Canada
Rating - 0%
0   0   0
Tank layout is looking good. :)

Hope you got that Pi connecting to the network, sounds like it's working. I'm still pushing 4.3 as I feel that's the easiest to setup as 5.2 has a few UI bugs that cause a lot of confusion. You can update how you guessed but you can also do it from reef-pi interface. If you go to the admin tab put in the version you want and it'll do it's thing. After it updates it's recommended to reboot the Pi and clear the browser cache otherwise you might get mixed results.
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Alright, power supply and AC relay module is progressing:
0810A5E0-5380-4E1C-99D3-CF95F90B1B63.jpeg

I checked which one of the AC input leads is the phase and put the switch on that one. All connectors on the phase are isolated with shrink tube. There are holes in the side of the lid on the right for the AC cables, that connect to AC power and the relais inside. On the other side I will fix AC outlets and screw them onto a panel.

I will also connect 8 LEDs to show the status of the AC outlets. I am planning on finishing that today.

I am also working on the circuit drawings.

Power supply unit with one example Relay-circuit:
PowerUnit_schem.png

The jumper between the 3 pins at the top is used to supply both the signal and the relais from one VCC pin. I am planning to disconnect it though to drive the optocoupler and the relais from their own designated 5V to improve isolation to the PI.

Pi unit:
PiUnit_schem.png


A few important questions on the Pi:
- does the single wire interface for the DS18B20 require pin 4 or will every GPIO pin work ?
- I am running out of designated GPIO pins. Can I also use the pins marked with a question mark as GPIO ?
That's the SPI pins (BCM 10,9 and 11), some UART pins (BCM 14, 15, 24, 26 and 28) and the PWM communication pins (20 and 21).
- I am currently thinking about using a designated 5 V 3A Step down for the Relais and one 5V 3A step down for the rest
(PI Zero 1.3, Ethernet adapter (300 mA), pH circuit, EC circuit, PWM circuit (PCA9685), ADC (ADS1015), 2 barometric pressure sensors (BMP280), Air quality module (SCD30 CO2 sensor))

Do you recon that will be too much draw on the 5V 3A supply ? I'll probably try and find a current draw for all circuits mentioned.

All in all I probably should have used a 12V relay board, that would have made it much easier ^^
 
Last edited:

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
one wire pin can be any other gpio pin. just configure it accordingly: https://pinout.xyz/pinout/1_wire
i concur with the 12v realization. this is the reason i go with 12v and then step down to 5v as required for anything above 10 or 12 watt load
 
OP
OP
S

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
one wire pin can be any other gpio pin. just configure it accordingly: https://pinout.xyz/pinout/1_wire
i concur with the 12v realization. this is the reason i go with 12v and then step down to 5v as required for anything above 10 or 12 watt load
Nice, thanks ! I think I will stay with Pin4 then.

The Relais don't draw that much, as far as I can see it's 5mA activation on the input and 120mA / 0,6 W on the relais when active. Since I am running them normally closed I don't expect to run more than 2-4 relais at the same time.

Problem that I see with the 12V relais is that none of them have the input isolation that I have with this one, but I guess that's not actually needed and I am too paranoid about that.
 

Being sticky and staying connected: Have you used any reef-safe glue?

  • I have used reef safe glue.

    Votes: 98 88.3%
  • I haven’t used reef safe glue, but plan to in the future.

    Votes: 6 5.4%
  • I have no interest in using reef safe glue.

    Votes: 4 3.6%
  • Other.

    Votes: 3 2.7%
Back
Top