Skip to content

This is a project to control a DC pump with PWM on Raspberry pi.

Notifications You must be signed in to change notification settings

ShuDiamonds/PUMP-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PUMP-Control

This is a project to control a DC pump with PWM on Raspberry pi. The repositroy includes a design about a motor driver curcuit, control programs, pump.

Requirement

  • Raspberry pi 3
  • ubuntu Mate16.04
  • Python 3.x
  • wiringpi
  • DC pump

System Overview

Pump

datasheet

We used this DC pump.

features

  • Model number:DC30A-1230
  • Voltage:DC5V-12V
  • Rated current:0.35A
  • Max Volumetric flow rate:4L/min
  • Rated power consumption:4.2W

Motor driver circuit

circuit diagram

electronic component

  • Breadboard
  • Photo coupler:EL817
  • N-channel MOSFET:IRF840
  • Resistors:150 ohm, 1k ohm, 1k ohm
  • wire

wiring to breadboard

Input Volume

See here written about PCF8591. And do not forget to enable i2c of raspi

Usage

Basic Example

$ python3 flowdemo.py

memo

we didn't use PWM of wiringpi, because it conflict the program using PCF8591. so that we made cheap software PWM program.

Licence

MIT

Related Articles

Author

ShuDiamonds

Releases

No releases published

Packages

No packages published

Languages