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
Arduino
  • Products
  • More
Arduino
Arduino Forum servo motor for micro arduino
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 7 replies
  • Answers 2 answers
  • Subscribers 394 subscribers
  • Views 639 views
  • Users 0 members are here
  • arduino
Related

servo motor for micro arduino

Former Member
Former Member over 11 years ago

guys is servo motor compatible with arduino micro ?

i couldn't find an answer anywhere for specifically arduino micro

  • Sign in to reply
  • Cancel
Parents
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    Most servo motors that are the kind found in model planes and cars are easy to interface with an Arduino and there are libraries to make life easy to to code it. If you are looking at a servo motor other than this, you may have to include a motor control board, also been done hundreds of times before

     

    provide more details f=of the parts you intending to use and we can help in more detail

     

    Regards


    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    Most servo motors that are the kind found in model planes and cars are easy to interface with an Arduino and there are libraries to make life easy to to code it. If you are looking at a servo motor other than this, you may have to include a motor control board, also been done hundreds of times before

     

    provide more details f=of the parts you intending to use and we can help in more detail

     

    Regards


    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 11 years ago in reply to Robert Peter Oakes

    thanks for replying peter

    image

    so this is an ipad case that im making and the ipad would be placed in side,

    what im going to do is that i want the case to slide open automatically with a keyboard command through a button connected to arduino.

    im thinking of using servo motor and crank slide mechanism to slide it open..but i was not sure that arduino micro would support this..i dont think the weight would be so much so i guess a regular servo motor would be able to handle this.

    so any suggestion would be really appreciated.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • timswift
    0 timswift over 11 years ago in reply to Former Member

    The arduino micro can control up to 7 RC servos.

     

     

     

     

    Tim

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • nschreiber0813
    0 nschreiber0813 over 11 years ago in reply to timswift

    Dear: Tim

    Yes it can handle servos but I would recommend using a servo shield for what you are doing. It is way more practical than arduino micro and if have problems with it I recommend you build your own. Also here is some code for you.

    From: Noah

     

    // Sweep

    // by BARRAGAN <http://barraganstudio.com>

    // This example code is in the public domain.

     

     

     

     

    #include <Servo.h>

     

    Servo myservo;  // create servo object to control a servo

                    // a maximum of eight servo objects can be created

     

    int pos = 0;    // variable to store the servo position

     

    void setup()

    {

      myservo.attach(9);  // attaches the servo on pin 9 to the servo object

    }

     

     

    void loop()

    {

      for(pos = 0; pos < 180; pos += 1)  // goes from 0 degrees to 180 degrees

      {                                  // in steps of 1 degree

        myservo.write(pos);              // tell servo to go to position in variable 'pos'

        delay(15);                       // waits 15ms for the servo to reach the position

      }

      for(pos = 180; pos>=1; pos-=1)     // goes from 180 degrees to 0 degrees

      {                               

        myservo.write(pos);              // tell servo to go to position in variable 'pos'

        delay(15);                       // waits 15ms for the servo to reach the position

      }

    }

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to nschreiber0813

    well the reason i wanna use micro is i want to have a serial communication with the keyboard..so basically control the movement by keyboard and eventually a remote control..

    so do you think it will be ok using one servo motor with micro!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to Former Member

    The only real advantages of the Shield is increased number of PWM outputs and an increase in resolution from 8Bits to 12Bits which is the same as 0-255Count vs 0-4096 count. If you don't need better than a 1.4 - 2 degree resolution then the direct Arduino will work just fine, if you need real precision then go for the shield, but based on your description, I don't think you will need it. The other thing to bear in mind, you may be able to power one servo from the Arduino supply but not more, the preference is to provide a separate 5V for the servos.

     

    Regards

     

     

    Peter

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