
Caduceus
Embedded-Systems-Discord/1-Caduceus
A maker-friendly board with single pair ethernet both for power and for data, that will work with Arduino

This is the python code to run the fish feeder which uses mechatronics and compressed air to send food to each individual tank in a fish hotel. It is run on a local Raspberry pi 4 with a custom PCB and allmotion EZ stepper motor drivers.
QuadV PCB V3 is an open-source printed circuit board by chrischarltoncz, from the chrischarltoncz/fish_feeder repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 65 × 77.2 mm with 44 parts on 45 nets, routed with 400 tracks and 36 vias.
It is built around the THVD1451D, 06N06L and SM6T56AY. Its parts include 17 resistors, 14 connectors, 4 transistors, 2 capacitors and 2 diodes. It belongs with the robots and motor control boards of this library.
This is the python code to run the pneumatic fish feeder system which functions as follows:
The food is placed in a clear plastic cylinder/hopper. There is an illumination LED strip to light it up on one side. A Pi camera on the opposite side to capture images of the tube and the food. This image will be used for tracking food consumption and level.
The base of the tube has the main feeder body, this incorporates a delrin screw drive to move the food. The screw is rotated via at NEMA17 motor at one end, at the opposite end is an opto sensor and a 6 slot chopper for counting the rotations. This is used to confirm the rotation happens and the motor is not jammed.
The thread deposits the food into a conical volume, this funnels it down to a fitting where it exits the food hopper body/assembly. Above the conical volume is mounted an air solenoid valve, it is fed via 22-25psi house air. The air supply is split off via a needle valve to supply a small continuous stream of air that travels to the bulk food. This is to keep it dry, it also passes over a temperature and humidity sensor to record the values, this ensures the food is always exposed to dry air and if there is an air supply problem it can be flagged.
Currently (Jan 2025) the air solenoid is turned on prior to the food loading screw rotation, this is to equalize the pressure along the various parts (thread/hopper) so fine powdered food does not flow and collect/jam the screw mech.
Once the food passes out of the food hopper mech, it passes to the rotary valve mechanism.
There is a curved interface tube which is centrally located and passes to near the circumference of a rotating disc, this disc has embedded magnets which lightly clamp the rotor to the stator, the stator underneath has 30X fittings which correspond to each fish tank.
The rotor is turned via a belt which is in turn rotated via a NEMA23 stepper motor. A home sensor microswitch is stationary on the main feeder assembly, it activates via a 3D printed bump which is VHB taped to the rotor. There is a well defined number of microsteps between home and port 1 so the system can home and index to the correct port location.
One each feeding cycle the rotor is re-homed, then indexed to port 1. Prior to food loading the tank/port is air dried for a number of seconds (typically 60-75) to dry the end of the tube to avoid wet food.
Links:
Stepper motor drive boards: https://www.allmotion.com/ezhr17en
Onshape design: https://www.allmotion.com/ezhr17en
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 06N06L | Package_TO_SOT_SMD:SOT-23-3 | Q2, Q3, Q6, Q8 |
| 4 | 10k | Resistor_SMD:R_0603_1608Metric | R4, R5, R9, R12 |
| 4 | 390 | Resistor_SMD:R_0603_1608Metric | R1, R6, R7, R10 |
| 4 | MountingHole_2.7mm_M2.5 | MountingHole:MountingHole_2.7mm_M2.5 | MH1, MH2, MH3, MH4 |
| 2 | 0 | Resistor_SMD:R_0603_1608Metric | R3, R8 |
| 2 | 30000 | Resistor_SMD:R_0603_1608Metric | R2, R15 |
| 2 | SM6T56A | Diode_SMD:D_SMB | D1, D2 |
| 1 | +3.3v | TerminalBlock:TerminalBlock_Xinya_XY308-2.54-2P_1x02_P2.54mm_Horizontal | J13 |
| 1 | +5v | TerminalBlock:TerminalBlock_Xinya_XY308-2.54-2P_1x02_P2.54mm_Horizontal | J14 |
| 1 | 0.1uF | Capacitor_SMD:C_0201_0603Metric | C1 |
| 1 | 1.24k | Resistor_SMD:R_0603_1608Metric | R17 |
| 1 | 220 | Resistor_SMD:R_0603_1608Metric | R14 |
| 1 | 24v input | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J9 |
| 1 | 250 | Resistor_SMD:R_0603_1608Metric | R11 |
| 1 | 27uF | Capacitor_SMD:CP_Elec_6.3x5.9 | C2 |
| 1 | 3k | Resistor_SMD:R_0603_1608Metric | R13 |
| 1 | 7.77k | Resistor_SMD:R_0603_1608Metric | R16 |
| 1 | AMB T | TerminalBlock:TerminalBlock_Xinya_XY308-2.54-3P_1x03_P2.54mm_Horizontal | J10 |
| 1 | GPIO | Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical | J1 |
| 1 | I2c | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J8 |
| 1 | LIQ T | TerminalBlock:TerminalBlock_Xinya_XY308-2.54-3P_1x03_P2.54mm_Horizontal | J11 |
| 1 | OPTO GPIO | Connector_Molex:Molex_KK-254_AE-6410-06A_1x06_P2.54mm_Vertical | J6 |
| 1 | RS485 out | TerminalBlock:TerminalBlock_Xinya_XY308-2.54-3P_1x03_P2.54mm_Horizontal | J2 |
| 1 | SOL DRV1 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J5 |
| 1 | SOL DRV2 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J3 |
| 1 | SOL DRV3 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J7 |
| 1 | SOL DRV4 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J4 |
| 1 | SPR T | TerminalBlock:TerminalBlock_Xinya_XY308-2.54-3P_1x03_P2.54mm_Horizontal | J12 |
| 1 | THVD1451D | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |

Embedded-Systems-Discord/1-Caduceus
A maker-friendly board with single pair ethernet both for power and for data, that will work with Arduino

lukasprojects/esp32-dalitester
Small ESP32 DALI tester for commissioning and maintaining light installations via the DALI bus

meowmeowahr/KevinbotV3-KiCAD
Kevinbot Core - Parallax Propeller 2 Robot Controller


noahhusby/LINC
The Laboratory Instrument Network Controller (LINC) is a modern network GPIB interface for test equipment


ManSEDS-Satellites-and-Space-Systems/CubeSat-OBC
The version 2 of the C&DH PCB. Features an STM32H743ZGT6 as central proccessor and 32MB of SDRAM.

Twisted-Fields/acorn-robot-electronics
PCB hardware designs in KICAD for Acorn, the precision farming rover from Twisted Fields.
It measures 65 × 77.2 mm and has 2 copper layers, 1.6 mm thick.
44 parts, built around the THVD1451D, 06N06L and SM6T56AY. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the chrischarltoncz/fish_feeder repository on GitHub, at the commit this page was made from: the board is QuadV_PCB_V3.kicad_pcb and its schematic QuadV_PCB_V3.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).