PICMAN
- 7th February 2005, 17:46
alright, for turn signals on rc car, using pic 16f84a
ive begun fiuring out how to read the servo motion, and since servos are run off pulsing a high signal, im guessing the best easiest way to read this signal, is the same comand i used on tha bs2,, pulseout, , only in this case pulse in, any one have some good reading material or input , describing this comand
i planed to getit to work by figuring out which pulse is slightly futher movement then triming nobs can procure, then use = or > than logic to achieve internal switching of the lights on or off, for instance to simplify
lets say trim nobs can prouduce movement to 3 milimeters off center, i figure out that pulse by manually makeing a servo move that much off the bs2,, now i have x and z pulses, where x is max trim to one extreme, and z is the other, giviing me a black out area to call zero, then i use logic to say if the pulse sent by the reciever is within certian levels its considerd a turn, if its between x and z pulses , then its considerd zero , and all lights are off,
does it sound like im going down the right path, and will pulseout / in comands transfer from bs2 coding to pic basic,
ive begun fiuring out how to read the servo motion, and since servos are run off pulsing a high signal, im guessing the best easiest way to read this signal, is the same comand i used on tha bs2,, pulseout, , only in this case pulse in, any one have some good reading material or input , describing this comand
i planed to getit to work by figuring out which pulse is slightly futher movement then triming nobs can procure, then use = or > than logic to achieve internal switching of the lights on or off, for instance to simplify
lets say trim nobs can prouduce movement to 3 milimeters off center, i figure out that pulse by manually makeing a servo move that much off the bs2,, now i have x and z pulses, where x is max trim to one extreme, and z is the other, giviing me a black out area to call zero, then i use logic to say if the pulse sent by the reciever is within certian levels its considerd a turn, if its between x and z pulses , then its considerd zero , and all lights are off,
does it sound like im going down the right path, and will pulseout / in comands transfer from bs2 coding to pic basic,