Race Car: Motor to be triggered by light
Hello There
I am new to Micro Controllers and I am currently working on a small race car that needs to be triggered by light. The car will be at the Start Line and once the overhead lamp of a wooden gantry is turned on, the car must take off. Light levels will change after leaving and motor must remain on until another light source is detected 20 feet away. I currently have a kit that contains a Board of Education and a BS2 Stamp. I was planning on using a phototransistor as the sensor that will engage a small dc motor, but i am currently having problems with the code. I do not know where to begin. Any insight will be greatly appreciated. Thanks in advance
I am new to Micro Controllers and I am currently working on a small race car that needs to be triggered by light. The car will be at the Start Line and once the overhead lamp of a wooden gantry is turned on, the car must take off. Light levels will change after leaving and motor must remain on until another light source is detected 20 feet away. I currently have a kit that contains a Board of Education and a BS2 Stamp. I was planning on using a phototransistor as the sensor that will engage a small dc motor, but i am currently having problems with the code. I do not know where to begin. Any insight will be greatly appreciated. Thanks in advance
Comments