How To Correctly Set The Motor Current Limit On An A4988 Stepper Motor Driver

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 มิ.ย. 2024
  • In this Tutorial video, I'm going to be showing you how to correctly set the motor current limit on an A4988 stepper motor driver. These drivers have become popular for CNC, 3D printing, robotics and Arduino projects because they're relatively cheap and really easy to use, they only require two pins to provide full control of a stepper motor.
    There are two methods to do this, the one is to use a multimeter to physically measure the current flowing through one of the coils and the second method, which is the one we’re going to look at, is to calculate adjust the reference voltage on the driver, which doesn’t require the motor to be hooked up or powered.
    Written Step by Step Tutorial - www.the-diy-life.com/how-to-c...
    Components Required
    Arduino Uno - amzn.to/3abhNNG
    A4988 Stepper Motor Driver - amzn.to/2V2qXGE
    Breadboard & Jumpers - amzn.to/2QC3BW4
    Multimeter -amzn.to/30ZRQ1Q
    Aligator Test Leads - amzn.to/2V6pOhv
    If you've got any Tutorial requests or suggestions, let me know in the comments section below. I'm always looking for suggestions.
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 131

  • @davidgiardini1275
    @davidgiardini1275 2 วันที่ผ่านมา

    Thank you, you save me a lot of time. I did it on my 3d printer directly.

  • @FamilyHomeTheater
    @FamilyHomeTheater 2 ปีที่แล้ว +2

    Liked simply because you took the time to get good sharp up-close video!

  • @Abdelhamid_Helal
    @Abdelhamid_Helal 3 ปีที่แล้ว +5

    high quality photographing !!

  • @nizarworld2020
    @nizarworld2020 3 ปีที่แล้ว +1

    Very clear.an experience teacher.

  • @leecaraway706
    @leecaraway706 3 ปีที่แล้ว +2

    Well done!

  • @bullygram
    @bullygram 2 ปีที่แล้ว

    Thank you very much!

  • @gauravphalke5311
    @gauravphalke5311 3 ปีที่แล้ว +1

    Guys it's not as complicated as it looks.. it's actually Easy.. did it yesterday.

  • @Vadaliya
    @Vadaliya 2 ปีที่แล้ว +1

    Thanks for the help...

  • @jupiterjs031
    @jupiterjs031 2 หลายเดือนก่อน

    Thank you!

  • @joshuafischer2452
    @joshuafischer2452 4 ปีที่แล้ว +1

    Awesome bro

  • @recovered_file
    @recovered_file 2 ปีที่แล้ว +2

    Merci !

  • @CineMuck84
    @CineMuck84 ปีที่แล้ว

    Hi! Thanks for the video!
    I'm driving my stepper driver from a Piu Pico that has a 3,3V output.
    Does that have any effect on the Voltage I need to set?

  • @leahcornelius
    @leahcornelius ปีที่แล้ว +5

    a note for anyone watching, the heatsink must be placed on the UNDERSIDE of the PCB. The datasheet shows there are 4 thermal vias (small holes in the pcb) leadigng to the bottom of the board where the headsink can be attached. The chips's top is very thermally-insulating and so a heatsink on top will do practically nothing. Annoyingly the pins on the breakouts are not long enough after attaching the headsink to the ender side for breadboards or female connectors. Youll have to solder it to a stripboard instead (or replace the pins/flip round etc). Airflow is a bigger factor for cooling these chips, make sure to use a radial fan over an axial fan and the airflow should be perpendicular to the board &/or headsink.

    • @blackday7297
      @blackday7297 หลายเดือนก่อน

      Then how can the pins of the pcb go in the breadboard or its place

  • @MatthewUpp
    @MatthewUpp 3 ปีที่แล้ว +9

    The sense resistors on the driver board in the video are 0.100Ω
    (R100). Should that not be used instead of 0.068Ω ?
    I understand that the sense resistor values used vary depending on the manufacturer but I want to make sure I am not missing something.

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว +3

      Yes, you are correct. You should use the actual resistance value of your current sensing resistors. I've used 0.068Ω as an example in this video because this seems to be the most commonly used current sensing resistor.

  • @SoloChinchilla
    @SoloChinchilla ปีที่แล้ว

    Perfect

  • @TomTRobot
    @TomTRobot 3 หลายเดือนก่อน

    It would have been nice to include a confirmation using the voltmeter and a stepper coil. It seems that one advantage of the approach measuring the current through a stepper coil and measuring current through the multimeter would be that you may not need to do any calculations since you'd be able to read the current directly. However, you would need to be careful to start with the pot at minimum current and then increase from that point. Another advantage is that you;d have no doubt that your setting was correct.

  • @007Antbond
    @007Antbond 3 ปีที่แล้ว +6

    Awesome tutorial! Strangely enough, my potentiometer on my A4988 board doesnt go above 0.78 when I need it to go to a value of 1.2.

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      Thanks Anthony. Are you sure you've got the correct value for your board's current sensing resistor?

    • @MouseFightBackStage
      @MouseFightBackStage 3 ปีที่แล้ว

      I had this issue with one of 3 drivers. It was faulty and needed to be replaced.

    • @theartofcolor
      @theartofcolor 2 ปีที่แล้ว +1

      I'm having the same problem with my A4988 drivers. None of 5 goes above 0.8V. Maybe someone has a solution?

    • @chee4281
      @chee4281 ปีที่แล้ว +1

      @@theartofcolor hey man i have no idea what happened but i just did everything over again and it managed to be higher than 0.8v.

  • @kiranshashiny
    @kiranshashiny 4 หลายเดือนก่อน

    The Vref is set to 0.48v, but one out of 6 or 7 times the motor spins in opposite direction !
    I have my DIR set to to clockwise, and it works fine, until suddenly the motor DIR spins **anticlockwise** !, and them goes back to it's programmed DIR ( i.e clockwise )
    I have a Nema 17 and have used the formula as per data sheet and your video.

  • @umargul5644
    @umargul5644 2 ปีที่แล้ว

    Great

  • @BasWasAlBezet
    @BasWasAlBezet 2 ปีที่แล้ว +1

    When you say "the maximum motor current", does that mean per phase or for both phases combined? The datasheet for my stepper just says "1A max per phase" and it has two phases, so does that mean the maximum motor current is 2A or should I stick to 1A?

    • @MichaelKlements
      @MichaelKlements  2 ปีที่แล้ว +4

      The current specified is always per phase, so for your motor you'll always work with 1A.

  • @dzarren
    @dzarren 3 ปีที่แล้ว +1

    Where does the 8 come from in the reference voltage formula? Thanks!

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      It's just the formula given in the datasheet, it's probably a combination of a few other numbers/multiples.

  • @d0tted770
    @d0tted770 3 ปีที่แล้ว

    my resistance on the board is 0.2 Ohms ,is that a problem? That seems a lot compared to yours

  • @blackbox330
    @blackbox330 ปีที่แล้ว

    Sir, Great video. Learned a lot. I have purchased a stepper motor from the local market. It has following details:
    TYPE 17PM-K310-33VS
    NO. T4524-01
    MINEBEA-MATSUSHITA MOTOR CORPORATION.
    There are no other details. I cannot find a datasheet. I am using CNC shield 3 & A4988 driver. What voltage should I set?
    Thanks

  • @tareshgupta1095
    @tareshgupta1095 2 ปีที่แล้ว

    can you do one for DRV8825?

  • @BroMalte
    @BroMalte 2 ปีที่แล้ว +1

    Hello Michael, thank you for the video, i think it made me understand the idea correctly.
    I've found my sense resistors (Rs) values, to be 0,1, my max amps to be 0,6A, and calculated the Vref to be 0,48V.
    My datasheet however seems to think i need to reverse calculate it because the math is:
    ItripMAX = Vref/(8*Rs), indicating that my Vref has to be around ~0.75Volts, however when installed like this my Motor tends to just vibrate instead of actually starting to turn as needed every other/third time i activate the stepper.
    Do you have any idea what could be wrong?
    Cheers from Denmark

    • @MichaelKlements
      @MichaelKlements  2 ปีที่แล้ว

      Hi Malte,
      I think its unlikely that the motor's current is causing it to slip on some steps, unless it is really set way too low. It's more likely that you have the motor coils wires up to the driver incorrectly or there is an issue with the driver. You can temporarily try turning the reference voltage up to check that this isn't the issue. Turn it up in small increments and see if the problem goes away, the motor can handle over-current for short periods of time.
      Hope this helps.

    • @BroMalte
      @BroMalte 2 ปีที่แล้ว

      @@MichaelKlements Hello Michael, on my way to my internship as we speak, i have a feeling you are correct, as i have 5 devices, and i tested the other 4 who seemed to be working just fine. im somewhat positive you are correct, and will write a message back when im done testing today! i believe the wiring on the last subject must be twisted and thats it, take abit of re-soldering and i will hopefully be good!
      Thank you for the quick answer, much appreciated

    • @BroMalte
      @BroMalte 2 ปีที่แล้ว

      @@MichaelKlements they are connected correctly, same as the 4 others, yet it just will not act accordingly.. maybe there is something wrong with this driver, i ordered new ones for the fifth.. sad..

    • @BroMalte
      @BroMalte 2 ปีที่แล้ว +1

      @@MichaelKlements Sorry for the spamming Michael!
      But i have now figured it out, the new stepper motor drivers i ordered have sensing resistors at R200 or 0,2Ohms, meaning that effectively my Vref is doubled... so that sucks for my system, but thats why i can run them at such a low voltage, haha.. electronics sometimes man :D
      But i figured it out, thanks for the educational video again, i subscribed!

    • @MichaelKlements
      @MichaelKlements  2 ปีที่แล้ว +1

      I'm glad you've managed to find the issue! Yeah electronics can be a frustration sometimes, but it's great when you get the project working in the end. Thanks for the update and good luck with your builds!

  • @hariharanramamurthy9946
    @hariharanramamurthy9946 3 ปีที่แล้ว

    sir i am looking to control stepper motor ,can i use bench power suplly for the power source ,and what is main differece between bench power supply and programmable power supply

    • @travis6342
      @travis6342 ปีที่แล้ว

      I don’t know what you mean by programmable supply. The drivers in this video have two “separate” power connection terminals: one for the logic supply for the sequencing of the coil wires (1A 1B etc), and the other is the terminal for the power that is supplying the physical stepper motor itself. However, since it’s doing both, I believe the minimum voltage supply to connect to the motor power terminals is 8V. Usually I think 12V is the norm. The logic supply terminals should never be above 5-6V and is the voltage supply from the microcontroller, which is not optional if u want a programmed step sequence and should never be another external power supply outside of the microcontroller pins (for the ground connection at least). The bench supply is fine for the motor power terminals on the driver, just match everything with whatever stepper motor specs from its datasheet. Sadly often times this info is horrendous and lacking but it’s the way of the road I guess

  • @trailb4u
    @trailb4u 3 ปีที่แล้ว

    Hi, I don't quite understand the whole end result of using stepper motor driver module to limit current. Lower voltage will lower motor speed (and torque). Will using driver module to limit current allow for faster rpm while limiting torque?

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      What you seem to be describing applies to brushed dc motors. Stepper motors operate entirely differently and require a driver to energise the coils sequentially a to move them. Motor speed is dependent on the frequency of pulses and torque is dependant on current.

    • @trailb4u
      @trailb4u 3 ปีที่แล้ว

      @@MichaelKlements thanks for the reply Michael, a brushed motor is what I am looking to limit current to. Specifically small dc motors such as a 130, or 180 dc motor. My application would need to limit current when a geared mechanism reaches the end of it's travel and causes the motor to stall.
      Stall amperage for these motors is just under or just over 1 amp. I can accomplish my gosh simply by running the motors well below rated voltage, but would prefer to run at rated voltage and current. Would these driver modules work to limit current to a dc motor?

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      You'd probably have to build your own dc motor driver (or modify an existing one) to do what you're wanting to as it is a somewhat unusual requirement. You can't use these drivers (as far as I'm aware) to drive brushed DC motors.

  • @sajadmohammadi8751
    @sajadmohammadi8751 ปีที่แล้ว

    Thanks for tutorial. I did exactly what you explained, but there is strange noise from stepper motor after every single motion. Imax is 1A, Rs equals to 0.2, therefore Vref is 1.6 minus 10% for safety. I would appreciate your help.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      I'm not sure what you consider to be a strange noise, these drivers aren't silent so do make some noise and magnetic humming sounds.

  • @ronc1357
    @ronc1357 3 ปีที่แล้ว

    I have a micro stepper motor from an old CD player/DVD/CD ROM (has no numbers on it... no data sheet) is there a way to determine the correct current limit? The coil pairs are 20 ohms each.

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      There isn't really a way to calculate the current limit for a motor. It depends on a number of manufacturing and design parameters. The best bet would probably be to try find a similar sized motor online with a similar voltage and coil resistance and work with that.

    • @ronc1357
      @ronc1357 3 ปีที่แล้ว

      @@MichaelKlements Thanks for the response, I'll give that a try.

  • @louisleemans3982
    @louisleemans3982 3 ปีที่แล้ว

    So now i can power my 5V 1A (big) stepper motor with a 12V power supply true my A4988 like this? The 12V won't be a problem for my 5V motor?

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      You can run a motor with a higher voltage using the A4988 driver, you just need to make sure that you set the current limit down to compensate for the increase in voltage.

  • @kiranshashiny
    @kiranshashiny 4 หลายเดือนก่อน

    The NEMA motor is spinning good, until I touch the POT of the A4988 with a small screw driver and then suddenly the motor starts to shiver, and tries to jump/ rattle !
    The Vref is set to 0.48v, Current sensing Resistance is 0.068, Imot = 0.9 and DIR is set to clockwise and it's running fine until I touch the A4988/Pot with a small screw driver ( Like I 'm shorting some internal circuitry)

  • @benvanzweeden5566
    @benvanzweeden5566 3 ปีที่แล้ว

    Hi, I have a drv8825 board, will this be the same?

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว +1

      The process is the same, the resistance values and equation might be a little different.

  •  3 ปีที่แล้ว +1

    Hi! Does anyone know why when I measure the voltage it tells me that it is 4v? moving the screw fluctuates between 3v and 5v. I am feeding it with a battery that previously goes through a L7805 (a 5v 1a regulator). I don't understand why it gives me those values. Thanks

    • @andregustavo6672
      @andregustavo6672 3 ปีที่แล้ว

      I have the same issue, did you come to a solution?

    •  3 ปีที่แล้ว

      @@andregustavo6672 In my case I was measuring wrong. I think I measured VDD to screw instead of GND to screw

    •  3 ปีที่แล้ว

      @@andregustavo6672 or vice versa. I don't remember how it is measured correctly

  • @larrypridgen4785
    @larrypridgen4785 3 ปีที่แล้ว

    My CNC stopped working, so I decided to check the motor current. It was set at 1.62V. I thought kind of high, but could not find the data sheet for my stepper motor. Stepper motor labeled D42HSC1413B-24. Any suggestions?

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      I can’t find much information on that part number either. Most steppers used for hobby CNC machines are around the 1.5A mark. Perhaps try that for a start?

    • @larrypridgen4785
      @larrypridgen4785 3 ปีที่แล้ว

      @@MichaelKlements Thanks Michael, I found the problem. I forgot to put the jumper on. I have set it to 1.3A just to be safe.

  • @boulevard197bysurene7
    @boulevard197bysurene7 3 ปีที่แล้ว

    will it burn the microcontroller if I set the Curren tlimit wrongly?

  • @eonoire
    @eonoire 2 ปีที่แล้ว

    What do I do when I don't know the maximum motor current? I salveged a motor from an old scanner and it only sais it has 5.8 ohms and I couldn't find a data sheet for it...
    I would really appreciate some help

    • @MichaelKlements
      @MichaelKlements  2 ปีที่แล้ว +1

      Unless the motor has a part number, you won't be able to tell for sure. Your best bet is to find some similar sized ones and use a best guess - unfortunately not fool proof though

  • @MrAlibatur
    @MrAlibatur 2 ปีที่แล้ว

    Hello i will use 1.5 amper rated current 17hs4401 .Should i use this driver

    • @MichaelKlements
      @MichaelKlements  2 ปีที่แล้ว

      No, these are only rated to 1.2A. You'll need a larger driver like a TMC2226

  • @DesertVox
    @DesertVox 7 หลายเดือนก่อน

    I just use my fingers to check whether the stepper is heating up too much, and adjust accordingly.

  • @saifurshiblu5682
    @saifurshiblu5682 4 ปีที่แล้ว

    My stepper motor voltage rating 12v dc. Can i run the motor with this driver. Plz ans

    • @MichaelKlements
      @MichaelKlements  4 ปีที่แล้ว

      Yes you can run 8-35V motors using this driver.

  • @kathabox109
    @kathabox109 3 ปีที่แล้ว

    Can i use 2 motors for single driver? And hiw i get one motor opposite direction?

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      It's not good practise, but you can - as long as the two motors are the same (preferably same make and model). To reverse one just connect the opposite coil pairs together.

  • @SakibAhmed-hr7bd
    @SakibAhmed-hr7bd 3 ปีที่แล้ว +1

    some people use a different formula
    current limit = Vref * 2.5
    what is the difference?

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว +1

      This formula only works for boards with a current sensing resistance of 0.05 ohms.

  • @AnshSingh-uq5mt
    @AnshSingh-uq5mt 3 ปีที่แล้ว +1

    Bro i use DVD stepper motor but it getting to hot can I fix it with potential meter

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว +1

      Stepper motors do tend to get to get hot while in use, but if it seems to be excessive, then limiting the current will certainly help.

    • @AnshSingh-uq5mt
      @AnshSingh-uq5mt 3 ปีที่แล้ว +1

      Thanks bro

  • @cotomaznaczyc
    @cotomaznaczyc 10 วันที่ผ่านมา

    No matter what I do, the voltage on the motor driver never changes when I rotate the screw. Two A4988s and one tc2209 and it's the same behavior with all of them. Any idea what I could be doing wrong?

    • @MichaelKlements
      @MichaelKlements  10 วันที่ผ่านมา

      Are you taking your voltage measurements from the correct two points?

  • @repeters1
    @repeters1 3 ปีที่แล้ว

    Where / How do I find the current sensing resistance of the A4988 board?

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      You’ll need to find the datasheet for your specific board. Either find the manufacturer or ask your supplier for it.

    • @repeters1
      @repeters1 3 ปีที่แล้ว

      @@MichaelKlements Ok..thanks. I did try to find it online but as they were generic units from China off of eBay, I'm hoping they will respond to my request for that info.
      I set one up for the .68 but after running for 10 minutes, the board burned out right under the heatsink. Good thing they are cheap. I think the next ones I get, I'll make sure they're better quality.

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      Yeah its a bit of a trade-off buying Chinese parts, you get a good deal, but often don't know what you're buying (the distributors are usually pretty unhelpful as well)
      It's unlikely that the motor current setting burnt the board out. The motor current limit is set to protect the motor. A burnt board could just be faulty electronics or over-voltage?

  • @BACRULES
    @BACRULES ปีที่แล้ว

    I dont understand:/ i have a 42bygh47-401a but dont understand how to calculate
    any up to help? My A4988 is RED

  • @AnshSingh-uq5mt
    @AnshSingh-uq5mt 3 ปีที่แล้ว +1

    Bro please help me I connect motor driver with ramps 1.4 with dvd stepper motor moving forward but not coming backward

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว +1

      Is the stepper motor a 4 wire motor? Have you checked that you've got the correct coil pairs?

    • @AnshSingh-uq5mt
      @AnshSingh-uq5mt 3 ปีที่แล้ว +1

      Yes it come with 4 wires some times -yaxis works but some time didn't I changed motor even motor driver

    • @AnshSingh-uq5mt
      @AnshSingh-uq5mt 3 ปีที่แล้ว +1

      Please help me

    • @AnshSingh-uq5mt
      @AnshSingh-uq5mt 3 ปีที่แล้ว +1

      Yeah when I connect with x axis motor works all right but when I connect with y axis it move only forward not backward(-y)

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว +1

      If the y axis works intermittently then there's either a loose connection or the motor or driver is faulty.

  • @Truckinman2000
    @Truckinman2000 ปีที่แล้ว

    I can't get the potentiometers to move at all. I tore up one driver trying. Any suggestions?

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      Only the metal part at the very top needs to move, perhaps you're pushing the driver down too far?

    • @Truckinman2000
      @Truckinman2000 ปีที่แล้ว

      @Michael Klements one big dumb mistake... the little screwdriver was to big. Don't see how it was possible but that was the problem.

  • @SunilSundar
    @SunilSundar 2 ปีที่แล้ว

    When I measure the voltage between the ground and the pot screw, it keeps changing. What could be the problem?

    • @MichaelKlements
      @MichaelKlements  2 ปีที่แล้ว

      This could be a number of things, problems with the power supply, faulty driver, faulty motor, faulty meter, loose component etc.

    • @skykalaicreations
      @skykalaicreations 2 ปีที่แล้ว

      Did you use decoupling capacitor?

  • @imbw267
    @imbw267 4 ปีที่แล้ว

    Be sure to include some margin to account for motor thermal derating, and error of the measurement.

    • @MichaelKlements
      @MichaelKlements  4 ปีที่แล้ว

      Yes this is a good idea, thanks!

    • @jamesmurraldeo7624
      @jamesmurraldeo7624 3 ปีที่แล้ว +1

      Does that mean setting it lower than the computed value?

  • @peterpettersson9582
    @peterpettersson9582 2 ปีที่แล้ว

    I have an 12v stepper motor. I "feed" the drive with 12V but I only get 3,5-4V to the motor. To get 12V to the motor I have to "feed" the driver with about 20V. What am I doing wrong?

    • @MichaelKlements
      @MichaelKlements  2 ปีที่แล้ว +1

      I wouldn't worry about the voltage at the motor too much. The driver adjusts the voltage in order to achieve the level of current it should be maintaining at the motor.

    • @peterpettersson9582
      @peterpettersson9582 2 ปีที่แล้ว

      @@MichaelKlements Thanks for the quick answer! The problem is that the motor doesn´t work with that low voltage and when I go with 20V the driver gets REALLY hot. But the motor works.

    • @MichaelKlements
      @MichaelKlements  2 ปีที่แล้ว +1

      Are you sure that you're using the correct motor/driver combination? Are you using a heatsink on the driver?

    • @peterpettersson9582
      @peterpettersson9582 2 ปีที่แล้ว

      @@MichaelKlements Yes I have a heatsink on the driver. It is an A4988 that is rated up to 35V and 2A. The motor is an M49SP-2K rated for 12V on some sites and 24V on others. If I go over 12V the motor gets warm quick.

    • @MichaelKlements
      @MichaelKlements  2 ปีที่แล้ว +1

      The searches I've done all suggest that your motors operating voltage is around 21V to 26V, so that's most likely why it isn't working at 12V. So you should probably be looking at supplying the driver with around 24V and then adjusting the current limit to a maximum of 1A.
      The A4988 drivers are designed to run "hot", in fact the Pololu page has a warning that the drivers get hot enough to cause burns during normal operation. They'll also just shutdown if they overheat, so unless this is happening its probably still considered to be normal.

  • @petermuller608
    @petermuller608 3 ปีที่แล้ว

    Why x8 in Ix8xR?

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว +1

      I’m not sure, that’s the formula given by the manufacturers. I’d assume that this involves the Vref being 1/8th of the Vmot or something similar. This is not a straight V=IR calculation as the V, I and R are all from different places on the board. The 8 related them in some way.

    • @gauravphalke5311
      @gauravphalke5311 3 ปีที่แล้ว

      @@MichaelKlements Other TH-camrs have used drivers with Mega and ramps... Is it enough to use Arduino uno only like you did ???

  • @kaiserindustries5567
    @kaiserindustries5567 3 ปีที่แล้ว

    QUESTION : if my motor (nema 17) is a 12V motor and i use 12v as an input power, do i have to limit the current. If yes, why and if no, why

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      Yes, you do. Because the motor's rated voltage has nothing to do with the current being supplied to it by the motor controller. You're supplying the controller with 12V, not the motor. You need to limit the maximum amount of current allowed to flow through the motor's coils or your motor might burn out.

  • @d0tted770
    @d0tted770 3 ปีที่แล้ว

    Does it always need to be at 0.49 volts???? pls reply

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      No, this depends on your motor's rated current and what your driver's sensing resistance is. Have a look at the guide linked in the video description.

    • @d0tted770
      @d0tted770 3 ปีที่แล้ว

      @@MichaelKlements ok

  • @somdov
    @somdov 3 ปีที่แล้ว

    When I place my multimeter at the same places, it reads 0 no matter what. What am I doing wrong? I've been bashing my head against this for far too long!

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว +1

      Are you measuring between a GND point and the surface of the pot? Is your multimeter on DC volts? Are the leads plugged into the correct ports?

    • @somdov
      @somdov 3 ปีที่แล้ว +1

      @@MichaelKlements I'm a dummy dumb dumb dumb dummy dumb my leads were in wrongggg aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa thankyou

    • @MichaelKlements
      @MichaelKlements  3 ปีที่แล้ว

      I've done this a few times! I've also destroyed a a few PCBs because I've had the leads in the amps sockets and shorted out what I was trying to measure the voltage of.

  • @cadcdo2532
    @cadcdo2532 10 หลายเดือนก่อน

    He said to bridge sleep and reset pins, but apparently proceeded to demonstrate without the bridge.
    Explanation please…

    • @MichaelKlements
      @MichaelKlements  10 หลายเดือนก่อน +1

      The pins are bridged in the video, you can see the bridge at 1:54

  • @zombieregime
    @zombieregime 3 ปีที่แล้ว

    Wait a minute, that screw driver is black. Thats a ground screw driver, man. You're shorting it out!
    (Goes outside to listen for engineers slamming their heads on desks)