GithubHelp home page GithubHelp logo

shri360 / esp32-tft-audio-monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atomic14/esp32-tft-audio-monitor

0.0 0.0 0.0 72 KB

Port of my M5Stack Core 2 audio monitor project to generic ESP32s with TFT screens

License: Creative Commons Zero v1.0 Universal

C++ 39.64% C 56.76% Makefile 3.41% CMake 0.19%

esp32-tft-audio-monitor's Introduction

ESP32 Audio Monitor

This is a port of this project to work with any ESP32 device with a TFT display.

You can watch a video explainer here (YouTube) which goes into a bit more detail on the audio capabilities of the device.

Demo Video

You'll need to use PlatformIO to build the project.

To clone the repo use:

git clone [email protected]:atomic14/esp32-tft-audio-monitor.git

Hopefully, the code should be easy to understand.

Configuration

All the configuration is located in config.h please update this to match the pins you are using for your microphone.

If you want to use the built in ADC instead of a MEMS microphone then comment out line 16 and connect your analog microphone to pin 32. You will need some kind of microphone amplifier board such as the MAX4466 or MAX9814 from Adafruit.

To modify the code to work with your particular device you will need to change the settings in platformio.ini to match your TFT. The easiest way to do this is to look in the lib/TFT_eSPI/User_Setups for your device and copy the required pre-processor defines.

If you are feeling lazy then you can just copy the setup for you TFT over the User_Setup.h and remove the defines from the build settings.

If you take the lazy option, then remember to remove -DUSER_SETUP_LOADED=1.

; setup for the TTGO T4
  -DTFT_WIDTH=135
  -DTFT_HEIGHT=240
  -DST7789_DRIVER=1
  -DCGRAM_OFFSET=1
  -DTFT_MISO=-1
  -DTFT_MOSI=19
  -DTFT_SCLK=18
  -DTFT_CS=5
  -DTFT_DC=16
  -DTFT_RST=23
  -DTFT_BL=4
  -DTFT_BACKLIGHT_ON=HIGH
  -DLOAD_GLCD=1
  -DLOAD_FONT2=1
  -DLOAD_FONT4=1
  -DLOAD_FONT6=1
  -DLOAD_FONT7=1
  -DLOAD_FONT8=1
  -DLOAD_GFXFF=1
  -DSMOOTH_FONT=1
  -DSPI_FREQUENCY=40000000
  -DSPI_READ_FREQUENCY=6000000

Contributing

If you want to add some more visualisations then please open up a pull request and contribute some code.

esp32-tft-audio-monitor's People

Contributors

cgreening 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.