Wifi webradio on esp8266 or esp32

Just one more thing

To make the experience fit your profile, pick a username and tell us what interests you.

We found and based on your interests.

Team ( 3 )

ESP8266 Projects

Projects utilizing everyone’s favorite $5 WiFi Module

merken

Espressif

Things that are created using Espressif boards

Must make!

List of must make projects

Projects I am interested in and will sort later.

Projects I am interested in and will sort later.

This project was created on 05/04/2016 and last updated 3 years ago.

Description

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

Details

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

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

  • 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.
      • 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.
        • Better handling of the large «header moved»
        • Better monitoring
        • timezone suggestion on the setting page

        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 .

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

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

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

        Files

        KaRadio32.bin

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

        user2.4096.new.4.bin

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

        user1.4096.new.4.bin

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

        boot_v1.7.bin

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

        blank.bin

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

        Components

        • 1 × ESP8266 http://www.ebay.fr/itm/121775761053?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
        • 1 × VS1053 http://www.ebay.fr/itm/401046111343?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
        • 1 × USB to TTL http://fr.aliexpress.com/item/USB-to-TTL-converter-UART-module-CH340G-CH340-3-3V-5V-switch/32392228218.html?detailNewVersion=2
        • 1 × MB102 Power supply http://fr.aliexpress.com/item/MB102-Breadboard-Power-Supply-Module-3-3V-5V-For-Solderless-Breadboard/2027279953.html
        • 1 × or nodeMCU clone http://fr.aliexpress.com/item/NodeMcu-Lua-WIFI-development-board-based-on-the-ESP8266-Internet-of-things/32338129505.html

        Project Logs

        Warning for esp8266 not coming from ai-thinker vendor

        If your esp8266 is not from AI-THINKER and the flash is not concluant in QIO mode for the spi, try the DIO mode. Concerned vendors: Hysiry
        ESP-F
        to be completed.

        Some hardware projects based on Karadio

        Many pcb projects are in progress to run KaraDio. Dimitris works on a pcb with esp8266, the external ram and the vs1053 with the complete set of option by juumper (a0 and type of ram).
        I hope he can sell it soon (with mounted components).
        discover1977 has made a pcb not yet finished, but with the full hardware including the lcd and more.
        See his project at https://github.com/discover1977/Wi-Fi-WEB-radio

        Christophe has made a minimalist pcb to be used with KaraDio, but can be used in many other projects. The lc soft vs1053 can be plugged directly on the pbc.

        About the double AP in setting

        A quick note about the AP configurations in setting: As you may noticed, now in 1.1.4 release you can specify two AP. When the first one is not found, the second one is tried. If not found, karadio is set in SoftAP mode at 192.168.4.1 Only the AP fields can be configured, not the ip, mask and gateway. If you need to have two AP, the best choice is to use the dhcp. But the ip may be difficult to predict, so i recommend to configure a static lease on your router to force dhcp to choose your preferred ip. To do that, I added the mac address of the esp. See the manual of your router about dhcp static lease. If you need some other details, write a comment. Thanks for your attention.

        TODO list

        • Add an IR remote control to the lcd pro mini
        • Allow volume adjustment per station
        • Memorize multi AP configurations
        • Add a reset button for the equalizer
        • Add some other LCD equipment (a color one is coming)
        • Add a debug command to choose the uart trace debug level: sys.debug(«x») with x=0 No debug trace, to x=5 full verbose debug trace.
        • sys.led(«x») with x=0: led blink (default heartbeat), x=1: led on when playing.
        • .

        Facebook

        New video

        A new video of Karadio:

        What next?

        Once the serial output interface has proved the feasibility, it is time to test the input serial interface of command. The magic of the modular design is that it is . modular.
        To test the serial rx of command, what can we do?
        A remote IR or 433 MHz RF control.
        Everybody has an old unused remote control. So we need only a pro mini as usual and an IR receiver or with a kit like https://fr.aliexpress.com/item/Hot-Selling-1pcs-New-Infrared-IR-Wireless-Remote-Control-Module-Kits-For-Arduino-Wholesale/32334118062.html?spm=2114.06010108.3.20.dks3Id&ws_ab_test=searchweb0_0,searchweb201602_4_10065_10068_10084_10083_10080_10082_10081_10060_10061_10062_10056_10055_10037_10054_10033_10059_10032_10078_10079_10077_10073_10070_10052_423_10050_10051,searchweb201603_9&btsid=eab7add7-3d55-47c9-a695-3a0112ac058f

        May be, I will do it one day or other.

        I will thanks here the 11 paypal donator s
        Be sure that I will improve this project until I am alive (and have some spare time).
        Yes, It it motivating

        Who wants this one?

        A new lcd, a new software.This software runs too with the nokia5110 due to the magic of the u8glib. Many other lcd’s can now be used with this release . Released on github and http://karadio.karawin.fr/karadioU8glib.zip
        See instructions on the u8glibConf.h file

        I have added a «paypal Donate» button on the «Settings» panel.
        It will motivate me to buy some hardware and to continue the development of this project. Thanks. The history page

        First lcd display

        The very first prototype of the minimal display that Karadio will use. It is made with a tiny lcd 84X48 84 * 48 Nokia Module 5110 Lcd http://www.ebay.fr/itm/262558872574?_trksid=p2057872.m2749.l2649&ssPageName=STRK:MEBIDX:IT
        The next one (waiting for it) will be a 0.96″ I2C IIC SPI Serial 128X64 White OLED LCD LED Display Module for Arduino
        http://www.ebay.fr/itm/191909116703?_trksid=p2057872.m2749.l2649&ssPageName=STRK:MEBIDX:IT
        See it at:
        Source and description (see define.h) at http://karadio.karawin.fr/karadioNokia5110.zip


        Источник

        KaRadio32 интернет-радио. Делаем сами и все получится.

        После прочтения статьи KaRadio + Smalody = Love загорелся желанием сделать нечто похожее. KaraWin — автор проекта интернет-радио KaRadio32 . Очень подробная видеоинформация об этом радио на канале Konstantin Pavljuchenko в YouTube и здесь: WI-FI интернет радио DIY . Вроде все просто и понятно, но как оказалось, не совсем. Пришлось разбираться. В итоге интернет-радио «заработало». На самом деле радио работало, но не так как я ожидал. Ссылка на рабочие файлы для повторения описанного ниже интернет-радиоприемника, использующего модуль ESP32-WROVER в самом конце статьи.

        Мое повторение конструкции не задалось. В чем оказался подвох? Оказалось — все просто, как обычно. Во — первых, в файле конфигурации от автора выявилась ошибка — у двух энкодеров оказались общие выводы модуля ESP32. В результате энкодер якобы оказался не работоспособным. Во-вторых, я сконфигурировал KaRadio32 на отключение дисплея через 5 с при бездействии KaRadio32. Поэтому отсутствие информации на дисплее радио в основном режиме работы я воспринял как неисправность. В- третьих — в плейлист радио я умудрился внести единственную не работающую радиостанцию. Ну и самое главное — при программировании модуля ESP32 я не удерживал нажатой кнопку BOOT. И еще. при изменении файла конфигурации нужно быть очень внимательным.

        Сразу оговорюсь, проект реализован в виде рабочего макета на модуле ESP32-WROOWER-B , имеющего программную память размером 4 Мб . Как показала практика, возможно использовать также модуль ESP32-WROWER-E, у которого программная память составляет 16 Мб — но целесообразность такого использования сомнительна. Процесс изготовления был интересен и познавателен. В результате появилась конструкция WEB-радио с поддержкой битрейта до 320 кбит/с, поддержкой инфракрасного приемника (протокол NEC), цифрового аудио-интерфейса I2S, OLED дисплея I2C 1,3 дюйма, UART TTL, светодиода и различных органов управления: двух экнодеров с кнопкой и отдельной группой кнопок в количестве 3 шт. Группа 0 энкодера и кнопок имеет приоритет по громкости. Соответственно группа 1 — по перебору станций из загруженного в радио плей-листа. В предложенной конфигурации возможно использовать аналоговый выход аудио (декодирует ESP32) с посредственным качеством (не используется — отсутствует разьем для подключения ). Количество свободных выводов модуля ESP32 определяет конфигурацию настраиваемой периферии для управления WEB-радио. Для переназначения выводов ESP32 нужно изменить файл конфигурации, определив выводы для кнопок, энкодеров, IR приемника, светодиода. Подробнее здесь .

        Далее распишу и прокомментирую что и как делать. Главное что нужно понимать — основная конфигурация исходной схемы, предложенной автором KaRadio32, не изменяется.

        Итак, для реализации проекта интернет-радио KaRadio32 потребуются четыре части: программная, аппаратная, реализация и программирование.

        Схема электрическая принципиальная от автора интернет-радио KaRadio32 для модуля ESP32-WROOM представлена ниже и в дальнейшем, в части интерфейсов, не изменяется. Обращаем внимание только на нумерацию логических выводов типа IOxx, где xx — это номер, который будем использовать в файле конфигурации. У модулей WROOM и WROVER физические выводы не совпадают.

        Источник

        Читайте также:  Определение координат wi fi
Оцените статью
Adblock
detector