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
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 ...
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 ...
5
votes
2answers
2k views

Stacking Arduino Shield (Motor Shield, LCD Keypad, LED Sensor)

I'm building a line follower with arduino, here some part that I'm going to use Arduino Uno Motor Shield 2A http://www.dfrobot.com/index.php?route=product/product&product_id=69 LCD Keypad 4 ...
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 ...
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 ...
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 ...
3
votes
1answer
12k 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°. ...
3
votes
2answers
6k 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 ...
3
votes
1answer
53 views

Shield Compatible third party motor driver

I recently purchased an Arduino UNO along with some other hardware. At the time of purchase, I didn't know about Arduino's motor shield and so I purchased a two channel stepper motor driver (2A per ...
3
votes
1answer
717 views

Pause between switching motor direction

I'm new both to this forum and to Arduino. My robot is comprised of Arduino Uno with Arduino Motor Shield, 12V DC gear motor, and two limit switches. The robot supposed to move endlessly on rails ...
3
votes
2answers
5k 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 ...
3
votes
1answer
952 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 ...
3
votes
1answer
781 views

Arduino Uno + Ardumoto + BT robot works from USB but not from baterries

My Arduino UNO board is part of a small robot that works when connected to the laptop by USB but it does not when plugged to the batteries. The baterries plug seems okay, it outputs 7.8 V. My UNO is ...
3
votes
2answers
495 views

Debugging a RadioShack Arduino motor/sensor shield

I bought a cheap "Make" kit at RadioShack, which includes some sort of proprietary Arduino Uno compatible motor/sensor shield. Naturally, the documentation is pretty bad. The documentation and Arduino ...
2
votes
3answers
754 views

Motor shield leaves no pins accessible

I just bought a motor shield for my UNO, in the pic below: Plugging it into the uno leaves no pins accessible on the board. I’d like to use it to build a robot car, but there’s nowhere to plug in the ...
2
votes
2answers
6k views

What is the difference between a motor driver and a motor shield?

what is the difference between a motor driver(like L293D) and a motor shield? what are the advantage?disadvantages of both? And which one do you suggest ?
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
3answers
16k views

Do I need the Motor Shield to drive servo motors?

I was perusing Arduino's list of official shields and noticed the Motor Shield that can be used to drive up to 2 servo motors. Being brand new to Arduino/robotics, I am wondering: do I really need ...
2
votes
1answer
92 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 ...
2
votes
2answers
123 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 ...
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 ...
2
votes
1answer
717 views

Is there some sample code for operating a servo with an Adafruit Motor Shield?

I have an Adaruit Motor Shield v2, and a Tower Pro SG92R micro servo. I've got it setup so the shield works with my Arduino Uno, and I've successfully tested using other types of motors on the shield. ...
2
votes
2answers
659 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 ...
2
votes
2answers
1k views

Motor shield and wireless transceiver compete for same pins

I would like to use these 2 components with an Arduino Uno: Arduino Motor Shield R3 nRF24L01 2.4GHz Wireless Transceiver I use Stepper for the motor shield, and SPI + RF24 for the wireless ...
2
votes
1answer
78 views

Attempts with Sainsmart Motor Shield Not Working

I received the sainsmart motor controller a few days ago, and am now having trouble testing it. The Arduino I am using is an Arduino Mega 2560. I thought it was an I2C communication issue but that ...
2
votes
1answer
452 views

Motor running during Motor Shield R3 reset

I have a problem with the Arduino Motor Shield R3 on an Arduino Uno. I Have a DC Motor on the A Channel and the Shield is connected to an external power source. When I reset the Arduino card the motor ...
2
votes
0answers
184 views

Motor shield code [closed]

I am working on a project using an Arduino Uno and a motor driver shield to move a car with an IRremote. But the vehicle is only moving forward and backward. I want it to move left and right. Kindly ...
2
votes
2answers
152 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 ...
2
votes
0answers
158 views

Seeeduino Motor Shield Power Supply

I'm looking to drive two DC motors (on a toy RC car) using a Seeeduino and Seeed Motor Shield V2, but can't manage to get the power scheme right. Right now, a 9V battery connected to the shield powers ...
1
vote
2answers
270 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
2answers
941 views

Is it possible to increase the voltage on 3.3v output to 5v on an ESP board to power a DC motor? [closed]

I am trying to use an ESP32s controller connected to an RC car DC motor. I found that when using my Arduino this is easily accomplished, and I can see that my output pin produces 5v for the motor to ...
1
vote
1answer
3k views

Problem for control speed of a DC motor with a L298N

(Not native english speaker here, feel free to edit my sentences) I try to control the speed of a DC motor with a L298N shield but it doesn't work very well. Here is my scheme : The power comes ...
1
vote
1answer
87 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 ...
1
vote
1answer
51 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 ...
1
vote
1answer
725 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 ...
1
vote
2answers
524 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
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 ...
1
vote
2answers
798 views

Is it ok to share the same power rail for the arduino and a shield?

I have a two amp 5VDC power rail. I have configured a motor shield to use external DC (by moving a jumper.) Is it ok to share the rail between the arduino's 5V and Gnd pins, and the motor shield?
1
vote
1answer
27 views

Powering Motor shield and Arduino Mega Separately

I'm trying to build a fire fighting robot, that uses 2 BO DC motors, 2 Servos - MG996R and SG90. For them I'm using Motor Shield v1 of Adafruit's make that uses 2 L293D IC's and a 74HC595 shift ...
1
vote
1answer
65 views

Dynamically create functions for AccelStepper that use Adafrut_StepperMotor.oneStep methods?

In the Adafruit_MotorShieldV2Library>Accel_MultiStepper example, AccelSteppers are initialized using the following static forwardstep1 and backwardstep1: #include <Wire.h> #include <...
1
vote
1answer
182 views

Turning an electric vehicle

I am not sure if what I am asking is possible. I was wondering if I would be able to program my Arduino to have my car go straight until one of the wheels hits a certain amount of wheel rotations then ...
1
vote
1answer
157 views

Using both a stepper motor and a DC motor with Arduino motor shield R3

We are trying to reprogram a remote control car with an Arduino Uno. This car runs the power with a DC motor, and it controls steering using a stepper motor. We have the Motor Shield R3 attached to ...
1
vote
1answer
130 views

use only one input pin in L293?

I have an L293 motor driver chip, in which the two input pins are used in order to turn the motor forward or reverse, or stop it. So I wοnder if I could use only one input pin, ... For running mode: ...
1
vote
2answers
252 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. ...
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-...
1
vote
2answers
633 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
47 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
vote
3answers
918 views

Sonar and servo stop working when usb cable unplugged

I am using the following components to build simple motobot: Arduino Uno Arduino motor shield, servo, sonar HC-SR04, magician chessis, DC adapter with 4 AA batteries. All works fine while USB ...
1
vote
0answers
24 views

Having trouble with motor shield running off external power source

I apologize if I don't immediately give important info, I'm very new to arduino's/circuity of any kind. I'll try to include as much info as possible. Some preface: I'm currently working on a project ...
1
vote
0answers
176 views

Arduino Motor Shield not working properly

I am currently making a project which includes a car controlled by the Arduino Motor Shield. I have written a code to control the motor shield via Bluetooth. However, the code doesn't seem to work. I ...