Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am trying to make a ball return catapult. I have a mechanical design already in mind. I need to have a servo rotate constantly. Just one will be enough. I preferably want to do this without an ...
I am using a L298N motor driver to connect a motor with NodeMCU. But i did a few tests since a few tests while learning how to control it now when i connect it the motor doesn't even work. Then i ...
I have simple project composed of an Arduino Nano, a HC-05 module, and a small toy DC motor controlled using a L293D driver, I want to be able to power this circuit entirely using a battery, here is ...
I've got a quick question that has been puzzling me for a few weeks now...
I have created a project that uses a 25cc 2 stroke engine and want to kill the engine using an Arduino, or to be more precise,...
I recently bought an L298 motor driver module for controlling 2 motors(5v each).
When i connect the power supply(which is a normal RC car battery holder(3)) the red light doesn't light up.
Instead if ...
I want it so that
When I apply 1v to analog input i get a pwm signal of 50% duty cycle.
When I apply 2v to analog input i get a pwm signal of 80% duty cycle.
Can someone tell me the code on how to do ...
I've got an old rc car laying around, of which i would like to swap the insides, but re-use some of the parts that are already in there. The car runs 2 dc motors: one for steering, one for throttle. ...
I have bought the Brushless DC-Flat Motors Series 2610 and Pin number 6 is called FG which is defined as frequency output. I have plugged this pin into the Arduino in A0 and I have tried displaying ...
I'm a beginner using a new Arduino Nano 33 BLE to power a low voltage motor. I've tested that the motor can run using a standard 1.5V AA battery when connected directly, but I cannot get it to work ...
I am thinking to use Arduino to control a DC motor and apply a small torque to move the mirrors of my interferometer experiment. I have the components from the Arduino Starter Kit K000007, just to ...
I have recently purchased the Brushless DC-Flat Motors Series 2610 from Faulhaber and I am honestly new to this type of motor as it’s pins are not like any other I have used before. I would appreciate ...
I am trying to drive two stepper motors with the AccelStepper/MultiStepper library. I think I did get it to work before, but it's not working now. I have included my code below the error messages.
Is ...
i built a car that works with four motors,one motor driver(specifically the l293d),the arduino and the battery pack with four AA-Batteries. The motors work fine though, but they only work when it is ...
I am using an Arduino and two relays to control 12V DC motor.
I need to rotate the motor in both directions.
For the first trials it worked fine. Finally one next switching fried my Arduino.
I think ...
I am a complete novice in programming and I hope someone could guide me here. I am doing a haptic research project, where 8 DC coin vibrating motors would be fitted on the fingers of subjects (...
I have a simple motor automatization system. It only uses adapter, arduino, relay and motor nothing else.
It works for 15 seconds and stops for 3 seconds. It works properly for 1 minute but then stops ...
I'm working on a self-balancing robot. The self-balancing is not the issue. The issue is that the motors don't respond as they are supposed to.
I would understand if it were unable to balance, but the ...
I am driving a bipolar stepper motor with an a4988 driver using the AccelStepper library. My goal is to press a button and the motor moves CW, then another button for CCW.
I have looked at another ...
i just bought a hobby telescope, it works well for being nothing much than a toy, the very problem is that the gesrs that should keep it stable are all plastic and very hard to tighten while keeping ...
New to Arduinos and stuff.
I have tried the L293D and the transistor method but the motor just wouldnt work.
I have tested the motor and it definitely is fine.
Below is my layout for this attempt:
...
I'm currently working on a drone project, and I have a bit of a problem. I am using a motor driver for my propellers, but the motor only runs continuously when connected to the computer. I have the ...
Sorry if this is a newbie question, but I'm really struggling with this and I can't seem to figure it out.
I've been learning Arduino for a while, and for my next project I'm attempting to build a ...
I'm trying to understand this circuit found here.
I understand that the Arduino cannot directly run a DC motor because it can only supply 40mA of current and also due to the back EMF which can damage ...
Iam using 28byj-48 stepper motor and I want to know how to control its speed without using any library. I got to know that we need to add delays in between steps but I don't know how much delay I need ...
I am using this digital potentiometer http://www.farnell.com/datasheets/31917.pdf to control a BLDC motor with Arduino Mega. When I am running the below code, the motor runs at the lowest speed when I ...
I'm trying to make servo motor to increase or decrease degrees according to user choice.
I've created an code that get input from the user via Serial and according to the input the motor increase or ...
I have 4 of these L6219 motor drivers and I dont know how to wire them. They have almost no wiring diagrams and when there is something, I cannot understand it.
And I forgot I also need help sending ...
I am building a robot snake with a bunch of servos and ov7670. As I see, ov7670 operate with 3.3v and servos needs 5v. I will use Lipo battery for servos for this I need to connect ground pin of ...
I will have 2 buttons.
Using Adafruit DC Motor Driver
https://www.adafruit.com/product/3190
Top button is a function, bottom button is mode.
The top button functions.
Window 1:
Single press will turn ...
Im trying to power a brushless DC Motor (Tamiya 300054358) through the l298n attached to an Arduino.
The l298n is powered by an external 9V source and the logic of the l298n is powered by the Arduinos ...
I try to built a snake robot. I used servo motors mg996r. Its Operating voltage is 4.8 V to 7.2 V
and running current is 500 mA – 900mA. I used 4 servo motor. So I need a power supply that is 4*(900mA)...
I am using an Arduino Atmega2560 clone, I have used it many times before with satisfactory results - although I haven't used it with my Rpi before.
My Raspberry Pi is model 4 (B I think?).
#define ...
So the task is to control 12v DC motor.
With first button, you can add up motor speed by certain speed step.
With second button, you can slow down motors speed by certain speed step.
With third button ...
As the question says im building a circuit to run a DC motor whenever motion is detected on a motion sensor. Now as this image suggests
I need a diode + resistor + transistor to get this thing to ...
I am designing this incubator system and I need to drive a motor forward and reverse every 6 hours. Is there any better choice other than using delay(). A 6 hours delay seems a little unprofessional.
I'm making automatic water plant system. I'm using:
Arduino Uno
3.3-6V water pump -https://www.amazon.com/Vipe-Micro-Submersible-Motor-Water/dp/B01N0X3CW4
Capacitive soil moisture sensor - https://www....
I set up this circuit which uses L293D motor driver IC to control two DC motors.
+6V input is connected to unregulated power supply. It's current rating is 500 mA.
There is a connection between ...
I am trying to run a small 3v motor with a Keyestudio MEGA 2560(which is the same as the Arduino MEGA 2560). I am getting a consistent 5 volts everywhere I check with a multimeter. The voltage drops ...
I am new to Arduino, please don't be harsh. I want to make a motor spin at every x amount of time (Lets say 10 minutes). Once the program is started, I want it to start the motor (stop after 10 ...
Im coding an adafruit motor shield for 3 DC motors to go forward & backwards, and so my concern is why only my motor3 is running the whole time and motors 1 & 2 are switching off meaning 1 ...
I have a problem with my line follower:
My robot has 4 wheels with DC motors connected to L293D shield (Arduino Uno).
The robot is a line follower controlled by IR pilot with an IR receiver, it has 4 ...
I've got a project in which I'll be controlling 8 24V/10A brushless DC motors with an Arduino Due on a quadrupedal robot. I've been having trouble finding ESCs that would work well for this ...
I want to make a CNC machine that uses 5 NEMA 17 rated for 2A and a RAMPS 1.4 to control it all. I have a power supply that can deliver 1.5A at 12V. Is it enough? I am worried that when all 5 motors ...
So my setup is:
A 12v DR7-12 battery is providing the power for the board through a DC buck converter set to 3.3V connected to the 3.3V pin of the esp8266.
I then am using pins D5 and D6 to control an ...
I am currently using these motors and driving them off these drivers and an arduino uno, and alternatively trying to make them turn using the setup in step 6 (both with l298n and without) in this ...
I am a complete novice at arduino. I just want to know if this is possible before I start investing in components. I need to start and stop a chain drive conveyor {can't slip} powered by a 12 volt ...
I am trying to run a DC motor for 100ms and then turn it off completely. Here is my code any suggestions on why it might not be working?
My Code
const int pirPin = 9;
const int motorPin = 2;
int ...
So basically I have a DC motor that is self stabilizing a platform using an accelerometer as its input. When i hit the table, everything freaks out and the platform moves rapidly back and forth for a ...
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.