7.1.2 Suction pump

Applicable object

  • Paper/plastics
  • Smooth planar object
  • Cards, etc

Product Description

sucktionpump_1

Installation schematic

sucktionpump_2

wiring diagram

sucktionpump_wiring

Notes

  • Please ensure that the product is connected successfully according to the instructions
  • Make sure the product is powered by attached adapter
  • Please ensure the access direction of positive and negative electrodes

Use of suction pump in Arduino

  1. connect the suction pin to the Basic pin

    • solenoid valve control pin link Basic -G2 pin
    • Pump control pin link Basic -G5 pin
  2. create a new Arduino program to copy the following:
set pin 2 to high level and close solenoid valve//
// please confirm solenoid valve connection G2 pin, pump link G5 pin 
// connection completed, high level off, low level open
// 

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);//open serial port, baud rate 9600
  pinMode(2,OUTPUT); //set pin G2 to output state
  pinMode(5,OUTPUT); //set pin G5 to output state
  delay(100);
  digitalWrite(2,1);//set pin 2 to high level and close solenoid valve
  digitalWrite(5,1);//set pin 5 to high level and shut down pump
}

void loop() {
  // 使用时按照需求控制电磁阀与泵机
  digitalWrite(5,0);//将引脚5设为低电平,打开泵机
  delay(200);//延时200ms
  digitalWrite(2,0);//将引脚2设为低电平,打开电磁阀
  delay(2000);//延时2000ms,松开吸住的物体
  digitalWrite(2,1);//将引脚2设为高电平,关闭电磁阀
  delay(200);//延时200ms
  digitalWrite(5,1);//将引脚5设为高电平,关闭泵机
  delay(200);//延时200ms
}

Use of suction pumps in UIflow

  1. connect the suction pin to the Baisc pin

    • Solenoid valve control pin link Basic -G2 pin
    • Pump control pin link Basic -G5 pin
  2. Create a new UIFlow program to add the following content:

results matching ""

    No results matching ""