Circuit Magic
Circuit Magic
  • 32
  • 2 760 387
DC Motor Control with NodeMCU & Motor Driver Shield | DIY Robotics Tutorial
In this step-by-step tutorial, we'll show you how to control DC motors using a NodeMCU and a Motor Driver Shield. This beginner-friendly guide covers wiring, programming, and practical demonstrations of motor control for robotics and automation projects.
🔧 Key Steps:
Connect NodeMCU to Motor Driver Shield
Program Your NodeMCU for Motor Control
Demonstration: Forward, Backward, Turns, and More
🚗 Looking for the complete robot car project? Stay tuned for our next video where we'll integrate additional sensors for enhanced functionality. Subscribe, comment, and visit our project page for detailed instructions and code samples:
Project Page: bit.ly/NodeMCU-Shield-Motor-Control
Thanks for watching, and happy tinkering! Don't forget to hit that subscribe button to stay updated on all things tech.
zhlédnutí: 2 037

Video

Using Servo Motor SG90 with Arduino
zhlédnutí 53KPřed 2 lety
This is the basic tutorial of Arduino to learn how to use Micro Servo Motor with Arduino. I am using: 1. Arduino UNO 2. Micro Servo SG90 3. Jumper Wires Project Page: coming soon
Ultrasonic Distance Sensor HC-SR04 and Arduino Tutorial
zhlédnutí 2,1KPřed 2 lety
Hi Guys, I am back once again with a new video which is on, ultrasonic distance sensor. In this video, I have demonstrated how you can connect an ultrasonic distance sensor and code Arduino to check the distance. I have used: 1. Arduino UNO 2. HC-SR04 Ultrasonic distance sensor 3. Jumper wires 4. Breadboard Project Page: coming soon
Capacitive Touch Sensor with Arduino use as a Toggle Switch
zhlédnutí 10KPřed 2 lety
In this small project, I have demonstrated, How you can use a capacitive touch sensor with an Arduino to make a toggle touch switch. For more details and code you can visit the project page link at circuitmagic.com Project Page link: coming soon I have used: 1. Arduino UNO 2. TTP22301 Touch Sensor 3. Jumper Wires 4. LED
Two Temperature Sensor Module MAX6675 with Arduino
zhlédnutí 12KPřed 4 lety
In this video you can see how I am using two K-Type temperature sensor Module MAX6675 with Arduino.
Joystick Module with Arduino to Control DC Motors for Robotic Car
zhlédnutí 35KPřed 4 lety
Joystick module Arduino tutorial to learn how to connect the module with Arduino to control DC motors along with L298N driver module. This video tutorial will explain how to control direction of dc motor and speed. Project page: Coming soon. Buy Products. Joystick Module: s.click.aliexpress.com/e/cIEuF7nw UNO R3 Board: s.click.aliexpress.com/e/C7GfDuVi Motor Driver: s.click.aliexpress.com/e/3Y8...
DIY Temperature Meter with K-Thermocouple Sensor MAX6675 - Arduino Project
zhlédnutí 6KPřed 5 lety
Hi, In this video I made Temperature meter using OLED display tempreture sensor module MAX6675 with Arduino pro mini. I used some rounded box for the meter body. I will soon upload the complete wiring diagram and arduino code on my project page at circuitmagic.com
How to Control Speed of Servo Motor - Arduino Project
zhlédnutí 121KPřed 6 lety
Hi Guys, It's all about controlling the speed of servo motor using Arduino. In this video, you can learn how to run servo motor as well as control the speed of servo. I have write some code method to make it easy. So visit my project page for Arduino code and more information Project page- coming soon!
3Amp Stepper motor Driver TB6560 with Arduino
zhlédnutí 4,6KPřed 6 lety
HI Guys, In this video I will connect the TB6560 Driver board with Arduino Mega and test the driver with 22kg stepper motor. You can find the code and wiring diagram at our project page on circuitmagic.com and You can also watch my previous video for 5Amp stepper motor driver using H-bridge circuit with Mosfets Project page:- bit.ly/TB6560-CM 5Amp driver video:- czcams.com/video/8RMHMlpLbSg/vid...
Temperature Sensor with Arduino - K-Thermocouple Sensor MAX6675 Module
zhlédnutí 74KPřed 6 lety
In this very short video, you will learn how you can measure temperature from 0 to 1024 degree Celsius by using K Type Thermocouple sensor with MAX6675 module and Arduino. You can find the complete details like code and wiring diagram of this Arduino project at circuitmagic.com Project page - coming soon!
5 Amp Stepper Motor Driver - Part 3 - 22kg Stepper motor with Arduino
zhlédnutí 9KPřed 6 lety
Hello folks, This is Part 3 and Final video of this video series of 5 Amp stepper motor driver. Well in this video I I am testing driver board with 22kg high torque stepper motor You can find all the information like component list, circuit diagram, PCB design, wiring diagra and Arduino code on our project page at circuitmagic.com www.circuitmagic.com/arduino/5-amp-stepper-motor-driver-22kg-dri...
5 Amp Stepper Motor Driver - Part 2 - Running Stepper Motor with Arduino
zhlédnutí 7KPřed 6 lety
Hi Guys, This is Part 2 video of 5 amp Stepper Motor Driver. In this video I will test my driver module first time and show you how you can connect stepper motor and Arduino with driver and run the stepper motor. You can find all the information like component list, circuit diagram, PCB design, wiring diagra and Arduino code on our project page at circuitmagic.com Please don't forget to subscri...
5 Amp Stepper Motor Driver - Part 1 - Building h-bridge circuit board
zhlédnutí 14KPřed 6 lety
5 Amp Stepper Motor Driver - Part 1 - Building h-bridge circuit board
How to Run Stepper Motor with Arduino using L298N Driver Module
zhlédnutí 61KPřed 6 lety
How to Run Stepper Motor with Arduino using L298N Driver Module
How to control DC motor with L298N driver and Arduino
zhlédnutí 432KPřed 6 lety
How to control DC motor with L298N driver and Arduino
How to program an Arduino - Tutorial
zhlédnutí 2,3KPřed 6 lety
How to program an Arduino - Tutorial
Ultrasonic Distance sensor HC-04 with Arduino - DIY Distance Meter project
zhlédnutí 8KPřed 6 lety
Ultrasonic Distance sensor HC-04 with Arduino - DIY Distance Meter project
DIY RPM Tachometer with Arduino | RPM Counter |
zhlédnutí 153KPřed 8 lety
DIY RPM Tachometer with Arduino | RPM Counter |
PIR Motion Sensor with Arduino
zhlédnutí 708KPřed 9 lety
PIR Motion Sensor with Arduino
OLED Display I2C 128x64 With Arduino - Tutorial
zhlédnutí 80KPřed 9 lety
OLED Display I2C 128x64 With Arduino - Tutorial
How to Run a Stepper Motor with an Arduino + L293D IC
zhlédnutí 184KPřed 9 lety
How to Run a Stepper Motor with an Arduino L293D IC
Mini Quadcopter Motor run with Arduino pro mini
zhlédnutí 68KPřed 9 lety
Mini Quadcopter Motor run with Arduino pro mini
Arduino Bluetooth Android - LED Controller Project
zhlédnutí 280KPřed 9 lety
Arduino Bluetooth Android - LED Controller Project
Free Energy Magnet Motor fan used as Free Energy Generator : Fake
zhlédnutí 3,6KPřed 10 lety
Free Energy Magnet Motor fan used as Free Energy Generator : Fake
Ultrasonic Distence Sensor HC-SR04, LCD 16x2 and Arduino
zhlédnutí 22KPřed 10 lety
Ultrasonic Distence Sensor HC-SR04, LCD 16x2 and Arduino
Weekend Project: Laser and LDR security system working prototype and circuit diagram
zhlédnutí 49KPřed 10 lety
Weekend Project: Laser and LDR security system working prototype and circuit diagram
Control DC Motor CW/CCW with MPU-6050 Gyro/Accelerometer + Arduino
zhlédnutí 70KPřed 10 lety
Control DC Motor CW/CCW with MPU-6050 Gyro/Accelerometer Arduino
GY-521 (MPU-6050) + Control DC Motor with arduino UNO + Motor driver shield
zhlédnutí 57KPřed 10 lety
GY-521 (MPU-6050) Control DC Motor with arduino UNO Motor driver shield
Drive CD-ROM Stepper Motor with Arduino + L293d shield
zhlédnutí 232KPřed 10 lety
Drive CD-ROM Stepper Motor with Arduino L293d shield

Komentáře

  • @harshitkumar-tr9iz
    @harshitkumar-tr9iz Před 11 dny

    My jumper wire only have one side pin

  • @vell546
    @vell546 Před 13 dny

    did you use switch?

  • @CamaStudios007
    @CamaStudios007 Před 14 dny

    e hat nicht funktioniert DKO

  • @btswithluv7161
    @btswithluv7161 Před 15 dny

    Thank you so much

  • @roshu551
    @roshu551 Před 17 dny

    Here is the code: int LEDState = 0; int touchInput = 3; int LEDPin = 13; int inputState; int lastInputState = 1; int dt = 100; void setup() { // put your setup code here, to run once: Serial.begin(9600); // pinMode(LED_BUILTIN, OUTPUT); // built-in LED declaration if you want pinMode(LEDPin, OUTPUT); pinMode(touchInput, INPUT); } void loop() { // put your main code here, to run repeatedly: inputState = digitalRead(touchInput); if (lastInputState == 0 && inputState == 1) { if (LEDState == 0) { // digitalWrite(LED_BUILTIN, HIGH); // Turn on built-in LED if you want digitalWrite(LEDPin, HIGH); LEDState = 1; } else { // digitalWrite(LED_BUILTIN, LOW); // Turn off built-in LED if you want digitalWrite(LEDPin, LOW); LEDState = 0; } } lastInputState = inputState; delay(dt); } Thanks me later 🙂

  • @aniveshchaturvedi9886

    my arduino reading is going zero what can be issue

  • @eyadehabahmed9208
    @eyadehabahmed9208 Před 21 dnem

    is this safe? would this break my arduino board? should i use diodes. or am i overthinking?

  • @DestroyMartlet
    @DestroyMartlet Před 22 dny

    I REALLY GLAD THIS ONE IS JUST 1 MINUTE ITS HARD TO SEE TUTORIAL LIKE THIS really like ur video

  • @fetrasiadhenis2517
    @fetrasiadhenis2517 Před měsícem

    thanks for tutor...

  • @LOFIBAZ_Official
    @LOFIBAZ_Official Před měsícem

    Please provide code Servo Motor

  • @ibrahimadesanya3564
    @ibrahimadesanya3564 Před měsícem

    What about the 5v on the l298 where is it connected to on the arduino

  • @With_life7
    @With_life7 Před měsícem

    Thank you for giving me knowledge the PIR sensor

  • @zaidkasbudi
    @zaidkasbudi Před 2 měsíci

    Can someone help me what my servo motor keep rotating non stop

    • @xavierwade3548
      @xavierwade3548 Před 25 dny

      Something is wrong with your servo. They should only move 180 degrees.

    • @xavierwade3548
      @xavierwade3548 Před 25 dny

      Sorry, my mistake. There are multiple kinds. This video is for a positional servo. Yours might be a continuous servo. I stumbled on this video. czcams.com/video/XrEN1oszq_Y/video.html&ab_channel=ScienceBuddies

  • @Sampson2012bot
    @Sampson2012bot Před 2 měsíci

    That's nice and all. But how is this supposed to help my hemorrhoid problem?

  • @amarkrishna5303
    @amarkrishna5303 Před 2 měsíci

    can i please get your contact details

  • @adrianescamillacaballero252

    #include <SPI.h> double readCelsius(uint8_t cs) { uint16_t v; digitalWrite(cs, LOW); v = SPI.transfer(0x00); v <<= 8; v |= SPI.transfer(0x00); digitalWrite(cs,HIGH); if (v & 0x4) { //uh oh, no thermocouple attached! return NAN; } v >>= 3; return v*0.25; } void setup() { SPI.begin(); pinMode(10, OUTPUT); pinMode(9, OUTPUT); digitalWrite(10, HIGH); digitalWrite(9, HIGH); Serial.begin(115200); } void loop() { Serial.print(readCelsius(10)); Serial.print(" "); Serial.println(readCelsius(9)); delay(1000); }

  • @iAPixel
    @iAPixel Před 2 měsíci

    code : #include <Servo.h> Servo myservo; void setup() { Serial.begin(9600); myservo.attach(9); } void loop() { int val; while (Serial.available() > 0) { val = Serial.parseInt(); if (val != 0) { Serial.println(val); myservo.write(val); } } delay(5); }

    • @user_mouyad59
      @user_mouyad59 Před 2 měsíci

      I could not execute the program using windows 11

    • @Alex-jm1iq
      @Alex-jm1iq Před měsícem

      @@user_mouyad59 i dont think the problem is windows 11. It worked on my

  • @diggee172
    @diggee172 Před 2 měsíci

    Great video but should remove background music. It makes it difficult to hear narration

  • @menasheaharonian9183
    @menasheaharonian9183 Před 3 měsíci

    AI? Are you serious??!!?

  • @DylmorttYT
    @DylmorttYT Před 3 měsíci

    Code: #include <Servo.h> Servo myServo; // Create a servo object to control a servo motor int servoPin = 9; // Define the pin to which the servo is connected void setup() { myServo.attach(servoPin); // Attaches the servo on pin 9 to the servo object } void loop() { // Sweep the servo from 0 to 180 degrees in steps of 1 degree for (int angle = 0; angle <= 180; angle++) { myServo.write(angle); // Set the servo position delay(15); // Wait for servo to reach the position } // Sweep the servo from 180 to 0 degrees in steps of 1 degree for (int angle = 180; angle >= 0; angle--) { myServo.write(angle); // Set the servo position delay(15); // Wait for servo to reach the position } }

  • @egend1038
    @egend1038 Před 3 měsíci

    thanks man , you helped me alot.

  • @muhdirfan2272
    @muhdirfan2272 Před 3 měsíci

    Sya dtg sbb Mariposa sruh tngk video nih

  • @Ducerobot
    @Ducerobot Před 3 měsíci

    Nice work😁👍

  • @mixme8655
    @mixme8655 Před 3 měsíci

    thank you for speaking english well understand always watching

  • @user-yr5ky5ri6m
    @user-yr5ky5ri6m Před 3 měsíci

    this is controling direction not Control Speed

  • @amarjyoth
    @amarjyoth Před 3 měsíci

    It work in nano

  • @kiktik2413
    @kiktik2413 Před 4 měsíci

    so why dont you need a resistor?

    • @xavierwade3548
      @xavierwade3548 Před 25 dny

      Because the servo is designed to work with all 5v.

  • @shantanupandey5174
    @shantanupandey5174 Před 4 měsíci

    Your explanation is very high class

  • @ahmeds_2.0x
    @ahmeds_2.0x Před 5 měsíci

    why not show accurate value? This value up down continuously. Why?

  • @gehardmendis6616
    @gehardmendis6616 Před 5 měsíci

    Great

  • @markanthonynilo9198
    @markanthonynilo9198 Před 5 měsíci

    Can you control Motor speed via tilt values on sensor? Maximum set tilt- high rpm Low set tilt-low rpm On both left and right dirwction

  • @DomBurgess
    @DomBurgess Před 5 měsíci

    Thanks for the video! I have an Nema 17 hooked up to a L298n and an Arduino. I have no issues operating it, but I'm having problems powering it. If I use a 5v 1a supply, it works but torque is low. If I use a 12v 2a supply, the torque is great, but the L298n pulses ever second or so which sends power to the motor. It doesnt appear to actually turn the motor, but it makes a buzzing noise which is VERY annoying. Do you know why I'm getting this pulsing from the driver?

  • @windell8966
    @windell8966 Před 6 měsíci

    THANK YOU FOR SAVING MY NIGHT

  • @waelbadr4724
    @waelbadr4724 Před 6 měsíci

    Hey there, I followed your instructions, and I made it right. Only the problem is the motor vibrating, then stops and vibrates again as it's executing the code.

  • @venkatasaivinayneelapala4735

    avrdude: ser_open(): can't set com-state for "\\.\COM3" Failed uploading: uploading error: exit status 1 what can i do?

    • @DestroyMartlet
      @DestroyMartlet Před 22 dny

      restart your computer , its because multiple time of using it

  • @amsndd6379
    @amsndd6379 Před 6 měsíci

    sir which app can be used in pic 16f877A?

  • @kitonepluswong7889
    @kitonepluswong7889 Před 6 měsíci

    Please show me connect picture.....

  • @augustusreality
    @augustusreality Před 6 měsíci

    Here is the code -- int LEDState = 0; int touchInput = 2; int inputState; int lastInputState = 1; int LEDPin = 13; // Define the LED pin void setup() { Serial.begin(9600); pinMode(LEDPin, OUTPUT); pinMode(touchInput, INPUT); } void loop() { inputState = digitalRead(touchInput); if (lastInputState == 0 && inputState == 1) { if (LEDState == 0) { digitalWrite(LEDPin, HIGH); LEDState = 1; Serial.println("Touch detected. LED turned ON."); } else { digitalWrite(LEDPin, LOW); LEDState = 0; Serial.println("Touch detected. LED turned OFF."); } } lastInputState = inputState; delay(100); // Adjust the delay as needed }

  • @ilhaminefes
    @ilhaminefes Před 6 měsíci

    Can you share the arduino sketch code?

  • @dreamesport3806
    @dreamesport3806 Před 6 měsíci

    Mam can I use this driver with 5v DC motors are they compatible with it please reply fast I need to do that for my project

  • @w9djxijwke8
    @w9djxijwke8 Před 6 měsíci

    Can I please ask for the Code? Need asap

  • @muhammadarafath5537
    @muhammadarafath5537 Před 6 měsíci

    Motor are not working

  • @obamos3838
    @obamos3838 Před 6 měsíci

    can the sesor mesure distance?

  • @drakuliangamer3836
    @drakuliangamer3836 Před 6 měsíci

    can we activate the motors alternatively by using this circuit but different code?

  • @scientistmadhavdasari-9858
    @scientistmadhavdasari-9858 Před 7 měsíci

    Brilliant Video! Thanks for helping me... I was in a big need.

  • @Googolplex6
    @Googolplex6 Před 7 měsíci

    ... and with the code... even better. ;-)

  • @Googolplex6
    @Googolplex6 Před 7 měsíci

    Nice video. I would also love to see the circuit plan.

  • @HappyHermitt
    @HappyHermitt Před 8 měsíci

    I miss playing with mine. I have a couple knocoff unos and nano.

  • @hikmatumurov3054
    @hikmatumurov3054 Před 8 měsíci

    Nov

  • @hikmatumurov3054
    @hikmatumurov3054 Před 8 měsíci

    Nov good