Optical Tachometer for a Sienci Mill CNC Router

Поділитися
Вставка
  • Опубліковано 22 сер 2024
  • Add an Arduino-based optical Tachometer to your CNC Router first less than $30
    Instructable on how to build this yourself
    www.instructab...

КОМЕНТАРІ • 4

  • @FMR_FMR
    @FMR_FMR 3 роки тому

    Too many thanks, amazing work I will try do it for my desktop CNC
    I prefer replacing the IR led by Hall effect that will give you reliable reading

  • @paulfloyd228
    @paulfloyd228 6 років тому

    Great Counter and almost exactly what I need.
    I would like an RPM indicator that goes up to 5,000 rpm for my old Bridgeport Mill not the 30,000 rpm you have, could you tell me what values have to be altered in the sketch to give me a 5,000 rpm counter please?
    I am quite new to Arduino but I can take a guess as to which lines need alteration and I think they might be the MAJOR_TICKS & MINOR_TICKS lines is that correct? and are there any other changes that I need to be made?.
    const long MAJOR_TICKS[] = { 0, 10000, 20000, 30000 };
    const int MAJOR_TICK_COUNT = sizeof(MAJOR_TICKS) / sizeof(MAJOR_TICKS[0]);
    const int MAJOR_TICK_LENGTH = 7;
    const long MINOR_TICKS[] = {5000, 15000, 25000};
    Many Thanks
    Paul

    • @rustygear9370
      @rustygear9370 6 років тому

      Hi
      The way this meter works is very simple:
      - Gets the actual RPM whatever it is.
      - Draws it on a scale of 30000 with sub scale, in a certain interval of time to avoid consume processing time and showing too fast dial variations.
      The code does'nt look to have any limitation regarding RPM's > 30000 so if any measurement (less likely) is > 30K RPM, it should draw a funny dial. Ticks are chosen according to what rotating tool you have (Its MAX RPM) and how many subdivisions you would like to see.
      So your guess is almost correct.
      All you have to change (Assuming you want a major tick every 1000 RPM and a minor tick in between) are the lines:
      const long MAJOR_TICKS[] = { 0, 1000, 2000, 3000,4000,5000};
      const long MINOR_TICKS[] = {500, 2500, 3500,4500};
      All the rest is automatically adujsted by the - Very well written - program
      PS:
      MAJOR_TICK_LENGTH = 7
      MINOR_TICK_LENGTH = 3
      Are the graphical lengths in pixels of corresponding ticks, if you need shorter or longer ticks, you may adjust these values.
      Hope this helps.

  • @HacksterIo
    @HacksterIo 6 років тому +1

    Awesome build! Any chance you can upload to Hackster.io as well?