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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog Smarter Life Challenge - The Henrietta Project - Servo Motor Operation
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 15 Jan 2014 12:53 AM Date Created
  • Views 719 views
  • Likes 0 likes
  • Comments 1 comment
  • bluetooth
  • psoc4
  • henrietta_project
  • smarter_life_challenge
  • light_sensor
  • temperature
  • servo
  • smarter_life
  • gps
  • touch_pad
  • nokia5110
  • dht11
  • sensor
Related
Recommended

Smarter Life Challenge - The Henrietta Project - Servo Motor Operation

dougw
dougw
15 Jan 2014

The Henrietta system is mounted in a picture frame to showcase all of her circuitry. She uses a servo motor to lift the window in front of her picture frame to provide access to the touch pad. The servo feature was included in the project to demonstrate how easy it is to control a servo motor from the PSoC4.

 

Servo Motor Demo Video

The following video shows the servo motor in operation. There is also an oscilloscope to show the pulse width modulation waveform through the various positions. The firmware is programmed to ramp pulse width from the closed duty cycle to the open duty cycle to minimize inertial stress on the servo gears.

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

http://www.element14.com/community/videos/10919/l/the-henrietta-project--servo-motor-operation


Servo Set Up

Servo motors for remote control use a standardized pulse width modulation scheme to control position. The pulse width can vary from about 1 ms to 2 ms with the centre position at 1.5 ms. The pulses occur at a nominal frequency of 50 Hz or about 20 ms from the start of one pulse until the start of the next pulse. Some motors don't hit their travel limits until 0.8 ms and 2.7 ms, but all of these pulse widths represent a fairly low duty cycle. The motor in this project has a useful range from 0.8 ms to 2.6 ms. With a 1 mHz clock, 2.6 ms corresponds to 2600 counts. Below are the relevant PWM set up screens:

image

image   image

    

Connection is very straightforward as these types of servo motor respond directly to 3.3 Volt PWM signals even though the power connection to the servo is 5Volts.

 

Conclusions

PSoC4 and PSoC Creator make implementing a programmable servo motor a simple task.

 

For more info on the Henrietta Project, which is entered in the Smarter Life Challenge, check these logs:

http://www.element14.com/community/videos/10631/l/smarter-life-challenge--the-henrietta-project-intro

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2013/12/15/smarter-life-challenge--the-henrietta-project

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2013/12/17/smarter-life-challenge--the-henrietta-project--touch-screen-subsystem

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2013/12/23/smarter-life-challenge--the-henrietta-project--personality-infusion

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2013/12/29/smarter-life-challenge--the-henrietta-project--wire-wrap-versus-jumpers

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/01/smarter-life-challenge--the-henrietta-project--bluetooth-operation

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/02/smarter-life-challenge--the-henrietta-project--furnace-interface

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/02/smarter-life-challenge--the-henrietta-project--light-sensor

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/03/smarter-life-challenge--the-henrietta-project--gps-clock

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/02/smarter-life-kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/10/smarter-life-challenge--the-henrietta-project--pc-app

http://www.element14.com/community/community/knode/dev_platforms_kits/element14_dev_kits/psoc4_pioneer_kit/blog/2014/01/12/smarter-life-challenge--the-henrietta-project--android-app

 

videos:

http://www.element14.com/community/videos/10631/l/smarter-life-challenge--the-henrietta-project-intro

http://www.element14.com/community/videos/10720/l/henrietta-eyes-animation-demo

http://www.element14.com/community/videos/10789/l/the-henrietta-project--bluetooth

http://www.element14.com/community/videos/10808/l/the-henrietta-project--voice-control

http://www.element14.com/community/videos/10809/l/the-henrietta-project--light-sensor

http://www.element14.com/community/videos/10810/l/the-henrietta-project--gps-clock

http://www.element14.com/community/videos/10851/l/the-henrietta-project--pc-app

http://www.element14.com/community/videos/10854/l/the-henrietta-project--pc-app-operation

http://www.element14.com/community/videos/10850/l/the-henrietta-project--touch-pad

http://www.element14.com/community/videos/10876/l/the-henrietta-project--android-app

  • Sign in to reply
Parents
  • DAB
    DAB over 11 years ago

    Very nice integration and demonstration.

     

    The expressive eyes help make that user feedback loop intuitive.

    Now you need to add a voice module and sound system so that it can speak to the user.  Who knows, the talking house could be a good selling feature.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 11 years ago

    Very nice integration and demonstration.

     

    The expressive eyes help make that user feedback loop intuitive.

    Now you need to add a voice module and sound system so that it can speak to the user.  Who knows, the talking house could be a good selling feature.

     

    DAB

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