Giter Site home page Giter Site logo

jcoli / vu_meter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adamples/vu_meter

0.0 0.0 0.0 2.59 MB

Stereo VU meter using OLED screens and AVR microcontroller

License: GNU General Public License v3.0

Shell 1.98% Ruby 1.03% C++ 2.29% Python 12.79% C 77.01% Makefile 4.90%

vu_meter's Introduction

OLED display VU meter — AVR/Arduino project

This project is to create digital version of a nice gadget that adds a little magic to any audio equipment: a VU meter. Main design goals are:

  • 2-channel operation,
  • as close to real VU-meter specification as possible,
  • high FPS, 60+ — no visible jumping of needle, as is common in other designs.

Project uses AVR ATMega88/168/328 (and ATMega48 if possible), so should be compatibile with Arduino Uno boards. Small (and cheap) monochrome OLED modules with SSD1306 or SH1106 driver are employed as displays. Unlike other AVR VU meters that you can find on the web this one uses quite complex analog circuitry (it can be much simpler if you are not as interested as me in up-to-specs VU meter emulation).

Here's a video showing test of VU meter prototype:

Background and needle animation test video

Building The Project

To build hex file you'll need:

Before compilation please modify src/config.h file to set proper OLED controller type and Makefile to set uC type and oscillator frequency (F_CPU).

To create hex file type:

$ make all

This will create build/main.hex that you can use to flash your device.

Note: This is Work In Progress design. To make it work for you you'll most probably need to modify it in one way or another.

Hardware Design

If you would like to make VU meter yourself here are some useful files for you:

PCB is designed as a module to be included in other devices so all signals are connected using goldpin headers: VU meter PCB design preview Assembled VU meter PCB picture

There is also Arduino UNO shield (rev.3) design, altough it's not very polished version:

Assembled Arduino Shield PCB picture

Full documentation will be included in the future, as the project progresses.

For now here's very high-level block diagram of the device:

Block diagram of AVR/OLED VU meter

Second analog channel and OLED display were omitted for the sake of brevity.

vu_meter's People

Contributors

adamples avatar

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.