Idea
In short
How do you build a thunderstorm light-flash counter?
A fast photodiode spots lightning flashes at night and a microphone times the thunder, so the logger estimates how far away each strike was. You need Arduino Nano, Photodiode BPW34, LM358 Op-Amp, MAX4466 microphone module, Resistor 100 kΩ × 2, Resistor 10 kΩ, MicroSD Card Module and DS3231 RTC module.
- Level
- Intermediate
- Time
- About 180 min
- Parts
- 8
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Time two events with millis(), use the speed of sound for distance and reject false triggers.
Parts list
- Development Boards
- Sensors
- Integrated Circuits
- Sensors
- PassivesResistor 100 kΩ × 2
- Passives
- Interfaces
- Sensors
How to build it
- Build a photodiode amplifier with the LM358 and feed it to an analog pin
- Detect a sudden jump in light against a slowly tracking baseline
- Start a timer at the flash and stop it at the next loud sound on the microphone
- Distance in km = seconds × 0.343
- Log time, delay and distance to the SD card
Common questions
What parts do I need for the thunderstorm light-flash counter?
Arduino Nano, Photodiode BPW34, LM358 Op-Amp, MAX4466 microphone module, Resistor 100 kΩ × 2, Resistor 10 kΩ, MicroSD Card Module and DS3231 RTC module.
How long does the thunderstorm light-flash counter take to build?
About 180 minutes for a intermediate maker.
