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).
188 questions
1
vote
1
answer
138
views
Problem adding IR receiver to smart car
I’m making a smart car using an arduino uno, sensor shield v5, motor control with a L298N and a servo motor + HC-SR04 ultrasound sensor. I want to add a IR receiver on the board so I can also control ...
1
vote
0
answers
98
views
Motor Shield Enable and Input Pins
Hello,
I am new to the Arduino UNO board and am trying to make a dc motor run using the MATLAB software. The motor is connected to the motor shield board in a similar way shown in the picture below (...
0
votes
1
answer
609
views
Adding L293D motor shield to Breadboard
Anyone knows how to attach the l293D motor driver shield on a breadboard?
I need to put the shield on top of a breadboard and then use an Atmega328P as the main way of controlling it.
Than you :)
1
vote
1
answer
202
views
How to use this specific arduino shield
I am trying to understand how to wire this Arduino Uno shield properly.
My goal/main questions: I have 6 servo motors and I am trying to wire them properly to this shield. Do I need an external ...
1
vote
0
answers
114
views
Serial communication problems
When I run this script serial communication just stops after a random period of time. There is no error it just stops outputting data and does not respond to inputs in IDE. Does anyone know a fix for ...
1
vote
1
answer
110
views
I need help with my final year project
I am building a project using bluetooth control as well as an ir sensor. The logic behind my program is when I press a key I want my robot to execute a series of program and while the program is ...
1
vote
0
answers
205
views
Motors not working with a motor Shield
Got a Duratech motor shield today, and I'm wondering why my motors do not run. Appreciate any help. The code I am using is the Adafruit sample code, Motorparty. The servos work however the motors do ...
1
vote
0
answers
199
views
Stepper Motor Inconsistent Jittering
I am trying to run a stepper motor using an Arduino stepper motor shield like the Adafruit V1 motor shield. In my code I am just trying to get the motor to rotate forwards and backwards. When I first ...
2
votes
2
answers
795
views
L293D motorshield with batteries doesn't power Arduino
Recently I came across a video about a guy building a remote Bluetooth-controlled Arduino car and I was quite amazed. So I decided I wanted to build it too. I have no Arduino or electronics experience ...
1
vote
0
answers
624
views
CNC Y-axis stepper moving forward but not in opposite direction
I'm building an CNC mill with an Arduino UNO with a CNC Shield V3. But I have a problem with the Y motor direction. It only moves in one way while the X motor is moving both ways. When I just ...
1
vote
1
answer
438
views
Combining an NRF24L01 transmitter/receiver with an Adafruit Motor Shield V1?
I'm making a vehicle project as a way to learn Arduino. I've set up motor control for a number of DC-motors plus a servo via an Adafruit Motor Shield V1 that I picked up.
Everything works fine, but ...
1
vote
3
answers
341
views
L239D motor driver not able to drive motors
I am making a line follower robot. The issue is trying to make the motors run.
The L239D module has 4 input pins (to control two motors), 4 output pins (to drive motors), and 6 power pins (5V, 5V, GND,...
1
vote
0
answers
132
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
1
answer
214
views
Motor does not work for a specific case when programming with L293D motor driver shield
I tried to make a car that moves using a 4x4 keypad.
Pressing "12" unlocks the car and sets the motors to move forward. After that, if I press 4, the speed of the left motor is reduced to ...
0
votes
1
answer
930
views
How does the motor shield determines how much voltage to supply to a motor?
Can i connect 6v DC motor and 12v DC motor, or 6v DC and 12V stepper to adafruit motor shield v1, and an external 12v power supply?
also, how does it determine how much voltage needs to be supplied ...
1
vote
0
answers
108
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 ...
1
vote
0
answers
308
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
1
answer
420
views
I have a question,an error occured in my code saying TIMSK was not declared in the scope(There are no errors)
#include <SmartInventor.h>
void setup() {
SmartInventor.DCMotorUse();
}
void loop() {
// M1, M2, M3
// CW, CCW, STOP
// 0-100
// 0-360
SmartInventor.DCMotor(M1, CW, 10);
delay(...
1
vote
0
answers
113
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 ...
1
vote
0
answers
409
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
2
answers
877
views
Adafruit motorshield v2.3 not working
I want to connect my adafruit motor shield v2.3 to a touch board from bare conductive so that the motor turns when one of the electrodes is touched.
I've tested the touch part and that isn't a ...
0
votes
1
answer
228
views
How to Work Two Linear Actuator Synchronously by Using Arduino and VNH5019 Motor Driver?
I am newbie and I want to build a project that contains two linear actuator that move synchronously. Two of them will lift up and down at same time. I use arduino mega and VNH5019 motor driver. I have ...
0
votes
2
answers
164
views
Arduino powered from motor shield and USB issue
I am using an Arduino (Elegoo) Mega with Motor shield to drive a digital train set. The Motor shield is powered from a 12v 1.1 amp dc power supply and I have the Arduino plugged into my laptop via USB....
-1
votes
1
answer
988
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
1
answer
1k
views
Is there an Arduino motor shield library?
I have an old motor shield but can see the revision 3 is still being sold: https://store.arduino.cc/arduino-motor-shield-rev3
When I follow the link for "Getting Started section" the page lists a lot ...