HR Schematic
HR Schematic
Encoder 5V 100ppr Push Button with integrated LED illumination 3 axis Joystick
Mini-DIN connector
LED is assumed to have appropriate resistor for 5V
ENC_A
ENC_B
Wire_+5V_White
GND
+5V +5V +5V
+5V
Wire_GND_Red
Wire_Joystick_Z_Black
Connected to encoder housing
to safely dissipate static discharges
Push_Button_OK_Switch
Push_Button_OK_LED
R4k7
R4k7
R100k
Wire_+5V_White
Wire_GND_Red
Mini-DIN-6
Vcc
0V
A
B
R1k
6 5
GND
ENC_B SCL
4 3
ENC_A Encoder_5V_100ppr
GND
+5V
2 1 R4k7
SDA R1k C100N Z
2
+5V
+5V
1 3
OK Button
GND
1
LED
2
Processor: Atmega328PB ("PB" NOT ...328"P") Joystick_Y
Y
Running on internal 8MHz oscillator
3
+5V
3 1
C22µ
GND
2
X
GND
GND
Feed and speed override / Program and spindle start knobs
Joystick_X
GND
Switch_Spindle
Switch_Prog
Poti_Speed
C100N
Poti_Feed
+5V +5V
18
4
VCC
AVCC
20 12
Spindle on / off
13
Feed override
Spindle RPM
PB1
3
Switch
Switch
Pot_10k
Pot_10k
14
PB2 2 2
C100N 15
PB3
16
1
PB4
17
PB5
7
XTAL1/PB6
8
GND XTAL2/PB7 GND GND GND GND
R1k +5V
23
PC0 R1k Poti_Feed
24 Expect the pendant to be subjected to powerful electrostatic discharges!
PC1 R1k Wire_Joystick_Z_Black
25
PC2 R1k Joystick_Y The use of ESD protection ICs like Nexperia IP4220CZ6 and 1k resistors is highly recommended.
26
R4k7
ATmega328PB-AU PC3 R1k Joystick_X Without protection the inputs of the Atmega328PB can be damaged by ESD.
27
PC4 Poti_Speed
28 Plastic knobs should be preferred over metal ones.
PC5
29
RESET/PC6
Poti_Speed
Joystick_X
Joystick_Y
Poti_Feed
R1k
ENC_A
ENC_B
3 30
+5V
+5V
+5V
SDA PE0 PD0 Switch_Spindle
6 31
SCL PE1 PD1
19 32
PE2 PD2
22 1
PE3 PD3
2
PD4 R1k
6
5
4
6
5
4
6
5
4
9
PD5 Switch_Prog
10 C100N C100N C100N
PD6 R1k
11
PD7 Push_Button_OK_Switch
GND
1
2
3
1
2
3
1
2
3
5
Switch_Prog
Switch_Spindle
Wire_Joystick_Z_Black
Push_Button_OK_Switch
GND
GND
GND
GND