Tollbooth/car teens made using PicoCricket and Lego NXT kits. When the car drives over the light sensor the gate comes down and the light turns red. The NXT ultrasonic sensor sees the gate, stops the car, and prompts the car to pay the toll (quarter). A sound sensor inside the box for the coin tells the gate to lift and the light turns green. Once the ultrasonic sensor is no longer obstructed by the gate, the car proceeds.
Post how to program the picocricket and I'll subscribe
awesomedude2272 1 year ago