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

Arduino UNO Controlled DC Motor with BTS7960 Motor Driver and Voltage/Current Sensing

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled DC Motor with BTS7960 Motor Driver and Voltage/Current Sensing

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes a DC motor, an Arduino UNO microcontroller, a BTS7960 motor driver, various sensors, and other components. The circuit is designed to control the DC motor using the Arduino UNO, with additional functionalities provided by the sensors and other components.

Component List

  1. DC Motor

    • Description: A motor that converts electrical energy into mechanical energy.
    • Pins: pin 1, pin 2
  2. 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
  3. BTS7960 Motor Driver

    • Description: A high-current motor driver.
    • Pins: Pin 1, Pin 2, Pin 3, Pin 4, Pin 5, Pin 6, Pin 7, Pin 8, Pin 9, Pin 10, Pin 11, Pin 12
  4. DC Power Source

    • Description: Provides DC power to the circuit.
    • Pins: Ground, Positive
  5. Nockenschalter

    • Description: A rotary switch.
    • Pins: 11, 12, 9, 10
  6. WAGO

    • Description: A terminal block for electrical connections.
    • Pins: None
  7. ACS712 Current Sensor 5A 20A 30A

    • Description: Measures current in the circuit.
    • Pins: 1, 2, GND, OUT, VCC
  8. LED: Two Pin (white)

    • Description: A white LED.
    • Pins: cathode, anode
  9. Electrolytic Capacitor

    • Description: Stores electrical energy.
    • Pins: -, +
    • Properties: Capacitance: 1.5 Farads
  10. Resistor (10k Ohms)

    • Description: Limits current flow.
    • Pins: pin1, pin2
    • Properties: Resistance: 10,000 Ohms
  11. Resistor (56 Ohms)

    • Description: Limits current flow.
    • Pins: pin1, pin2
    • Properties: Resistance: 56 Ohms
  12. Resistor (10 Ohms)

    • Description: Limits current flow.
    • Pins: pin1, pin2
    • Properties: Resistance: 10 Ohms
  13. Voltage Sensor DC 25V

    • Description: Measures voltage in the circuit.
    • Pins: +, -, output, gnd, vcc
  14. Power 220V

    • Description: Provides 220V AC power.
    • Pins: hot wire, neutral wire

Wiring Details

DC Motor

Arduino UNO

BTS7960 Motor Driver

DC Power Source

Nockenschalter

WAGO

ACS712 Current Sensor 5A 20A 30A

LED: Two Pin (white)

Electrolytic Capacitor

Resistor (10k Ohms)

Resistor (56 Ohms)

Resistor (10 Ohms)

Voltage Sensor DC 25V

Documented Code

Arduino UNO Code (sketch.ino)

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

}

void loop() {
  // put your main code here,