element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Robotics
  • Technologies
  • More
Robotics
Forum Arduino Motor Control
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Robotics to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 9 replies
  • Subscribers 65 subscribers
  • Views 1351 views
  • Users 0 members are here
Related

Arduino Motor Control

Former Member
Former Member over 12 years ago

Can someone please tell me to control a motor using an arduino. I want to begin a robot project.

  • Sign in to reply
  • Cancel
Parents
  • billabott
    billabott over 12 years ago

    @JacobL

    A good place to start would be: http://www.arduino.cc/en/Tutorial/StepperBipolar

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to billabott

    I have some old 3.5 floppys and some old CD drives. Will these motors work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ramu
    Ramu over 12 years ago in reply to Former Member

    About Floppy and CD-ROM motors, there are few diferent ones there. For example center one (spinning the floppy and CD/DVD usualy it is BLDC motor). It is the hardest to controll motors in thies devices. manualy controll them it is bit hard. but in PCB there should be drivers. Not shure how the drivers are controled, but it shold be eacyer. by the way FLOPPY and CD-ROM BLDC (Brushless Direct Current) motors may be part of the PCB, because they usualy have Hall efect sensors to now the current possition. Then In floppy there is a SEPPER mottor moving the data reading head. it usualy has 4 wires. And they can be controlled by arduino, but you have to use some transistors or with STEPPER controller microchip. They make the weak arduino signal in tu strong one, sutable to drive the mottor. There is an explanation how to controll 6 wire and 4 wire STEPPER motor: http://nerdclub-uk.blogspot.com/2011/09/stepper-motor-control-2-phase-4-phase.html

    Then in CD-ROM there is a regular DC motor with only 2 wires. They are the simplest to control. Just connect the pover (+ and - ) to the wires and it goes. If you swap the + and -, then it will go to the other side. Non revesable DC mottor speed controll with arduino and a transistor http://arduinoarts.com/2011/08/arduino-tutorial-f1-rc-car-dc-motor-driven-by-mos-transistor/ the potensiometer is just for telling arduino how fast you want it to go.

     

    There are stepper mottor or 2x DC mottor controolers like this: http://www.ebay.com/itm/Stepper-Motor-Drive-Controller-Board-Module-L298N-for-arduino-NEW-good-/330808982986?pt=LH_DefaultDomain_0&hash=item4d05c07dca if you do not know how to use it, please ask. I like thies, because it is realy simpple and fast to controll small motors upt to 2A (look on the mottor or in its datasheet how much amps does it use).

     

    And what type of mottors to use it depends on what the robot is going to do ant in what part. If it is for driving weals, it would be better tu use DC image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ramu
    Ramu over 12 years ago in reply to Ramu

    And for making bigger robot and controlling more powerfull robots I like this: http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/HB-25/List/0/SortField/4/ProductID/64/Default.aspx

    It is realy powerfull one, hade acidently shorted the output, but it is still alive. image we are using them in our robot:

    This robot is made by KTU PI (Kaunas University of Technology Panevėžys Istitution) university students. Not the best robot, but it is our first on.

    image

    Ant this is a video how this robot can use webcam and computer vision application with OpenCV librray to detect an object, take it and bring it back image By the way, in this video motors are replaced with more powerfull ones (from car windshield wipers) to drive outside image

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

     

    So just some fun stuff to get you more motivated to make your own robot image

    If this video is not working, then you can see it in youtube: http://www.youtube.com/watch?v=phI0wMpWMiE

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Ramu
    Ramu over 12 years ago in reply to Ramu

    And for making bigger robot and controlling more powerfull robots I like this: http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/HB-25/List/0/SortField/4/ProductID/64/Default.aspx

    It is realy powerfull one, hade acidently shorted the output, but it is still alive. image we are using them in our robot:

    This robot is made by KTU PI (Kaunas University of Technology Panevėžys Istitution) university students. Not the best robot, but it is our first on.

    image

    Ant this is a video how this robot can use webcam and computer vision application with OpenCV librray to detect an object, take it and bring it back image By the way, in this video motors are replaced with more powerfull ones (from car windshield wipers) to drive outside image

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

     

    So just some fun stuff to get you more motivated to make your own robot image

    If this video is not working, then you can see it in youtube: http://www.youtube.com/watch?v=phI0wMpWMiE

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • billabott
    billabott over 12 years ago in reply to Ramu

    Search for mod of servo motor to use as a feedback control sensor for really big motors.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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