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