Skip to content

A wifi webradio with only low cost boards ESP8266 and VS1053 by Jp Cocatrix

License

Notifications You must be signed in to change notification settings

karawin/Ka-Radio

Repository files navigation

** ESP8266 & VS1053 Wifi WebRadio **

Ka-Radio, a WiFi shoutcast player based on ESP8266 and VS1053b chips

See also the esp32 version at https://github.com/karawin/Ka-Radio32

Basic informations

New

A new android application is born

  • KaRadio Remote Control by Vassilis Serasidis on google Play.

It is an easy and fast WiFi remote control for your KaRadio or KaRadio32 hardware.
With this android app you can select the WebRadio station you want to play, set the volume and get the station information such as Station name, Genre, Bit rate, Meta data and more.
Found it at https://play.google.com/store/apps/details?id=com.serasidis.karadio.rc

Thanks Vassilis.

Release 1.9 R8 - Built on 2021/01/01

Add On: add a lcd, a remote control, and other goodies: see https://github.com/karawin/Karadio-addons

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 load this release, please flash
boot_v1.6.bin at 0x0000,
user1.4096.new.4.bin at 0x1000 ,
user2.4096.new.4.bin at 0X81000,
esp_init_data_default.bin at 0x3FC000
and blank.bin at 0x3fe000
After that, all next updates are done with the On The Air (OTA) feature.


See also https://hackaday.io/project/11570-wifi-webradio-with-esp8266-and-vs1053

Loading the esp8266

The binaries are on ESP8266-Firmware/bin/upgrade/

First use

  • If the access point of your router is not known, the webradio inits itself as an AP. Connect the wifi of your computer to the ssid "WifiWebRadio",
  • Browse to 192.168.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. Dont 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 is given by dhcp.
  • 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.
  • Karadio can be controlled by the web interface or by the uart interface or by telnet. List of commands: type help
  • See the list of command at http://karadio.karawin.fr/Interface.txt

screenshot

Generate Ka-Radio

see the http://karadio.karawin.fr/readme.txt file.

History:


TXD to CH340G UART rx
RXD from CH340G UART tx
GPIO05 to VS1053 XDCS
GPIO04 to VS1053 DREQ
GPIO00 to VS1053 XRST
GPIO02
GPIO15 to VS1053 XCS

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)
If your chip has a /Vhold in place of /VBAT, the pin 7 must be wired to VCC (pin8)
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.

Used hardware

WiFi : ESP8266 (ESP-12 with 32Mbits flash)
Additional MCU (as a bridge UART<=>UI): AVR
Audio decoder: VS1053