Use internal ROTARY ENCODER of LEGO EV3/NXT motors - Tutorial

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

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

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

    could you please make another video explaining how to use the ev3 sensors? Thanks

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

    On the ev3 controller itself, a value is given for one 360-degree rotation. Is it possible to detect with this encoder at least more degrees per revolution?

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

      You have a resolution of 1 degree, but the same is also for the EV3 brick

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

      @@FabioGaravini That's why I'm asking. Maybe I can get more than 360 pulses per revolution if I directly read values ​​from two pins...

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

      Have you done in the code to only react on clearance when the value is 1? In general, there can be 4 states. You showed it too. When one shows 1 and the second shows 0, when one shows 1 and the second shows 1, when the first shows 0 and the second shows 1 and finally when both show 0. 4 states.

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

      @@THEbonny95 I found a site call philohome and some one have assembly the nxt and ev3 components and I found something about the encoder, apparently yes, eu can get 720 revolutions per rotation or something like that

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

    Is it possible to use powered up motors?

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

      I don't have any to try, but yes it is possible.
      Search online for the motor pinout and connect it instead of the ev3 motor I showed in video

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

    How to make this with raspberry pi?

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

    Can i program an ev3 brick with this

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

      This is only if you want to use the Lego motor with arduino

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

    please, where do you get this datasheets?

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

      You can find it searching on Google "Lego EV3 Hardware Developer Kit manual"

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

      @@FabioGaravini That's because I can found only that datasheet about the nxt or ev3 and the ports, but nothing about the motors. How do I now if the motor drains more power than my H-board can supply? I am getting problems powering the Arduino and 2 nxt servo motors with only one 9v batteries. Thank you for the video, helps me a lot ❤️