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

47 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
163 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
30 views

Unable to use ir receiver and motor shield together

#include <IRremote.h> #include <AFMotor.h> AF_DCMotor motor(1); int RECV_PIN = 14;//The definition of the infrared receiver pin 11 IRrecv irrecv(RECV_PIN); decode_results results; void ...
1
vote
0answers
330 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 ...
1
vote
0answers
138 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 ...
1
vote
0answers
150 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 ...
1
vote
0answers
550 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
64 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
230 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 ...
1
vote
0answers
601 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
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
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
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
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 ...
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 ...
1
vote
0answers
46 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
822 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
752 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
586 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
18 views

Motor not working with L293d shield

My code uploads to Arduino but the motor is not moving when I connect it to the L293d motor driver shield. I am supplying 12V 2A to the shield through an adapter, connected to dc motor at M2. tThis is ...
0
votes
0answers
40 views

motor driver shield covering ports for ultrasonic sensor

im new to arduino and am making an arduino car. the motor driver shield covers the ports (am connecting an ultrasonic sensor) and i know that we can connect it to the 'holes' on the motor driver ...
0
votes
0answers
10 views

Adafruit v2.3 Motor Shield Initialization Failure

I would appreciate any help solving this as I have spent several hours trying to debug. My code seems to stop when I get to the initialization of the motor shield. motorShield.begin(); #include <...
0
votes
0answers
19 views

Will L293D arduino shield lose functionality if I connect it with jumpers instead of mounting on arduino?

I'm new to arduino and have bought a L293D motor driver shield which have no heads on the pins. I looked at the pinout and it seems that shield does not use any of the pins "by default". So will it ...
0
votes
0answers
31 views

Motor driver shield l239D should be giving enough power but it doesn't

I am doing a line follower robot using motor driver shield l239D stacked with an Arduino uno to run 2 DC motors and two infrared sensors. I am supplying 12V to the motor driver shield trough three ...
0
votes
0answers
42 views

Motors working with Ultrasonic Sensor and Servo as expected?

So, I tried making an Arduino Project(Controlling Motors by Remote and Ultrasonic Sensor would activate Servo when the distance is less than 50cm). I am trying to build a project, A remote controlled ...
0
votes
1answer
67 views

Arduino Obstacle Avoiding Shield controlor motor L293D

I am a beginner with Arduino . I wanted to make a Arduino obstacle avoiding so I commanded last week an L293D Shield Motor Driver and I don't know if what I receive is the good ithem . First picture ...
0
votes
0answers
100 views

Error to work in reverse VNH2SP30

ım building a rover and ı using Johson 12v Dc motor and VNH2SP30. My code and motor works perfectly but my motor driver works only one way. It cant go to reverse and motor starts buzzing when it tries ...
0
votes
0answers
51 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
40 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
0answers
102 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
1answer
45 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 ...
0
votes
0answers
265 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
74 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
0answers
913 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
0answers
195 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 ...
0
votes
1answer
175 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 ...
0
votes
0answers
27 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
1answer
213 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
69 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
132 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, ...
-1
votes
1answer
143 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 ...
-1
votes
1answer
74 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
106 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
154 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
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
votes
2answers
473 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 ...
-2
votes
1answer
101 views

Adafruit motor shield v1 Need help Running 3 DC motors simultaneously?

My project is that I am building an animated (singing, dancing, head turning, and arm waving) snowman. I have 3 DC motors for individual functions that are to be run via Arduino Adafruit V1 card ...