Re: brighter light sourse??
kinorig said:
micro switch + LDR combo...?? how's that...? i have no idea... on that type of pre warning... how is the schemetic circuit...
i've tried with bright light (home white tube florecent light and even sun light) but the reaction is never close to what i've hope for...
yes, i'm using a mc in my sumo bot.... 68hc11e1... but i didn't use the a/d... it uses plenty of time to process... and eats up memory of the mc... so i op-amp comparator... the detaction is closer to real time...
I only suggested the micro switch and LDR combo because you wanted to use LDR's.
There is no specific circuit that I had in mind. I was thinking more as a compliment to the LDR..
I was not thinking of detecting the white line with the micro switch. if the sumo is approaching the edge then the micro switch would trigger as a part of the sumo goes off the edge. (just a regular logic change on an input pin)
Have you tried changing the resistor value in your potential divider / LDR
combination to get a a better threshold for your comparator?
Do you have the LDR at the top or bottom of your potential divider is the
output to be a high or a low value when it is over the black?
Would changing it the opposite way around help?
Could it be that it is being reflected when the sumo is on the black or the
white ring and only changing when it goes off the edge? (causing it to always miss the white line)?
One other option would be to slow down your sumo...
I'm out of ideas...