Arduino UNO-Based Stepper Motor Controller with LCD Display and Water Pressure Sensor
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an LCD display, a stepper motor driver, a stepper motor, a water pressure sensor, and a power supply. The document includes a list of components, wiring details, and the embedded code used in the microcontroller.
Component List
Arduino UNO
- Description: A 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
MKE-M07 LCD1602 I2C
- Description: A 16x2 character LCD display with I2C interface.
- Pins: GND, 5V, SDA, SCL
TB660 Stepper Motor Driver
- Description: A driver module for controlling bipolar stepper motors.
- Pins: ENA - (ENA), ENA+ (+5V), DIR - (DIR), DIR+ (+5V), PUL - (PUL), VCC, GND, A+, A-, B+, B-, PUL+ (+5V)
MW LRS-350-24
- Description: A 24V power supply unit.
- Pins: +24V Output, -24V Output, GND, N, L
Stepper Motor (Bipolar)
- Description: A bipolar stepper motor.
- Pins: D, B, C, A
Gravity: Analog Water Pressure Sensor
- Description: An analog sensor for measuring water pressure.
- Pins: Signal, VCC, GND
Wiring Details
Arduino UNO
- 5V: Not connected
- GND: Not connected
- A0: Connected to GND of Gravity: Analog Water Pressure Sensor
- A4: Connected to SDA of MKE-M07 LCD1602 I2C
- A5: Connected to SCL of MKE-M07 LCD1602 I2C
- D4: Connected to DIR+ (+5V) of TB660 Stepper Motor Driver
- D3: Connected to PUL+ (+5V) of TB660 Stepper Motor Driver
MKE-M07 LCD1602 I2C
- SDA: Connected to A4 of Arduino UNO
- SCL: Connected to A5 of Arduino UNO
TB660 Stepper Motor Driver
- DIR+ (+5V): Connected to D4 of Arduino UNO
- PUL+ (+5V): Connected to D3 of Arduino UNO
- VCC: Connected to +24V Output of MW LRS-350-24
- GND: Connected to -24V Output of MW LRS-350-24
MW LRS-350-24
- +24V Output: Connected to VCC of TB660 Stepper Motor Driver
- -24V Output: Connected to GND of TB660 Stepper Motor Driver
Gravity: Analog Water Pressure Sensor
- GND: Connected to A0 of Arduino UNO
Documented Code
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This concludes the documentation for the circuit. If you have any questions or need further details, please refer to the specific component datasheets or contact the circuit designer.