Arduino UNO Controlled Multi-Stepper Motor System with Push Switches and LED Indicators
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves multiple stepper motors controlled by three Arduino UNO microcontrollers. The circuit also includes several push switches, resistors, an LED, and a 2.1mm barrel jack for power supply. The stepper motors are connected to the Arduino UNOs, which control their operation. The push switches are used for user input, and the resistors are used for current limiting and pull-up/pull-down purposes. The LED is used for visual indication.
Component List
Stepper Motor One
- Pins: IN1, IN2, IN3, IN4, +, -
- Description: A stepper motor used for precise control of angular position.
- Purpose in Circuit: Controlled by Arduino UNO to perform rotational movements.
2.1mm Barrel Jack with Terminal Block
- Pins: POS, NEG
- Description: A power input jack.
- Purpose in Circuit: Provides power to the circuit.
2Pin Push Switch
- Pins: Input +, Output +
- Description: A simple push-button switch.
- Purpose in Circuit: Used for user input to control various functions.
LED: Two Pin (red)
- Pins: Cathode, Anode
- Description: A red LED.
- Purpose in Circuit: Provides visual indication.
Resistor (10k Ohms)
- Pins: Pin1, Pin2
- Description: A resistor with a resistance of 10k Ohms.
- Purpose in Circuit: Used for current limiting and pull-up/pull-down purposes.
Resistor (1.3k Ohms)
- Pins: Pin1, Pin2
- Description: A resistor with a resistance of 1.3k Ohms.
- Purpose in Circuit: Used for current limiting and pull-up/pull-down purposes.
Resistor (200 Ohms)
- Pins: Pin1, Pin2
- Description: A resistor with a resistance of 200 Ohms.
- Purpose in Circuit: Used for current limiting and pull-up/pull-down purposes.
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: A microcontroller board based on the ATmega328P.
- Purpose in Circuit: Controls the stepper motors and processes input from the push switches.
Wiring Details
Stepper Motor One
- IN1 connected to D8 of Arduino UNO
- IN2 connected to D9 of Arduino UNO
- IN3 connected to D10 of Arduino UNO
- IN4 connected to D11 of Arduino UNO
- + connected to Vin of Arduino UNO and POS of 2.1mm Barrel Jack with Terminal Block
- - connected to GND of Arduino UNO and NEG of 2.1mm Barrel Jack with Terminal Block
2.1mm Barrel Jack with Terminal Block
- POS connected to + of Stepper Motor One and Vin of Arduino UNO
- NEG connected to - of Stepper Motor One and GND of Arduino UNO
2Pin Push Switch
- Input + connected to pin2 of Resistor (10k Ohms) and D2 of Arduino UNO
- Output + connected to 5V of Arduino UNO
LED: Two Pin (red)
- Cathode connected to pin1 of Resistor (10k Ohms) and GND of Arduino UNO
- Anode connected to pin1 of Resistor (1.3k Ohms)
Resistor (10k Ohms)
- Pin1 connected to Cathode of LED: Two Pin (red)
- Pin2 connected to Input + of 2Pin Push Switch
Resistor (1.3k Ohms)
- Pin1 connected to Anode of LED: Two Pin (red)
- Pin2 connected to Input + of 2Pin Push Switch
Resistor (200 Ohms)
- Pin1 connected to GND of Arduino UNO
- Pin2 connected to pin1 of Resistor (10k Ohms)
Arduino UNO
- D8 connected to IN1 of Stepper Motor One
- D9 connected to IN2 of Stepper Motor One
- D10 connected to IN3 of Stepper Motor One
- D11 connected to IN4 of Stepper Motor One
- Vin connected to + of Stepper Motor One and POS of 2.1mm Barrel Jack with Terminal Block
- GND connected to - of Stepper Motor One and NEG of 2.1mm Barrel Jack with Terminal Block
- D2 connected to Input + of 2Pin Push Switch
- 5V connected to Output + of 2Pin Push Switch
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:
}
Arduino UNO (Instance 3)
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 documented code for the microcontrollers.