Stufin
Home Quick Cart Profile

Arduino Nano 3D Printer CNC Shield V4 Expansion Board

Buy Now

Operating Voltage

7-30V

Logic Voltage

5V

Stepper Motor Current

Up to 2A per axis

Servo Motor Current

Up to 1A per motor

Relay Output Current

Up to 5A per relay

Temperature Range

-20C to 150C (thermistor inputs)

Dimensions

30x50mm

Applications

The Arduino Nano 3D Printer CNC Shield V4 Expansion Board is suitable for a wide range of applications, including

3D printing

CNC machining

Robotics

Automation systems

Machine control systems

IoT projects

By providing a comprehensive solution for 3D printer and CNC machine control, the Arduino Nano 3D Printer CNC Shield V4 Expansion Board simplifies the development process, allowing users to focus on their project's core functionality.

Pin Configuration

  • Arduino Nano 3D Printer CNC Shield V4 Expansion Board Pinout Guide
  • The Arduino Nano 3D Printer CNC Shield V4 Expansion Board is a versatile board designed to interface with the Arduino Nano and other microcontrollers, providing a comprehensive set of pins and connectors for 3D printing, CNC, and robotics applications. This guide provides a detailed explanation of each pin on the board, along with guidance on how to connect them.
  • Digital Pins:
  • 1. D2: X-Direction stepper motor pin - Connect to the X-axis stepper motor driver.
  • Recommended connection: X-axis stepper motor driver's step pin to D2, dir pin to D3.
  • 2. D3: X-Direction stepper motor direction pin - Connect to the X-axis stepper motor driver's direction pin.
  • Recommended connection: X-axis stepper motor driver's dir pin to D3, step pin to D2.
  • 3. D4: Y-Direction stepper motor pin - Connect to the Y-axis stepper motor driver.
  • Recommended connection: Y-axis stepper motor driver's step pin to D4, dir pin to D5.
  • 4. D5: Y-Direction stepper motor direction pin - Connect to the Y-axis stepper motor driver's direction pin.
  • Recommended connection: Y-axis stepper motor driver's dir pin to D5, step pin to D4.
  • 5. D6: Z-Direction stepper motor pin - Connect to the Z-axis stepper motor driver.
  • Recommended connection: Z-axis stepper motor driver's step pin to D6, dir pin to D7.
  • 6. D7: Z-Direction stepper motor direction pin - Connect to the Z-axis stepper motor driver's direction pin.
  • Recommended connection: Z-axis stepper motor driver's dir pin to D7, step pin to D6.
  • 7. D8: E0-Direction stepper motor pin (optional) - Connect to the E0-axis stepper motor driver (for dual extruder setups).
  • Recommended connection: E0-axis stepper motor driver's step pin to D8, dir pin to D9.
  • 8. D9: E0-Direction stepper motor direction pin (optional) - Connect to the E0-axis stepper motor driver's direction pin (for dual extruder setups).
  • Recommended connection: E0-axis stepper motor driver's dir pin to D9, step pin to D8.
  • 9. D10: E1-Direction stepper motor pin (optional) - Connect to the E1-axis stepper motor driver (for dual extruder setups).
  • Recommended connection: E1-axis stepper motor driver's step pin to D10, dir pin to D11.
  • 10. D11: E1-Direction stepper motor direction pin (optional) - Connect to the E1-axis stepper motor driver's direction pin (for dual extruder setups).
  • Recommended connection: E1-axis stepper motor driver's dir pin to D11, step pin to D10.
  • 11. D12: Spindle or laser pin - Connect to the spindle or laser module.
  • Recommended connection: Spindle or laser module's signal pin to D12.
  • Analog Pins:
  • 1. A0: Thermistor or temperature sensor pin - Connect to a thermistor or temperature sensor.
  • Recommended connection: Thermistor or temperature sensor's signal pin to A0.
  • 2. A1: Thermistor or temperature sensor pin - Connect to a thermistor or temperature sensor.
  • Recommended connection: Thermistor or temperature sensor's signal pin to A1.
  • 3. A2: Thermistor or temperature sensor pin - Connect to a thermistor or temperature sensor.
  • Recommended connection: Thermistor or temperature sensor's signal pin to A2.
  • 4. A3: Thermistor or temperature sensor pin - Connect to a thermistor or temperature sensor.
  • Recommended connection: Thermistor or temperature sensor's signal pin to A3.
  • Power Pins:
  • 1. VIN: Power input pin - Connect to the power source (e.g., 12V, 24V).
  • Recommended connection: Power source's positive wire to VIN, negative wire to GND.
  • 2. GND: Ground pin - Connect to the power source's ground.
  • Recommended connection: Power source's negative wire to GND, positive wire to VIN.
  • 3. 5V: Regulated 5V output pin - Can be used to power external modules or sensors.
  • Recommended connection: External module or sensor's power pin to 5V, ground pin to GND.
  • 4. 3.3V: Regulated 3.3V output pin - Can be used to power external modules or sensors.
  • Recommended connection: External module or sensor's power pin to 3.3V, ground pin to GND.
  • Other Pins and Connectors:
  • 1. I2C Pins: SDA (A4) and SCL (A5) - Used for I2C communication with external modules or sensors.
  • Recommended connection: External module or sensor's SDA pin to A4, SCL pin to A5.
  • 2. UART Pins: RX (D0) and TX (D1) - Used for serial communication with external modules or sensors.
  • Recommended connection: External module or sensor's RX pin to D0, TX pin to D1.
  • 3. SPI Pins: MISO (D13), MOSI (D11), and SCK (D13) - Used for SPI communication with external modules or sensors.
  • Recommended connection: External module or sensor's MISO pin to D13, MOSI pin to D11, SCK pin to D13.
  • 4. Endstops: X-, Y-, and Z-Direction endstop pins - Connect to the endstop switches for each axis.
  • Recommended connection: Endstop switch's signal pin to the corresponding pin (X-, Y-, or Z-Direction).
  • 5. Fan Pins: Fan0 and Fan1 - Used to control fans for cooling or other purposes.
  • Recommended connection: Fan's signal pin to Fan0 or Fan1, power pin to VIN or 5V, ground pin to GND.
  • 6. LCD Connector: A 10-pin connector for connecting an LCD display.
  • Recommended connection: LCD display's data pins to the corresponding pins on the LCD connector.
  • Important Notes:
  • Ensure that the Arduino Nano is properly connected to the expansion board before powering it up.
  • Use suitable connectors, wires, and power sources to connect the components to the expansion board.
  • Consult the datasheets and documentation for each component you're using to ensure proper connection and configuration.
  • Be cautious when working with high-voltage or high-current devices to avoid electrical shock or damage to the components.

Code Examples

Arduino Nano 3D Printer CNC Shield V4 Expansion Board Documentation
Overview
The Arduino Nano 3D Printer CNC Shield V4 Expansion Board is a versatile expansion board designed for use with the Arduino Nano microcontroller board. It provides a convenient interface for connecting and controlling 3D printer or CNC machine components, such as stepper motors, heaters, and fans. This shield is compatible with the Arduino Nano's pinouts and can be used in a variety of applications, including 3D printing, CNC milling, and laser engraving.
Features
Supports up to 4-axis stepper motor control (X, Y, Z, E)
 4-channel mosfet driver for controlling heaters, fans, and other devices
 3-pin endstop connector for each axis
 2-pin connector for each heater and fan
 Support for servo motor control
 LED indicators for each axis and heater/fan channel
 Compatible with Arduino Nano V3 and V4
Connections and Pinouts
The Arduino Nano 3D Printer CNC Shield V4 Expansion Board has the following connections and pinouts:
Stepper Motor Connections: X-axis (D2, D3), Y-axis (D4, D5), Z-axis (D6, D7), E-axis (D8, D9)
 Heater/Fan Connections: Heater 0 (D10), Heater 1 (D11), Fan 0 (D12), Fan 1 (D13)
 Endstop Connections: X-axis (D14), Y-axis (D15), Z-axis (D16)
 Servo Motor Connection: D17
 Power Connections: VIN, GND, 5V, 3.3V
Code Examples
### Example 1: Basic 3D Printer Control
This example demonstrates how to use the Arduino Nano 3D Printer CNC Shield V4 Expansion Board to control a 3D printer's X, Y, and Z axes.
```cpp
#include <Stepper.h>
// Define stepper motor pins
#define X_STEP_PIN 2
#define X_DIR_PIN 3
#define Y_STEP_PIN 4
#define Y_DIR_PIN 5
#define Z_STEP_PIN 6
#define Z_DIR_PIN 7
// Create stepper motor objects
Stepper X_stepper(X_STEP_PIN, X_DIR_PIN);
Stepper Y_stepper(Y_STEP_PIN, Y_DIR_PIN);
Stepper Z_stepper(Z_STEP_PIN, Z_DIR_PIN);
void setup() {
  // Set stepper motor speeds (steps per second)
  X_stepper.setSpeed(500);
  Y_stepper.setSpeed(500);
  Z_stepper.setSpeed(500);
}
void loop() {
  // Move X axis 100 steps forward
  X_stepper.step(100);
  delay(500);
  
  // Move Y axis 100 steps backward
  Y_stepper.step(-100);
  delay(500);
  
  // Move Z axis 100 steps forward
  Z_stepper.step(100);
  delay(500);
}
```
### Example 2: CNC Milling with Servo Motor Control
This example demonstrates how to use the Arduino Nano 3D Printer CNC Shield V4 Expansion Board to control a CNC milling machine's spindle motor and servo motor.
```cpp
#include <Servo.h>
// Define servo motor pin
#define SERVO_PIN 17
// Create servo motor object
Servo spindle_servo;
void setup() {
  // Attach servo motor to pin 17
  spindle_servo.attach(SERVO_PIN);
  
  // Initialize servo motor position
  spindle_servo.write(0);
}
void loop() {
  // Move spindle motor to 45 degrees
  spindle_servo.write(45);
  delay(500);
  
  // Move spindle motor to 90 degrees
  spindle_servo.write(90);
  delay(500);
  
  // Move spindle motor to 0 degrees
  spindle_servo.write(0);
  delay(500);
}
```
Note: These examples are for demonstration purposes only and may require modifications to work with your specific 3D printer or CNC machine setup. Additionally, ensure that you have the necessary safety precautions in place when working with electrical and mechanical systems.