the purpose of the program is to get the vlaues
from Sharp **GP2DO2 sensor by using them on
HCS12 Borad( **[MC9S12DP256 ][1]).When the sensor detects
an object at 60 cm it activates a motor(Nakimi Micro Pager Motor) for 4 sec
## Deliverables
objective: to get reading out of sensor by activating its Vin? signal input.
the sharrp GP2d02 is digital and gives 8 bit output. it needs a timer input in [login to view URL] is a 70ms delay followed by an 8 pulses? for 1.6ms or more. this pulses activate the reading? from the sensor output. then there is? a 1.5ms 0r more pulse. check the time chart in the following link to get better idea.
<[login to view URL]>
when ? the reading is taken , if the reading is less than 40cm, this should activate? the motor.( you can use the sensor decimal output without changing it to distance -? as shown in the above link.? the vertical output less than 100 would? activate the? Nakimi Micro Pager Motor.
Attached is a file out of the above website.