Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

hi avr+servo motor help

Status
Not open for further replies.

electronicss

New Member
hi all,
actually what i need is that i want to control 2 servo motor(dc motor) using avr.
but the problem fro me is that i want to control the speed of these motors.i want to know how do i accomplish that.
pls help me...
 
servo is working if any signal :
1ms on - 19ms off --> on position 0 degree
1,5ms on - 18,5ms off --> on position 90 degree
2ms on - 18ms off --> on position 180 degree

servo has 3 pin, it's vcc, ground, and sig...
vcc connected to 6volt (read the datasheet)
ground connected to gnd
sig is connected pin atmega32 (or other)

you can use timer to build that signal^^

sorry if my english is too bad :eek:
 
The motor normally moves as fast as it can to the setting specified by the input signal. If you want to control the speed you need to move it to intermediate points, changing these points over time so the motor follows. You can get any speed from near 0 up to the max. of the motor. Your program will be more complicated.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top