
LogicAnalyzer
gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

This repo contains code, 3D models and instructions for building a syringe pump.
Syringe pump is an open-source printed circuit board by oscarbranson, from the oscarbranson/syringe-pump repository on GitHub. It is a 2-layer board of 56.6 × 53 mm with 10 parts on 34 nets, routed with 89 tracks and 2 vias.
Its parts include 2 resistors and 1 capacitor. It belongs with the AVR (ATmega, ATtiny) boards of this library.
This repo contains code, 3D models and instructions for building a syringe pump.
The pump was originally designed to automate the filtration of samples through a luer lock filter using a 60ml syringe for Total Alkalinty titrations.
As such, the motor, lead screw and pump body are designed around exerting a relatively high force to push the plunger of a 60ml syringe.
The following items are needed to build a single pump:
| Quantity | Description |
|---|---|
| 1 | Stepper motor (NEMA 17) |
| 1 | 6mm to 8mm Motor Coupler |
| 1 | Tr8x1 Stainless Steel Lead Screw with brass nut, 8mm OD, 1mm pitch, 200mm length |
| 2 | Stainless Steel Rods, 6mm OD, 200mm length |
| 2 | LM6UU Linear Bearings, 12mm OD, 6mm ID, 19mm length |
| 8 | M3, 20mm machine screws |
| 4 | Square nuts, 5.4mm XY, 1.7mm Z |
| 1 | Arduino Nano V3 (or compatible) with header pins |
| 1 | DRV8825 Stepper Motor Driver with pins and heat sink |
| 1 | Electronics PCB (see electronics/pcb folder) |
| 2 | Hall effect sensor (US5881LUA) |
| 1 | B3F-10XX Push button switch |
| 2 | 10k Ohm Resistors |
| 1 | 100uF Capacitor |
| 2 | JST-PH-3A + JST-PH-3P connector and plug |
| 1 | JST-PH-2A + JST-PH-2P connector and plug |
| 1 | JST-PH-4A + JST-PH-4P connector and plug |
| 1 | JST-PH-6P plug |
| 16 | JST-PH pins |
| 1 | JST-XH-2A + JST-XH-2P connector and plug |
| 2 | JST-XH pins |
| 6 | Colours of 26AWG silicone wire, <1m each |
| 1 | 12V DC power supply, 1.5A minimum |
Tested using Prusament PLA filament, 0.2mm layer height, 20% infill, 3 perimeters, no supports. All parts are in the 3d_models folder.
First, connect JST-HX pins to leads of the power supply, and connect them to the JST-XH-2P plug on the PCB. Check the polarity of the power supply and the PCB before connecting.
To assemble the control board, solder the following components to the PCB:
When finished, the board should look like the image below.
[image]
Once the electronics are assembled, the pump can be assembled.
To orient the body, we will refer to the 'top' of the body as the side with the motor attached, and the 'motor side' as anything side facing the motor. The 'base' of the body is the side with the syringe mount, and 'syringe side' refers to the sides facing the syringe. The 'back' of the body is the side with the wire and PCB cutouts. The 'front' of the body is the side where the rails and drive rod will be visible.
The pump control software is in the syringe_pump folder. It is written in C++ and is designed to run on an Arduino Nano.
To build and upload the code to the Arduino, you will need to install the Arduino IDE, and run the following command:
arduino-cli compile --fqbn arduino:avr:nano:cpu=atmega328 -p /dev/ttyUSB0 -u syringe_pumpTo monitor the serial output of the Arduino, you can use the following command:
arduino-cli monitor -p /dev/ttyUSB0 -c baudrate=115200A number of commands are available via the serial interface:
state - Returns the current state of the pump, including position, speed, and status.pos - Returns the current position of the pump in steps and mm.home - Moves the pump to the home position (fully retracted).short - The same as a short button press.long - The same as a long button press.stop - Stops the pump.cal - Calibrates the pump by moving it to the home position and setting the current position to 0.clearcal - Clears the calibration data.enable - Enables the stepper motor.disable - Disables the stepper motor.rate - prints the current step rate of the pump in steps per second.? - prints a list of available commands.forward [mm] - Moves the pump forward by the specified distance in mm.fast forward [mm] - Moves the pump forward by the specified distance in mm at maximum speed.backward [mm] - Moves the pump backward by the specified distance in mm.fast backward [mm] - Moves the pump backward by the specified distance in mm at maximum speed.| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | Conn_01x03 | Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_Vertical | HallEnd1, HallStart1 |
| 2 | R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2 |
| 1 | Arduino_Nano_v3.x | Module:Arduino_Nano_WithMountingHoles | A1 |
| 1 | C | Capacitor_THT:C_Radial_D6.3mm_H7.0mm_P2.50mm | C1 |
| 1 | Conn_01x02 | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | Button1 |
| 1 | Conn_01x02 | Connector_JST:JST_XH_B2B-XH-AM_1x02_P2.50mm_Vertical | PWR1 |
| 1 | Conn_01x04 | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | Motor1 |
| 1 | Pololu_Breakout_DRV8825 | Module:Pololu_Breakout-16_15.2x20.3mm | A2 |

gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch


OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

rusefi/rusefi
rusefi - GPL internal combustion engine control unit

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
It measures 56.6 × 53 mm and has 2 copper layers, 1.6 mm thick.
10 parts. 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 oscarbranson/syringe-pump repository on GitHub, at the commit this page was made from: the board is electronics/SyringePump.kicad_pcb and its schematic electronics/SyringePump.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask oscarbranson before reusing the design.