Git Product home page Git Product logo

esp32-oled-spectrum's Introduction

ESP32-oled-spectrum

Picture Click through image to view demonstration on Youtube

This is a quick adaptation of an old project, ESP32-dotmatrix-spectrum, into the more accessible OLED. I borrowed from another project attiny85-spectrum, but the result was so appealing that I decided to share it!

⚠️ Disclaimer! ⚠️ This project will crash if it is compiled with the latest ESP32 core. Downgrade to version 1.0.4 through the Arduino boards manager before compiling.

There are also a number of improvements and notes here that will be carried over to the original project eventually.

That includes:

  • My own latest cq_kernels library, which integrates kiss_fft into a fast constant Q transform. This gives true logarithmic frequency scaling.
    • Amplitudes are now in decibels, which is unambiguous though there is no obvious reference
  • Switching to the kiss_fft library, which is faster and has a permissive license
  • Other optimizations

If you are adjusting the settings, banding in the output means the FFT size is too small, however keep in mind that performance (refresh rate) and resolution (FFT size) are in a balance.

Here is a schematic for a decent amplification circuit into this project. It presents an impedance of at least 5k, which should be okay for line-level and definitely good with a phone. You may also add an LED to pin 19 to get a clipping indicator.

Amplification circuit

esp32-oled-spectrum's People

Contributors

colonelwatch avatar

Watchers

James Cloos avatar

Forkers

15213162569

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.