??? 08/24/07 06:33 Read: times |
#143572 - explaination Responding to: ???'s previous message |
Let me explain you more specifically.
I have obtained good results using below mentioned approach but at the cost of low speed. Now as the first object passes my trigger point a interrupt is generated and after 160msec(Dist betwn trig & R sensor=67mm) I am reading R sensor. At that time I should not read other sensors(G,B). Now after reading R I read G after 57msec and B after another 57msec. This accounts to total dist between my each object should be close to 120mm. But my objects will come at dist of 4mm betwn them. So now the plan is after trigger I will read R and store the value in an array then read G & B. But here suppose I am reading B ,my objects can below R or G which I can't read. So here simultaneous reading will be useful. Another issue is that I cannot use interuppt approach here as if my controller is servicing one interrupt another interrupt might come as dist betwn 2 objects is 4mm(very less). I hope I am able to expain you my query. D |