Skip to content

cearto/SlipPump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlipPump Arduino Library

Control a Kamoer DIP1500 V2 peristaltic pump over RS485 using Modbus RTU.

Features

  • Forward / backward rotation
  • Adjustable RPM

Requirements

  • ESP32 or compatible board (e.g. SparkFun ESP32 ThingPlus)
  • MAX485 RS485 transceiver module
  • Kamoer DIP1500 V2 peristaltic pump
  • ModbusMaster Arduino library

Wiring

Pump 9-pin Control Port

Connect to RS485 A/B and GND lines as follows:

Pump Pin Function Connects To
2 RS485 B MAX485 B
3 RS485 A MAX485 A
6 or 8 Signal GND ESP32 GND / MAX485 GND

MAX485 ↔ ESP32 Wiring

MAX485 Pin Connects To ESP32
VCC 3.3V
GND GND
RO RX pin (e.g. GPIO 33)
DI TX pin (e.g. GPIO 32)
DE/RE Control pin (e.g. GPIO 5)
A/B To Pump Pins 3/2

Note: Tie DE and RE together and control both with one GPIO.

Pump Configuration (Via Menu)

Ensure the following settings on the pump display:

  • C006: Set to RS485 mode
  • C012: Modbus address = 1
  • C013: Baud rate = 9600 (option 3)

Example

#include <SlipPump.h>

SlipPump pump(1, Serial1, 5, 32, 33); // address, serial, DE/RE, TX, RX

void setup() {
  Serial.begin(115200);
  pump.init();
  pump.forward(100);
}

void loop() {
  // your loop code
}

About

Kamoer DIP1500 V2 peristaltic pumps controller

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages