Giter Site home page Giter Site logo

subangkar / real-time-audio-to-frequency-spectrum-transformation-on-atmega32 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 11.31 MB

A micro-controller project for real time audio to frequency spectrum transformation using Discrete Fourier Transform(DFT) on Atmega32

Home Page: https://www.youtube.com/watch?v=k5cmo2vL5w4&list=PLoCm3sESgkoqNhvaIPHuTLgspWZ4PLByV

C 66.08% C++ 33.92%
dft atmega32 microcontroller dotmatrix lcd16x2 audio-spectrum-visualizer discrete-fourier-transform adc dot-matrix-led op-amp

real-time-audio-to-frequency-spectrum-transformation-on-atmega32's Introduction

Real Time Audio to Frequency Spectrum Transformation on Atmega32 Microcontroller

A project to demonstrate frequency spectrum visualization from real time audio via time domain to frequency domain conversion on Atmega32 microcontroller.
This repo contains an Atmel Studio project with software codes to simulate a real time audio to frequency spectrum transformation on Atmega32 Microcontroller using Discrete Fourier Transform (DFT).
This project was a hardware project of Microprocessors and Microcontrollers Sessional course (CSE-316) of Department of CSE, BUET in Level-3, Term-1

Project Requirements:

  • Hardware:
    • Electret Microphone Breakout (https://www.sparkfun.com/products/12758)
    • Audio Jack (to feed audio input directly from phone)
    • OP-AMP LM358
    • Atmega32
    • Bi-color Dot Matrix of shape 8x8 (x2)
    • LCD (used for debug purpose only)
    • Breadboard
    • 5v Power Source
  • Software:

Input:

  • Input Frequency: 200-4kHz
  • Sampling Frequency: 8kHz
  • DFT mode: 32-Point DFT
  • PIN spec of Atmega32:
    • ADC0 - Mic input
    • ADC1 - Audio Jack input

Output:
Amplitude plotted on two Dot Matrices consist of uniformly distributed 16 frequency bins over 0-4kHz.
Each bin has amplitude height of 8. Lower amplitude frequencies cause dot matrix to have green bars on corresponding bin columns while red is for the higher amplitudes.

Project Contributors:

Project Supervisors:

  • Dr. A.B.M Alim Al Islam
    Associate Professor, Department of CSE, BUET
  • Abdus Salam Azad
    Assistant Professor, Department of CSE, BUET
  • Ahamed Al Nahian
    Lecturer, Department of CSE, BUET

Demonstration Video: YouTube or Local

Credits & References:

More related codes/design on this repo.

real-time-audio-to-frequency-spectrum-transformation-on-atmega32's People

Contributors

subangkar avatar

Watchers

 avatar  avatar

Forkers

zahinwahab

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.