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

Arduino and ESP32-Based Smart Home Automation System with Stepper Motor and LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino and ESP32-Based Smart Home Automation System with Stepper Motor and LCD Display

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO, an ESP32, a DS3231 RTC module, an L298N motor driver, a stepper motor, a micro servo, an IR sensor, a buzzer, and a 16x2 LCD display. The circuit is designed to interface these components for various functionalities, including motor control, timekeeping, and display output.

Component List

  1. 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
  2. ESP32 (30 pin)

    • Description: A low-cost, low-power system on a chip microcontroller with integrated Wi-Fi and dual-mode Bluetooth.
    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
  3. DS3231 RTC

    • Description: A low-cost, extremely accurate I2C real-time clock (RTC) with an integrated temperature-compensated crystal oscillator (TCXO) and crystal.
    • Pins: 32K, SQW, SCL, SDA, VCC, GND
  4. L298N Motor Driver Controller Board Module Stepper Motor

    • Description: A dual H-Bridge motor driver module for controlling DC and stepper motors.
    • Pins: Output A, +12v Power, +5v Power, Ground, Output B, Input 4, Input 3, Input 2, Input 1
  5. Stepper Motor (Bipolar)

    • Description: A type of stepper motor with two coils and four wires.
    • Pins: D, B, C, A
  6. Micro servo 9G

    • Description: A small and lightweight servo motor.
    • Pins: GND, +5V, PWM
  7. IR Sensor

    • Description: An infrared sensor used for detecting objects.
    • Pins: out, gnd, vcc
  8. Buzzer

    • Description: An electronic device that produces a sound.
    • Pins: PIN, GND
  9. 16X2 LCD

    • Description: A 16x2 character LCD display.
    • Pins: VSS, VDD, V0, RS, RW, E, D1, D0, D2, D3, D4, D6, D5, D7, A, K

Wiring Details

Arduino UNO

ESP32

DS3231 RTC

L298N Motor Driver Controller Board Module Stepper Motor

Stepper Motor (Bipolar)

Micro servo 9G

IR Sensor

Buzzer

16X2 LCD

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:

}

Additional Documentation

No additional documentation provided.