ARDUINO CAR & TRAFFIC INTERSECTION
Figure 1. Photo of the two main sensors used to have the car interact with a "traffic light".
Figure 2. Photo of the Arduino car and the 4 RGB LEDs used to simulate a red and green traffic light
RESPONSE OF THE RGB SENSOR
Figure 3. Response of the RGB sensor as a function of distance from a green "traffic light". Each R,G,B signal is output in number of bits from 0 to 65536.
Figure 4. Response of the RGB sensor as a function of distance from a red "traffic light". Each R,G,B signal is output in number of bits from 0 to 65536.
Figure 5. Comparison of the red and green color percent during a red or green light, with and without accounting for the ambient light background.
ARDUINO CAR AT TRAFFIC INTERSECTION
Figure 6. The car is told to turn left at the next "traffic intersection". In this video, the car sees a red light when it reaches the intersection and waits until the light turns green before turning left.
Figure 7. The car is told to turn left at the next "traffic intersection". In this video, the car sees a green light when it reaches the intersection and continues driving while turning left.
Figure 8. The car is told to turn right at the next "traffic intersection". In this video, the car sees a red light when it reaches the intersection and waits until the light turns green before turning right.
Figure 9. The car is told to turn right at the next "traffic intersection". In this video, the car sees a green light when it reaches the intersection and continues driving while turning right.
Figure 10. The car is told to stay straight at the next "traffic intersection". In this video, the car sees a red light when it reaches the intersection and waits until the light turns green before moving forward.
Figure 11. The car is told to stay straight at the next "traffic intersection". In this video, the car sees a green light when it reaches the intersection and continues driving forward.