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).

41 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
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 ...
1
vote
1answer
157 views

Arduino and MatLab with OWI Robotic Arm Edge — Issue with I2C

I'm working on a project where I want to be able to program a robotic arm in Arduino using MatLab. I've used the Arduino Uno with an Adafruit Motor Shield V2.3 and the OWI Robotic Arm Edge kit. The ...
1
vote
0answers
491 views

Arduino motor driver 3.7v

I am planning to build my own micro quadcopter, so I bought an Arduino 101 and 3.7v micro DC motor. So the next step is finding a motor driver that can control these four motors, using PWM pins on ...
1
vote
0answers
63 views

Issue regarding executing sketch code when not connected to USB

`I have an Arduino Uno A000066 Board R3 that has an Arduino A000079 Motor Shield Rev3 attached to it. Also I have connected two DC Servo Motors to the Motor Shield and wrote the following sequence: ...
1
vote
0answers
532 views

How can I reduce speed of motor with motor shield?

I'm using Arduino and Adafruit to control 4 motors for a little robot. I have this code example: #include <AFMotor.h> AF_DCMotor motor1(1, MOTOR12_1KHZ); // create motor #2, 64KHz pwm ...
1
vote
0answers
245 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
0answers
160 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
0answers
559 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
0answers
432 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 ...
1
vote
0answers
45 views

Coding for Seeed Arduino motor shield

I acquired a Seeed studio Arduino motor shield V.2 and wanted to start using it. The problem is that there is like no good example code. The library for the shield on the seeed website has one example ...
1
vote
0answers
791 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
vote
0answers
1k views

Driving stepper motors adafruit motor shield v2

I got an Arduino Uno Rev3 and Adafruits Motor Shield V2. I also got two RepRap stepper motors: Frame size 42 x 42mm - NEMA 17 1.8 degree step angle Length 47mm Holding torque 44 N.cm (4.4kg.cm, 62oz....
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 ...
1
vote
1answer
474 views

Arduino Robot won't move

I am building a robot for a school project. I use an Arduino Uno, 2 dc motor's and an Ultra Sonic range measurement module. I want the robot to be autonomous, he has to be able to move around on his ...
0
votes
0answers
19 views

Why is my quadrature encoder writing as irregular intervals in serial monitor after working fine?

I'll try to keep this brief and add code/output at the bottom. I am using an Arduino Uno with a Pololu motor shield and two Pololu motors. I am driving speed control using the encoders at the ends of ...
0
votes
1answer
39 views

Using an L298N driver together with servo motors on the same arduino

I'm using an L298N driver (powered by a 12V, 1.5A adapter) on a MEGA Sensor Shield (powered by a USB cable). Everything works fine and I can control the direction and the speed of the DC motor, ...
0
votes
0answers
87 views

Unable to control servo with decoupling capacitor and external power supply, but motor shield works

I'm a hobbyist trying to up my arduino and electronics knowledge. I can successfully control a hobby servo using an motor driver shield (https://learn.adafruit.com/adafruit-motor-shield/overview) but ...
0
votes
0answers
37 views

Servo not moving

I have connected my servomotor (MG996R) to my L293D motor shield, which is connected to an Arduino Uno R3 Board. I use 4x AA 1.2V NiMH batteries to power the shield, and a regular 9V battery to power ...
0
votes
0answers
41 views

Need Help Understanding PS2X Library

I bought an Arduino Tank recently that uses the PS2 controller and receiver. It comes with the PS2X_lib Library and I couldn't get a good grasp of what some of the functions do. Question: In ...
0
votes
0answers
35 views

Using Arduino Motor Shield

I'm looking to create a blind controller and have set up the hardware and software as I think it should be. I had the software working fine using an IC motor driver, but as I am no great at soldering,...
0
votes
0answers
65 views

Arduino Mega 2560 and servo motor in Proteus

Can I get help to connect Arduino Mega 2560 and servo motor in Proteus 7.8 correctly because I tried this connection, in the image below, with sweep.ino.hex in the Arduino software examples but did ...
0
votes
0answers
37 views

Robot can't stop after joystick release

Used the plan from: https://www.instructables.com/id/Arduino-RC-Gamepad/ The motor doesn't stop when release the joystick, need help. Thanks. <pre> {#include <VirtualWire.h> //...
0
votes
1answer
70 views

Help with code for pushbutton connected to adafruit motorshield v2

can anybody assist me with a code? I am using arduino uno with adafruit v2 motor shield stacked on top. I am using a pushbutton and one DC motor and I want the state of the push button to change after ...
0
votes
0answers
48 views

L293D Motor Drive Shield For Arduino question

I have this shield for Arduino . The suppliers states that the driver is capable to move 2 unipolar stepper motors. https://www.sainsmart.com/collections/all-for-arduino/products/l293d-motor-drive-...
0
votes
0answers
116 views

Why is Wire.endTransmission(true) returning 10?

Question: The follow code is printing 10 over and over again (with spaces in between). I have an I2C device connected at 0x60, and nothing connected at 0x61. I'm confused by this because the Wire....
0
votes
1answer
55 views

Programming a switching AC current?

I tried using this code to output AC power from one H-bridge and then another, switching every second, but when I connected a motor to it, it just seemed to output direct current. This is the code I ...
0
votes
1answer
333 views

How to Connect Dc motor with encoder (pololou) with motor shield and Arduino Mega 2560?

I tried to search a bout how to connect plolou motor with encoder to arduino mega and the motor control shield as in those pics if any one knows how to connect those to each other please tell me
0
votes
0answers
675 views

Compiling error: undefinded reference to pinMode and digitalWrite

I'm using some downloaded code to produce an obstacle-avoiding car: /* Author: Muhammed Azhar visit - robotechmaker.com */ #include <AFMotor.h> const int trigPin = 2; // define the pins of ...
0
votes
1answer
208 views

Communicating between two arduino terminal using Xbee

I have 2 Arduinos, mounted with Xbee Shield and Xbee S1 module on each. One arduino is mounted on car chassis while another is connected with PC. Our AIM is to send signal from the arduino connected ...
0
votes
0answers
26 views

How do I use this motor shield?

I am stuck with this motor shield. All I have is the shield. No documentation available online, nothing. I need to run two motors off this thing and I only have a few hours to figure out how this ...
0
votes
0answers
203 views

Is there a module for driving 2 stepper simultaneously?

I'm looking for a module (not a shield) to drive 2 stepper motors simultaneously. The solution I found for now is 2 TB6612FNG modules, but if someone knows something that can work with 2 steppers ...
0
votes
0answers
826 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 ...
0
votes
1answer
139 views

Can't make ultrasonic sensor work with motor controller

I just started using Arduino Uno, I can't get the ultrasonic to work ,with motor controller board, the output value is always zero. Just to make sure I'm talking about the correct stuff: I used this ...
0
votes
1answer
65 views

Using Arduino and Motor Shield

I am a beginner in Arduino.I want to connect 2 motors to Arduino. Do I require a motor shield?And if yes please tell why? Also can i use an amplifier to increase the voltage for the motors? And one ...
-1
votes
1answer
50 views

Code causing Servo motor not to work!

My sketch is compiling and loading, but when the program runs, the Servo motor does not work. The buttons work, the LED light works, Piezo buzzer plays the melody, the Stepper motor works but not ...
-1
votes
3answers
90 views

NEED Help With Servo motor

I have just bought a MG90s tower pro servo for my school project and there is a problem. As soon as I connect my servo to the cnc shield or directly arduino, the whole arduino board turns off. I ...
-1
votes
2answers
134 views

Arduino MotorShield code running but not motors

I have a motor shield V2 on my Arduino, i compile the codes just fine and i'm trying to just run the example dc motor test. The code compiles the serial is printing out the "tick tock ...." but the ...
-1
votes
1answer
910 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
votes
2answers
466 views

How to detect high/low signal from a DC servo motor using arduino?

I am a newbie to Arduino. What I am going to do is to change my roll to roll printer to flatbed printer. Rather using print roller, I decided to move the bed from a stepper motor.I know how to run ...