Back

Comments 5

  • Lathe - Electronic Lead Screw about 1 month ago

    I changed the speed sensor loop to run without debouncing. It does work when the lathe motor is off but when the lathe is running I get EMI. So actually in this case debouncing the speed sensor signal is necessary because we need to double check that the speed sensor signal was generated as I stated before.

  • Lathe - Electronic Lead Screw about 1 month ago

    I changed the speed sensor loop to run without debouncing. It does work when the lathe motor is off but when the lathe is running I get EMI. So actually in this case debouncing the speed sensor signal is necessary.

  • Lathe - Electronic Lead Screw about 1 month ago

    Thanks for the info. I will try changing the code and if it works well I will revise!

  • Lathe - Electronic Lead Screw about 2 months ago

    The electronic speed sensor sends a pulse like a momentary push button. Since we are measuring the time between pulses we need to double check that the signal was generated. See the debounce example for more info https://www.arduino.cc/en/tutorial/debounce
    I actually grabbed that part of the code from tony here is his writeup. He explains it very well and it worked seamlessly.
    https://www.hackster.io/TonyScarp/arduino-ir-lathe-tachometer-500733

  • Lathe - Electronic Lead Screw about 2 months ago

    Thank you. Yes you’re right this is more of an electronic gearbox. There are no canned threading cycle features like the one you referenced. I purposely decided to stray away from any CNC functions and keep it simple for this application. Many bench top lathes like mine do not have the rigidity and require ball screws for full blown CNC. Now if I had a more stout larger lathe I would be more inclined to take it a step further.

Add projectSign up / Login