MathPi14 / Arduino-Estlcam-Handwheel-Communication

Communication Protocol for original Estlcam Hardware and DIY Arduino-based Handwheels
5 stars 1 forks source link

GERMAN VERSION

Table of contents

General Description

This is my implementation of the Estlcam handwheel i2c communication protocol (https://www.estlcam.de/DIN_Detail.php) for Arduino Boards. Its made for users of the original Estlcam Hardware.

The Code supports all the features the originial handwheel provides:

the following 'hidden' features are implemented as well:

top inside inside_2

Unbenannt

Tested with Estlcam V11.244. The hidden features may not be supported by other Estlcam Versions.

Prerequisites

To get started, you need the following:

You also need basic soldering equipment, cables, shrink tubing, hot glue etc.

Installation

Housing/ Electronics

Software (Arduino)

Flash the Arduino via the IDE. The onboard TX LED blinks when the program is running. If you use any other arduino board or if your pin assignment differs from mine, you may need to change the following defines

#define JOYSTICK_X_GPIO A0            
#define JOYSTICK_Y_GPIO A1
#define JOYSTICK_Z_GPIO A2
#define SPEED_GPIO A6                  
#define SPEED_GPIO_INVERTED 1          
#define FEED_GPIO A7                   
#define FEED_GPIO_INVERTED 1            

#define X_LED_GPIO 2
#define Y_LED_GPIO 3
#define Z_LED_GPIO 4

#define X_SELECT_GPIO 5
#define Y_SELECT_GPIO 6
#define Z_SELECT_GPIO 7          
#define SPINDLE_START_GPIO 8    
#define PROGRAM_START_GPIO 9
#define OK_GPIO 10                   
#define STOP_GPIO 11         

#define ONBOARD_LED_GPIO 13           

Software (Estlcam)

After the electrical work is done and the Code is running on your Arduino, you can connect the mini-DIN cable to the Estlcam Board and reprogram the latter. You know that everything worked out, if there's a 'Handrad 0001 ...' line appearing in the log inside Estlcam. If it didn't, there is most likely something wrong with the SDA/ SCL Pins.

If it works, you can go to the controls tab inside Estlcam and test the components. If the Joystick ADC are inverted, you can simply change it in Estlcam directly. If the Buttons, LED or feed/ speed potentiometers are inverted or not assigned correctly, go back to the previous step and change the defines

Used Components