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
Motors and Drives
  • Technologies
  • More
Motors and Drives
Forum Why did the micro servo zero position move?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Motors and Drives to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 13 replies
  • Subscribers 72 subscribers
  • Views 5204 views
  • Users 0 members are here
  • servo motor
  • arduino motor
  • micro servo
Related

Why did the micro servo zero position move?

colporteur
colporteur over 2 years ago

I‘ve started to use more Micro Servo Motor SG90S 9G servos controlled by a Nano using the Servo.h library provided in the Arduino IDE. The servo's are inexpensive (cheap) for the small animation projects they are used in.

I noticed an anomaly that is troubling. The servo’s zero position when first install has moved.

image

My knowledge of servo operation tells me that the position of the arm is based on the millisecond pulse provided from the controller. The servo rotates to the position indicated by the pulse.

I installed a servo and zero’d it before positioning the arm to move a shaft up and down. The servo worked for a few weeks. Today the physical position of the arm for zero has moved 90 degrees compared to when it was installed. Nothing has changed! The code is the same and the Nano used is the same.

I'm using a servo because of zero position. The code zero's the servo before starting. Then the codes moves the arm to the desired position. If zero moves, that is not good.

I’m hoping someone might have some insight into why zero has changed. Maybe there is something I can do to prevent this from happening. Same Nano, same code, just todays reboot put the servo zero arm in a different place for zero.

What is a reasonable expectation for a servo?

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 2 years ago +2
    The position is controlled by an internal pot reading matching the demodulated PWM signal, but many things can cause the pot to read incorrectly. Check if the range of motion has the same limits as before…
  • michaelkellett
    michaelkellett over 2 years ago +1
    If the pulses are the same (can you check) and the zero position has moved 90 degrees I would suspect that the servo has failed. I have played a little with some cheap servos and been surprised by how…
  • Fred27
    Fred27 over 2 years ago +1
    That definitely doesn't sound right. I wouldn't expect really accurate positioning or repeatability from a hobby servo, but there's likely to be something wrong with it. The other thing that springs…
Parents
  • colporteur
    colporteur over 2 years ago

    image

    Just added one of these units onto an order I was placing for some parts. Watched a few youtube videos. I like the idea of pairing three servo and setting the unit to run continuous. Maybe give me an idea of a bad one before installing it. If it doesn't work I'm out a buck thirty.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • colporteur
    colporteur over 2 years ago

    image

    Just added one of these units onto an order I was placing for some parts. Watched a few youtube videos. I like the idea of pairing three servo and setting the unit to run continuous. Maybe give me an idea of a bad one before installing it. If it doesn't work I'm out a buck thirty.

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