2021-09-26
[public] 358K views, 21.8K likes, dislikes audio only
Visit Brilliant.org and get a 20% discount: https://Brilliant.org/GreatScott/
Previous video: /youtube/video/15HmW1K8MZY
Facebook: https://www.facebook.com/greatscottlab
Twitter: https://twitter.com/GreatScottLab
Support me for more videos: https://www.patreon.com/GreatScott?ty=h
Altium Designer: https://altium.com/yt/greatscott!
More project information (schematic, code, pictures,.....) on Instructables & Patreon: https://www.instructables.com/Automatic-Volume-Adjuster-for-LOUD-MOVIE-MUSIC/
https://www.patreon.com/posts/56653728
Parts list (affiliate links):
LiPo Battery: https://s.click.aliexpress.com/e/_ASwccg
Charge/Protect board: https://s.click.aliexpress.com/e/_d7ZzZsT
Switch: https://s.click.aliexpress.com/e/_9AUg2y
3.3V regulator: https://s.click.aliexpress.com/e/_AAYr2o
Capacitors: https://s.click.aliexpress.com/e/_dU4FEsB
Resistors: https://s.click.aliexpress.com/e/_dTPpXjt
Electret Mic: https://s.click.aliexpress.com/e/_AP8fDA
OpAmp: https://s.click.aliexpress.com/e/_dTvJRGw
Potentiometer: https://s.click.aliexpress.com/e/_A7tN0k
Arduino Pro Mini: https://s.click.aliexpress.com/e/_AmcdA0
IR LED: https://s.click.aliexpress.com/e/_AMJj6s
Red LED: https://s.click.aliexpress.com/e/_dV63r7D
In this project I will solve one of the biggest problems I have with modern movies. The problem is that the conversation volume is way too low in comparison to the music volume. That is why I combined an Arduino microcontroller with a microphone and an IR LED in order to create an automatic volume adjuster. It basically detects when loud movie music starts playing, lowers the volume and then brings the volume back up when the music is over. Let's get started!
Websites which were shown in the video:
https://ww1.microchip.com/downloads/en/DeviceDoc/MCP1700-Low-Quiescent-Current-LDO-20001826E.pdf
http://www.advanced-monolithic.com/pdf/ds1117.pdf
Thanks to Brilliant.org for sponsoring this video.
Music:
2011 Lookalike by Bartlebeats
0:00 The problem with movie music
1:20 Intro
2:17 Volume control + sound measurement
3:06 Hardware design around uC
5:26 IR codes for volume
5:39 ADC settings for audio sampling
6:23 Algorithm for detecting loud movie music
8:21 Arduino code
9:10 Final test & verdict