Thunder Storm Graph
This graph shows the lighting and the thunder. The first one shows when the lightning strikes at about 1 second then is shows how the thunder strikes at about 4 to 4.5 seconds.
Distance away
This is the distance of the thunder storm. It is about 0.68 miles away. The way this was found was by finding the time from flash to thunder then multiplying it by 1,200 then dividing it by 5,280.
Program
This is the program for the bot. The red one is to detect the light when its turned on and off and the blue one is to detect differences in sound.