SlideShare a Scribd company logo
1 of 30
Digital Recorder
Meshal Alawwad 104343874
Saoud Alshafi 106053036
Mustapha Baffa 105221049
Ben Companeitz 105236324
Thanaporn Premchaona 105010527
Group Senior Design Project
ECE493
Spring 2015
Digital Recorder Specifications
Overview
● Input Audio Processing
● Processor Operation
● Storage
● Output Audio Processing
● Overall System
● Financing
● References
Input: Amplification & Filter
● In order to perform digital operations an analog signal must be converted into corresponding
digital output using Analog to Digital Converter (ADC).
● However, the noise outside of the band of interest makes the digital conversion a problem
due to unwanted added component
● Moreover, the low input signal (voice) must be amplified
● Design: An input amplifier with Filter topology is used to clean up incoming voice signal and
prepare it for processing.
Input System Design:
● In this project, the audio signal recorded by microphone is used for
amplification and filtering.
● Sound signal is within 0-20 kHz. A filter of 20kHz cutoff frequency is designed.
Input Circuit:
● System must perform two functions:
○ DC Shift of 2.5V: A non-inverting amplification
○ 40dB amplification with 20kHz cut-off frequency: A inverting amplification with RC
based filter at feedback of the amplifier.
Cutoff Frequency:
● AC Response to show 40dB gain and 20kHz cut-off frequency.
Processor Operation
Processor: Arduino Uno
● Microcontroller Development Board
● C++ compiled for ATmega328
● Built-in 8-bit ADC
● Match Timer for Interrupts
Processor: Simple Operation
● 3 Buttons, 2 LEDs
● Main loop with logic
● External interrupt
Arduino Operation Flow-Chart
Processor: Audio Buffering
● Cyclical Buffer Design
● Sampling limits ISR
● Flat design; avoid blocking
● WAV file format
● Resizing WAV samples
Storage and DAC-PWM
SD Library
●SD library reads the data from the SD card, and write
to the SD card.
●SPI library is needed to communicate the arduino with
the shield.
●The data is written as a wav file where every block
contains some number of bits.
SD Library
DAC
●Digital signals coming from arduino will be converted
into analog signal.
●A Buffer amplifier to protect the signal.
●Low pass filter to reduce the noise.
●Huge capacitor for better quality sound.
DAC vs PWM
●DAC will not give space to obtain the data from the SD
card.
●PWM is the solution to get enough space for the SD
card to do its functionality.
Output Audio Processing
Audio Output Handling
Stage 1: Pre-Amp
● Sallen Key vs RC LPFs
Output Stage: LM386 Circuit
WHY LM386 ?
1) Quiescent power architecture which allows the unit to consume very little power (about 24mW)
when the device speaker is not in use
2) Easy gain control through the change of a single external capacitor
3) Cheaper, smaller and more effective option compared discreetly driven transistor based circuits
that require more components
4) Built-in large input resistance to prevent over current flow
Financing
•Cost: $24.51。
•Clock speed: 16 MHz
•Memory size: 2 KB
•Input voltage: 7-12 VRaspberry Pi
Arduino Uno
•Cost: $27.60。
•Clock speed: 700 MHz
•Memory size: 512 MB
•Input voltage: 5 V
● Configuration of pins
● Fitment
● Appearance
V
S
Regular Prototype
Board
Arduino Proto Shield
● Lower cost per unit
● Wide range of values
● Spare parts
V
S
Single Resistor/Capacitor Assortment Kits
Overall Design
Testing Plan
1
2
3
4
Input Filter
(Microphone)
Output Amplifier
(Audio)
Arduino
Programming
Voice Recorder
References
● Darren Yates. "Arduino Projects: Digital Audio Recorder - APC." APC Arduino Projects Digital Audio Recorder
Comments. N.p., 02 July 2014. Web. 03 Jan. 2015. <http://apcmag.com/arduino-projects-digital-audio-recorder.htm/>.
● Texas Instruments Incorporated. "LM386 Low Voltage Audio Power Amplifier (Rev. A)." (2011): n. pag. Texas Instruments
Incorporated. Aug. 2000. Web. 25 Jan. 2015. <http://www.ti.com/lit/ds/symlink/lm386.pdf>.
● Adel S. Sedra, Kenneth C. Smith. Microelectronic Circuits: Adel S. Sedra, Kenneth C. Smith. Edition ed. Vol. 6th. London:
Oxford UP, 2009. Print.
● Timothy Hirzel. "Arduino - PWM." Arduino. N.p., n.d. Web. 02 Feb. 2015. <http://arduino.cc/en/Tutorial/PWM>
● Labs, Silicon. "AN278: Voice Recorder Reference Design." (n.d.): n. pag. Web. 2 Dec. 2014.
<https://www.silabs.com/Support%20Documents/TechnicalDocs/AN278.pdf>
● [Snosc25C, Texas Instruments Incorporated. "LM741 Operational Amplifier (Rev. C)." LM741 Operational Amplifier (Rev.
C) (n.d.): n. pag. LM741 Operational Amplifier. Web. 9 Feb. 2015.<http://www.ti.com/lit/ds/symlink/lm741.pdf>
● "Mouser Electronics - Electronic Components Distributor." Mouser Electronics - Electronic Components
Distributor. N.p., n.d. Web. 1 Apr. 2015. <http://www.mouser.com/>.
● RobotFreak. "Arduino 101: Timers and Interrupts." Arduino 101: Timers and Interrupts. N.p., n.d. Web. 15 Jan. 2015.
<http://letsmakerobots.com/content/arduino-101-timers-and-interrupts>.
● Ghassaei, Amanda. Arduino Audio Output. Tech. Instructables, Sept.-Oct. 2012. Web. 15th Feb. 2015.
l

More Related Content

What's hot

Polycom sound station ip3000 data sheet
Polycom sound station ip3000 data sheetPolycom sound station ip3000 data sheet
Polycom sound station ip3000 data sheetbest4systems
 
Digital audio recording
Digital audio recording Digital audio recording
Digital audio recording music_hayes
 
Qu 16デジタルミキサー
Qu 16デジタルミキサーQu 16デジタルミキサー
Qu 16デジタルミキサーYosuke Asahina
 
Chapter 7 Sound
Chapter 7 SoundChapter 7 Sound
Chapter 7 Soundshelly3160
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audioMr SMAK
 
Pioneer AV Receivers 2014 - features explained (Vietnam, Philippines, Hong Ko...
Pioneer AV Receivers 2014 - features explained (Vietnam, Philippines, Hong Ko...Pioneer AV Receivers 2014 - features explained (Vietnam, Philippines, Hong Ko...
Pioneer AV Receivers 2014 - features explained (Vietnam, Philippines, Hong Ko...Pioneer Europe
 
Onset HOBO Datenlogger Produktkatalog 2019
Onset HOBO Datenlogger Produktkatalog 2019Onset HOBO Datenlogger Produktkatalog 2019
Onset HOBO Datenlogger Produktkatalog 2019Metrics GmbH
 
Pioneer AV Receivers 2014 - features explained (Thailand)
Pioneer AV Receivers 2014 - features explained (Thailand)Pioneer AV Receivers 2014 - features explained (Thailand)
Pioneer AV Receivers 2014 - features explained (Thailand)Pioneer Europe
 
Ecu 4 pedestrian_acoustic_signals
Ecu 4 pedestrian_acoustic_signalsEcu 4 pedestrian_acoustic_signals
Ecu 4 pedestrian_acoustic_signalsAchilles Carababas
 
Multimedia tools (sound)
Multimedia tools (sound)Multimedia tools (sound)
Multimedia tools (sound)dhruv patel
 
Mini rae 3000
Mini rae 3000Mini rae 3000
Mini rae 3000a1-cbiss
 
T 7700 series electronic wall mount active ip speaker t-7707
T 7700 series electronic wall mount active ip speaker t-7707T 7700 series electronic wall mount active ip speaker t-7707
T 7700 series electronic wall mount active ip speaker t-7707Trimatrik Multimedia
 
ENVIROMUX_GMV_PresentationV8_NL
ENVIROMUX_GMV_PresentationV8_NLENVIROMUX_GMV_PresentationV8_NL
ENVIROMUX_GMV_PresentationV8_NLAryo Swastiko
 
Pioneer AV Receivers 2014 - features explained (Australia)
Pioneer AV Receivers 2014 - features explained (Australia)Pioneer AV Receivers 2014 - features explained (Australia)
Pioneer AV Receivers 2014 - features explained (Australia)Pioneer Europe
 

What's hot (20)

ATK Voice Recording Module
ATK Voice Recording ModuleATK Voice Recording Module
ATK Voice Recording Module
 
Audio recordings
Audio recordingsAudio recordings
Audio recordings
 
SMART WIRELESS TEMPERATURE SENSOR
SMART WIRELESS TEMPERATURE SENSORSMART WIRELESS TEMPERATURE SENSOR
SMART WIRELESS TEMPERATURE SENSOR
 
Polycom sound station ip3000 data sheet
Polycom sound station ip3000 data sheetPolycom sound station ip3000 data sheet
Polycom sound station ip3000 data sheet
 
Digital audio recording
Digital audio recording Digital audio recording
Digital audio recording
 
Qu 16デジタルミキサー
Qu 16デジタルミキサーQu 16デジタルミキサー
Qu 16デジタルミキサー
 
Tascam DR 100mk2
Tascam DR 100mk2Tascam DR 100mk2
Tascam DR 100mk2
 
Healthbox2 eng 0312_lr
Healthbox2 eng 0312_lrHealthbox2 eng 0312_lr
Healthbox2 eng 0312_lr
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
Chapter 7 Sound
Chapter 7 SoundChapter 7 Sound
Chapter 7 Sound
 
Lecture6 audio
Lecture6   audioLecture6   audio
Lecture6 audio
 
Pioneer AV Receivers 2014 - features explained (Vietnam, Philippines, Hong Ko...
Pioneer AV Receivers 2014 - features explained (Vietnam, Philippines, Hong Ko...Pioneer AV Receivers 2014 - features explained (Vietnam, Philippines, Hong Ko...
Pioneer AV Receivers 2014 - features explained (Vietnam, Philippines, Hong Ko...
 
Onset HOBO Datenlogger Produktkatalog 2019
Onset HOBO Datenlogger Produktkatalog 2019Onset HOBO Datenlogger Produktkatalog 2019
Onset HOBO Datenlogger Produktkatalog 2019
 
Pioneer AV Receivers 2014 - features explained (Thailand)
Pioneer AV Receivers 2014 - features explained (Thailand)Pioneer AV Receivers 2014 - features explained (Thailand)
Pioneer AV Receivers 2014 - features explained (Thailand)
 
Ecu 4 pedestrian_acoustic_signals
Ecu 4 pedestrian_acoustic_signalsEcu 4 pedestrian_acoustic_signals
Ecu 4 pedestrian_acoustic_signals
 
Multimedia tools (sound)
Multimedia tools (sound)Multimedia tools (sound)
Multimedia tools (sound)
 
Mini rae 3000
Mini rae 3000Mini rae 3000
Mini rae 3000
 
T 7700 series electronic wall mount active ip speaker t-7707
T 7700 series electronic wall mount active ip speaker t-7707T 7700 series electronic wall mount active ip speaker t-7707
T 7700 series electronic wall mount active ip speaker t-7707
 
ENVIROMUX_GMV_PresentationV8_NL
ENVIROMUX_GMV_PresentationV8_NLENVIROMUX_GMV_PresentationV8_NL
ENVIROMUX_GMV_PresentationV8_NL
 
Pioneer AV Receivers 2014 - features explained (Australia)
Pioneer AV Receivers 2014 - features explained (Australia)Pioneer AV Receivers 2014 - features explained (Australia)
Pioneer AV Receivers 2014 - features explained (Australia)
 

Similar to Digital Recorder Presentation- Draft 1

Audio Acquisition, Storage and Playback
Audio Acquisition, Storage and PlaybackAudio Acquisition, Storage and Playback
Audio Acquisition, Storage and PlaybackJerome Stanislaus
 
miniDSP Product brief - DDRC22D Dirac Series
miniDSP Product brief - DDRC22D Dirac SeriesminiDSP Product brief - DDRC22D Dirac Series
miniDSP Product brief - DDRC22D Dirac SeriesAntoine Rouget
 
Galil cds3310 catalog
Galil cds3310 catalogGalil cds3310 catalog
Galil cds3310 catalogElectromate
 
Heart rate monitor system
Heart rate monitor systemHeart rate monitor system
Heart rate monitor systemSkyinthe Raw
 
PCM3168A/PCM3168A-Q1 Audio Codec
PCM3168A/PCM3168A-Q1 Audio CodecPCM3168A/PCM3168A-Q1 Audio Codec
PCM3168A/PCM3168A-Q1 Audio CodecPremier Farnell
 
Analog to digital converter (ACD)
Analog to digital converter (ACD)Analog to digital converter (ACD)
Analog to digital converter (ACD)Luckysaw
 
Solution on Handheld Signal Generator
Solution on Handheld Signal Generator Solution on Handheld Signal Generator
Solution on Handheld Signal Generator Premier Farnell
 
uRock @ Jserv Course Final
uRock @ Jserv Course Final uRock @ Jserv Course Final
uRock @ Jserv Course Final 宗凡 楊
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
N5AC 2014-10-11 Pacificon SDR Advances
N5AC 2014-10-11 Pacificon SDR AdvancesN5AC 2014-10-11 Pacificon SDR Advances
N5AC 2014-10-11 Pacificon SDR AdvancesN5AC
 
Software Defined Radio (SDR)
Software Defined Radio (SDR)Software Defined Radio (SDR)
Software Defined Radio (SDR)Drew Fustini
 

Similar to Digital Recorder Presentation- Draft 1 (20)

Audio Acquisition, Storage and Playback
Audio Acquisition, Storage and PlaybackAudio Acquisition, Storage and Playback
Audio Acquisition, Storage and Playback
 
Rh
RhRh
Rh
 
Ip so c-30sept2010
Ip so c-30sept2010Ip so c-30sept2010
Ip so c-30sept2010
 
miniDSP Product brief - DDRC22D Dirac Series
miniDSP Product brief - DDRC22D Dirac SeriesminiDSP Product brief - DDRC22D Dirac Series
miniDSP Product brief - DDRC22D Dirac Series
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
Galil cds3310 catalog
Galil cds3310 catalogGalil cds3310 catalog
Galil cds3310 catalog
 
Heart rate monitor system
Heart rate monitor systemHeart rate monitor system
Heart rate monitor system
 
digital clock atmega16
digital clock atmega16digital clock atmega16
digital clock atmega16
 
PCM3168A/PCM3168A-Q1 Audio Codec
PCM3168A/PCM3168A-Q1 Audio CodecPCM3168A/PCM3168A-Q1 Audio Codec
PCM3168A/PCM3168A-Q1 Audio Codec
 
Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)Rig nitc [autosaved] (copy)
Rig nitc [autosaved] (copy)
 
Resume201411
Resume201411Resume201411
Resume201411
 
Lec08
Lec08Lec08
Lec08
 
Analog to digital converter (ACD)
Analog to digital converter (ACD)Analog to digital converter (ACD)
Analog to digital converter (ACD)
 
Solution on Handheld Signal Generator
Solution on Handheld Signal Generator Solution on Handheld Signal Generator
Solution on Handheld Signal Generator
 
uRock @ Jserv Course Final
uRock @ Jserv Course Final uRock @ Jserv Course Final
uRock @ Jserv Course Final
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Ad620
Ad620Ad620
Ad620
 
Parth xyz
Parth xyzParth xyz
Parth xyz
 
N5AC 2014-10-11 Pacificon SDR Advances
N5AC 2014-10-11 Pacificon SDR AdvancesN5AC 2014-10-11 Pacificon SDR Advances
N5AC 2014-10-11 Pacificon SDR Advances
 
Software Defined Radio (SDR)
Software Defined Radio (SDR)Software Defined Radio (SDR)
Software Defined Radio (SDR)
 

Digital Recorder Presentation- Draft 1

  • 1. Digital Recorder Meshal Alawwad 104343874 Saoud Alshafi 106053036 Mustapha Baffa 105221049 Ben Companeitz 105236324 Thanaporn Premchaona 105010527 Group Senior Design Project ECE493 Spring 2015
  • 3. Overview ● Input Audio Processing ● Processor Operation ● Storage ● Output Audio Processing ● Overall System ● Financing ● References
  • 4. Input: Amplification & Filter ● In order to perform digital operations an analog signal must be converted into corresponding digital output using Analog to Digital Converter (ADC). ● However, the noise outside of the band of interest makes the digital conversion a problem due to unwanted added component ● Moreover, the low input signal (voice) must be amplified ● Design: An input amplifier with Filter topology is used to clean up incoming voice signal and prepare it for processing.
  • 5. Input System Design: ● In this project, the audio signal recorded by microphone is used for amplification and filtering. ● Sound signal is within 0-20 kHz. A filter of 20kHz cutoff frequency is designed.
  • 6. Input Circuit: ● System must perform two functions: ○ DC Shift of 2.5V: A non-inverting amplification ○ 40dB amplification with 20kHz cut-off frequency: A inverting amplification with RC based filter at feedback of the amplifier.
  • 7. Cutoff Frequency: ● AC Response to show 40dB gain and 20kHz cut-off frequency.
  • 9. Processor: Arduino Uno ● Microcontroller Development Board ● C++ compiled for ATmega328 ● Built-in 8-bit ADC ● Match Timer for Interrupts
  • 10. Processor: Simple Operation ● 3 Buttons, 2 LEDs ● Main loop with logic ● External interrupt
  • 12. Processor: Audio Buffering ● Cyclical Buffer Design ● Sampling limits ISR ● Flat design; avoid blocking ● WAV file format ● Resizing WAV samples
  • 14. SD Library ●SD library reads the data from the SD card, and write to the SD card. ●SPI library is needed to communicate the arduino with the shield. ●The data is written as a wav file where every block contains some number of bits.
  • 16. DAC ●Digital signals coming from arduino will be converted into analog signal. ●A Buffer amplifier to protect the signal. ●Low pass filter to reduce the noise. ●Huge capacitor for better quality sound.
  • 17. DAC vs PWM ●DAC will not give space to obtain the data from the SD card. ●PWM is the solution to get enough space for the SD card to do its functionality.
  • 20. Stage 1: Pre-Amp ● Sallen Key vs RC LPFs
  • 22. WHY LM386 ? 1) Quiescent power architecture which allows the unit to consume very little power (about 24mW) when the device speaker is not in use 2) Easy gain control through the change of a single external capacitor 3) Cheaper, smaller and more effective option compared discreetly driven transistor based circuits that require more components 4) Built-in large input resistance to prevent over current flow
  • 24. •Cost: $24.51。 •Clock speed: 16 MHz •Memory size: 2 KB •Input voltage: 7-12 VRaspberry Pi Arduino Uno •Cost: $27.60。 •Clock speed: 700 MHz •Memory size: 512 MB •Input voltage: 5 V
  • 25. ● Configuration of pins ● Fitment ● Appearance V S Regular Prototype Board Arduino Proto Shield
  • 26. ● Lower cost per unit ● Wide range of values ● Spare parts V S Single Resistor/Capacitor Assortment Kits
  • 30. References ● Darren Yates. "Arduino Projects: Digital Audio Recorder - APC." APC Arduino Projects Digital Audio Recorder Comments. N.p., 02 July 2014. Web. 03 Jan. 2015. <http://apcmag.com/arduino-projects-digital-audio-recorder.htm/>. ● Texas Instruments Incorporated. "LM386 Low Voltage Audio Power Amplifier (Rev. A)." (2011): n. pag. Texas Instruments Incorporated. Aug. 2000. Web. 25 Jan. 2015. <http://www.ti.com/lit/ds/symlink/lm386.pdf>. ● Adel S. Sedra, Kenneth C. Smith. Microelectronic Circuits: Adel S. Sedra, Kenneth C. Smith. Edition ed. Vol. 6th. London: Oxford UP, 2009. Print. ● Timothy Hirzel. "Arduino - PWM." Arduino. N.p., n.d. Web. 02 Feb. 2015. <http://arduino.cc/en/Tutorial/PWM> ● Labs, Silicon. "AN278: Voice Recorder Reference Design." (n.d.): n. pag. Web. 2 Dec. 2014. <https://www.silabs.com/Support%20Documents/TechnicalDocs/AN278.pdf> ● [Snosc25C, Texas Instruments Incorporated. "LM741 Operational Amplifier (Rev. C)." LM741 Operational Amplifier (Rev. C) (n.d.): n. pag. LM741 Operational Amplifier. Web. 9 Feb. 2015.<http://www.ti.com/lit/ds/symlink/lm741.pdf> ● "Mouser Electronics - Electronic Components Distributor." Mouser Electronics - Electronic Components Distributor. N.p., n.d. Web. 1 Apr. 2015. <http://www.mouser.com/>. ● RobotFreak. "Arduino 101: Timers and Interrupts." Arduino 101: Timers and Interrupts. N.p., n.d. Web. 15 Jan. 2015. <http://letsmakerobots.com/content/arduino-101-timers-and-interrupts>. ● Ghassaei, Amanda. Arduino Audio Output. Tech. Instructables, Sept.-Oct. 2012. Web. 15th Feb. 2015. l