

CNCHat
OrangePi CNC shield for LinuxCNC
- Size
- 85 × 56 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 104
- Nets
- 97
- Pads
- 356
- Tracks, vias
- 1,212, 64
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 13 Feb 2022
- Updated
- 21 Dec 2023
Overview
CNCHat is an open-source printed circuit board by kajusK, from the kajusK/CNCHat repository on GitHub. It is a 2-layer board of 85 × 56 mm with 104 parts on 97 nets, routed with 1,212 tracks and 64 vias.
It is built around the MIC6211YM5-TR, 74HC4050D and BUK9675-55A, with the S1JL among its other parts. Its parts include 43 resistors, 17 connectors, 16 diodes, 11 capacitors and 7 ICs. It belongs with the robots and motor control boards of this library.
Main components
4MIC6211YM5-TR
SOT-23-5-18V~18V -40℃~+85℃ 1 1.3mA 100dB 2.5MHz 2mV 4V~32V 50mA 50nA 6V/us 7uV/℃ 8nA Built-in compensation、ESD protection SOT-23-5 Operational Amplifier ROHSMicrochip TechnologyOperational Amplifier74HC4050D
SOP-16SOP-16 Specialty Logic ROHSToshibaSpecialty LogicBUK9675-55A
D2PAK-55℃~+175℃ 1 N-channel 20A 2V 55V 58mΩ@10V 60pF 62W 643pF D2PAK MOSFETs ROHSNexperiaMOSFETsS1JL
SOD-123FLDiodes - General PurposeJiangsu Changjing Electronics Technology (CJ)
README
Readme.mdLinuxCNC Shield for OrangePi
This repo contains a HW design files for OrangePi CNC shield for making the OrangePi a LinuxCNC machine.
The allwincnc project can be used to do the realtime heavy lifting (stepper control) while the OrangePi does the slower tasks (kinematics calculations,...).
More details about making this all work with a real CNC machine can be found on my blog

Features
- 5 stepper controllers (direction and step signals) supported
- 3 encoders inputs
- Spindle control - both PWM and 0-10 V outputs
- 6 limit switches (endstops, home position,...)
- Probe sensor input
- Stop button input
- 2 power outputs (cooling, ESTOP,...), up to 24 V
- Incidator leds on inputs and outputs for easier debugging
- Up to 15 V inputs protection
- Selectable 3.3/5 V power for limit switches
- OrangePi can be powered directly from the board (dedicated 5 V input) and vice versa.
Connectors
J21 Steppers
| Pin | Signal |
|---|---|
| 1 | GND |
| 2 | ~Enable |
| 3 | Y2 dir |
| 4 | Y2 step |
| 5 | X2 dir |
| 6 | X2 step |
| 7 | Z dir |
| 8 | Z step |
| 9 | Y dir |
| 10 | Y step |
| 11 | X dir |
| 12 | X step |
J15 spindle
| Pin | Signal |
|---|---|
| 1 | GND |
| 2 | 0-10 V |
| 3 | PWM |
J11, J12, J13 Encoders
| Pin | Signal |
|---|---|
| 1 | GND |
| 2 | B |
| 3 | A |
| 4 | 5 V |
J1-J7 Inputs
| Pin | Signal |
|---|---|
| 1 | 5/3.3 V |
| 2 | GND |
| 3 | signal (with pull-up) |
OrangePi Pinout
Steppers
| X | Y | Z | X2 | Y2 | |
|---|---|---|---|---|---|
| Step | PA0 | PA12 | PA13 | PC4 | PA14 |
| Dir | PA6 | PA1 | PA11 | PD14 | PC7 |
Encoders
| X | Y | Z | |
|---|---|---|---|
| A | PA8 | PA18 | PC2 |
| B | PA9 | PG9 | PA21 |
Limit switches
| Xmin | Ymin | Zmin | X2min | Y2min | Limits |
|---|---|---|---|---|---|
| PA2 | PC1 | PA19 | PA7 | PG8 | PC3 |
Others
| Enable | Spindle | Cooling | Probe | ESTOP in | ESTOP out |
|---|---|---|---|---|---|
| PA3 | PC0 | PG7 | PA10 | PA20 | PG6 |
Parts
104| Qty | Value | Footprint | References |
|---|---|---|---|
| 19 | 10k | Resistor_SMD:R_0603_1608Metric | R17, R18, R19, R20, R21, R22, R23, R24, R25, R26, R27, R28, R29, R30, R34, R36 +3 |
| 12 | 330 | Resistor_SMD:R_0603_1608Metric | R9, R10, R11, R12, R13, R14, R15, R16, R32, R35, R38, R39 |
| 8 | LED | LED_SMD:LED_1206_3216Metric | D1, D2, D3, D4, D5, D6, D7, D8 |
| 7 | 100n | Capacitor_SMD:C_0603_1608Metric | C1, C3, C12, C13, C14, C16, C17 |
| 7 | 1k | Resistor_SMD:R_0603_1608Metric | R1, R2, R3, R4, R5, R6, R7 |
| 5 | 74HC4050 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1, U2, U3, U7, U8 |
| 2 | 100 | Resistor_SMD:R_0603_1608Metric | R42, R43 |
| 2 | 10u | Capacitor_SMD:C_0603_1608Metric | C2, C4 |
| 2 | BUK9675-55A | Package_TO_SOT_SMD:TO-263-2 | Q1, Q2 |
| 2 | S1JL | Diode_SMD:D_SMA | D15, D16 |
| 1 | 100u | Capacitor_SMD:CP_Elec_8x10.5 | C15 |
| 1 | 1u | Capacitor_SMD:C_0603_1608Metric | C6 |
| 1 | 20k | Resistor_SMD:R_0603_1608Metric | R37 |
| 1 | 24V | LED_SMD:LED_1206_3216Metric | D9 |
| 1 | 2k2 | Resistor_SMD:R_0603_1608Metric | R31 |
| 1 | 3413.0332.22 | Fuse:Fuse_1206_3216Metric | F1 |
| 1 | 3V3 | LED_SMD:LED_1206_3216Metric | D13 |
| 1 | 5V | LED_SMD:LED_1206_3216Metric | D12 |
| 1 | 680 | Resistor_SMD:R_0603_1608Metric | R33 |
| 1 | AP1117-33 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U4 |
| 1 | COOLING | Connector_Phoenix_MC:PhoenixContact_MCV_1,5_2-G-3.5_1x02_P3.50mm_Vertical | J16 |
| 1 | COOLING | LED_SMD:LED_1206_3216Metric | D10 |
| 1 | ENC_A | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J11 |
| 1 | ENC_B | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J12 |
| 1 | ENC_C | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J13 |
| 1 | END_PWR | Jumper:SolderJumper-3_P2.0mm_Open_TrianglePad1.0x1.5mm_NumberLabels | JP1 |
| 1 | ESTOP | LED_SMD:LED_1206_3216Metric | D14 |
| 1 | ESTOP | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J8 |
| 1 | ESTOP | Connector_Phoenix_MC:PhoenixContact_MCV_1,5_2-G-3.5_1x02_P3.50mm_Vertical | J10 |
| 1 | EXT_PWR | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP2 |
| 1 | LIMITS | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J6 |
| 1 | MIC6211YM5 | Package_TO_SOT_SMD:SOT-23-5 | U6 |
| 1 | MP005467 | Fuse:Fuse_1206_3216Metric | F2 |
| 1 | Orange | Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical | J14 |
| 1 | PROBE | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J7 |
| 1 | PWR | Connector_Phoenix_MC:PhoenixContact_MCV_1,5_4-G-3.5_1x04_P3.50mm_Vertical | J9 |
| 1 | SPINDLE | LED_SMD:LED_1206_3216Metric | D11 |
| 1 | SPINDLE | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J15 |
| 1 | STEPPERS | Connector_JST:JST_XH_B12B-XH-A_1x12_P2.50mm_Vertical | J21 |
| 1 | X2_MIN | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J4 |
| 1 | X_MIN | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J1 |
| 1 | Y2_MIN | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J5 |
| 1 | Y_MIN | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J2 |
| 1 | Z_MIN | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J3 |
The 100 most common of 104 parts.
Questions
How big is the CNCHat PCB?
It measures 85 × 56 mm and has 2 copper layers, 1.6 mm thick.
What parts does the CNCHat use?
104 parts, built around the MIC6211YM5-TR, 74HC4050D, BUK9675-55A and S1JL. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the CNCHat KiCad files?
From the kajusK/CNCHat repository on GitHub, at the commit this page was made from: the board is hw/CNCHat.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the CNCHat design in my own project?
Its repository states no licence, so its author keeps all rights: ask kajusK before reusing the design.
Similar boards
- 2 layers99 × 128.5 mm

- 4 layers39.4 × 110.3 mm

- 4 layers100 × 100 mm

HP 54542C Display Adapter
blackbit42/HP54542_LCD2VGA
Conversion of HP 54520C / 54540C oscilloscopes to VGA display(s)
58 parts10 - 4 layers170 × 130 mm

Z80Atmega128
46nori/Z80Atmega128
Real Z80A system with I/O emulated by AVR(ATmega128)
109 parts9GPL-3.0 - 2 layers198.1 × 193 mm

STE25
stonedDiscord/Automatenplatinen
Reverse engineerte Hardware aus deutschen Spielautomaten.
252 parts5BSD-2-Clause - 4 layers100 × 100 mm

Robot
UBC-Thunderbots/Electrical
All things electrical, from radio communication to BLDC motors. Zappity zap!
186 parts3 - 4 layers100 × 97 mm

- 4 layers352.3 × 159.3 mm
