Questions tagged [motor]

Use this tag for questions about connecting, controlling, and safely operating motors using an Arduino board.

Filter by
Sorted by
Tagged with
1
vote
0answers
615 views

My Arduino Robot doesn't move, and it's the only thing that doesn't work

It will be simple. I started to look at the sketch of the Arduino Robot and just tried one, Disco_Bot, and uploaded it one the top board. The Arduino started to play some music and the name was on de ...
0
votes
1answer
1k views

Which battery should I use to power arduino+motor shield + two 200 RPM (3.6V/1.5A)motors

I am using two motors ( from old two drill machines - same kind, these are 3.6v motors ), connected to arduino + arduino motor shield seeed studio v2. When I measured the both motors (indvidually) ...
1
vote
2answers
2k views

Differential steering drive equation

I'm trying to control an Arduino-powered motorized toy with a differential drive. However, I want to code it the motor movements with a direction vector. e.g. (1,0) = forward (-1,0) = backward (0,1) ...
0
votes
1answer
2k views

Vibrating motors with different intervals

For my project, I have 3 ultrasonic sensors and 3 vibrating motors; the motors need to buzz for a small amount of time, then wait for a specific time that corresponds whith the range of the ultrasonic ...
0
votes
2answers
30k views

How to make the motor car move left-forward / left-backward/ right-forward/ right-backward

I'm using an Arduino Uno to make a motor car. And I successfully made it move forward / backward / left / right. void forward(void) { analogWrite(EA, 254); //speed 0 - 255 analogWrite(EB, 255); //...
-9
votes
1answer
4k views

STEPPER MOTOR CONTROLLER Using LEONARDO PRO MICRO

I want to Use LEONARDO PRO MICRO and A4988 Stepper Motor DRIVER to control Nema 17 Stepper Motor. Please let me know how to hookup these together. Please give me a circuit for this type of assembly ...
1
vote
0answers
805 views

Motor Shield with 4 DC motors + small servo, which battery is suitable?

I am building my first 4wd vehicle with Adafruit motor shield with one Ultrasonic sensor and one small servo to move sensor. I am facing some problems. Bought 4 motors (2 GM9 and 2 GM3), found the ...
-1
votes
2answers
5k views

6 + 1 motors connected to an arduino uno?

Is it possible to connect 6 dc motors and 2 dc servo motors to an Arduino Uno? I intend to control the Uno with a Raspberry pi connected through USB. Assuming every motor to be bidirectional, how ...
5
votes
1answer
3k views

H-Bridge vs Motor shield for the arduino

Assuming we wish to control a small toy car with an arduino - meaning spinning the right and left wheels forward and backward and being able to break and control the speed, where each wheel has it's ...
3
votes
2answers
3k views

Why doesn't this motor turn?

When I upload the code, the DC motor makes a humming noise, but doesn't turn. //2-Way motor control int motorPin1 = 5; // One motor wire connected to digital pin 5 int motorPin2 = 6; // ...
4
votes
1answer
3k views

Arduino motor shield will only work in one direction

I have this Arduino motor shield which is hooked up with two DC motors. The board is the same as this one from Sparkfun. A PWM output controls the speed of the motor, and a digital out controls the ...
2
votes
1answer
369 views

Discrete H-Bridge very low current output

I have built two parallel H-bridges from "Design 1" on this page as you can see in the attached schematic. However when I apply the external power (VCC1 in the center of the diagram) the two motors ...
1
vote
2answers
864 views

Arduino Uno to drive 2 unipolar stepper motors

I need to use two stepper motors to move microscope positioning knobs in the X/Y direction. The stepper motors I have are unipolar and are 6V rated (I think). I know it's possible to drive a unipolar ...
0
votes
1answer
1k views

Why is my transistor getting very hot when controlling a 12V peristalic pump?

I have followed this tutorial: http://www.instructables.com/id/Automatically-water-your-small-indoor-plant-using-/?ALLSTEPS Every time i try to run my circuit, My transistor gets very hot and breaks....
1
vote
1answer
129 views

Can a DC motor use more current than its datasheet?

I am using small dc motors connected to the 5V of the arduino which is known to provide 200mA without damaging it. The motor I am using is a very common one found in toys -> https://www.sparkfun.com/...
0
votes
1answer
244 views

Trouble reading from multiple analog ports

So I'm trying to read 4 different analog values and store each one to a variable. I imagine doing this by first initializing the ADC registers and each time it enters the ADC ISR checking which port ...
1
vote
0answers
750 views

Which Arduino DC motor controller shield to use?

I wanted to try and experiment on 24 V DC motors (Dual) and was looking for controllers compatible with Arduino Uno. When I found this Pololu TReX Jr 2 x 2.5A 5-24V Dual Motor Controller, the ...
5
votes
1answer
8k views

Can I use a spare Darlington Pair on my ULN2003A to drive a DC motor?

I'm successfully running a stepper from my Arduino via a ULN2003A and a secondary power supply. It uses the first four of the seven Darlington Pairs on the chip, leaving three spare. A) Is there any ...
0
votes
1answer
684 views

Arduino works bad when powered by 9V battery

At first I am sorry for my bad English. I am making robot which can do a lot of things... If I connect arduino on my robot with PC via USB, the robot works properly. If I use external power supply (...
1
vote
1answer
72 views

Can I use this replacement motor without modifying the circuit?

I have a demo that spins a motor, but the leads on my motor broke. I happen to have another motor lying around that I'd like to swap in, but it's of a different type. Here's my circuit: This is the ...
0
votes
1answer
478 views

Stack arduino, motor shield and lcd shield

I made arduino-stack which consists of arduino r3, robotdf motor shild and robotdf lcd shield. But motor shield and lcd use same pins 4 and 5, so we have a conflict of pins. Can i use other pins?
1
vote
1answer
508 views

Multiple Stepper Motors in One Shield?

I need to construct 4 reactors for an experiment requiring mixing. We want to automate the mixing and at the same time reduce cost. can we connect multiple stepper motors with 5 or 6 wires on one ...
1
vote
2answers
180 views

Controlling bigger motors with an arduino board

i am german and my english is not the best, anyway i hope you will understand my problem. At the moment i construct a little car with some friends. We have still completed the frame and now we think ...
4
votes
8answers
25k views

How to eliminate noise from PWM controlled 12V fan at low speed

I am trying to build a simple fan controller (single fan). So far I have successfully created a circuit which powers the fan with an external 12v DC adapter and added a transistor (NPN) to switch it ...
2
votes
1answer
518 views

Controlling ESC with Arduino

I want to control these motors: hexTronik DT750 Brushless Outrunner 750kv with this battery: Turnigy 2200mAh 3S 25C Lipo Pack and these ESCs: TURNIGY Plush 18amp Speed Controller. I am new to this ...
0
votes
2answers
114 views

Help connecting an Arduino and an electronic speed controller

We have this controller that we are planning to use with this motor. How do we plug it to the Arduino to make it work? This is a totally new subject for our school team, since we are mostly ...
1
vote
1answer
2k views

PWM generation using Registers

I'm using the Registers of the Arduino micro to get a signal for Electronic Speed Controllers (ESC) for brushless motors. As far as I read, ESCs interpret everything they can, while just ignoring too ...
2
votes
2answers
2k views

Stepper motor clock [closed]

I am currently using an Adafruit motor shield on my arduino uno for the first time. The idea is turning the stepper motor with basicly 1RPM. But i just cant do it. This is the first time working with ...
1
vote
3answers
213 views

Why does the battery eliminator connected to the wall provide a better spin to my dc motors than my battery of the same voltage?

Using a H-bridge, I've connected my DC Motors to an Arduino. When I accept the external power source from a wall, using a 9V battery eliminator, the motors spin well and consistently. However, when I ...
1
vote
1answer
6k views

Two 300RPM 12V DC motors connected to arduino motor shield r3 power supply

I have two 300RPM 12V DC motors connected to arduino motor shield r3 that is mounted on arduino uno board. Problem is my motors runs very slow some times not even running. After googling I found I ...
3
votes
3answers
16k views

Use Arduino's PWM to control motor direction?

I'm looking for a way to allow Arduino to control a motor using PWM. So far what I have gathered is that using Arduino's PWM sets the digital value of 255 to 5v and 0 to 0v. However what I am ...
2
votes
2answers
9k views

Use potentiometer to control motor's speed

Following the arduino starter kit, one of the projects uses a push button to on/off a motor. In the end they suggest to try to use a potentiometer to control the speed of the motor. I already did it, ...
0
votes
1answer
142 views

Over voltage on Arduino and Ardumoto

I am using Arduino Leonardo and Ardumoto to drive 2 12v motors running at 1.3 amps each. I purchased a rechargeable battery of 12V with 5AH I first started by plugging in the battery to the Arduino ...
1
vote
3answers
580 views

Cannot drive DC motor with Arduino PWM

I've programmed the Arduino Uno to generate PWM corresponding to the serial input values. And it works fine with an LED. I took the connection from PWM pin 3 (where I set the output) to the base of a ...
2
votes
2answers
569 views

Powering motors

I'm trying to control two DC 3-6V motors with a HG7881 driver and an Arduino Nano, but the Nano is always resetting if it has the same power supply than the driver. I'm connecting the batteries to ...
4
votes
1answer
2k views

Salvaged Stepper Motor Blues

So recently my company threw away some rather large and reasonably old laser printers. One was a LaserJet 9050dn the other was a Epson printer/scanner combination. Being a little industrial I thought ...
0
votes
1answer
950 views

Keyboard Control Not Working As Intended

I'm trying to control a single motor. If I press 'a', then motor 1 should turn to 0, if I press 's', then motor 1 should turn to 180 #include <Servo.h> char key = 0; const unsigned int ...
0
votes
1answer
374 views

Arduino + simple DC motors? (4WD kit)

I am trying to connect 4 small DC motors to Arduino, like those in the following image: The specification for each of them is: Suggested Voltage: 3V DC; No Load Speed: 65 ± 10rpm; No Load ...
1
vote
2answers
3k views

How to connect DRV-8835 to arduino

I try to connect arduino with motor using DRV-8835. The problem I have - simply nothing happens. I used tutorial from http://www.instructables.com/id/The-SnapMobile-Start-Your-Physical-Computing-Engin/...
6
votes
1answer
34k views

Question different ways of connecting L298N motor driver board to arduino and motors and powering them

I read few posts and tutorials on this topic but none of them kind of answered my questions. I bought this L298N motor board and i have two motors that are rated 3V Now i am trying to understand how ...
1
vote
2answers
733 views

little pump isn't working

I'm trying to use a little pump with my arduino nano: void setup () { pinMode(waterPump, OUTPUT); } ... while (val < valueWater) { Serial.println ("in while"); // testing purpose ...
1
vote
2answers
886 views

Arduino Packet for Bluetooth

I'm having trouble figuring out how to start my project. The objective is to control a robot with four servo motors and six DC motors through bluetooth. I have a bluetooth shield from Adafruit and I'm ...
2
votes
2answers
2k views

Exoskeleton Motor Control Code

Background: I have been working on an exoskeleton project with a group of friends, and I need help. I made another post on the robotics.stackexchange site for the drive system: https://robotics....
0
votes
3answers
6k views

DC motor makes noise but does not rotate

i am following Jeremy blum's tutorial on youtube. link i have done the exact same circuit design as he has. but the dc motor just makes a continuous beep sound when i run this code. int motorPin = ...
1
vote
1answer
181 views

Moving an item on a pole, can an Arduino work for my project?

I'm a computer programmer, but I've never done anything with Arduino. I'd like to build something that holds a polisher (this one, in specific: http://www.homedepot.com/p/BLACK-DECKER-6-in-Random-...
2
votes
2answers
3k views

Changing direction of DC motor

i am working on a project which requires changing the direction of the DC motor using arduino. that is I want the DC motor to rotate clockwise when i press key 'A' and anti clockwise when i press key '...
0
votes
1answer
733 views

Controlling a motor with a wav file

I've got an SD card and speaker hooked up to my nano and I can play mono audio files easily. My question is, is it possible to control the speed of a motor using the pwm output to the speaker? I tried ...
5
votes
1answer
1k views

Leonardo-based tachometer?

I'm new here. I'm not a native speaker, so pardon my English. I just received my Arduino Leonardo today. I tried some basic calculations and stuff like blinking and LCD interfacing. Its interesting. ...
2
votes
1answer
564 views

Are these lcd and motor-shields stackable?

first of all, I'm kindly apologizing for asking such stupid questions, but as my electronic-knowledge is dramatically limited, you are my only hope to get my problem solved. I'm pretty new to Arduino ...
0
votes
3answers
3k views

Seeking to measure back EMF of an electric motor via Arduino

Is it possible to measure the back EMF of a motor, using just the Arduino and no sensors? Or what type of sensor do I need? One that measures current?

1 8 9 10 11 12