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
2
votes
1answer
504 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
112 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
207 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
141 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
556 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
554 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
926 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
363 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/...
5
votes
1answer
33k 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
673 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
823 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
5k 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
176 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
702 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
561 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?
-3
votes
1answer
702 views

Did I burn my Arduino UNO?

I've recenly bought my first Arduino uno and I was messing with DC motors. I put on the prototype shield on arduino with a mini breadboard on it. I was using L293D bridge. I've connected everything ...
0
votes
1answer
463 views

What is the smallest microcontroller capable of running Arduino? [closed]

I'd like to know which is the most powerful, lightest, and perhaps least expensive micro controller capable of running Arduino.
2
votes
3answers
1k views

Power small hobby motor using Vin pin on Arduino and 9V battery, safe?

I want to power a small motor with a 9V battery and control it with PWM using an Arduino Leonardo. I know I can power the motor separately, but this introduces the problem of needing a battery to ...
0
votes
0answers
42 views

Power small hobby motor using Vin pin on Arduino and 9V battery, safe? [duplicate]

MOVED HERE I want to motor a small motor with a 9V battery and control it with PWM using an Arduino Leonardo. I know I can power the motor separately, but this introduces the problem of needing a ...
0
votes
1answer
2k views

Adafruit motor shield + Adafruit stepper not working

I have the Adafruit Motor Shield V2 and an Adafruit stepper motor. I have not soldered the shield onto the Arduino (which is an Uno) yet because I don't want to make anything permanent yet. I have the ...
1
vote
1answer
343 views

digital pin's current limit, ohm's law and DC motor

A digital pin's output voltage on an UNO board is 5V, which is equal to the output from the VCC. I read that the DC current limits of those pins are 40mA and 200mA respectively, and that a higher ...
11
votes
3answers
2k views

What is the advantage of using a motor shield if I want to use a stepper motor?

I know that it is possible to connect a stepper motor directly to an arduino (as displayed here). I know that another option is to use a motor shield (for example the Arduino Motor Shield or the ...
7
votes
4answers
5k views

Debugging my Stepper Motor Driver circuit

I'm using the Pololu DRV8825 Stepper Motor Driver to control a NEMA 17 Steppermotor with an Arduino Uno. According to the Pololu website, the circuit should be wired as follows: I did, however, ...
4
votes
1answer
20k views

Reverse turning of Stepper motor

I have a stepper motor connected to my Arduino like this using the ULN2003A Darlington Array: (Ignore the potentiometer) And I have programmed it with the following code: #include <Stepper.h> ...
8
votes
1answer
2k views

How can the Arduino Uno support up to 12 servos if it only has 6 digital PWM pins?

According to this: The Servo library supports up to 12 motors on most Arduino boards and 48 on the Arduino Mega. On boards other than the Mega, use of the library disables analogWrite() (PWM) ...
5
votes
2answers
630 views

Understanding the relationship of Pulse and Stepper RPM

This may be a better question for the Physics StackExchange so tell me if I should move the question. I have a pretty simple script that I'm using to control the RPM of my stepper motor: void loop(){...
2
votes
2answers
3k views

Which motor (type) to use for an arduino controlled magnetic stirrer?

I am in the process of building my own sous vide machine and like to replace the pump typically found in most commercial machines with a magnetic stirrer unit. I figured the easiest way would be to ...
4
votes
2answers
1k views

How can I connect the Tamiya double gearbox to Arduino Uno?

I'm working on building my first robot. this is my first foray into DIY electronics. I already have an Arduino Uno, and I have ordered the Tamiya double gearbox here. My goal is to control the gearbox ...
2
votes
1answer
3k views

How to test the sleep / enable function of Stepper Driver?

I am currently using an Arduino Mega 2560 to run this stepper motor driver (Big Easy Driver, ROB-11876 from sparkfun) https://www.sparkfun.com/products/11876. I am trying to use the sleep or enable ...
7
votes
2answers
8k views

Control/count rotations of a DC motor

Using an Arduino and an L293D IC, can I control the number of rotations a DC motor makes? Or can I only control the direction and speed of the motor? I purchased a two-wheeled robot platform to learn ...
2
votes
1answer
2k views

Seeed Studio motor shield

My goal is to have my Arduino fire two stepper motors. They need not be simultaneous. I'm using an Arduino Uno with 2 motor shields - specifically, the Seeed Studio Motor Shield v1.0. I know this ...
1
vote
1answer
2k views

Which type of Motor Drivers to drive Unipolar Stepper Motors?

I hope this question is specific enough. Basically I want to know if it matters a great deal what kind of Motor Driver IC(s) or pre-assembled kits you use to drive a Unipolar Stepper Motor. For ...
1
vote
2answers
959 views

How to find out whether an arduino can control a servo motor

I have a servo motor with following specs Torque - 1.08Nm Max rpm - 3000 Current rating - 7.8 amp Max voltage - 56V DC Please tell me how to calculate whether an arduino board - uno rev 3 can control ...
9
votes
4answers
8k views

Arduino motor shield orange/white pin usage

I have an Arduino motor shield like this one plugged into my Mega board. I would like to know some more information about the orange and white pin blocks on the board. The Arduino website has the ...
6
votes
1answer
897 views

Can a stepper motor be controlled directly from an Arduino?

I'm planning to build a simple XY plotter, and have been looking at the possibility of using a pair of small 5V 4-phase steppers to provide the movement. In my research, I've often seen stepper driver ...