Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Bi-directional DC motor movement using Teensy 3.2

  1. #1
    Junior Member
    Join Date
    Aug 2019
    Posts
    1

    Bi-directional DC motor movement using Teensy 3.2

    Hello,
    I am working on a project to provide bi-directional movement for the DC motor which I have connected to my Teensy 3.2. I was able to provide it a clockwise movement but I am unable to achieve the Anti-clockwise movement. Any help on the matter would be highly appreciated. Thank you.

  2. #2
    Senior Member
    Join Date
    Apr 2013
    Posts
    1,885
    The general idea is an H-bridge
    https://en.wikipedia.org/wiki/H_bridge
    Either built up from transistors, from a driver IC or as a module.

    Or can also be done with a pair of relays.

  3. #3
    The H-Bridge is definitely the way to go. Which one you use will depend on the current draw of the motor. There are several H-Bridges that will do the job but the STI L293 is my go-to device for small motors. It has 600mA continuous and 1.2A peak current. I can recommend another if your motor is heaftier.

    Hookup is easy. You'll need two lines for direction (or just one if you have an inverter in your design) and one enable. As a precaution and good practice, you will want to disable the driver when you are switching direction.

    Hope that helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •