DIY Low Cost DRO // Arduino & Rotary Encoders

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • A low cost Arduino based DRO for a Weinig Profimat 23 Profile Moulder which could also be adapted to work with other machinery, it has it's limitations but if you keep within them its very accurate and reliable, currently has been in operation for 12+ months.
    I'm new to working with arduino or writing code in general so if you see any improvements that could be made, I'm all ears, I'll update the code to include any improvements I come by.
    ------------------------------------------------------
    Arduino Sketch available here
    mechmotion.com/...
    ------------------------------------------------------
    Tons of credit to @HomoFaciens for the base encoder counting sketch, there is a wealth of information on his youtube channel and website involving arduino and rotary encoders.
    homofaciens.de...
    ------------------------------------------------------
    A list of key parts used - best to order from ebay, aliexpress or banggood, search around for the best prices.
    Arduino Uno or Nano
    www.banggood.c...
    Optical Interrupter (Commonly called an Arduino Speed Sensor)
    www.aliexpress...
    Arduino 1602 LCD
    www.aliexpress...
    For the encoder wheel it was 3d printed, I also had success with a laser cut acrylic encoder wheel, both were partially transparent so I'd just sprayed them with black paint. Thingiverse.com have a few customizable encoder wheel designs if you have access to a 3d printer.

КОМЕНТАРІ • 14

  • @hereisanaccount
    @hereisanaccount 2 роки тому +2

    I'd think the solution to the Arduino not keeping up would be to move away from a 328 based arduino which is quite slow and go with a 32bit arduino-compatible (an example would be the Teensy, or an official 32bit Arduino, though you can get a TeensyLC for $13 or so making it more cost effective). Can't get at your sketch to check (dead URL) but my understanding is the limitation is usually a result of not using interrupts and instead just polling the pins, which is bound to miss at least some of the time (particularly on a slower microcontroller).

  • @antonio.stefanelli
    @antonio.stefanelli 3 роки тому +1

    i can't understand your calculation for millimeters.
    My reasoning is:
    Knowing the number of lines per revolution of the encoder wheel, I divide it by the pitch of the screw, to know the number of pulses per feed.
    Example: 3000 line disc and 0.9mm pitch screw are 3333.33 pulses for 0.9mm of feed.
    Now I divide 3333.33 by 0.9mm and I know the number of steps per millimeter.
    It's correct?

    • @ausxmods
      @ausxmods  3 роки тому +1

      It's a 3000 line encoder, the sensors count both high and lows, so there would be 12,000 pulses per/rev with a 0.9mm pitch means there is 13333.33/ pulses per/mm. once you have your pulses per mm you need to work out the distance of each pulse, 1mm / 13333.33 (that seems about right, it's been a little since I wrote the code)
      For an arduino its way too much, you'd need some sort of dedicated encoder counting IC for it to work.

  • @entychan
    @entychan 2 роки тому

    Can i use this project for measure a long? Because when i use it can't back to zero again and always minus

  • @made-by-dad
    @made-by-dad Рік тому

    The code cannot be opened; only some game page appears.😒😒

  • @WeberMachineWorks
    @WeberMachineWorks 3 дні тому

    nice

  • @ELUSsSIVE
    @ELUSsSIVE Рік тому

    Another problem with this setup can be backlash on manual mills.

  • @ericbeckers2673
    @ericbeckers2673 4 роки тому

    Mike to the or, what type decoder are you using, i need to order them. Thanks

    • @ausxmods
      @ausxmods  4 роки тому +3

      A list of key parts used - best to order from ebay, aliexpress or banggood, search around for the best prices.
      Arduino Uno or Nano
      www.banggood.com/search/940937.html
      Optical Interrupter (Commonly called an Arduino Speed Sensor)
      www.aliexpress.com/item/32319451524.html
      1602 LCD
      www.aliexpress.com/item/32709833949.html
      For the encoder wheel it was 3d printed, I also had success with a laser cut acrylic encoder wheel, both were partially transparent so I'd just sprayed them with black paint. Thingiverse.com have a few customizable encoder wheel designs if you have access to a 3d printer.

  • @ymautomation3983
    @ymautomation3983 2 роки тому

    Code