/ESP8266-WebRadio

WIFI WEBRADIO player based on ESP8266 (esp-12 or nodeMCU) and VS1053

Primary LanguageAssemblyOtherNOASSERTION

** ESP8266 & VS1053 Wifi WebRadio**

###Ka-Radio, a WiFi shoutcast player based on ESP8266 and VS1053b chips ##Basic informations ####Version: 1.0.4
Added:
Next and previous buttons,
Autoplay check box
"Now playing" removed, the title is now on the top of the page,
A hardware panel can be built. See ESP8266-WebRadio/Hardware/KiCAD/controles/controles.pdf ,
If not used, ADC input must be grounded.
Optimized software.

This release is the end of the project.
In the future, a remote control will be added (433Mhz RF) based on arduino pro mini.
####Version: 1.0.3
Added:
New html look,
Volume slider is now logarithmic,
Monitoring of the current station in the browser, usefull for mobile
Optimised ram usage.
Read chunked html stream, some stations use this kind of GET
First start updated,
It seems that the 320KB/s is still not perfect due to too few ram on the processor. Not so bad but very sensitive, 256kB/s is perfect.
####Version: 1.0.2
Added: "Now playing" informations are now given with the help of a websocket. The display is immediatly updated on the browser.
Reading 320Kb/s is improved
Stability tested during many days and nights....
Video on https://youtu.be/cT8cGp9pvcs
Hackaday.io page: https://hackaday.io/project/11570-wifi-webradio-with-esp8266-and-vs1053
Github page: https://github.com/karawin/ESP8266-WebRadio
#####Version: 1.0.1
A static ip at the first start is a problem if you are not in 192.168.1.xxx network.
The first start will now be in dhcp mode. See the allocated ip in the uart traces or scan your network.
This can be done with fing for mobile for example:
IOS: https://itunes.apple.com/fr/app/fing-network-scanner/id430921107?mt=8
Android: https://play.google.com/store/apps/details?id=com.overlook.android.fing&hl=fr

#####Version: 1.0.0 (KaraWin)
Status: under design and development

2016, May (KaraWin)

First step, Final release done.

  • Read up to 320 kB/s stream,
  • New web page, Fit well on mobile or computer.
  • Embedded wifi configuration via the web site (see below)
  • Metadata displayed,
  • all settings saved (sound setting, stations, wifi)
  • server multi clients with automatic refresh for all,
  • The stations can be dowloaded and uploaded within the web site,
  • very quick responsive web by caching local information in the browser.
  • additional hardware: a led indicates the state of the equipment (gpo16->resistor->led->3.3volt). Speed blink: init, 90%in 10%out: connexion in progress, 10% in 90%out: Equipment ready.
  • ...

Loading the esp8266

First use

  • If the acces point of your router is not known, the webradio inits 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. 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/ESP8266-WebRadio/blob/master/ESP8266-Firmware/WebStations.txt . Can be uploaded via the web page.

Feedback

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

screenshot

screenshot

screenshot

2016,April (Karawin):


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

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