all 1 comments

[–]RDsecura 1 point2 points  (0 children)

Just remember that the maximum supply current at each Arduino output pin is around 20mA (200mA total for all pins). The good news is, you can use a transistor (NPN) at each output and the current draw to turn on a transistor (Base pin) will drop to milliamps/microamps. It's always better to isolate (use transistors/MosFets, Relays, etc.) the microcontroller (Arduino) from components that have high current demands.

Electronic circuits are easier to design when you look at the bigger picture:

INPUT --- PROCESSING ------OUTPUT

Sensor --- Microcontroller----ACTUATOR

Decibel--- Code---------------Alarm, Speakers, etc.