thanks a lot DWV! I thought a 2N2222 would work but wasnt sure. I tried and now and it works! Also, I was concerned that the detector, when it sees the IR would stay low only momentarily and go back high but its not the case. It stays low as long as it sees the 38KHz IR!!!
Now i'm trying to add more than one IR to the same circuit. I think at the output of the timer, if i use two 2N2222 with two IR on each it should work according to the schematic i posted above. The other thing is dunt know if the 555 timer on the schematic above is regular or CMOS. So far i only tried the CMOS 7555 with one 2N222 and one IR.
I'm still contemplating if i should use "for loop" or "interrupts" to make the robot go to a turn or pause subroutine as soon as the detecto goes low etc.
I think two ppl have posted to use IF loops. Anymore suggestions/experience?
Thanks so much everyone,
Samuel
Bookmarks