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