cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt for sensor

zea
Associate
Posted on April 25, 2012 at 11:13

hi all..

i'm developing my project about the [electronic chip vending machine]

and now i'm in the part of sensor

i use infrared sensor to count the numbers of object (that pass the sensor)

first, the driver part is working to send the objects out

when the objects come out(pass the sensor) in number as i set(at the beginning)

then the sensor will send response as input to report that it's complete (sensor as rechecker)

*object means electronic chip

so please suggest me that what register that i must to use?

i just fininsh in driver part (pwm part)

thank you!

edit

ps. i heard from my friend that i must to use interrupt but.. in datasheet i found that TIMER has a part of interrupt and ADC too

;'O i'm so dizzy what should i choose to do?

do anyone has an example like this?

give me please~~~

Nantanat
0 REPLIES 0