Questions tagged [motor]

Use this tag for questions about connecting, controlling, and safely operating motors using an Arduino board.

Filter by
Sorted by
Tagged with
0
votes
1answer
328 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
1answer
46 views

Motor control using arduino board

I want to control 2 dc motors using the arduino board directly. One motor must rotate clockwise and the other counter clockwise. The directions doesn't change only the speed of each motors. Can this ...
1
vote
0answers
25 views

is it possible to code microservo automatically stop when the speed of rotation getting slower?

my group is doing a project which call automatic bed maker. we want to use a servomotor to pull the sheet of the bed. can we possibly make the servomotor stop rotate when the speed of rotation ...
0
votes
2answers
122 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 ...
1
vote
1answer
496 views

Controlling 2 DC Motors with L293D and 6 V battery pack?

Sorry if my question looks newbie, but I'm just starting to delve into robotics and electronics, and my first project was building a small arduino collision-avoidance robot with a ultrasonic range ...
0
votes
1answer
268 views

Peristaltic Pump Project

I am designing a peristaltic pump and need some advice for parts. I am using an Arduino Leonardo and also have an UNO and am planning on adding a temperature and pH sensor as well. I have two ...
0
votes
1answer
24 views

Sketch not running as expected

I wrote this sketch along with an HC - SR 04 Ultrasonic transducer and a DC motor. Whenever the HC-SR 04 reads any distance less than 15 cm, the motor stops, otherwise it keeps running. The problem ...
0
votes
1answer
223 views

Power motor with Uno

I am trying to power a small peristaltic pump using an UNO R3. I have it powered using usb, and I tried running the blink program to see if I could power it using digital write, and extended the delay ...
5
votes
2answers
5k views

DC Motor Speed Measurement using Rotary Encoder

I have written the following code to measure the speed of a unidirectional DC Motor.I have attempted to measure the time between successive interrupts in order to calculate speed. boolean check; ...
0
votes
1answer
34 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
1answer
51 views

2 Direction Motor [closed]

Using an Arduino-Nano, I'm trying to make a circuit that will change the direction of a motor based on two inputs. The input from the Arduino will be amplified by a transistor. Here's the code: int ...
0
votes
1answer
485 views

My Arduino is heating up

I am working on a simple Arduino project where I am controlling 5 TowerPro servos. I read that each takes up 2.2 V each so that means the Arduino can only handle about 2 , if using 5V. So far Ive ...
1
vote
1answer
572 views

Electric interference from cnc spindle

I've got a CNC machine and I recently started using a spindle for it. At first it was running smoothly with no issues, but after the first brush pair wore off (I've replaced them later on) it started ...
0
votes
1answer
657 views

connect arduino to battery with 12V motor

I am looking at this(instructable with circuit picture) tutorial for making a self-balancing robot. However, I am confused about how the battery connects to the arduino. I know the 12 V must go to ...
1
vote
1answer
91 views

Decreasing large DC motor power usage by coasting [closed]

I'm working on a class project - an electric bike competition. Part of the requirements for the final grade is having a "race advantage system" on your bike. Basically, just something unique that will ...
0
votes
2answers
2k views

Powering two L298N motor boards with external supply [closed]

I have been struggling with this as I'm a complete electronics and arduino beginner. I am trying to power two DVD-drive stepper motors using two L298N motor boards. For some reason, I can't figure ...
-1
votes
3answers
495 views

Low current in a motor used in a line following robot

I'm trying to make a line following robot for my students, the problem is that I have not done any calculations (I don't know how). The motor can't move the robot unless I connect it directly to the ...
1
vote
1answer
169 views

No response from device when trying to communicate with it via RS-232

I have an Arduino Uno with an RS-232 shield, and a servo drive that communicates via CAN or RS-232. I'm trying to communicate with this drive using an RS-232 cable, but I'm getting no response. I'm ...
1
vote
2answers
683 views

Arduino IDE get stuck while uploading sketch

I was trying to use my L293D motor driver module. But when I upload the following sketch to try and run my motor, but it would get stuck on "Uploading". This happens with this sketch only, and happens ...
0
votes
2answers
589 views

Using a L2938D Motor Driver Module. (Not IC, Module)

I have been trying to use my newly bought L293d Motor Driver Module to run motors(a single motor in this test case, simple 5V toy motor) from my Arduino UNO. Thing is, this is an entire module, not ...
2
votes
2answers
197 views

What do I need to make fluffy toys move and talk?

My kids got many fluffy toys, and I would like to make them move and talk. Something like a small platform with wheels and a speaker and some sensors that I would be able to mount any of the toys on. ...
3
votes
2answers
214 views

Connecting a motor to Arduino UNO Play breadboard

I am new to Arduino and have a small query. I am building a simple system that switches on a motor and switches it off after some time and repeats this in a loop. The Arduino that I am using is a “...
0
votes
2answers
3k views

Can't make my stepper motor run clockwise and counterclockwise with AccelStepper Library

I'm relatively new to arduino thus need your help to figure out why my stepper motor doesn't rotate clockwise and counterclockwise. All I could do was to make it rotate only in one direction. Here is ...
1
vote
1answer
1k views

Problem controlling a Stepper motor with AccelStepper

I have an Arduino connected to a stepper motor with an Easy Driver as follows: I am controlling the position of the stepper motor using the Serial. This is my code: #include <AccelStepper.h> ...
1
vote
1answer
519 views

How many stepper motors can a motor shield control? [closed]

I have an application that calls for controlling two stepper motors. One motor does a constant speed scan, while the other would kick in at certain scanning positions of the first motor. Can this be ...
10
votes
1answer
2k views

How to design and debug a custom I2C master-slave system?

How to proceed, when in need of a custom I2C master-slave system? What are the design criteria to apply? What are the debugging tools one can use to troubleshoot problems?
0
votes
1answer
243 views

What are some “must-have” sensors or shields for an Arduino robot or motor?

I am starting to learn Arduino and wanna make some projects.which components will I have to buy?please help me.
2
votes
1answer
494 views

Arduino Uno + Jaguar Speed Controller + CIM Motor (12V DC)

I have connected a CIM motor to a Jaguar speed controller, powered by a 12V battery. The Jaguar is connected to an Arduino Uno via the signal and ground. Also, I have two switches connected to the ...
2
votes
4answers
6k views

How do I connect a vibration motor to Arduino?

I'm trying to figure out how to connect a vibration motor to my Arduino. I've come across this resource and it seems pretty straightforward though for a while my eye glazed over at how complicated ...
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 ...
3
votes
1answer
14k 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°. ...
0
votes
1answer
758 views

Designing a robotic arm using Arduino Uno

We are making a robotic arm using Arduino Uno board in which we are not able to decide which kind of motor to use. Which motor will be better if we want to lift weight up to 1kg using gripper at the ...
1
vote
1answer
675 views

Motors settings [closed]

I'm trying to build my own 3D printer with a guide but I've got a problem with two of my CD/DVD motors: I don't know which settings to set in Marlin (configuration.h) because I can't find any ...
3
votes
3answers
4k views

How to define a SoftwareSerial object inside a class?

I have a header file called Rhino.h with class Rhino. I want to pass RX and TX pin numbers to this object class, and with this, define a SoftwareSerial object to be used inside the Rhino class. The ...
0
votes
2answers
1k views

Stepper Motor not Stepping Properly

I have an Arduino Uno connected to the Adafruit Motorshield v2. I have it hooked up to a stepper motor(27BYJ-48). I am trying to make the motor do one complete revolution. However, the number of steps ...
0
votes
1answer
1k views

Safe to control multiple power sources through a switch through the ground?

I've attached the breadboard layout and schematic of a circuit I'm constructing, which is a simple Arduino radio control car, with a 9V powering the Arduino Uno, and the 6 volt battery pack feeding ...
1
vote
1answer
777 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
2answers
230 views

Arduino and DC Motor control board

I've this PWM Module - 6V-90V 15A Pulse Width PWM DC Motor Speed Controller Switch which I use to control a peristaltic pump (ordinary DC motor), now I want to replace the potentiometer with an ...
0
votes
1answer
110 views

Issues on Arduino, LiPO battery and two mottors setup

My main objective with this project was to control these two DC motors with an Arduino Nano (it is not a UNO), powered by a 3-Cell 750mAh LiPO battery (both the motors as the Arduino itself). So, I ...
0
votes
1answer
159 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 ...
2
votes
4answers
453 views

Which is faster, Serial or DigitalWrite?

I am working on an Arduino Uno battle bot that uses a Sabertooth moter controller. Right now it is connected to the Arduino through Serial communication. Which is would be faster (So I can increase ...
0
votes
2answers
1k views

MPU 6050 stuck on same values

I'm having a problem with my MPU6050. I'm using PID to speed up a motor with the MPU values. What could the problem be? Here is a link to a previous question that I asked concerning a problem with ...
1
vote
3answers
1k views

Speed Control L298 motors

Proceeding is the relevant part of the code for the problem I'm asking assistance with. I'm attempting to vary the speed of the robots motors with PWM. The left motor speed can be varied numerical. ...
0
votes
1answer
170 views

Motor Shield not giving full power, LED DIMS

I have an Adafruit Motor Shield, the V1. I have been using this thing with my OPSEPP Uno and a stepper motor with no issues. (Powered by 12v DC wall wart [CASIO]). My question, or issue, not sure yet,...
1
vote
0answers
488 views

Regenerative motor drive for arduino with torque control [closed]

I'm looking for a motor drive for use with an Arduino that fits the following requirements: Drive brushed or brushless DC motors (I don't mind which) Regenerative - can feed power back to the supply ...
0
votes
1answer
1k views

Problem with running 2 DC motors with ultrasonic sensor

I'm not expert in electrical circuits, maybe I am making a very simple mistake or missing some basic points with my circuit. What I'm trying to achieve is simple, to run 2 DC motors with an ...
-1
votes
1answer
512 views

High Torque motor humming but not turning [closed]

I am making a self-balancing robot and using a 30 kgcm and 200 rpm 12 V DC motor. When I am applying PWM to the enable pin the motor is humming not rotating. Please help I dont why it is happening. ...
1
vote
4answers
6k views

How to run 5 wires hibrid stepper motor with arduino uno?

I have a question. How to run stepper motor (Nema 17) that has 5 wires with arduino and stepper driver. Here is the driver, stepper and Arduino when stepper has 4 wires. http://jdreyer.com/projects/...
1
vote
1answer
3k views

Powering a stepper motor

I'm working on a project where I need a high torque stepper motor. The stepper motor being used is rated at 12 - 24 volts and when I used a 12 volt battery supply composed of 8 AA batteries it ...
1
vote
2answers
2k views

PID not working correctly

I'm currently working on a project where I need to use PID to get the correct speed for a motor when it is angled a certain amount. The problem is that I'm only getting 0.00 and 255.00 as the speed. ...

1
6 7
8
9 10
12