GithubHelp home page GithubHelp logo

djtrance / esp32_oled_webradio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lilygo/esp32_oled_webradio

0.0 1.0 0.0 22.91 MB

OLED display support is added to ESP32 MP3 web radio/bluetotooth speaker code by MrBuddyCasino's. Now webradio station switching is supported (implemented by n24bass)

Makefile 23.22% C 32.26% C++ 43.55% Objective-C 0.96%

esp32_oled_webradio's Introduction

Modified for multi URL support by n24bass (merged several new functions, URL scrolling!)

For the boards with ESP32-PICO-D4, please swap control switch from GPIO16 to GPIO0, since GPIO16 in PICO-D4 is used for internal SPI Flash RAM connection (pre-occupied). Swap can be done in components/controls/controls.c

Add web interface. You can add (up to 10), change or remove URL of the internet radio station.

GET /  - list stations
GET /P - change to previous station
GET /N - change to next station
GET /0..9 - select station
GET /0..9+URL - set station URL
GET /0..-URL - remove station URL

Push 'GPIO-16' (chaned from 'boot') switch to change next station.

It starts up only web interface when GPIO-16 is keeped low level at boot time.


Modified for OLED display support by kodera2t

Please use latest esp-idf environment (envorinment just before will make lots error)

original code (w/o OLED) is https://github.com/MrBuddyCasino/ESP32_MP3_Decoder

OLED display mode for WiFi Radio/Bluetooth spaker will be set by menuconfig (select BT speaker or Wifi radio)

Bluetooth device name is defined in bt_config.h in include file folder. (default: "hogehoge_mont")


Wiring is same as original, as ESP pin - I2S signal

----------------------
GPIO25/DAC1   - LRCK
GPIO26/DAC2   - BCLK
GPIO22        - DATA

and GPIO25/26 are fixed but GPIO22 can be re-arranged as you wish. (defined in components/audio_renderer.c)

I2C OLED is connected, as ESP pin - I2C signal

----------------------
GPIO14   - SCL
GPIO13   - SDA

,which defined in app_main.c Please change as you wish...

More details can be found in the original author's explanation at https://github.com/MrBuddyCasino/ESP32_MP3_Decoder

esp32_oled_webradio's People

Contributors

kodera2t avatar n24bass avatar lilygo avatar

Watchers

James Cloos 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.