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
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs Motor control module
  • Blog
  • Documents
  • 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: Former Member
  • Date Created: 14 Feb 2011 5:20 PM Date Created
  • Views 304 views
  • Likes 0 likes
  • Comments 0 comments
  • driver
  • controller
  • tracked
  • robotics
  • robot
  • rs-485
  • motr
  • tank
Related
Recommended

Motor control module

Former Member
Former Member
14 Feb 2011

Motor control module or M.C.M. for short is part of Stingray project responsible for controlling two motors that

move entire tank. This module generates two PWM signals to M.P.M. , with I already described on my blog ,

and communicates with two encoders via I2C bus. So here are schematics of it

image

As you can see just like with M.P.M. there's nothing uncommon in this design but this one is a little more complex

so I will give more detailed explanation  of its parts and their function.

Heart of circuit is ATMEGA16 that sends pwm signal via 74LS03N NAND gate to M.P.M. module.

Other functions of this microcontroller are communication with other modules via RS-485 bus and gathering

info about motors speed with help of I2C encoders. Main function of those NAND gates is to provide additional

buffer between microcontroller and elements that work under heavy load. As for RS-485 i used LTC485CN8#PBFLTC485CN8#PBF transceiver

and part of device address can be manually set with dip-switch.

As I wrote in my last post there were a few silly things in previous versions of this schematic , for example I overcomplicated

reset controller for no apparent reason and we were trying to use our own programmer connector that would disable some

function of this device. I decided to drop that idea because similar solution proved to be very problematic in use in my other project

and as for reset control I simplified it as much as i could.

 

 

 

For some reason preparing this post took me 3 days , I found it hard to say something interesting about device and no to repeat things

that are obvious after looking at schematic. I'm sending gerbers to my nearest circuit board producer and in meantime will work on

software. I'm also working on much simpler robot , a line-follower that I plan on making from what lays around in workshop , so

  • Sign in to reply
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 © 2023 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