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

Arduino UNO and L298N Motor Driver Controlled Linear Actuator System with Bluetooth Connectivity

View and Edit Project In Cirkit DesignerImage of Arduino UNO and L298N Motor Driver Controlled Linear Actuator System with Bluetooth Connectivity

Circuit Documentation

Summary

This circuit is designed to control multiple linear actuators using two L298N DC motor drivers, an Arduino UNO, and a 12V battery. The Arduino UNO is programmed to manage the motor drivers and communicate with an HC-05 Bluetooth module for wireless control.

Component List

  1. L298N DC Motor Driver

    • Description: Dual H-Bridge motor driver for controlling DC motors.
    • Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
  2. Linear Actuator

    • Description: Actuator for linear motion.
    • Pins: +, -
  3. Battery 12V

    • Description: Power source for the circuit.
    • Pins: -, +
  4. Arduino UNO

    • Description: Microcontroller for controlling the motor drivers and Bluetooth module.
    • 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
  5. HC-05 Bluetooth Module

    • Description: Bluetooth module for wireless communication.
    • Pins: Key, VCC, GND, TXD, RXD, State

Wiring Details

L298N DC Motor Driver 1

L298N DC Motor Driver 2

Battery 12V

Arduino UNO

HC-05 Bluetooth Module

Code Documentation

Arduino UNO Code

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

}

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

}

This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and the loop() function is where you place the main code that runs repeatedly.