DC Motor Control Using Joystick

  • Rajkumar Sharma
  • 272 Views
  • medium
  • Tested
  • SKU: EL140743
  • Quote Now

This is a compact, low-profile, and high-performance DC motor driver that provides easy control of a DC motor using a joystick. This small-size board can drive small to medium-sized brushed DC motors with up to 2.5A continuous and 6A peak currents. It is an Arduino-compatible project that helps users develop their own code and drive DC brushed motor as per application requirements. The Arduino-compatible hardware consists of an ATMEGA328 microcontroller and IFX9201 H-Bridge chip.

Arduino Code

Arduino example code is available and the user will be able to drive a DC brushed motor up to 2.5A using a joystick. Follow the link below to learn more about programming the new ATMEGA328 chip using Arduino IDE.

 

Applications

  • Camera Pan Tilt Head
  • Linear/Rotary Actuator
  • Camera Slider
  • Robotics
  • Motorized Curtains
  • Lifting Equipment
  • Medical equipment/Furniture
  • Camera Focus/Zoom Motor

Features

  • Power Supply for the Load 8V to 30V DC (Max 36V)
  • Motor Lead up to 2.5A Peak 6Amps
  • Over Current Shutdown Threshold 8Amps
  • Logic Supply 5.0 V
  • No Heatsink Required
  • PWM Frequency 975Hz
  • On Board Power LED
  • Screw Terminals for Motor and Power Supply Connections
  • PCB Dimensions 57.47 x 37.15 mm

Various other possible applications with this hardware

  • Motor Speed Control Using Potentiometer
  • Motor Control with Limit Switch, a Limit switch can be connected to D7 and D8 Pin of Connector CN5
  • Motor Velocity Control using Encoder, the encoder can be connected to D7/D8 of CN5

Selecting a DC motor

The project can drive small DC motors with peak currents of up to 6 A. The achievable continuous drive current is lower and depends on supply voltage, switching frequency, and cooling conditions. Realistic continuous drive currents for this project are in the range of 1 A to 2.5 A. Many motors for toys, RC models, or robotics fall in this range.

Arduino Pin

  • Arduino D5 = PWM Pin of IFX9201 H-Bridge
  • Arduino D6 = Direction Pin of IFX9201 H-Bridge
  • Arduino D4 = Disable Pin of IFX9201 H-Bridge (High = Disable, Low = Enable)
  • Arduino D5 = PWM IFX9201 H-Bridge

The project is built using an IFX9201 H-Bridge chip, more info about similar can be found here

Protection and Diagnostics – Both output stages of the IFX9201SG are equipped with fault diagnostic functions:

  • Short-to-supply voltage (SCVS)
  • Short to ground (SCG)
  • Open load (OL)
  • Over-temperature (OT)

Connections and Other Details

  • CN1: Optional No Use
  • CN2: Power Supply for Motor Pin 1 = VDD 8 to 30V DC, Pin 2 = GND
  • CN3: Motor Connections, Pin 1 = Motor, Pin 2 = Motor
  • CN4: Arduino Programming/Bootloader Connector, Pin 1 = RX, Pin 2 = TX, Pin 3 = Reset, Pin 4 GND, Pin 5 = VCC, Pin 6 = D11, Pin 7 = D12, Pin 8 = 13
  • CN4: Optional Limit Switch, Pin 1 = VCC, Pin 2 = Arduino D7, Pin 3 = Arduino D8, Pin 4 = GND
  • U2: Joystick, Pin 1 VCC, Pin 2 = Analog A1, Pin 3 = GND
  • D1: Power LED for Motor Supply

Schematic

 

Parts List

NOQNTY.REFDESC.MANUFACTURERSUPPLIERSUPPLIER PART NO
13CN1,CN6,C10DNPDO NOT INSTALL
21CN22 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1247-ND
31CN32 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1247-ND
41CN48 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5321-ND
51CN54 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5317-ND
62C1,C310uF/35V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
74C2,C4,C5,C6100nF/50V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
81C7100uF/35V ELECTROLYTICRUBYCONDIGIKEY1189-1620-1-ND
92C8,C910nF/50V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
102C11,C1222PF/50V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
111D1LED RED SMD SIZE 0805OSRAMDIGIKEY475-1278-1-ND
123R1,R3,R410K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
131R24.7K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
141R50E SMD SIZE 0805YAGEO/MURATADIGIKEY
151R61M 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
161U1IFX9201INFINIONDIGIKEYIFX9201SGAUMA1CT-ND
171U2ATMEGA328TQPF-32MICROCHIPDIGIKEYATMEGA328PB-AURCT-ND
181U33 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5316-ND
191X116MhzECS INCDIGIKEYX1103-ND

Connections

Gerber View

Photos

Video

IFX9201 Datasheet

Please follow and like us:
Pin Share

PCB



Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

TOP PCB Companies