- This topic has 3 replies, 2 voices, and was last updated 13 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › controlling 2 servo motors using keypad
I have a ATMEGA 16 uc, avr development board, two vs2 servo motors and a 4×4 kepad.
I want to control the two servo’s using this key pad just a general up, down on one servo and left and right on another. Using this to control a small turret. Can some one help me with the code. I am new at this.
here i am sending you some of the links for servo motor check out
http://www.engineersgarage.com/articles/servo-motor
http://www.engineersgarage.com/embedded/avr-microcontroller-projects/atmega16-servo-motor-circuit
the above project for servo motor is done by using delay its better to do it with using PWM channel of AVR the below links shows how to generate PWM with PWM inbuilt channels in avr…
http://www.engineersgarage.com/embedded/avr-microcontroller-projects/fast-pwm-mode-timer-circuit
Thanx but codes given did not really work. What bout the keypad?
“in the above links given codes don’t work” immpossible… there might be some mistake you have done.. ckt your ckt…
for keypad interfacing check the links…..
http://www.engineersgarage.com/embedded/avr-microcontroller-projects/interfacing-keypad-circuit