Getting the Absolute Rotation from Magnetic Encoder (Smart Knob)

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Let's take a look at the magnetic encoder in this device.
    How would it work if I move backward and forward a magnetic object on the surface of the dual hall effect latch IC?
    How can I count with the edge signal and level signal?
    Also, it seems that we can make our own smart knob using a hall effect IC and 3d printer.
    [Pulse Counter (PCNT)]
    docs.espressif...
    #MagneticEncoder #HallEffect #RotaryEncoder #PulseCounter #IoT #ESP32 #ThatProject

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

  • @RobinGerritsen1995
    @RobinGerritsen1995 Год назад +4

    Combining this with a brushless DC motor it would give a nice haptic feedback

  • @Everflamen
    @Everflamen 16 дней назад

    Awesome execution! Where did you get the magnetic ring from?

    • @ThatProject
      @ThatProject  16 дней назад

      @@Everflamen Thanks. This is a disassembly of the product to see how the hall effect sensor and magnetic ring work. I did not purchase the magnetic ring separately.

  • @TwanJaarsveld1
    @TwanJaarsveld1 Год назад +1

    cant wait for the Home Assistant integration

  • @OMNI_INFINITY
    @OMNI_INFINITY Год назад +1

    Thanks! Seems the question is what is the magnetic orientation of the portion of that magnetic strip that faces the hall effect sensor?

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

    Waiting eagerly for the touch screen version.💓💓💓

  • @doubleHLabs
    @doubleHLabs Год назад +2

    I just bought a rotary switch for an arcade project.... maybe I should get this and make something new

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

    Very cool video.

  •  Год назад

    thank you

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

    Trying to figure out how to make a motorized version without using a slip ring. Any recommendations on how? (Main issue is that the display would spin without a slip ring in the 2 main logical configurations)

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

      Wow! That's out of my knowledge. I hope you can build your own motorized version!

  • @OMNI_INFINITY
    @OMNI_INFINITY 7 месяцев назад

    What knob product is that, by the way? Hopefully much lower pricing than makerfabs

    • @ThatProject
      @ThatProject  7 месяцев назад

      I believe they designed the knob. It's just a round plastic and magnetic ring in it. Makerfabs has a new product like this?

    • @OMNI_INFINITY
      @OMNI_INFINITY 7 месяцев назад

      @@ThatProject So that knob is an Expressif product? Yes, makerfabs also sells a knob product

  • @user-td5dx3nt4h
    @user-td5dx3nt4h Год назад

    How many poles is a multipolar ring magnet??
    Did you use 90 poles if the total scale is 360?
    Did you use the magnets sold on the market?

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

      This is the source code for how I got 360 degrees from the encoder.
      int16_t cont_now = mt8901_get_count();
      degree = cont_now * 4;
      degree += 90;
      degree *= -1;

    • @user-td5dx3nt4h
      @user-td5dx3nt4h Год назад

      What is the pole number of the ring magnet?

    • @user-td5dx3nt4h
      @user-td5dx3nt4h Год назад

      Isn't it counter +1 every time the play changes?

    • @user-td5dx3nt4h
      @user-td5dx3nt4h Год назад

      I used stm32f and
      Multi-pole ring 6 pole application
      It's 24 counters per lap.
      The above video has 90 counters per lap
      Is there a lot of poles in the ring magnet?

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

      @@user-td5dx3nt4h They do not provide exact datasheets for their magnet rings. I have no idea how many poles are in it. I only changed the value read through the encoder to 360 degrees through the code.

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

    hi, where did you got the magnet band? Do you know the datasheet?

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

      It's a built-in one. I have only its GitHub page. github.com/wireless-tag-com/ZX2D10GE01R-V4848

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

    ❤❤❤

  • @adolphtrudeau
    @adolphtrudeau Год назад +1

    I wonder what the BOM is on so many magnets as opposed to using an capacitive couple strip like the inexpensive (but pretty accurate) calipers as characterized by BigClive here:
    ruclips.net/video/fKSSY1gzCEs/видео.html

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

    What's new in this

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

    Any updates ?

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

    Hello have some concerns that we have to create our senior project, hope you can assist us doing a meeting or something similar so you can guide us on that. Hope you can assist us we really need help. Thanks!

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

      Chris, just checked this comment. Sorry for being so late. If you still need a business meeting, please contact me via my email. thatprojectstudio@gmail.com

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

    Thanks! Seems the question is what is the magnetic orientation of the portion of that magnetic strip that faces the hall effect sensor?

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

      Where the question is? Anyway, I think this can be figured out the direction easily using N/S magnetic.

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

      @@ThatProject Was mainly wondering: Are there are multiple NS magnets imprinted in that circle?