![Page 1: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/1.jpg)
Monitoring Volume Level Application
- End of Project Presentation
Made by:Roi Abecasis
Maxim Meltsin
Supervisor:Boaz Mizrahi
![Page 2: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/2.jpg)
Contents Table
• Previous Project• Project goals• Project milestones• System demonstration
![Page 3: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/3.jpg)
The Previous ProjectMulti-Sensors Personal Digital Assistant (PDA)
By: Aviv Rosenberg & Ben-Ami Zilber
![Page 4: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/4.jpg)
The Previous Project
INPUTS:
OUTPUTS:
TOP LEVEL
![Page 5: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/5.jpg)
Project Goals
• Automatic TV volume control• Keeping TV volume on given level• Detecting significant volume changes and acting accordingly
• Implementation of Universal TV Remote Controller (optional)
![Page 6: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/6.jpg)
Project Milestones
Part A: Microphone
• debugging microphone circuit • Processing microphone samples• Implementing an algorithm for AGC
![Page 7: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/7.jpg)
Project Milestones
Part B: Infra Red
• Learning existing IR Protocols (RC5, NEC,..) • Detecting IR protocols frequencies• Implementing functions for decoding IR
messages • Implementing functions for transmission
![Page 8: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/8.jpg)
The algorithmGoal:- Finding reliable and stable method to measure
volume level changes
Problems:- Overcoming sensitivity for short but intense
sounds- Avoiding ‘quiet’ samples- Typical TV Broadcasting volume is very inhomogeneous
![Page 9: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/9.jpg)
The algorithm
Solutions:1. Measuring maximal value in time segment: new sample = max{sample(i)} , i=1,…,202. Averaging samples as follows:
new avg = new sample + old avg3. Throwing samples which are below certain value
(1 )
![Page 10: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/10.jpg)
The algorithm
Implementation:1. calculating stable value by sampling and
averaging 2. Setting higher and lower thresholds values as
app. 2% higher and lower then stable average value
3. An act is taken whenever a deviation from threshold values is detected
![Page 11: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/11.jpg)
The algorithm
Finding stable value
Sample
Start:Setting higher
and lower thresholds
New value < min >=increasing volume
New value > max >=decreasing volume
Otherwise do nothing
![Page 12: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/12.jpg)
Two Main Infra Red ProtocolsNEC:
RC5:
f=38 kHz
f=36 kHz
![Page 13: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/13.jpg)
Implementation of different IR protocols issues
• Different Carry Frequencies• Different ‘0’ and ‘1’ bit representation• Different Start Sequence• Toggle bit and repeat pulse• Different bits number
![Page 14: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/14.jpg)
System demonstration
Universal Learning IR Remote Control
Automatic Control of TV volume
![Page 15: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/15.jpg)
Throughout work
Presenting signal on screend
decoding:
![Page 16: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/16.jpg)
PDA Respond for 1KHz sinus wave
![Page 17: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/17.jpg)
System demonstrationNational geographic channel:
Channel 2:
Channel 10:
![Page 18: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/18.jpg)
System demonstrationUniversal Learning IR Remote Control
Automatic Control of TV volume
![Page 19: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/19.jpg)
Resource Usage
CPU Usage:• About 0.3% for average volume detecting• About 1.1% in transmitting mode• Typical total average usage = 0.3%
Memory Usage: Less than 1Kbytes
![Page 20: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/20.jpg)
Special Thanks to:
• Boaz Mizrahi – Supervisor• Bruria Zohar – Lab technician
![Page 21: Monitoring Volume Level Application - End of Project Presentation](https://reader036.vdocument.in/reader036/viewer/2022062812/56816330550346895dd3b02e/html5/thumbnails/21.jpg)
THE END