Control a Stepper Motor with Hall Effect Switches

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 148

  • @jasserbenyounes3416
    @jasserbenyounes3416 4 года назад +15

    This channel is underrated af

    • @Damnyouyoutub
      @Damnyouyoutub Год назад

      Word yo!!!
      ruclips.net/video/N9qYF9DZPdw/видео.html

  • @alico797
    @alico797 4 года назад +1

    Clear as water... Some may even say that it is boring or monotonous, but it is the right speed to explain to someone who is a beginner, even to someone advanced ... Your videos are greatly appreciated. A big hug from Argentina...

  • @ericmcgrath7554
    @ericmcgrath7554 5 лет назад +9

    Just have to compliment you on your transitions, both on your video segments and explanatory graphics sequences. Yours are so good, so effective that they make me realize how mediocre the incredible majority of content makers are at the craft. And I always learn something from your videos. Thank you.

  • @NewAgeDIY
    @NewAgeDIY 5 лет назад

    Designing a Camera rail mount that will move a raspberry pi camera.(using MotioneyeOS ) across a field of view.
    The idea is to have the camera automatically stopping at points of interest. This camera will be housed in a old dome style cctv case. There’s a lot of space in side the dome. The idea is to mount the camera on fixed stepper motor. Then using a Arduino I will program the stepper to stop at different points looking for motion. Then the camera will move to the next point recording movement if possible then move to the next point. The field of view is about 190 degrees. I reviewing all of your past videos to pick up ideas. This last video has some great insight on how I can make this work. I’m learning a lot from your channel and website. Thanks for all your hard work.

  • @atabatabaee
    @atabatabaee 5 лет назад +4

    When I want to learn something easily and deeply and still enjoying, here is the first place I poked.

    • @alexeytrofym5475
      @alexeytrofym5475 5 лет назад

      Alireza Tabatabaee
      ruclips.net/video/4sUnVqU01_4/видео.html

  • @EXTREMEMACHINE
    @EXTREMEMACHINE 2 года назад

    I found you as best teacher. Good work.

  • @luberies
    @luberies 5 лет назад +7

    As always: Thank you very much dear teacher! It is a real pleasure to see your videos!Greatings from Bogotá.

  • @Roybasset
    @Roybasset 3 года назад +1

    Best channel on the subjects. Thank you very much.

  • @davidbrooks8621
    @davidbrooks8621 5 лет назад +3

    The lecture is as wonderful and exhaustive as the rest of your lectures. Your lectures fully explain the topics of Arduino's study. Can you also give lectures on the ESP32. There is also Hall Sensor embedded in the micro controller and of course it support the most interesting topic of all the WIFI and IOT.

  • @Michael_Harrigan
    @Michael_Harrigan 3 года назад

    awesome stuff. Only recommendation is the use of a pointer stick as your hand often get in the way of what you're pointing at. Thanks for imparting your knowledge.

  • @yaserzahiri8292
    @yaserzahiri8292 4 года назад

    A real teacher . thank you so much for crystal clear explanation

  • @KWHCoaster
    @KWHCoaster 3 года назад +1

    Very nice lesson. Love the little adapter board for the stepper, I think I'll do one or two of those tomorrow.

  • @nalinux
    @nalinux 5 лет назад

    I just used a UGN3503 sensor, connected to an Arduino.
    The problem is the output voltage is 2.5 v without any magnet, so the Arduino doesn't know if it's a high or a low input, unless you reverse the magnet.
    So just used a double AOP Lm358 as a trigger for low and high state, with 2 1n4148 to make a "OR".
    This helped me a lot for reliability.
    For information, we can find Hall effect sensors in some VHS or old cassettes players for free.

  • @DataJanitor
    @DataJanitor 3 года назад

    Thanks, again for a great summary of what I needed to know to use Hall Effect sensors.

  • @naboulsikhalid7763
    @naboulsikhalid7763 4 года назад

    Hi, Great video, plenty of info. I don't know if people LIKE YOU are not here to share knowledge. Very grateful. thank you

  • @runalia
    @runalia 4 года назад +3

    Thank you for your work. This is very exciting.

  • @jonbroome1
    @jonbroome1 4 года назад +1

    Thank you so much for your thoughtful approach that is both pleasant and spot on for what I need to learn.

  • @pboston6RR
    @pboston6RR 3 года назад

    Another excellent video. steppers have been of interest for years but the implementation difficult for me. This will be my guide, Thanks

  • @jkin1922
    @jkin1922 5 лет назад +5

    Thank you Sir for sharing your hard earned knowledge...

  • @PortraitArtPhoto123
    @PortraitArtPhoto123 3 года назад +1

    That's exactly what I was looking for! Trying to make a lift for a 360 degree camera for mountain biking. Basically a jackscrew to raise a carbon tube about 400mm about the backpack it's mounted to. So I really would only need a homing sensor and set the extension limit in the code. Is there anything to look for in a stepper motor? The camera is pretty light, like a gopro. But 300 revolutions would require some speed. Thanks for the great tutorial!

  • @PhantomRC1959
    @PhantomRC1959 4 года назад

    Excellent explanation. It brings me a sollution to my homing problem in my Arduino controled rotating bridge (scale model train).
    From here I can start elaborating a modification for my sketch.
    Thank you.

  • @leeoliver2969
    @leeoliver2969 5 лет назад +5

    Do you ever connect the ground of the stepper motor power supply to the Arduino and hall sensor grounds? I don't think it would change anything but it just feels weird to have two separate grounds.

  • @electronic7979
    @electronic7979 5 лет назад +5

    Very helpful video 👍 I like it

  • @supersuperintendant
    @supersuperintendant 3 года назад

    This guy is a legend!

  • @SivanandBalan
    @SivanandBalan 5 месяцев назад

    Good Lecture Sir..appreciated...very nice...thanks a lot

  • @billfield8300
    @billfield8300 5 лет назад +3

    Hi Bill.. Im using a hall sensor currently in a tachometer project so its not a problem for me but I was wondering about the repeatability of the 'Hall as a homing sensor' device.
    It would be great to do a mechanical test to prove repeatability with a 'tenths' dial indicator or similar.

  • @andymouse
    @andymouse 4 года назад

    Very clear, concise lecture...cheers.

  • @SufiShahHamidJalali
    @SufiShahHamidJalali 5 лет назад +2

    Great videos. Looking forward to completing the Real Robot Project.

  • @geraldopontes37
    @geraldopontes37 3 года назад

    Your videos are awesome, you are expert! Thank you!

  • @janvermond8032
    @janvermond8032 5 лет назад +1

    Very clear explanation, thank you very much. Usefull for my robotarm project.

  • @drslartibartfass
    @drslartibartfass Год назад

    Thank you very much for the Video. I was wondering about the function of the pullup resistor. If I would use a module I‘d have to accept the given resistor. But if I use two blank sensors. I have a choice. Would i use one 10k resistor in a parallel setting, or a 5k resistor? Or would I use individual resistors close to each sensor? Or could I even use the internal pullup to keep the pin high until one of the Hallsensors drains the current to ground when activated? Thank You!

  • @tayfun11100
    @tayfun11100 3 года назад

    Thanks sir, this is absolutely what I need.

  • @Sabretooth-jm2kb
    @Sabretooth-jm2kb 5 лет назад +1

    I use the A4988 expansion board for the stepper motor driver, it makes it easier to connect it to the arduino, to your 12 v powersupply and to the stepper motor. You can buy the expansion board cheap on ebay.

  • @davidwhittington5959
    @davidwhittington5959 3 года назад

    Thank u for the teachings you took a load off my shoulders thank you.

  • @garycotz563
    @garycotz563 5 лет назад +1

    AWESOME as ALWAYS

  • @damianbutterworth2434
    @damianbutterworth2434 5 лет назад

    I made auto blinds for my house with a 12 volt motor with a gearbox. 3 relays to control the motor direction and a hall effect to detect when the motor makes a revolution.

  • @drpipe
    @drpipe 4 года назад

    Great video.. is there a simple way to control a stepper motor to go clockwise or Anti clockwise... stop .. variable speed would be good as well. But finally to lock the stepper if needed.. and to unlock ?.. I want to control an x axis on a mill. I have it all working with a Pwm switch with Petiontometer in it but when it stops it will not lock. I need it to be able to lock or unlock so I can use a Hand crank for positioning. Great videos thanks for all the info 👍👍

  • @satxsatxsatx
    @satxsatxsatx 5 лет назад +2

    Excellent instruction. many thanks
    A magnetic field has soft, gradient "edges"
    How to obtain precise HE switch point?

    • @satxsatxsatx
      @satxsatxsatx 5 лет назад

      @David Wingood how do you keep the magnet from unbalancing the shaft?

  • @994pranav
    @994pranav 4 года назад +1

    Amazing explanation, really nice 👍🏽

  • @321jimh
    @321jimh 2 года назад

    Hi, I really like your RUclips channel! You explain everything very clearly. This is a request. Unless there already is one, I would really like a video on "Arduino Interrupts". This topic seems very useful and also somewhat complicated. It would be nice to have you go though it. Also, I am making some interesting projects but I am not sure how to show them to you. Anyway, your efforts are appreciated, keep up the good work. And yes, I have subscribed. Jim

  • @errrick
    @errrick 2 года назад

    beautifully explained.

  • @maheshjawahar
    @maheshjawahar 4 года назад +1

    Awesome tutorials!! Thank you so much for these videos ! Everything is explained so well!

  • @thesisdavid
    @thesisdavid Год назад

    Awesome tutorial. Exactly what I was looking for. Can I also use DRV8825 instead of A4988?

  • @robertbutler4393
    @robertbutler4393 3 года назад

    So good. So clear! Thx.

  • @TheUnofficialMaker
    @TheUnofficialMaker 5 лет назад +1

    nicely done. I'd like to see esp32 running espnow sending state of PIR sensor to 2 other esp32's to wirelessly control undercabinet lights.

  • @albertcabaca5002
    @albertcabaca5002 2 месяца назад

    increased my knowledge

  • @cesarcuevas9669
    @cesarcuevas9669 5 лет назад

    I see the way you lecture your projects, I will say you make them look so easy to make. with that in mind I have a request, could you consider in your next project a camera slider using a steeper motor and Arduino or potentiometer for controlling. I've seen so many DIY on this site but no one explain them like you do. Thanks and keep up the good work.

  • @yousaftoki1599
    @yousaftoki1599 2 года назад

    Awesome project sir....in which country do you live ...?

  • @MrBanzoid
    @MrBanzoid 4 года назад

    Thanks for the vid. Excellent as usual. High tech windscreen wipers!

  • @jozesaje
    @jozesaje 5 лет назад +7

    I enjoyed your video as always, what is accuracy or repetitivity when using hall home switch comparing to micro meckanical switch ?

  • @tamsudev
    @tamsudev 4 года назад +4

    Nice tutorial. I'll try making a remote sentry gun :D

  • @jerryl7173
    @jerryl7173 5 лет назад

    This would work perfectly for a horse racing game like the ones you see at carnivals, sensing when the horse reaches the finish line. I would love to see you do a project like that!

  • @Safiredesignengineer
    @Safiredesignengineer 4 месяца назад

    can i ask how acurate / repeatable is this solution? will it constantly allow a home position/power up reference of +/-0.1mm?

  • @MakerDan55
    @MakerDan55 2 года назад

    Thanks so much for this excellent tutorial. Would it be possible to use your wiring diagram in an explanation I am writing for a robot I am building? I would give you credit on the diagram.

  • @edwinmendez1546
    @edwinmendez1546 Год назад

    Hello Bill. Could it be possible to build a servo controller without Arduino? Example with chips and simple components. Thanks again.

  • @laidman2007
    @laidman2007 Год назад

    Thank you, sir!

  • @soumitradey8208
    @soumitradey8208 5 лет назад +5

    Today is celebrated as Teachers Day!! here in India, and I wishes you a very Happy Teachers Day and Good wishes!
    Thanks for your wonderful Work.
    Soumitra (sdey76)

  • @mrcoachjason
    @mrcoachjason 4 года назад

    I wish I had 1:100000 of your brain. Your videos are mesmerizing. A modern day Don Herbert.

  • @shitheadjohnson2797
    @shitheadjohnson2797 2 года назад

    you can turn a dc motor into a servo with one of these and a little cog unit to get the revs down good enough.

  • @hubercats
    @hubercats 3 года назад

    Great video! Thank you!

  • @wishicouldarduino8880
    @wishicouldarduino8880 5 лет назад

    More sensors ? Cool.

  • @AthanCondax
    @AthanCondax 4 года назад

    Stupid question but I figured I'd ask. As shown in the diagram at 11:53, both black wires can be connected since they're both ground, right?

  • @whitesheatingairappliancer7101
    @whitesheatingairappliancer7101 4 года назад

    We were replacing blower motors on a high end stove. The hall effect senor would go bad. Giving a error code for the blower motor. This motor was located between the cook top and oven. I wonder if the heat killed the sensor? The motor could be powered separately and it would work.

  • @ClownWhisper
    @ClownWhisper 2 года назад

    i noticed that you used Dupont pins... do you have or should I say could you please recommend a crimping tool that does not totally mangle these??? i bought a kit from amazon that has a die for 0.25, 0.5 and 1 mm applications but these things flatten these pins, its terrible!

  • @fanzfanzilla
    @fanzfanzilla 4 года назад

    Thank you for sharing the video and instructions. Where can I buy the motor?

  • @garryverniest5893
    @garryverniest5893 4 года назад +2

    What is the advantage to using one of these hall effect modules rather than the just a hall effect sensor on it's own?

    • @errrick
      @errrick 2 года назад +1

      the difference is convenience specially if you're just prototyping. the modules come with resistors built-in (that you won't need to add separately yourself) and a led for easy visual feedback, so makes implementation a bit easier

    • @garryverniest5893
      @garryverniest5893 2 года назад

      @@errrick Thank you.

  • @emadabuhagag222
    @emadabuhagag222 3 года назад

    thank you ,creative

  • @Graham1904
    @Graham1904 4 года назад

    Great video. What is the minimum duration of the stepper motor pulse or doesn't it matter.?

  • @VortexMotiveVision
    @VortexMotiveVision 3 года назад

    Very helpful!

  • @uvatham
    @uvatham 5 лет назад +1

    After long time 👍

  • @jaredevans8518
    @jaredevans8518 Год назад

    Is it possible to use homing sensors on BLDC motors also?

  • @مييناحمر
    @مييناحمر 2 года назад

    Thank you so much for you

  • @edwardrambanpinem1359
    @edwardrambanpinem1359 2 года назад

    Dear Sir, please recommend or advice.. I want to create a system based on Arduino components and stepper motors along with other components so that the stepper motor ON and OFF is triggered in the voltage or amperage range (Min, Max) from other systems. Thank You

  • @IH1940HAY
    @IH1940HAY 5 лет назад +1

    Can a Hall effects module be an normally open or closed like a micro sw?

  • @Nguyen_Phuc08
    @Nguyen_Phuc08 5 лет назад +2

    Lovely...new thing to try out and learn :-)

  • @matthewwoolsey7878
    @matthewwoolsey7878 3 года назад

    Excellent video, thank you! What components would I need to make an AC motor mimic the rotation of a Hall Effect Sensored spinning drive shaft?
    Phrased another way, if I had an output drive shaft from a transmission, and I wanted to attached a motor to it and have that motor spin at the exact rpms as the transmission output shaft - then, in my mind, I would need these components:
    Battery, controller and motor for drive system
    Hall effect sensor placed over the drive shaft
    Magnet fixed to drive shaft below sensor
    Raspberry pi computer
    In my mind, I could take the 0-5v output reading of the hall effect sensor, send it to the raspberry pi, have it complete some logic that basically just says "accelerate" or "decelerate", and send that signal to the motor controller to increase or decrease the motor speed.
    Thats the concept, but I feel like - other than some obvious holes in my knowledge of coding the raspberry pi to SEND the appropriate data - there is something I am missing. It seems to simple, and like I am missing a component or a logic step.
    Or maybe it is too complicated. Maybe I could have the hall effect sensor go straight into the very smart ac controller and program the logic in there. I don't know.
    This is hardly the place to ask such a question, but, here I am. Thanks!

  • @ryanavery7980
    @ryanavery7980 5 лет назад

    On pololu they say to use a 47u cap and they say the reason is for not allowing voltage spikes to reach the driver. they say to put it as close to the driver's inputs as possible. maybe you are correct tho, idk.

  • @Dan-qp1el
    @Dan-qp1el 4 года назад

    Thank you!

  • @roghibashfahani15
    @roghibashfahani15 2 года назад

    Hello sir, is it possible if i change with IR sensor?

  • @d74g0n
    @d74g0n 5 лет назад +5

    this video really... bridged a huge gap for me. Hats off to your explanations, I didn't even know half these switches existed.. Keep up the good work; earth's future will be here sooner for it. wwg1wga

  • @Ninjamstrboy
    @Ninjamstrboy 5 лет назад

    Amazing video!!!

  • @hamidfazli5184
    @hamidfazli5184 3 года назад

    Hi Mate,
    I am going to carry a steel pallet (overall weight of 700 kg) over rollers with 2 stepper motors on each sides, do you reckon "Nema 42 CNC Stepper Motor Bipolar 30Nm" is enough for this application?

  • @stonedinsect
    @stonedinsect 4 года назад

    Can a potentiometer be added to this to control the speed of the motor ?

  • @karanbirsoin9983
    @karanbirsoin9983 4 года назад

    My experiment did not work out like yours. By sensor board does ot have a pullup resistor. I used a 3.9K resistor it one of its ends at 5V, To the other end were connected PIN3 of Arduino and Output pin of the sensor. LED on 13 does not toggle while the led on sensor goes off on bringing the magnet close.

  • @ChrisLocke1969
    @ChrisLocke1969 5 лет назад +1

    nice video, thanks... just an fyi... S = signal

  • @buder5116
    @buder5116 4 года назад +1

    are there stepper motor with encoder ?

  • @BekirBilge
    @BekirBilge 5 лет назад

    Great video. Thanks.

  • @adolfovillavicencio6051
    @adolfovillavicencio6051 3 года назад

    Wonderful.

  • @tecni-estrib9171
    @tecni-estrib9171 4 года назад

    Thank you sr, nice your video.

  • @hadireg
    @hadireg 5 лет назад

    great video! Thanks!!

  • @kiwicrusader1001
    @kiwicrusader1001 3 года назад

    What parts can you put on the shat? I cant find any, trying to look for something similar to a servo plastic horn, but isnt screwed on

  • @interestingspagetti
    @interestingspagetti 5 лет назад

    Awesome channel btw. All these quarter, eighth's, sixteens etc are soo all school. Is there not a way that you can define using degrees? I'm still learning arduino. But seems it would be so much more accurate. Guessing degrees would be used in motors controlling say, a 3d printer?

  • @lunara69
    @lunara69 4 года назад

    Thanks.

  • @muggullasairam8442
    @muggullasairam8442 3 года назад +1

    hi sir, i need to know how to write a code for 2 stepper motors using a4988 drivers plz any one help me

  • @adamziegenhagel8645
    @adamziegenhagel8645 2 года назад

    I have this setup but I need to add a counter that displays on an LCD. Every time the the second Hall effect is triggered I need the counter to go up by one. Can anyone point me in the right direction to learn how to do this?

  • @arthurmorgan8966
    @arthurmorgan8966 3 года назад

    wow A4988 driver is super noisy. Got my first printer with silent drivers, now I appreciate it more.

  • @72_ashishvarma2
    @72_ashishvarma2 Год назад

    Hello I am making a project with stepper motor but I’m facing a coding problem . Can you please help me in building my project?

  • @AftabKhan-ji6ty
    @AftabKhan-ji6ty 4 года назад

    sir i want to make exactly same project but using L298N driver......
    how i do that??? help me please
    thankyou

  • @dailydaisydog
    @dailydaisydog 4 года назад

    what is the thing that you are wearing on your left wrist? Oh, and always thank you for the great videos :)

    • @MrBanzoid
      @MrBanzoid 4 года назад

      It's an anti-static wrist band connected to ground through a high value resistor to discharge any static build-up on the body caused by walking on carpet etc. Relatively small static charges can easily destroy static-sensitive components.

  • @volkerblock
    @volkerblock 5 лет назад

    thank you!