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.

pls help! servomotor control using pic16f877

Status
Not open for further replies.

macky_n2001

New Member
hey guys, can you pls help me with our design..controlling a servomotor using pic16f877..all we need to control is 1 servomotor...we don't have ideas about its circuit and the programs to deal with....such helping hands are much appreciated!!!!thanks...
 

macky_n2001

New Member
hey collin55, i had big headaches of the program, sorry i was not able to tell you the last time that i am a newbie in terms of programming...
Our project by the way is all about the automation of the bicycle derailleur system..

this is our block diagram

https://www.facebook.com/photo.php?fbid=1473666684882&set=a.1257464839971.2034961.1330127008


The block diagram shows the closed loop parameters of the proposed design. The sensor on the proposed block diagram is a speed sensor that senses the speed of the bicycle when traveling. At a certain speed limit, in which, the sensor perceives the speed and acting as a transducer, fed the proportional parameters to the microcontroller. The microcontroller then reads the this parameter as an input signal and with embedded programming changes the gear of the bicycle; applying the servo motor an output signal to drive the servo motor and controlling the derailleur gear by shifting up or down depending on the perceived speed. Then the gear transmission of the bicycle lead to another speed output of the bicycle as a whole and then perceived again by the sensor. The process goes over and over again and will depend on the speed of the bicycle when riding.

the speedometer of the block diagram is a speedometer that we bought then we will tap it to the microcontroller for the input signal


the microcontroller of the block diagram is a system that accepts input from the speedometer and controls the servomotor
the servomotor control is dependent on the speed range of the speedometer to control the gear driving system

the gear driving system will control the derailleur switching with the mother control from the pic,


say at 5mph , derailleur = gear 1
at 9mph , derailleur = gear 2
at 13mph , derailleur = gear 3
at 17mph , derailleur = gear 4
at 23mph , derailleur = gear 5
at 27mph , derailleur = gear 6
at 30mph , derailleur = gear 7
at 35mph , derailleur = gear 8

* this is just an assumption

we are in need of the concept program of the whole system that why im am posting here..im in need of your help collin55, we you help us...thank you so much for the help and were looking forward for your assistance..keep in touch always..thanks...godbless
 
Last edited:

arhi

Member

macky_n2001

New Member
**broken link removed**

<a href="http://s101.photobucket.com/albums/m73/xerxes_05/?action=view&amp;current=block.jpg" target="_blank"><img src="http://static.electro-tech-online.com/imgcache/10609-block.jpg" border="0" alt="Photobucket"></a>

**broken link removed**

**broken link removed**
 

macky_n2001

New Member
we have done the speedometer portion, we will be using logic levels as pulses to the input of the microcontroller...we will consider series of pulses maybe per minute or per second and well be using it to drive the output angle displacement of the servomotor..

assuming

5 pulses per minute = certain angle displacement servomotor
10 pulses per minute = certain angle displacement servomotor
15 pulses per minute = certain angle displacement servomotor
20 pulses per minute = certain angle displacement servomotor
25 pulses per minute = certain angle displacement servomotor
30 pulses per minute = certain angle displacement servomotor
35 pulses per minute = certain angle displacement servomotor

pls help us....can we chat or something, at least we could interact personally...yahoo messenger or skype...
my ym is "macky_n2001@yahoo.com"
pls help us colin55...thank you so much....
5 pulses per minute = certain angle displacement servomotor
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Top