Hi. I am new to here and come from Korea.
Me and my friend are on school project which is called Color Mixer, making a specific color using acrylic paints by the converted RGB data from Android phone through bluetooth.
So we need 5 motor pumps for CMYKW colors. we just got new pump and tested it. it works very well alone. However when i connect two pumps to my motor driver they just rotate once and stop working. I think its kinda voltage or current problem.. since when i connect only one pump and run the program it is working but as soon as connect another one, they just stop.
Here are my code and names of my pumps and driver.
int motor2_dir1 = 8;
int motor2_dir2 = 7;
int motor2_pwm = 10;
int motor4_dir1 = 3;
int motor4_dir2 = 2;
int motor4_pwm = 6;
void setup()
{
pinMode(motor2_dir1,OUTPUT);
pinMode(motor2_dir2,OUTPUT);
digitalWrite(motor2_pwm,1);
pinMode(motor4_dir1,OUTPUT);
pinMode(motor4_dir2,OUTPUT);
digitalWrite(motor4_pwm,1);
digitalWrite(motor2_dir1,0);
digitalWrite(motor2_dir2,1);
digitalWrite(motor4_dir1,0);
digitalWrite(motor4_dir2,1);
}
void loop()
{
analogWrite(motor2_pwm, 255);
analogWrite(motor4_pwm, 255);
delay(500);
}
Motor Driver : http://www.waveshare.com/wiki/Motor_Control_Shield
Water Pump : Peristaltic Liquid Pump with Silicone Tubing - 12V DC Power : ID 1150 : $24.95 : Adafruit Industries, Unique & fun DIY electronics and kits
and just in case i recoreded my pumps : - YouTube
its hard to recognize tho. when i press the reset button it works but soon stops.
Thanks for helping in advance. and sorry for my bad english