Close
0%
0%

WiFi Webradio on ESP8266 or ESP32

KaRadio
A fully featured wifi web radio player with only low cost boards.
with or without a vs1053 board

Similar projects worth following
Control with any browsers (ie edge, chrome mozilla etc...).
or with an external hardware panel or with the uart interface or with telnet.
Memory for 255 stations
OTA (On the Air) upgrade,
Read direct mp3 or ogg or WMA streams or playlist .pls .m3u, asx and .xspf
Read up to a 320 kb/s stream,
Encoder, IR, lcd ...
Embedded wifi configuration via the web or serial or telnet.
Metadata displayed (ie Title of the current song if given in the stream),
Permanent setting (sound setting, stations, wifi)
Server multi clients with automatic refresh (websocket),
The stations may be downloaded and uploaded within the web site,
Stations sort management by drag drop.
very quick responsive web by caching local information in the browser and websocket.
additional hardware: a led indicates the state of the equipment
Optional: control switches, lcd display, additional ram for buffering

See http://www.instructables.com/id/Wifi-Webradio-With-ESP8266-and-VS1053 for the description of the minimal prototype.

See Github for sources

See github source for the ESP32 version ( vs1053 or i2s or pcm or internal DAC)

See A project derived from KaRadio32 in progress.

See the lcd +IR software's on Github AddOn

See some realizations of users at KaraDio

A nextion touchscreen display for KaraDio from yo2ldk : Here

For more informations or questions, you can enter to the Karadio facebook group


KaRadio32 Release 2.3

Release 2.3 Rev 0 - Built on 2022/02/23

New:

  • 2.3 R0:
    • RAM optimization
    • Audio buffer size incremented.
    • Bugs correction: HTML chunks processing and Meta computing
    • Stack crash on http instant command removed
    • AAC Decoding improved
  • 2.2 R1:
    • Introducing WIFI QoS Ip precedence AC_VI
    • SPDIF output improved
    • DAC bugs removed.
    • AAC Decoding improved (but not perfect)
    • New patch for the vs1053. Play OGG too.
  • 2.2 R0:
    • Many internal optimizations
    • ascii unicode #&xxxx; decoded
    • aac decoder improved.
    • Added html commands volume+ and volume-

    KaRadio: Release 2.1

    Release 2.1 R0 - Built on 2021/02/15

    • 2.1 R0:
      • Security: the ssid passwords are no longer sent on each "Setting" display, but only when changed.
      • Bug fixed: in parse playlist. Possible memory leak. Thanks to HmarikBel
      • Bug fixed: Special char in station name was incorrectly sent.
      • Some minors improvements.
    • 2.0 R0:
      • Better handling of the large "header moved"
      • Better monitoring
      • timezone suggestion on the setting page

    History:

    history

    For ESP32 see the github page KaRadio32.

    ESP8266 Simplest prototype:

    - Optional external ram (23LCV1024) support (1:CS/=GPIO16 2:MISO=GPIO12 3:NC 4:GND 5:MOSI=GPIO13 6:SCK=GPIO14 7:GND 8:3.3v)

    Attention:
    The optional led is now on GPIO2. The blue led on the ESP8266 is blinking at the same rate.
    GPIO16 is now the Chip select for the external ram if any.
    The external ram is detected at boot time if present.

    To upgrade to this release, please flash user1.4096.new.4.bin at 0x1000 ,
    user2.4096.new.4.bin at 0X81000 and blank.bin at 0x7e000 & 0x3fe000
    After that, all next updates are done with the On The Air (OTA) feature.
    New binaries are hosted at http://karadio.karawin.fr .

    Loading the esp8266

    First use

    • If the access point of your router is not known, the webradio initializes itself as an AP. Connect your wifi to the ssid "WifiWebRadio",
    • Browse to 192.164.4.1 to display the page, got to "setting" "Wifi" and configure your ssid ap, the password if any, the wanted IP or use dhcp if you know how to retrieve the dhcp given ip (terminal or scan of the network).
    • In the gateway field, enter the ip address of your router.
    • Validate. The equipment restart to the new configuration. Connect your wifi to your AP and browse to the ip given in configuration.
    • Congratulation, you can edit your own station list. Don't forget to save your stations list in case of problem or for new equipments.
    • if the AP is already know by the esp8266, the default ip at the first start is 192.168.1.254
    • a sample of stations list is on https://github.com/karawin/Ka-Radio/blob/master/ESP8266-Firmware/WebStations.txt . Can be uploaded via the web page.

    Feedback

    Please tell me if you succeeded or something more can be done, thanks.
    The second step will add some hardware buttons (vol + -, station + -, play ...)

    Wiring:

    From ESP8266_ESP12( 3.3 v) or nodeMCU(5v) to VS1053 (5 v)

    REST

    ADC

    CH_PD to 3.3v

    GPIO16 (a 1Hz output)

    D5:GPIO14 to VS1053 SCK

    D6:GPIO12 to VS1053 MISO

    D7:GPIO13 to VS1053 MOSI

    TXD to CH340G UART rx

    RXD from CH340G UART tx

    D1:GPIO05 to VS1053 XDCS

    D2:GPIO04 to VS1053 DREQ

    D3:GPIO00 to VS1053...

Read more »

KaRadio32.bin

KaRadio32 2.3R0

application/octet-stream - 1.49 MB - 01/01/2021 at 21:11

Download

user2.4096.new.4.bin

KaRadio 2.1 R1 Partition 1

application/octet-stream - 424.75 kB - 01/11/2020 at 18:13

Download

user1.4096.new.4.bin

KaRadio 2.1 R1 Partition 2

application/octet-stream - 424.75 kB - 01/11/2020 at 18:13

Download

octet-stream - 3.98 kB - 09/17/2017 at 10:26

Download

octet-stream - 4.00 kB - 07/21/2016 at 15:19

Download

View all 6 files

View all 6 components

View all 11 project logs

  • 1
    Step 1

    Wiring:

    From ESP8266_ESP12( 3.3 v) or nodeMCU(5v) to VS1053 (5 v)

    REST:

    ADC : gound if control panel not used

    CH_PD to 3.3v

    GPIO16 led output

    D5:GPIO14 to VS1053 SCK

    D6:GPIO12 to VS1053 MISO (or so)

    D7:GPIO13 to VS1053 MOSI (or si)

    TXD to CH340G UART rx

    RXD from CH340G UART tx

    D1:GPIO05 to VS1053 XDCS

    D2:GPIO04 to VS1053 DREQ

    D3:GPIO00 to VS1053 XRST

    GPIO02

    D8:GPIO15 to VS1053 XCS

View all instructions

Enjoy this project?

Share

Discussions

Nolan Yu wrote 01/30/2024 at 07:01 point

This is a topic that needs more attention. Thanks for addressing it. https://wollongongfencingexperts.au/

  Are you sure? yes | no

Nolan Yu wrote 01/30/2024 at 07:01 point

Well written and thought-provoking. https://uprightfencing.au/

  Are you sure? yes | no

Nolan Yu wrote 01/30/2024 at 07:00 point

Interesting read. I never thought about it that way. https://townsvillefencing.au/

  Are you sure? yes | no

Olivia Higgins wrote 01/30/2024 at 07:00 point

I couldn't agree more with your perspective. https://torquayfencingsolutions.au/

  Are you sure? yes | no

Olivia Higgins wrote 01/30/2024 at 07:00 point

Great insights! Thanks for sharing. https://sunnycoastfencing.au/

  Are you sure? yes | no

Mason Hart wrote 01/30/2024 at 06:59 point

Go-to source! https://sheppfencing.au/

  Are you sure? yes | no

Mason Hart wrote 01/30/2024 at 06:59 point

Encourages critical thinking. https://settfencing.au/

  Are you sure? yes | no

Aria McDonald wrote 01/30/2024 at 06:55 point

Resonates with me. https://rockyfencing.au/

  Are you sure? yes | no

Aria McDonald wrote 01/30/2024 at 06:55 point

Breath of fresh air. https://rockinghamfencing.au/

  Are you sure? yes | no

Ethan Rowe wrote 01/30/2024 at 06:54 point

Deserves attention. https://redcliffefencing.au/

  Are you sure? yes | no

Ethan Rowe wrote 01/30/2024 at 06:54 point

Articulate and compelling. https://pmqfencing.au/

  Are you sure? yes | no

Lily Pierce wrote 01/30/2024 at 06:54 point

Well said. https://perthfencingsolutions.au/

  Are you sure? yes | no

Lily Pierce wrote 01/30/2024 at 06:53 point

Refreshing authenticity. https://penrithfencing.au/

  Are you sure? yes | no

Jordan Lawson wrote 01/30/2024 at 06:53 point

Meaningful conversation. https://newcastlefencing.au/

  Are you sure? yes | no

Jordan Lawson wrote 01/30/2024 at 06:53 point

Enjoyed the humor. https://morningtonpeninsulafencing.au/

  Are you sure? yes | no

Ava Fleming wrote 01/30/2024 at 06:51 point

Looking forward to more. https://mildyfencing.au/

  Are you sure? yes | no

Ava Fleming wrote 01/30/2024 at 06:51 point

Insightful comments. https://mandurahroofrestoration.au/

  Are you sure? yes | no

Max Wagner wrote 01/30/2024 at 06:50 point

Solid evidence. https://mandurahhandyman.au/

  Are you sure? yes | no

Max Wagner wrote 01/30/2024 at 06:50 point

Learned something new. https://mandurahfence.au/

  Are you sure? yes | no

Isabella Beck wrote 01/30/2024 at 06:49 point

Bookmarking this. https://maccasfencing.au/

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates