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 / servo motor control using avr

servo motor control using avr

|

Microcontroller › AVR › servo motor control using avr

  • This topic has 1 reply, 2 voices, and was last updated 15 years, 2 months ago by dagakshay.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 4, 2011 at 12:47 pm #634
    Amit kumar
    Participant

    for2 servos i had to use 2 avr ports. i want to use 4 servos in only 1 port in ATMEGA 16,how can it be done without interfering with other servo’s PWM??

    February 5, 2011 at 5:10 am #5425
    dagakshay
    Participant

    <span style="font-size:15.0pt;
    color:black”> hello amit…

    <p style="margin:0in;margin-bottom:.0001pt;border-style:initial;border-color:
    initial;outline-width: 0px;outline-style: initial;outline-color: initial;
    background-image:initial;background-attachment:initial;background-origin: initial;
    background-clip: initial;background-position:initial initial;background-repeat:
    initial initial”>one servo motor is interfaced with one pin of your controller doesn’t need complete port to interface it with a servo motor.. the avr is having a separate PWM channels to control sevro.. giving time delay between one on and off  is not a good programming technique… my advice to use avr in built PWM channel to control your servo motor… for more details about how to generate PWM in avr refer to the link<p style="margin:0in;margin-bottom:.0001pt;border-style:initial;border-color:
    initial;outline-width: 0px;outline-style: initial;outline-color: initial;
    background-image:initial;background-attachment:initial;background-origin: initial;
    background-clip: initial;background-position:initial initial;background-repeat:
    initial initial”> <p style="margin:0in;margin-bottom:.0001pt;border-style:initial;border-color:
    initial;outline-width: 0px;outline-style: initial;outline-color: initial;
    background-image:initial;background-attachment:initial;background-origin: initial;
    background-clip: initial;background-position:initial initial;background-repeat:
    initial initial”>http://www.engineersgarage.com/embedded/avr-microcontroller-projects/fast-pwm-mode-timer-circuit<p style="margin:0in;margin-bottom:.0001pt;border-style:initial;border-color:
    initial;outline-width: 0px;outline-style: initial;outline-color: initial;
    background-image:initial;background-attachment:initial;background-origin: initial;
    background-clip: initial;background-position:initial initial;background-repeat:
    initial initial”> <p style="margin:0in;margin-bottom:.0001pt;border-style:initial;border-color:
    initial;outline-width: 0px;outline-style: initial;outline-color: initial;
    background-image:initial;background-attachment:initial;background-origin: initial;
    background-clip: initial;background-position:initial initial;background-repeat:
    initial initial”> 

     http://www.engineersgarage.com/embedded/avr-microcontroller-projects/phase-correct-pwm-mode-timer-circuit

     

    http://www.engineersgarage.com/embedded/avr-microcontroller-projects/timer-waveform-generation-circuit

     

     

  • 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

  • Beginner Questions About CNC Machines – G-code, Control Systems & Accuracy April 21, 2026
  • S1MJ ? April 20, 2026
  • timing delay code statements using Swordfish April 20, 2026
  • Selection Criteria and Safe Usage of Cable Ties in Electronics Applications April 20, 2026
  • properly producing TDR on PNA network analyzer N5224B April 20, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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