Arduino CNC Engraving Machine with NEMA23 Motors and Limit Switches
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a CNC machine circuit. The circuit includes a CNC Shield V3 Engraving Machine Expansion Board, NEMA23 stepper motors, DRV 8825 motor drivers, limit switches, power supplies, an Arduino UNO, and a 775 motor. The document outlines the components used, their wiring details, and the embedded code for the microcontrollers.
Component List
CNC Shield V3 Engraving Machine Expansion Board
- Description: Expansion board for CNC machines.
- Pins: EN, GND, x.Step, DIR, Y.Step, Z.Step, A.Step, 5V, COM, V+, End Stop X-, End Stop Z+, End Stop Z-, End Stop Y+, End Stop Y-, SpnEN, SpnDir, CoolEn, Abort, Hold, Resume, E-Stop, Y.Motor A+, Y.Motor A-, Y.Motor B+, Y.Motor B-, RST, SDA, SCL, RX, TX, 3V3, X.Motor A+, X.Motor A-, X.Motor B+, X.Motor B-, Z.Motor A+, Z.Motor A-, Z.Motor B+, Z.Motor B-, A.Motor A+, A.Motor A-, A.Motor B+, A.Motor B-, Enable, MS1, MS2, MS3, RESET, Sleep, Step, Direction, VDD, 1B, 1A, 2A, 2B, VMOT, M0, M1, M2, d12, A Drive Step and Direction, Z Drive Module Setp D4, Y Drive Module Setp D3, X Drive Module Setp D2, Set X Drive Module Dir D5, Set Y Drive Module Dir D6, Set Z Drive Module DIR d7, D13
NEMA23
- Description: Stepper motor.
- Pins: A+, A-, B+, B-
DRV 8825
- Description: Stepper motor driver.
- Pins: EN, M0, M1, M2, RST, SLP, STEP, DIR, VMOT, GND MOTOR, B2, B1, A1, A2, FAULT, GND LOGIC
Limit Switch
- Description: Mechanical switch to limit the movement of the CNC machine.
- Pins: S, G, V
POWER SUPPLY 12V 5AMP
- Description: Power supply unit providing 12V and 5A.
- Pins: 220V Positive Pole (AC), 220V Negative Pole (AC), GND, GND (DC), 12V-24V Output (DC)
Arduino UNO
- Description: Microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
775 Motor
- Description: DC motor.
- Pins: positive, negative
AC Source
- Description: AC power source.
- Pins: +, -
Wiring Details
CNC Shield V3 Engraving Machine Expansion Board
- COM connected to GND (DC) of POWER SUPPLY 12V 5AMP
- V+ connected to 12V-24V Output (DC) of POWER SUPPLY 12V 5AMP
- End Stop X- connected to S of Limit Switch
- GND connected to G of Limit Switch
- GND connected to S of Limit Switch
- GND connected to G of Limit Switch
- GND connected to G of Limit Switch
- GND connected to G of Limit Switch
- End Stop Y+ connected to S of Limit Switch
- End Stop Y- connected to S of Limit Switch
- Y.Motor A+ connected to A+ of NEMA23
- Y.Motor A- connected to B- of NEMA23
- Y.Motor B+ connected to A- of NEMA23
- Y.Motor B- connected to B+ of NEMA23
- X.Motor A+ connected to B+ of NEMA23
- X.Motor A- connected to A- of NEMA23
- X.Motor B+ connected to B- of NEMA23
- X.Motor B- connected to A+ of NEMA23
- Z.Motor A+ connected to B+ of NEMA23
- Z.Motor A- connected to A- of NEMA23
- Z.Motor B+ connected to B- of NEMA23
- Z.Motor B- connected to A+ of NEMA23
NEMA23
- A+ connected to Y.Motor A+ of CNC Shield V3 Engraving Machine Expansion Board
- B- connected to Y.Motor A- of CNC Shield V3 Engraving Machine Expansion Board
- A- connected to Y.Motor B+ of CNC Shield V3 Engraving Machine Expansion Board
- B+ connected to Y.Motor B- of CNC Shield V3 Engraving Machine Expansion Board
- B+ connected to X.Motor A+ of CNC Shield V3 Engraving Machine Expansion Board
- A- connected to X.Motor A- of CNC Shield V3 Engraving Machine Expansion Board
- B- connected to X.Motor B+ of CNC Shield V3 Engraving Machine Expansion Board
- A+ connected to X.Motor B- of CNC Shield V3 Engraving Machine Expansion Board
- B+ connected to Z.Motor A+ of CNC Shield V3 Engraving Machine Expansion Board
- A- connected to Z.Motor A- of CNC Shield V3 Engraving Machine Expansion Board
- B- connected to Z.Motor B+ of CNC Shield V3 Engraving Machine Expansion Board
- A+ connected to Z.Motor B- of CNC Shield V3 Engraving Machine Expansion Board
DRV 8825
- No specific wiring details provided in the net list.
Limit Switch
- S connected to End Stop X- of CNC Shield V3 Engraving Machine Expansion Board
- G connected to GND of CNC Shield V3 Engraving Machine Expansion Board
- S connected to GND of CNC Shield V3 Engraving Machine Expansion Board
- G connected to GND of CNC Shield V3 Engraving Machine Expansion Board
- G connected to GND of CNC Shield V3 Engraving Machine Expansion Board
- G connected to GND of CNC Shield V3 Engraving Machine Expansion Board
- S connected to End Stop Y+ of CNC Shield V3 Engraving Machine Expansion Board
- S connected to End Stop Y- of CNC Shield V3 Engraving Machine Expansion Board
POWER SUPPLY 12V 5AMP
- GND (DC) connected to COM of CNC Shield V3 Engraving Machine Expansion Board
- 12V-24V Output (DC) connected to V+ of CNC Shield V3 Engraving Machine Expansion Board
- 220V Positive Pole (AC) connected to + of AC source
- 220V Negative Pole (AC) connected to - of AC source
- GND (DC) connected to negative of 775 motor
- 12V-24V Output (DC) connected to positive of 775 motor
Arduino UNO
- No specific wiring details provided in the net list.
775 Motor
- negative connected to GND (DC) of POWER SUPPLY 12V 5AMP
- positive connected to 12V-24V Output (DC) of POWER SUPPLY 12V 5AMP
AC Source
- + connected to 220V Positive Pole (AC) of POWER SUPPLY 12V 5AMP
- - connected to 220V Negative Pole (AC) of POWER SUPPLY 12V 5AMP