Site icon Circuit Ideas for You

Arduino Flash Trigger Circuit with Sound Sensor

Nowadays, electronics projects are becoming very popular, especially Arduino based projects are easy to build, because of this the beginners also feel confident.

In this project, an Arduino monitors the sound sensor and triggers the camera flash when it detects a sound.

So Arduino Flash Trigger Circuit with Sound Sensor is very useful for high speed photography for example, balloon burst photography or glass breaking shots.

Therefore, this project is simple and powerful for Camera automation projects and sound based triggering systems.

Arduino Code:

int soundPin = A0;
int flashPin = 7;
int ledPin = 6;
int threshold = 300;

void setup()
{
pinMode(flashPin, OUTPUT);
pinMode(ledPin, OUTPUT);
digitalWrite(flashPin, LOW);
}

void loop()
{
int soundValue = analogRead(soundPin);

if(soundValue > threshold)
{
digitalWrite(ledPin, HIGH);
digitalWrite(flashPin, HIGH);
delay(50);
digitalWrite(flashPin, LOW);
digitalWrite(ledPin, LOW);
delay(200);
}
}

Code Explanation:

Circuit Working:

Arduino Flash Trigger Circuit Diagram with Sound Sensor

Parts List:

ComponentsValuesQuantity
Resistor330Ω 1/4 watt1
Arduino UNOArduino UNO board1
Sound Sensor ModuleMicrophone based sound detection module1
Reed Switch ICMEDER DIP05-1A57-BV3501
Camera Flash UnitExternal camera flash trigger1
LEDRed LED1

First, sound occurs near the sensor and then sound sensor converts sound into voltage.

After that, the Arduino reads the sensor voltage and if the voltage exceeds the preset threshold, the Arduino immediately activates the reed relay, which triggers the camera flash.

At the same time the LED lights up and so the user can see the flash event and then the resistor R1 ensures proper working of the LED and thus the system works very fast.

Formula with Calculation:

Formula for LED Resistor Calculation:

R = (Vsource − Vled) / Iled

where,

Vsource is 5V

Vled is 2V

Iled is 10 mA = 0.01 A

R = (5 − 2) / 0.01

= 3 / 0.01

R = 300 ohm

So a 330 ohm resistor used for safety in our circuit.

How to Build:

To build a Arduino Flash Trigger Circuit with Sound Sensor follow the below connection steps:

Conclusion:

Finally, this Arduino Flash Trigger Circuit with Sound Sensor offers a low cost, easy to build project; it also helps beginners understand the basics of sound-triggered flash photography.

The simple wiring makes this circuit easy for beginners to build and it also supports creative photography, and we can improve its performance with a few modifications.

So, this project is a good starting point for happy building and experimenting.

Exit mobile version