K40 UPGrades from Digital to Analog Setup


I’m intrigued by the distance finder - how does it work? Is it based on one of the cheap laser modules and an Arduino?

Do you have any guides/write-ups/models available?

Here are the parts used:

001 - Blue Serial IIC-I2C-TWI 2004 20X4 Character LCD LED Display & Stand

002 - Ultrasonic Module HC-SR04 Distance Transducer Sensor

003 - Arduino Nano v3.0 IO expansion board micro sensor shield

004 - Mini USB Nano V3.0 CH340G ATmega328P 5V 16M Micro-Controller

005 - software - simple program - as follows

#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,20,4);

UltraDistSensor mysensor;
float reading;

void setup() {
lcd.init(); // initialize the lcd
mysensor.attach(12,13);//Trigger pin , Echo pin

void loop() {
lcd.print("Distance :- ");



The Distance Finder works great, all I do is lower my table put the piece on the table turn on the finder then raise the table until I get between 4.43 & 4.54 and that’s the correct distance to burn or cut.

That’s awesome, thanks for the reply. I know what my next project’s going to be :grinning:

Your welcome, Good Luck, have a great day :+1: