element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project14
  • Challenges & Projects
  • More
Project14
Blog Easy to build PWM controlled DC motor driver[UID=d1b3]
  • Blog
  • Forum
  • Documents
  • Theme Suggestions
  • Polls
  • Members
  • More
  • Cancel
  • New
Join Project14 to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Hesam.M
  • Date Created: 8 May 2019 6:19 PM Date Created
  • Views 2172 views
  • Likes 5 likes
  • Comments 4 comments
  • dc motor driver
  • easy pwm motor driver
  • drv8833
Related
Recommended

Easy to build PWM controlled DC motor driver[UID=d1b3]

Hesam.M
Hesam.M
8 May 2019

Motor driver circuits are one of the most useful designs for industrial, automotive and robotic applications. Full control over a DC motor is an essential function for a variety of applications. For many low power applications, 1A to 1.5A RMS current consumption limit/per motor is enough, therefore I selected a useful chip that can operate with just a few external components.

 

The DRV8833 chip is a dual H-bridge motor driver. According to the datasheet: “The DRV8833C device is an integrated motor driver solution for brushed DC or bipolar stepper motors. The device integrates two NMOS H-bridges and current regulation circuitry. The DRV8833C can be powered with a supply voltage from 2.7 to 10.8 V and can provide output current up to 700-mA RMS. A simple PWM interface allows easy interfacing to the controller circuit. The current regulation is a 20-μs fixed off-time slow decay. The device includes a low-power sleep mode, which lets the system save power when not driving the motor.”

 

The figure-1 shows the logic level thresholds of the chip inputs. The VIL and VIH values show that the inputs can be used for both 3.3V and 5V logic without any problem.

 

image

Figure-1, Logic level values for the DRV8833 chip

 

 

The figure-2 shows the schematic diagram of the circuit. The Vcc defines the motor supply voltage. Be careful about its maximum rating which is 11.8V. As you can consider, there is no need to implement protection diodes or other extra components.

 

image

Figure-2, Schematic diagram of the motor driver

 

 

The DRV8833 introduced a PWP 16-Pin HTSSOP package. For the schematic symbol, footprint and 3D model, I used the free SamacSys tools, because it is time-consuming to design the symbols and component libraries from scratch and by datasheets information.

I mainly use the Altium Designer as a CAD tool, therefore I used the Altium plugin (figure-3). Just select the PWP package which adds a ground PPAD connection under the chip. This package is thermally enhanced and probably it would increase the noise immunity of the circuit.

 

image

Figure-3, Select the PWP package in the plugin search results

 

 

 

The figure-4 shows the top layer and the figure-5 shows the bottom layer of the PCB board. The capacitor C3 has a 1206 package. The connector K1 is an 8-Pin 1mm pitch FPC connector, which you should use a flat ribbon cable to connect it to your main circuit.

The connector P1 is a Molex 2.54mm pitch connector which is used to connect your motors to the PCB. The figure-6 shows a 3D view of the assembled PCB board.

 

image

Figure-4, A top layer view of the PCB board

 

 

image

Figure-5, A bottom layer view of the PCB board

 

image

Figure-6, A 3D view of the assembled PCB board

 

 

 

The table-2 shows the PWM control of motor speed.

 

The nFault is an output active-low pin. It means in over-current or over-temperature conditions, the chip will pull it down. It is an OD (open-drain) I/O. Therefore, it is better that you pull it up with a resistor to your logic voltage (3.3V or 5V).

 

The NSleep is an input pin. The logic-high will activate the device and logic low (default) will bring the chip to the low power and sleep mode condition and resets all logic. This pin has been pulled-down internally.

 

image

Table-2, PWM control of motor speed

 

 

References

 

Datasheet: http://www.ti.com/lit/ds/symlink/drv8833.pdf

Schematic Symbol, Footprint and 3D model: https://componentsearchengine.com/part.php?partID=232778

Altium Plugin: https://www.samacsys.com/altium-designer-library-instructions

  • Sign in to reply

Top Comments

  • DAB
    DAB over 6 years ago +2
    Nice design. DAB
  • Hesam.M
    Hesam.M over 6 years ago in reply to DAB +2
    Thank you, Good luck.
  • 14rhb
    14rhb over 6 years ago +1
    Hi Hesam, Thiis is a really nice walk through of how to design something, thank you. Do you have any plans to prototype or get your PCB manufactured...it so I'd really like to see an update. Rod
Parents
  • 14rhb
    14rhb over 6 years ago

    Hi Hesam,

     

    Thiis is a really nice walk through of how to design something, thank you. Do you have any plans to prototype or get your PCB manufactured...it so I'd really like to see an update.

     

    Rod

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • 14rhb
    14rhb over 6 years ago

    Hi Hesam,

     

    Thiis is a really nice walk through of how to design something, thank you. Do you have any plans to prototype or get your PCB manufactured...it so I'd really like to see an update.

     

    Rod

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • Hesam.M
    Hesam.M over 6 years ago in reply to 14rhb

    Hi Rod,

     

    Thank you.

     

    About the prototype not yet, I hope to do it as soon as possible.

    Don't worry about its application. I will work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube