Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32 and Arduino Mega 2560 Controlled Peristaltic Pump System with Pressure and Flow Sensors

View and Edit Project In Cirkit DesignerImage of ESP32 and Arduino Mega 2560 Controlled Peristaltic Pump System with Pressure and Flow Sensors

Circuit Documentation

Summary

This document provides a detailed overview of the circuit, including a list of components, wiring details, and documented code for the microcontrollers used. The circuit includes various sensors, motor drivers, power supplies, and microcontrollers to achieve its functionality.

Component List

  1. Pendotech Luer Lock In Line Pressure Sensor

    • Pins: E-, S+, S-, E+
    • Description: Pressure sensor for monitoring fluid pressure in the line.
    • Purpose: To measure the pressure of the fluid in the system.
  2. Sensirion Flow Meter

    • Pins: green, red, y, blue, black, white
    • Description: Flow meter for measuring the flow rate of fluids.
    • Purpose: To measure the flow rate of the fluid in the system.
  3. tb6600 Micro Stepping Motor Driver

    • Pins: ENA-, ENA+, DIR-, DIR+, PUL-, PUL+, B-, B+, A-, A+, GND, VCC
    • Description: Motor driver for controlling stepper motors.
    • Purpose: To drive and control the stepper motors in the system.
  4. 48v to 5v Converter

    • Pins: out+, out--, in+, in--
    • Description: Voltage converter to step down from 48V to 5V.
    • Purpose: To provide a 5V power supply from a 48V input.
  5. 313KB Peristaltic Pump

    • Pins: A-, A+, B+, B-
    • Description: Peristaltic pump for fluid transfer.
    • Purpose: To pump fluids through the system.
  6. MW LRS-350-48 Power Supply

    • Pins: +48V output, -48V output, GND, N, L
    • Description: 48V power supply.
    • Purpose: To provide 48V power to the system.
  7. Custom PCB w/ ESP32

    • Pins: 5V Supply, GD, Outlet PUL-, Outlet PUL+, Outlet DIR-, Outlet DIR+, Outlet EN-, Outlet EN+, Inlet P E+, Inlet P S-, Inlet P S+, Inlet P E-, Shield, Valve GD, Valve V, GND, 24 V Supply, SIG, VCC, Outlet P E-, Outlet P S+, Outlet P S-, Outlet P E+, Inlet PUL-, Inlet PUL+, Inlet DIR-, Inlet DIR+, Inlet EN-, Inlet EN+, RS232
    • Description: Custom PCB with an ESP32 microcontroller.
    • Purpose: To control various components in the system.
  8. Arduino Mega 2560

    • Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D21/SCL, D20/SDA, D19/RX1, D18/TX1, D17 PWM/RX2, D16 PWM/TX2, D15/RX3, D14/TX3, D0 RX0, D1 TX0, D2-D13 PWM, AREF, SDA, SCL, D52, D50, D48, D46, D44, D42, D40, D38, D36, D34, D32, D30, D28, D26, D24, D22, D53, D51, D49, D47, D45, D43, D41, D39, D37, D35, D33, D31, D29, D27, D25, D23
    • Description: Microcontroller board based on the ATmega2560.
    • Purpose: To control various components in the system.
  9. RS232 to TTL Converter

    • Pins: VCC, RXD, TXD, GND
    • Description: Converter for RS232 to TTL signal levels.
    • Purpose: To interface RS232 devices with TTL logic levels.
  10. XL4015 5A DC Buck Step-down

    • Pins: Output +, Output -, Input +, Input -
    • Description: DC-DC buck converter.
    • Purpose: To step down voltage to a desired level.
  11. KPCS200 Peristaltic Pump

    • Pins: B+, A+, B-, A-
    • Description: Peristaltic pump for fluid transfer.
    • Purpose: To pump fluids through the system.
  12. KEF-HB1S10P Peristaltic Pump

    • Pins: GD, V in
    • Description: Peristaltic pump for fluid transfer.
    • Purpose: To pump fluids through the system.

Wiring Details

Pendotech Luer Lock In Line Pressure Sensor

Sensirion Flow Meter

tb6600 Micro Stepping Motor Driver

48v to 5v Converter

313KB Peristaltic Pump

MW LRS-350-48 Power Supply

Custom PCB w/ ESP32