Rotary encoder DRO. Inexpensive! fitted to RF30 Mill CNC,

I've done a CNC conversion to my RF30 mill. I still want to be able to use it manually. Easy enough on X &Y. I needed a DRO for the Z axis.

Feb 25, 2021

2912 views

0 respects

Components and supplies

1

I2C Serial 2004 20x4 LCD

1

Enclosure for Arduino Uno

1

Arduino UNO

1

Incremental Rotary Encoder Dc5-24V Wide Voltage Power Supply Shaft 6Mm

Tools and machines

1

AXMINSTER ENGINEER SERIES ZX30M MILL DRILL

Project description

Code

Z axis DRO

arduino

This is a sketch based on Practice Makes Better's original sketch for a lathe DRO .This is only my second Arduino project and I'm no expert on Arduino sketches but this one works for me. A lot of sketches I have seen have the line :- LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); I couldn't get this to work and after doing some research there seems to be quite a few people having problems. I couldn't find a reason... I have re-written some of the original code and it works for me.

Z axis DRO

arduino

This is a sketch based on Practice Makes Better's original sketch for a lathe DRO .This is only my second Arduino project and I'm no expert on Arduino sketches but this one works for me. A lot of sketches I have seen have the line :- LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); I couldn't get this to work and after doing some research there seems to be quite a few people having problems. I couldn't find a reason... I have re-written some of the original code and it works for me.

Downloadable files

Encoder wiring diagram

Schematic for connecting the rotary encoder to the Arduino Uno. Provided by PracticeMakesBetter

Encoder wiring diagram

Encoder wiring diagram

Schematic for connecting the rotary encoder to the Arduino Uno. Provided by PracticeMakesBetter

Encoder wiring diagram

Documentation

Schematic for LCD I2C to Arduino

How to connect an LCD I2C to Arduino

Schematic for LCD I2C to Arduino

Image

Comments

Only logged in users can leave comments

caferacerkev

0 Followers

0 Projects

0