Our project utilizes the TI F28379D Launchpad as well as a Raspberry Pi to control a robot car using sound and color recognition. The Raspberry Pi connects to a ReSpeaker microphone array and a stereo camera by USB. The information captured by these devices are read by the Raspberry Pi and then sent to the F28479D through UART.
A microphone on the circuit board the F28379D is connected to listens for sound and uses an fft to find the frequency of the sound. Using the frequency of the sound, different cases are accessed in the code. These cases utilize the information sent from the Raspberry Pi to determine the behavior of the car. Cases include follow sound, go away from sound, spin in place right, spin in place left, detect green, detect, orange, and detect red.
The cases for color detection will also send a float over UART back to the Raspberry Pi to change the values the camera detects.
Comments
Please log in or sign up to comment.