Inexpensive Robot Feedback on stepper motors with AS5600 Magnetic Encoder

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024
  • Inexpensive Robot Feedback on stepper motors with AS5600 Magnetic Encoder
    How can we get feedback from a stepper motor ?
    What is step angle in stepper motor ?
    AS5600 Magnetic Encoder 12bit high Precision Magnetic Induction Angle Measurement Sensor Module
    Arduino AS5600 Library
    github.com/See...
    3D Print part from
    curiousscienti...
    ::::::::::: SUPPORT CHANNEL ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    Please Donate To Help Me Afford New Equipment And Software To Make My Videos More : goo.gl/1m8Dg2
    Don't forget to subscribe!

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

  • @easy_3d
    @easy_3d 2 หลายเดือนก่อน +1

    I tried this and its amazing and now i can control my stepper just like a servo,i can stop at any angle❤

  • @yayser
    @yayser 4 หลายเดือนก่อน +2

    I used the analog output for this encoder. I had trouble getting the readings first but then I found out that the GPO pin had to be connected to 3v3 or 5V (depending on the supplied voltage). So I did that and got some readings but then the readings were inconsistent. I then realised that the magnet has to be at a perfect distance from the chip. Half a mm change means either you are getting some values or nothing at all. I wonder if that would change if I tried I2C. Happy to hear any suggestions...

  • @lucienlescanne
    @lucienlescanne 9 หลายเดือนก่อน +1

    It is a good idea to 3 print a 3d centering shaft for positioning your magnet to limit misalignment at the minimum

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

    Did you glue the magnet to the shaft?

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

    Did u used diametrically magnetised magnets or normal magnets

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

    Hi how do I change the DIR pin? I use an arduino Micro Thank you

  • @Okuyorum-y8w
    @Okuyorum-y8w 5 หลายเดือนก่อน

    We are working on this issue with my teammates at school. Is there any chance of getting this code? If so my friends and I would be very happy.

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

    How many pulses its goves in on revolution PPR rate please

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

    What is the resolution of this sensor in ppm

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

    can only one encoder be operated for the library used here?

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

      AS5600 has a fixed I²C address of 0x36 so two Solution : I²C Multiplexer: Use a device like TCA9548A or Separate SDA/SCL Lines: Connect each encoder to a different pair of SDA/SCL pins on the ESP32 (ESP32 supports multiple I²C buses).

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

    Please let me know the type of screws used in this video..

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

      Nema 17 uses M3 I'm pretty sure

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

      @@RocktracksSC thank you!!

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

    This is a great way to read the motor's position and use PID control for moving the stepper motors. Great module!

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

      Stepper motors always know their position.

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

      @@qozia1370 from my understanding, with a hall sensor or home sensor, but looses it when restarted, these dont.

    • @AJ-Palermo
      @AJ-Palermo 9 หลายเดือนก่อน +2

      @@qozia1370 No, they don't. They are very precise, so you can guess their position, but as soon as they skip or get backdriven your guess will no longer be accurate

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

    Not able to print the angles. Used the arduino file from example. Showing only 0000000

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

    thess values seems not stable

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

    Thank you a lot for tutorial! The green part can be melt during a long time of working motor

  • @عمرمرخي-ط2ذ
    @عمرمرخي-ط2ذ 2 ปีที่แล้ว

    شكرا

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

    Great video, I'm Pretty new to code. I'm wanting to analog read two AS5600, one will notice a change in value, and then read the second one to get the difference between the two (there 1024) and if not equal, will take the > or < than value and while reading one of the AS5600's will move a stepper that is connected to it to the area of the other.

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

      Maybe simpler put, Have one read a second one and have stepper match it, with a changeable delay.

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

    best innovative channel ,thank you for sharing

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

    Stepper motors don't need external encoders!

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

      Only partially true. Stepper motors are great because you can run them without an encoder; due to the discrete nature of their steps, provided they don't lose any, you know their position at all times. However using an encoder allows you to know their angle even if they do miss a step and also allows you to use field oriented control, which improves torque, efficiency and reduces noise

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

      Servos do. 😉

    • @whyme5929
      @whyme5929 9 หลายเดือนก่อน +3

      ​@@LamantinoElettronicoIf not using the encoder How to solve the problem when the controller suddenly loses power and resets itself? It is certain that the motor will stop. Suppose it stopped at the 100th step when the power came back on. It will become 0

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

      ​@@LamantinoElettronicothat's why we need encoder

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

    you SHOULD point that different boards have different input voltages (like library says, but I saw it too late).
    thanks to you now I have two burned out sensors which were 3.3V (so as your sensor should be on video).
    another provement that you should not trust anything except datasheet.
    and this stupid youtube hided dislakes, wonder how many this video should have, mine is there.

    • @Nobody-Nowhere
      @Nobody-Nowhere 2 ปีที่แล้ว +11

      the input voltage reads on the board.... you are supposed to be able to read

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

      @@Nobody-Nowhere where exactly?

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

      Even as novice, you cannot point to a tutorial that your board burned. Carefully read the datasheet and you find out that there is a 3.3 and a 5V pin on the device itself. Just google "as5600 datasheet"...