Questions tagged [arduino-motor-shield]

An extension board for Arduino which provides functionality for controlling DC/stepper motors and other inductive loads (such as relays and solenoids).

Filter by
Sorted by
Tagged with
2
votes
2answers
1k views

Is it safe to use the same power source for Arduino and its Motor shield?

Is it safe to use a unique 12V 5A DC power source to feed both Arduino and its connected Motor shield, provided that the motor (connected to the shield) will eat 3A maximum the Arduino Vin will get ...
-2
votes
1answer
45 views

use more no of batteries for more current for servos,why using motor shield? [closed]

motor driver is for current amplification.for that we could connect more batteries to servos to get more current.but why are we using motor shields?
2
votes
1answer
96 views

Arduino project feasibility

Question completely rewritten Trying to assess an Arduino project feasibility. New to Arduino... but did a lot of controller programming (assembly), Roboteq (C) and Phidgets (C++) , using various ...
1
vote
2answers
2k views

Motor Shield and HC-06 Bluetooth Module competing for pins

So my problem is this, I have an Arduino Uno with an Adafruit Motor Shield (1.0) and an HC-06 Bluetooth Module and I want to use them at the same time, the problem is that the Motor Shield uses all ...
2
votes
2answers
165 views

Problem with wrapping Adafruit Motor Controller function calls in a class

I'm working on an Arduino robot and I ran into a problem when reorganizing my code. I have an Adafruit Motor Shield v2.3 connected to an Arduino Uno. My robot can be controlled using a bluetooth ...
-1
votes
1answer
455 views

Trying to figure out how to use an extension board with Pi [closed]

I am trying to make the following board work with Raspberry Pi. Board Name: L293D Motor Drive Shield Expansion Board for Arduino Mega Raspberry Pi All I need to know is which pins do the following: ...
1
vote
1answer
418 views

How do I connect components to the Arduino with a motorshield?

How would I connect components to the Arduino with this motor shield? Thanks :)
0
votes
1answer
154 views

Should I control each of the four robot wheel separately or wire two from each side together?

I am making a remote controlled Arduino robot. I has 4 DC motors for wheels. I have 2 motor drivers available that control two dc motors each. I was wondering what the downsides are of wiring 2 dc ...
1
vote
2answers
280 views

motor does not move without Serial.println

having strange behavior with motor shield and steppers. when i'm trying to make onestep, motor just makes some high-frequent noise, but when i add Serial.println for debugging, it moves as intended. ...
3
votes
2answers
6k views

How can I control 4 DC motors with an Arduino?

In a few months, I am planning to construct an Arduino robot with multiple sensors etc. I will use an arduino mega and a 4wd chassis like the one here: Chassis. The chassis uses 4 DC motors. I was ...
0
votes
1answer
360 views

how do I power my motor shield without an arduino uno?

I want to power my motor shield without my UNO. I have connected the +ve and -ve terminals resulting in lighting up of the LED. Is there any way to control the motors in this arrangement from the ...
0
votes
3answers
2k views

What is the wiring of arduino motor shield to Nano?

I have the basic version of the stepper motor driver and a Nano, I see the pins are set to plug directly in to a Uno or similar Arduino, but according to the documentation it just needs most of the ...
0
votes
2answers
124 views

Good Arduino motor drivers

I need some motor drivers that can control a DC motor with 10-15 A and 25 V. I can't find any shield that can do the job. I need to control 4 motors with these. Can you suggest some models that are ...
2
votes
2answers
717 views

Arduino original motor shield can not supply enough torque to the motor?

I am using original Arduino motor shield L298P with Arduino uno. I disassembled an electric screw driver which came out with a 4.8 v battery pack and a 4.8v specified DC motor. I connected battery ...
0
votes
1answer
38 views

Can this Motor shield support other arduino functions?

http://www.flipkart.com/grab-em-l293d-motor-driver-arduino-shield/p/itmehvzzpzj4wyby?pid=ETYEHVZZFFHRFMFG I want to ask whether this shield will allow me to use the free pins of arduino for other ...
0
votes
3answers
3k views

Motor controller for 24v motor, Arduino Uno

I need a motor controller for a 24v motor and I want to control it using än Arduino Uno. Suggestions? The motor needs to run both directions and is going to draw about 5A
1
vote
0answers
46 views

Making my own motor shield [closed]

My motor shield is not working while feeding codes to rotate motors. Now making my own motor shield. May anyone help me how to make one???
1
vote
0answers
719 views

Only 1 DC motor spinning with motor driver l298N and arduino UNO? [closed]

So, I am making an RC Car and the problem is, that when the two motors i have should go forward, only one does, and when I turn off one motor, the other one works normally... I am powering the motor ...
1
vote
1answer
721 views

Troubleshooting duplicate libaries (Arduino motor shield and stepper motor)

I have tried a software. It work flawless on the first laptop in a fresh install arduino IDE environment with the libraries I imported. However when I copy the exact same program over. I get lot of ...
1
vote
0answers
251 views

Problem with my Arduino project

I am making a smart bin which automatically sense (with the help of IR sensor ) and dispose the trash by moving with help of DC geared motor 12V 60 RPM and it also detects for obstacles with the help ...
1
vote
1answer
52 views

2WD robot - logic error

I am making a basic 2WD robot using Arduino Uno with motor shield. I am getting no compile errors - but something in my logic flow is not working as expected. Expected Operation: Ping sensor does ...
3
votes
1answer
15k views

How to make servo rotate for angle bigger than 180°

Connected servo motor (180°) to Arduino Uno R3. Currently I am using a servo motor which have rotation angle specified as 180°, but I have a requirement to rotate to certain angles greater that 180°. ...
1
vote
0answers
173 views

Debugging arduino shield for varying voltage

I'm using this motor shield for arduino from adafruit. It says it can drive 4 DC motors with it. However, two terminals M3 & M4 (as marked in the image) seem to be supplying lesser voltage. To ...
1
vote
1answer
842 views

Arduino water pump not working and beeping

I’m new to Arduino and am trying to build a plant watering system without much knowledge on the subject. But my water pump is not working as I expected it to. I wanted to keep it simple so I bought ...
0
votes
1answer
1k views

How to program pressure sensor and motor with motor shield

I was working on controlling a high power motor with a heavy duty motor controller, and I was able to make my motor spin, but I wasn't able to incorporate a program for my pressure sensor and make it ...
0
votes
1answer
41 views

What variables to declare for controlling a motor with high power motor controller

I was getting started with programming a motor controller with the Arduino Uno, in this case it's a mega motor shield (the motor driver shield I'm using). The problem I have doing this is that I'm ...
0
votes
1answer
161 views

Stepper motor doesn't start immediately when i pressed the button

When I release my hand from the button on pin 2, the stepper motor takes at least few seconds to stop, but I want it stop immediately. here's my codes: #include <Stepper.h> const int ...
1
vote
2answers
292 views

Shield board with holes, do I need to solder?

I have a motor shield. I can put it on top of my arduino Mega and works perfect. However, since the shield plugs in on top of the arduino board, I don't have access to 5V and GND from Arduino Mega. ...
1
vote
0answers
592 views

Motor shield causing problems with interrupts?

I am making a controller for a model railway turntable and I need to control a single DC motor and read a hall effect sensor. I have the hall effect sensor connected to pin 2 on my Uno (since 2/3 are ...
1
vote
2answers
1k views

Calibrate motors using arduino

I'm trying to create a car that's being controlled by an Arduino. I'm using the following chasis: http://www.aliexpress.com/item-img/New-2WD-car-chassis-DC-gear-motor-wheels-easy-assembly-and-...
3
votes
2answers
7k views

Can an L293D motor driver shield do microstepping?

I bought a L293D motor driver shield and have used it with a pre-made sketch for driving a pair of stepper motors, but I'm not familiar with its capabilities. The sketch I've used so far doesn't use ...
0
votes
1answer
945 views

Speeding up Arduino DC Motors

I am using the Adafruit Motor Shield v2.3 for Arduino Uno. I am using the analogWrite() command to power my DC motor and have set the speed to 255. Is there any way to speed up the Arduino motor even ...
3
votes
3answers
9k views

Why is my Adafruit motor shield not spinning my motors?

I'm using the Adafruit Motor Shield v2.3. I'm powering the Arduino with a USB cable and I'm powering the motor shield with a 9 volt battery. I removed the vin pin, and I'm using this tutorial/code to ...
0
votes
1answer
1k views

DCMotorTest from the Adafruit site – got fatal error exit status 1

New to Arduino, I plugged in DCMotorTest from the Adafruit site and got this error message: a fatal error exit status 1 /* This is a test sketch for the Adafruit assembled Motor Shield for Arduino ...
1
vote
0answers
440 views

Best 2a stepper motor driver for Arduino Uno

What is the simplest (from a user/install standpoint) 2a stepper motor driver for an Arduino Uno? I would like something simple and easy to stack like the Adafruit Motor/Stepper/Servo Shield for ...
3
votes
1answer
981 views

Need help converting a processing sketch for a robot arm with servo shield

I'm currently building a robotic arm. I'm using an Adafruit servo shield, 7 servos, Arduino uno, and a 5V 10A power supply. I found a program that controls the arm with mouse movement using a ...
1
vote
2answers
562 views

Move robot through the waypoints

My arduino robot has two dc motors as two wheels and have mounted an IR led on it. I get current position of the robot as (x,y) coordinates in the arena using camera which is mounted at the top of the ...
1
vote
2answers
670 views

Student Project Inquiry(Building a Self Balancing robot)

I am currently building a self balancing robot using an L298N motors driver,and MPU6050 using an arduino microcontroller. I managed to control my motors movements with no issues. After I extracted ...
1
vote
1answer
90 views

Arduino Program uses less RAM then expected and doesn't run

I am trying to make a program for my Arduino that will run 4 motors with random actions (forward,backward,left,right) and execution is determined by a random number generator. When I compile there is ...
0
votes
1answer
571 views

adding a dead band to my motor and gearbox

I have a motor and gearbox that has limits and a pot built in. I have some code what drives the motor one way to when it hits its limits takes a value and drives the other way and takes a value, then ...
0
votes
1answer
114 views

Arduino Motor Shield

It seems that I can't get the DC Motor function to work while also having servos driven off the other ports :( #include "Arduino.h" #include <Servo.h> int pinI1=8;//define I1 interface int ...
0
votes
2answers
197 views

Arduino car on bluetooth remote appears to crash when motors started

I built a Arduino robot car which accepts instructions via bluetooth. The instructions are pretty simple, they tell the car to stop, go forward, reverse, turn left or turn right. When I have the car ...
1
vote
0answers
891 views

Monster moto shield + Arduino +Pololu 12V, 29:1 Gear Motor Encoder hardware problem

Overflow enthusiasts! I am trying to build a balancing robot with two wheels, using the polulu gear motor as mentioned above. In order to have a strong motor driver,the monster moto shield is used in ...
2
votes
2answers
130 views

Newbie need help to make a motor run for a laser scanner and some questions

I am trying to make a laser scanner consisting of a webcam and a line laser scanner. I have tried to use a manual scanning (by hand) and has worked, but would now like to consider automating the laser ...
1
vote
1answer
50 views

Two motors in one set of pins/plugs

I have been putting together a small robot using an Arduino Motor Shield R3. The shield has two sockets for motors, however the wheel carriage I bought has four motors. I tried putting both right side ...
-1
votes
1answer
980 views

Triggering the push button on the analog input of the L293D motorshield

I'm trying to drive a 12v dc motor using three push buttons, one to turn clockwise, the other counter-clockwise and the other to stop the motor completely. However the code below is not working, ...
1
vote
1answer
532 views

Motor Shield StepMotor

What the two yellow cables as you can see in the picture do not know?
0
votes
2answers
591 views

Pro Mini 5v with Adafruit motor shield v1 power sharing problems

I am trying to convert a RC car into autonomous car using Arduino Pro Mini 5v 16 Mhz. I have done this with UNO and Adafruit motor shield 1.0 with 4 gear motors and one micro servo for mounting range ...
0
votes
1answer
216 views

Powering a 6-12V motor using a lead acid 6V battery with 6Amps of current?

Hi I'm using a adafruit motor shield v2 and I need to power a DC motor 6-12V but I'm not sure if my battery will be okay for the shield. Will it burn the shield? I'm going to be using 6V so it should ...
0
votes
1answer
747 views

How to communicate with arduino uno when arduino motor shield connected to arduino uno?

I'm using this Dual Motor Shield when I plug Arduino Dual Motor Shield into Aruino uno can't seen any way to communicate with Adruino uno.how can I communicate with uno ?