Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO Controlled Linear Actuator and Stepper Motor System with Multiple Pushbuttons

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled Linear Actuator and Stepper Motor System with Multiple Pushbuttons

Circuit Documentation

Summary

This circuit involves multiple pushbuttons, resistors, an Arduino UNO, a relay module, a linear actuator, a stepper motor, and an EasyDriver motor driver. The circuit is designed to control the linear actuator and stepper motor using the Arduino UNO, with inputs from various pushbuttons. The power supply is provided by a 12V power source connected through a DC barrel jack.

Component List

  1. 12V Power Supply

    • Pins: +, -
    • Description: Provides 12V power to the circuit.
  2. Pushbutton

    • Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
    • Description: Used for user input to control various functions in the circuit.
  3. Arduino UNO

    • 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
    • Description: Microcontroller used to control the circuit.
  4. Linear Actuator

    • Pins: +, -
    • Description: Actuator used for linear motion.
  5. Stepper Motor (Bipolar)

    • Pins: A, B, C, D
    • Description: Motor used for precise control of angular position.
  6. EasyDriver v4.5

    • Pins: GND, V+, STEP, DIR, OUT2A, OUT2B, OUT1A, OUT1B, VCC, MS1, SLEEP, ENABLE, MS2, PFD, RESET
    • Description: Motor driver for the stepper motor.
  7. 2.1mm DC Barrel Jack

    • Pins: switch, sleeve, center
    • Description: Connector for the 12V power supply.
  8. Resistor

    • Pins: pin1, pin2
    • Description: Resistors with 200 Ohms resistance used for current limiting.
  9. Relay Module

    • Pins: NC, COM, INPUT, GND, VCC
    • Description: Relay used to control the linear actuator.

Wiring Details

12V Power Supply

Pushbutton

Arduino UNO

Linear Actuator

Stepper Motor (Bipolar)

EasyDriver v4.5

Relay Module

2.1mm DC Barrel Jack

Resistor

Documented Code

Arduino UNO (Instance 1)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Arduino UNO (Instance 2)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the microcontrollers.