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

Hate to quote my own post but...

Does anyone have a wiring diagram for the doser???

Thanks
i had responded to this few posts earlier
 
theres no fritzing file or documentation yet, but this should get you going:
- L293d is the main IC here: https://learn.adafruit.com/adafruit-raspberry-pi-lesson-9-controlling-a-dc-motor/lm293d
- en1 and en2 pins are wired to pi GPIO 18 & 19 ( declare them as jacks with rpi driver in reef-pi)
- IN1, IN2, IN3, IN4 are all connected to other GPIO (declare them as outlets in reef-pi, and create 4 virtual equipment to control them)
- I power the whole build with a 12 v 2 amp dc power source, use an lm2596 to convert it 5v for feeding pi. The 12v rail is also connected to Vmotor pin of l293d. Vcc pin of l293d is wired to 5v rail
- OUT1,OUT2 of l293d is wired to one peristaltic pump (12v, from adafruit), OUT3 & OUT4 powers the other pump
- Thats all, use reef-pi doser ui to create two dosing pumps each attached to one of the jack (PWM pin 0 & 1 in the UI, GPIO pin 18 & 19 in the physical wiring). Dosing UI will let you schedule the pumps to run at specific time (same UI as timer), as well as run them on demand for specific duration at specific speed (calibration). Calibrate the pump to get an understanding of how much liquid its drawing at a certain speed and certain duration. Then decide on the dosing regimen (frequency, duration and speed)
- The virtual equipment (which is controlling en1,en2,en3,en4) is used for controlling on/off or direction of the pumps. If both en1 and en2 is either on or off then the pump will be off. If one of them in on and other is off, then the pump will run. Depending upon which one is on that will control the direction of the pump

hope this help


Sorry, I totally missed this.

Thank you! I will try to draw up a Fritzing drawing for this and run it by the group to make sure it's correct.


Thanks again
 


Sorry, missed that one.

This is what I was looking for.

upload_2018-7-27_8-55-49.png
 
Will do, thanks.
i can try to do one this weekend. I have been way busier then i wanted to this week. Spend 3 hours at bank today what was supposed to be 10 minutes. I am adding a partner to my business to help me with accounting, office work and Handle Advertisement and Taxes ..

Next week i actually get to Work some

ON Topic i will try to make something based on how mine is done . The whole thing...
 
My understanding of the ATO solution is that only 1 sensor can be used. Is my understanding correct? Would it be possible to have more sensors, e.g. Min/Max and Sump? Have not tried it yet (but will do on a breadboard to see the hysteresis and how to control the LM293D) but this would reduce the number of start/stop cycles and can warn in case the refill is getting empty.
 
My understanding of the ATO solution is that only 1 sensor can be used. Is my understanding correct? Would it be possible to have more sensors, e.g. Min/Max and Sump? Have not tried it yet (but will do on a breadboard to see the hysteresis and how to control the LM293D) but this would reduce the number of start/stop cycles and can warn in case the refill is getting empty.
You can do this with 3 sensors..
One set at your low Level.. One at the running level and one at the max level Set them to control the device you wish
 
Working on macro UI now. Got the backend code prototyped this week. UI will be done by next week, and probably some testing after that.
TLDR; macro will allow users to declare a set of steps that is executed linearly. Each step has a target and action. Target can be any equipment, ph probe, ato or temperatures, and action can be either on or off. Theres a special target called "wait", to pause for a specified amount of time (in seconds).
Screen Shot 2018-07-28 at 10.23.10 AM.png


Ideally, the macro feature should help in feeding, water changes, photo shoots etc, where we have to control a bunch of equipment in certain order.
 
I finally got around to making some final changes and uploading the files!

I broke the glass build plate on my 3D printer (again) and haven't been able to replace it yet. Hopefully this week I will get it replaced and can start printing the final main brain & power boards!

My plans for a 3D printed housing and power board for Reef-Pi can be found here:
https://www.thingiverse.com/thing:3024281

I have included the Fusion 360 file so people can edit them to work with their individual components etc. - if you do please post pictures of your edit! :)
 
I finally got around to making some final changes and uploading the files!

I broke the glass build plate on my 3D printer (again) and haven't been able to replace it yet. Hopefully this week I will get it replaced and can start printing the final main brain & power boards!

My plans for a 3D printed housing and power board for Reef-Pi can be found here:
https://www.thingiverse.com/thing:3024281

I have included the Fusion 360 file so people can edit them to work with their individual components etc. - if you do please post pictures of your edit! :)
sweet :-)
 
Here are some pics of the prototype I printed of the main housing to ensure everything fit.

Only major change I had to make was swapping the ptoro board and the Raspberry-Pi around as I didn't leave enough room for the bottom row of RJ-45 jacks. But I am pretty confident it will all fit now. I also don't actually have any BNC jacks yet, so I just have to hope they will fit (the holes assume the BNC jacks are 10mm). But worst case scenario I can just print another one :p
37989697_10156740519179427_6749652207878012928_n.jpg
37907494_10156740518869427_5716987511226499072_n.jpg
 
Working on macro UI now. Got the backend code prototyped this week. UI will be done by next week, and probably some testing after that.
TLDR; macro will allow users to declare a set of steps that is executed linearly. Each step has a target and action. Target can be any equipment, ph probe, ato or temperatures, and action can be either on or off. Theres a special target called "wait", to pause for a specified amount of time (in seconds).
Screen Shot 2018-07-28 at 10.23.10 AM.png


Ideally, the macro feature should help in feeding, water changes, photo shoots etc, where we have to control a bunch of equipment in certain order.

giphy.gif
 
Here are some pics of the prototype I printed of the main housing to ensure everything fit.

Only major change I had to make was swapping the ptoro board and the Raspberry-Pi around as I didn't leave enough room for the bottom row of RJ-45 jacks. But I am pretty confident it will all fit now. I also don't actually have any BNC jacks yet, so I just have to hope they will fit (the holes assume the BNC jacks are 10mm). But worst case scenario I can just print another one :p
37989697_10156740519179427_6749652207878012928_n.jpg
37907494_10156740518869427_5716987511226499072_n.jpg


giphy.gif
 
Here are some pics of the prototype I printed of the main housing to ensure everything fit.

Only major change I had to make was swapping the ptoro board and the Raspberry-Pi around as I didn't leave enough room for the bottom row of RJ-45 jacks. But I am pretty confident it will all fit now. I also don't actually have any BNC jacks yet, so I just have to hope they will fit (the holes assume the BNC jacks are 10mm). But worst case scenario I can just print another one :p
37989697_10156740519179427_6749652207878012928_n.jpg
37907494_10156740518869427_5716987511226499072_n.jpg


What type of material did you use for this?

Thanks!!!
 
What type of material did you use for this?

Thanks!!!
Just PLA for now. The plan is to eventually print one in ABS so I can vapor smooth the parts. But Even for a final model PLA isn't a bad choice, its durable, cheap, easy to print etc. PETG would work fine as well.

I will probably print the first actual brain and power board set in PLA too as I know I will make some changes eventually :p

Once I have actually got reef-pi running and have it in the housing for a few months I will know what changes I want to make (I can already think of a few haha)
 
I can't answer any of these questions, but pleased hurry up so I can buy some!!!

:D
Short update.

I've completed 4 from 5 PCB's (including documentation and detailed BOM information in Kicad files such as MPN, Datasheets and links where they could be purchased, so far Mouser as they are available globally). I plan to order these boards from jlcpcb.com but since shipping costs are relatively high, I want to order all 5 different designs at once to test them, but then with fast delivery.
Completed are:
Main PWM module (8 * 10V output) with interface to a daughter board
1st daughter board extends with an additional 8 outputs, with voltage selectable between 5, 10 and 12V
2nd daughter board with 2 L293D motor drivers able to power 8 dose pumps with external power supply for the motors (note that only 1 daughter board can be added to the main PWM module with max 16 outputs in total). I've assumed that only 1 motor direction is required.
An I2C rail to connect multiple I2C modules to the Raspberry

The address of the main PWM module can be set, so multiple PWM modules can be used (Ranjib's preference to be flexible). So outputs would be almost unlimited :)

Pending is the HAT for the Raspberry. This HAT should have the remaining interfaces:
-Connection to a relay board(s) (ULM2803)
-Connection to DS18B20 temperature sensors
-Connection to optical ATO sensor

I would like to change the connectors to differentiate between the different functions, but as this would require much time (different dimensions), I want to test the present versions first and then start a redesign (smaller). So far only the PCA9685 is SMT size as it's only available in that housing.

Beside the BNC (probe's), any interface I'm missing?
 
Just PLA for now. The plan is to eventually print one in ABS so I can vapor smooth the parts. But Even for a final model PLA isn't a bad choice, its durable, cheap, easy to print etc. PETG would work fine as well.

I will probably print the first actual brain and power board set in PLA too as I know I will make some changes eventually :p

Once I have actually got reef-pi running and have it in the housing for a few months I will know what changes I want to make (I can already think of a few haha)


Thanks for the info. I have some funky green PETG in my printer now. I'm going to see how a piece comes out, but first a dumb noob question:

When I opened the file in Cura, it looks like this. Shouldn't it print laying down on it's bottom???

upload_2018-7-29_8-56-45.png
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top