element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Sixth Sense Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Sixth Sense Design Challenge
  • More
  • Cancel
Sixth Sense Design Challenge
Blog Sixth Sense Motor Controller Mods - GraffitiBot blog 13
  • Blog
  • Forum
  • Documents
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 9 Mar 2019 4:22 AM Date Created
  • Views 184 views
  • Likes 10 likes
  • Comments 3 comments
  • graffitibot
  • doug wong
  • h-bridge steering
  • sixth sense design challenge
Related
Recommended

Sixth Sense Motor Controller Mods - GraffitiBot blog 13

dougw
dougw
9 Mar 2019

This update explains how my pump controller circuit card was modified to allow it to control the steering motor and the main drive motor.

The steering motor needs to be able to reverse, so the unipolar outputs needed to be altered to work as an H-bridge. This required replacing 2 N-channel FETs with P-channel FETs and tying some drains together. The FETs are individually controllable via software, so high current shoot-through can be avoided by turning off one direction before turning on the other direction.

These FETs have low thresholds to ensure the 3.3 volt port expander chip can drive them directly, but in the case of the P-channel FETs which have a 5 volt power supply, they may not turn off completely with a 3.3 volt signal. To ensure they turn off properly the supply voltage to these FETs is run through a diode which drops the supply voltage by at least half a volt.

The main drive motor is unidirectional, so each of the four driver FETs is used to produce a different speed. This is done by adding an extra diode drop for each consecutive FET.

Here is what the card looks like with the modifications, followed by a demonstration of both the steering and the main drive motor being driven under computer control:

You don't have permission to edit metadata of this video.
Edit media
x
Upload Preview

The last modification to make is to tie one of the I2C address pins to VCC so both the pump card and the main motor controller card can coexist on the same bus.

This adaptation of the pump controller card to a different function was an interesting exercise, but it was also an unplanned diversion that chewed up precious time.

At least it is working and I can move on with the rest of the project.

 

Relevant Links

Sixth Sense Design Challenge: About This Challenge

Sixth Sense Design Challenge: Technical Documents

Sixth Sense Design Challenge

KMT32B Magnetic Angle Sensor

 

GraffitiBot Project Blogs

Sixth Sense GraffitiBot - blog 1

Sixth Sense - Kit Unboxing and Other Parts - GraffitiBot blog 2

Sixth Sense - Sensor Circuits - GraffitiBot blog 3

Sixth Sense - Interfaces - GraffitiBot blog 4

Sixth Sense GraffitiBot - System Interconnect - blog 5

Sixth Sense GraffitiBot - Wheels & Motors - blog 6

Sixth Sense GraffitiBot - ST Sensor Tile App - blog 7

Sixth Sense - Load Cell PCB - GraffitiBot blog 8

Sixth Sense - Magnetic Angle Sensor - GraffitiBot - Blog 9

Sixth Sense - LCD Interface - GraffitiBot - blog 10

Sixth Sense - Pump Controller - GraffitiBot Blog 11

Sixth Sense Main Drive Motor - GraffitiBot - blog 12

Sixth Sense Motor Controller Mods - GraffitiBot blog 13

Sixth Sense - RTD - GraffitiBot Blog 14

Sixth Sense Mechanical Design - GraffitiBot Blog 15

Sixth Sense GraffitiBot Motor Wiring - Blog 16

Sixthe Sense GarffitiBot - First Dry Run - Blog17

Sixth Sense GraffitiBot Hydraulics - Blog 18

Sixth Sense GraffitiBot Printing Graffiti - Blog 19

Sixth Sense GraffitiBot - Summary - Blog 20

Anonymous

Top Comments

  • DAB
    DAB over 3 years ago +3

    Good modification to the basic board.

     

    DAB

  • genebren
    genebren over 3 years ago +2

    Nice job on the motor control for the steering/drive motors.  Almost there!

     

    Gene

  • three-phase
    three-phase over 3 years ago +2

    Great demonstration of the motor controller and description of the modifications.

     

    Kind regards.

  • three-phase
    three-phase over 3 years ago

    Great demonstration of the motor controller and description of the modifications.

     

    Kind regards.

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
  • DAB
    DAB over 3 years ago

    Good modification to the basic board.

     

    DAB

    • Cancel
    • Up +3 Down
    • Reply
    • More
    • Cancel
  • genebren
    genebren over 3 years ago

    Nice job on the motor control for the steering/drive motors.  Almost there!

     

    Gene

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube