Control Stepper Motor Speed & Direction with Arduino and a Potentiometer

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 62

  • @sergioaguilarrudametkin3021
    @sergioaguilarrudametkin3021 3 місяці тому +6

    I just wanted to say how much I appreciate your tutorials! I am a college EEE & Physics professor at a California state university and have recommended your videos and content to my students. I am a beginner with microcontrollers but based on your clear content I have been able to put together multiple projects that I plan on teaching. Please keep up the wonderful work! You're doing great!

  • @jeffnixon8338
    @jeffnixon8338 5 місяців тому +3

    Rachel, you are brilliant. Your teaching is sequential, understandable and fantastic. I also love your passionate, exciting delivery. I’m 72 and new to Arduino and have learnt Sooooo much from your videos. Cheers. Jeff..Australia

  • @meiowalot7570
    @meiowalot7570 5 місяців тому +1

    Yes!!!! Perfect video for a Saturday morning.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому

      Glad you enjoyed it! Hopefully you get some time to work on some cool projects this weekend!

  • @Dubot-f1v
    @Dubot-f1v 5 місяців тому +2

    I love these stepper motors. You can do so much with them.😁👍

  • @jessi330
    @jessi330 2 місяці тому

    This is very helpful to see the actual mounting, rigging of the motor in a piece of wood, then how to attach to the motor spindle. I would like this video format for the wiper motor ( I know you have videos with wiper motor) but how to mount the motor, how to manipulate it, how much weight can it handle etc.

  • @FixunaMorgia
    @FixunaMorgia 5 місяців тому +1

    Thank you so much for explaining it all so well! As a beginner i learn a lot from your videos!

    • @FixunaMorgia
      @FixunaMorgia 5 місяців тому

      @@BariumCobaltNitrog3nSorry I edited it, English is not my native language. Thanks for noticing.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому +1

      Happy to hear that! 👏

    • @BariumCobaltNitrog3n
      @BariumCobaltNitrog3n 5 місяців тому +1

      @@FixunaMorgia You're awesome. I'll delete my other comment now

    • @FixunaMorgia
      @FixunaMorgia 5 місяців тому

      @@BariumCobaltNitrog3n Thank you and no problem and have a great day!!

    • @FixunaMorgia
      @FixunaMorgia 5 місяців тому

      @@RachelDeBarrosLive I am really glad i found your channel! Your videos are one of the best i have seen in explaining how to use the arduino, electronics and code together!🙏

  • @cascadeanalog320
    @cascadeanalog320 5 місяців тому +2

    Thank you Rachel !

  • @Onnetish0
    @Onnetish0 4 місяці тому

    I've recently begun working with Arduino and I'm having difficulty understanding how solenoids function and how to integrate them into circuits. I've learned a lot (if not all) from what you've taught.

  • @bountyhunterbreaks898
    @bountyhunterbreaks898 4 місяці тому

    Rachel, you always do a great job on these. It's awesome to see the progression of doing the coding. I miss joining the live chats but it always seems like work short circuits my plans to hang out. Maybe I'll hit one before Halloween this year?

  • @SusanAmberBruce
    @SusanAmberBruce 5 місяців тому

    Thanks for this video, I have a project in mind using lasers that's going to need stepper motors, and this gives me the basics.

  • @Iskelderon
    @Iskelderon Місяць тому

    Awesome! I have an upcoming scale model project that will need to rotate a turntable 90 degrees right or left and NOT at full speed, so this seems like just that I need to get started.

  • @DBB-KE5DUO
    @DBB-KE5DUO 5 місяців тому +1

    When I was a kid... I wondered "how do I make my own robot"🤷🏻 ...
    This stepper motor is the first step... thanks! Now I just need to build the rest of my robot 🤖.
    🥰

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому +1

      I loved the robot from Lost in Space when I was a kid and wanted one of my own!

  • @dudasertorio
    @dudasertorio 5 місяців тому +1

    2nd =] LOVE ❤ this channel, Rachel ! Excellent explanation !! Thank you very much !!!

  • @clifc6351
    @clifc6351 5 місяців тому

    Wonderful Video Thank You. Got some stepper motors in my GM dash gauges I gotta replace. Your just Brilliant; Thank You for sharing your talent.

  • @BariumCobaltNitrog3n
    @BariumCobaltNitrog3n 5 місяців тому +2

    What good timing you have. I have a stepper motor sitting on my desk here next to an arduino, a multimeter, a bread board, some jumper wires and a big bowl of ice cream. Priorities. I'm going to power up my telescope and this is day 1. Ohm out the 6 wires, make a parts list, some drawings... wish me luck!

    • @SlinkyD
      @SlinkyD 5 місяців тому +1

      I had that plan since 2013 and still ain't went past the initial try stage. Don't be me.
      This is the best method of all the vids I watched to do that. Motors on RA, Dec, & focuser with manual control for alignment is the plan. Already made my own astrocams. Interface with SkyChart or Stellarium for automated stuff so I can do some lazy stargazing for a change.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому

      Ice cream always comes first 🥳

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому

      That sounds like an awesome project! Congrats!

    • @BariumCobaltNitrog3n
      @BariumCobaltNitrog3n 5 місяців тому

      @@RachelDeBarrosLive Thanks! I'm grateful for the people that wrote all the code, Github, copy and paste and people like you, the 'splainers.

    • @BariumCobaltNitrog3n
      @BariumCobaltNitrog3n 5 місяців тому

      @@RachelDeBarrosLive 😜

  • @sampamnl.8964
    @sampamnl.8964 5 місяців тому

    ขอบคุณมากๆครับ..สาระดีๆเช่นเคย❤❤❤

  • @Balaur-Zmeu
    @Balaur-Zmeu 5 місяців тому

    Thank you for your videos.❤

  • @شيماءالحربي-س3ت
    @شيماءالحربي-س3ت 4 місяці тому +1

    Can you please make jarvis system and post a full tutorial? And can you make it answer about anything as if im asking google .

  •  5 місяців тому

    Bonjour, thank you for this video. I have a question: the execution is sequential, so if we have 2 stepper motor, they move each after other ?

  • @patadamson4005
    @patadamson4005 4 місяці тому

    Can you replace the pot with a value that is generated by a Hall effect sensor counting revolutions of a shaft?

  • @beermonger1
    @beermonger1 5 місяців тому

    Would this gizmo be able to tell lights what to do? I wanna build a model car with working, blinking and flashing lights and if you could help me understand how to get it to do what I'd like, I'd like that.

  • @WajihaIjaz-g2n
    @WajihaIjaz-g2n 23 дні тому

    from where can i get thus code???

  • @Crusher9mil
    @Crusher9mil 4 місяці тому

    Very disappointed Rachel, you didn't do your wiring while your board was hot. 😁
    Cool project, have you messed around with addressable LEDs. I've been doing cool stuff with some WS2812B 300 LED strips.

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  4 місяці тому +1

      I know! 🤣 I must be loosing my touch! As for LED strips, I love working with them. I do have a tutorial for beginners on getting your first animations up and running with the FastLED library here: ua-cam.com/video/zj3sa5HV2Bg/v-deo.html

    • @aaravinthan001
      @aaravinthan001 3 місяці тому

      Hloo I have some doubt in that can u share me the code ​@@RachelDeBarrosLive

  • @jamesabber7891
    @jamesabber7891 4 місяці тому

    Good tutorial and code. But I can give you a hint for how to make the code a bit better:
    You create a variable "stepsPerRevolution", but you actually want a constant instead. Here I would declare a constant with "#define STEPS_PER_REVOLUTION 2048" in line 7 and use this constant instead when creating an instance of Stepper in line 14. You could also do the same for variables "rpm" and "potPin".
    One advantage is that you no longer use memory to store the value of the variables that never change. Another is that the code becomes more readable because it is clear that it is a constant instead of a variable.

  • @DavidLegg-f9f
    @DavidLegg-f9f 5 місяців тому

    How can you get a copy of the code

  • @kimmotolonen8199
    @kimmotolonen8199 Місяць тому

    NICE! can yuo make video how to control steppermotor and linear actuator with touchscreen with multiple rows where can write expl 150mm and next one 200mm and next one 50mm and so on, with little delay between each move, and automatic next postion without buttons press and after last row it goes again firts position

  • @azizahmad4928
    @azizahmad4928 3 місяці тому

    hi, thanks for this video. where can i download the code from?

  • @davidrandall4001
    @davidrandall4001 5 місяців тому

    I enjoyed this video for it's clarity and depth. How much if any is the difference in using say a TB6600 stepper motor driver with an Arduino for larger motors?

    • @RachelDeBarrosLive
      @RachelDeBarrosLive  5 місяців тому +2

      Not much different at all! I'm putting together another tutorial for controlling beefier stepper motors with a different library.

    • @davidrandall4001
      @davidrandall4001 5 місяців тому

      @@RachelDeBarrosLive Very cool. Looking forward to watching it when it becomes available. Notifications turned on.

  • @jonjon5471
    @jonjon5471 5 місяців тому

    If someone has a specific question to ask. What is the best way to contact you? I tried leaving a message on the website but as of yet, nada. Please, six years on a project and all that I need is to figure out the lighting. 🙏

  • @AllahMahaBesar-rg6wk
    @AllahMahaBesar-rg6wk 2 місяці тому

    how can i control speed, stepper motor without using potentiometer?

  • @papinkelman7695
    @papinkelman7695 5 місяців тому +1

    ⭐️⭐️⭐️⭐️⭐️

  • @texasdreamlife7114
    @texasdreamlife7114 5 днів тому

  • @odinrogneflaten6925
    @odinrogneflaten6925 Місяць тому

    👍

  • @SlinkyD
    @SlinkyD 5 місяців тому

    I'm really not trying to be "that" commenter, especially since Imma trash dev. Shouldn't lines 27 & 28 ( 8:11 ) be
    `map(xVal, 0, 1023, 0 2048);`.

  • @naeemhaq3504
    @naeemhaq3504 5 місяців тому

    not good thumb nail. video is good

  • @OldMcdonald-k7r
    @OldMcdonald-k7r 16 днів тому

    I hate it when intelligence has to be dumbed down with over the top, over-emphatic, hyped up 5000 cans of Redbull-fueled voicing. It's so distracting and unnatural that I have to watch you with the sound off and subtitles on. Great job and fantastic information. Thanks.