EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / what is capture mode in atmega 16

what is capture mode in atmega 16

|

Microcontroller › AVR › what is capture mode in atmega 16

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 12 months ago by GANEEV SINGH.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 21, 2012 at 5:27 am #1647
    rajesh
    Participant

    how to use this type of mode to control servo motors?

    December 15, 2016 at 6:45 am #14274
    GANEEV SINGH
    Participant

    Hi Rajesh

    You can use capture mode to control servo motor using a 16 bit timer i.e. TIMER-1.

    For example:

    Most of the servo motors work on a 20 ms pulse, out of which the time given to a logic 1 decides its position. For this you can select mode 14 in fast-PWM operation (refer datasheet, pages 110-116) and store 20,000 value in ICR1. Then according to the desired servo motor position, set the value in OCR1A/B, generally from 1000 to 2000 (for 1 ms to 2 ms). The output pulse will be generated on pin OC1A/B (PIND 5/4). Make sure to select non-inverting mode of operation and declare these pins as output.

    This might help

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Measuring controller current output with a meter December 12, 2025
  • What is involved to convert a small town to fiber optic? December 12, 2025
  • Droplet1 December 12, 2025
  • Help to Identify capacitor fault December 12, 2025
  • Dog fence help December 12, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise