Lego Mindstorms NXT and EV3 projects
car_car.nxc contains code for a Mindstorms NXT car that can drive forwards, backwards and make turns. It also beeps when driving backwards. car_remote contains code to remote control this car. This requires a second NXT brick.
simple_car.nxc contains code to operate two motors, the sound module and three sensors, namely sound, colour and Ultrasonic for distance measuring. The car starts when it hears a sound, it avoids obstacles with random turns and stops when it sees red (or a hand) in the colour sensor. A video is available here : https://youtu.be/_u21B5JuOyo
tankrups contains code for a vehicle consisting of two NXT bricks with five motors and eight sensors. It can easily be expanded to more sensors. A video is available here https://youtu.be/bs-xb1P-MNY