koffijunior
New Member
i need to build a kind of LED tree to work as shown in the picture attached. to make it more interesting, i want to add an IR detector at the beginning and the end of the race. the one at the beginning will prevent a car to cheat, if a car starts before the green light, the red light at his side goes on. the one at the end will show which car cross the line first, then a servo motor will turn a flag to his side. all is controlled with an educational microcontroller board with a program in pbasic. am stuck with the circuit and the program of the ir detector for now. thanks