Thread: My new lathe
View Single Post
  #88  
Old 31-10-2020, 07:31 AM
bojan's Avatar
bojan
amateur

bojan is online now
 
Join Date: Jul 2006
Location: Mt Waverley, VIC
Posts: 6,943
Smile Installing DRO

After having both calipers installed some time ago (pic 1), I decided to go one step further: more sophisticated DRO with some math (radius-diameter conversion + some memory functions and calibration of tool position).
The idea was to use Arduino UNO for reading both calipers and display on LCD with buttons for commands.

For sketch (Arduinian for "f/w") I found couple of examples on web, but I had some initial problems with pin terminology (Arduinians are strange folks with some strange ideas of how to name things). After some fiddling with the code I have basic functionality to use with my lathe.
For level converter between caliper 1.5V logic and Arduino 5V logic I used cheap converters from ebay (LV needed to be dropped from 3.3V as suppied from UNO by means of series diode to achieve better output voltage span).

Pics 2, 3 are showing working circuit (here one caliper is used for both inputs so the displayed values are the same).

Next step is to mount the processor and LCD with buttons in the metal box and wire the whole thing to the lathe.
Attached Thumbnails
Click for full-size image (DSC_0563.jpg)
199.5 KB79 views
Click for full-size image (c_24.jpg)
114.7 KB96 views
Click for full-size image (c_22.jpg)
119.6 KB80 views

Last edited by bojan; 31-10-2020 at 07:45 AM.
Reply With Quote