- KaRadio32 интернет-радио. Делаем сами и все получится.
- Saved searches
- Use saved searches to filter your results more quickly
- License
- Edzelf/ESP32-Radio
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- The Best Offline No-WiFi Radio Apps for your Phone [August 2020]
- App Details Android
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 физические выводы не совпадают.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Internet radio based on ESP32, VS1053 and a TFT screen.
License
Edzelf/ESP32-Radio
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Please use the V2 version of the ESP32-Radio.
Internet radio based on ESP32, VS1053 and a TFT screen. Will compile in Arduino IDE. See the review by Andreas Spiess at https://www.youtube.com/watch?v=hz65vfvbXMs.
Look for documentation and printdesign in the doc directory.
- Can connect to thousands of Internet radio stations that broadcast MP3 or Ogg audio streams.
- Can connect to a standalone mp3 file on a server.
- Support for .m3u playlists.
- Can play mp3 tracks from SD card or USB stick (CH376).
- Uses a minimal number of components; no Arduino required.
- Handles bitrates up to 320 kbps.
- Has a preset list of maximal 100 favorite radio stations in configuration file.
- Configuration (preferences) can be edited through web interface.
- Can be controlled by a tablet or other device through a build-in webserver.
- Can be controlled over MQTT.
- Can be controlled over Serial Input.
- Can be controlled by IR.
- Can be controlled by rotary switch encoder.
- Can be controlled by touch pins.
- Up to 14 free input pins can be configured to control the radio.
- The strongest available WiFi network is automatically selected.
- Heavily commented source code, easy to add extra functionality.
- Debug information through serial output.
- Uses a 12 kB queue to provide smooth playback.
- Software update over WiFi possible (OTA) through Arduino IDE or remote host.
- Bass and treble control.
- Saves volume, bass, treble and preset station over restart.
- Configuration also possible if no WiFi connection can be established.
- Can play iHeartRadio stations.
- Displays time of day on TFT.
- Optional display remaining battery capacity on screen.
- PCB available (see doc).
- 3D case available (see doc).
See documentation in doc/pdf-file.
- 28-jun-2021, Allow special characters in station name.
- 21-jun-2021, Display station name from preference if not in metadata.
- 29-apr-2021, Fixed SSD1309 bug.
- 25-apr-2021, Fixed SSD1309 bug, thanks to Juraj Liso.
- 19-feb-2021, More Oled models.
- 16-feb-2021, Give BBC stations some time to react. See issue 437.
- 15-feb-2021, Added earch page.
- 21-jan-2021, Added PlatformIO version.
- 14-oct-2020, Clear artist and song on display at new station connect.
- 18-oct-2020, Fixed LCD2004 error.
- 30-sep-2020, Ready for ch376msc library version 1.4.4.
- 14-jul-2020, Dynamic status display in web interface.
- 10-jul-2020, Support for USB drive (CH376).
- 23-mar-2020, Allow playlists on SD card.
- 21-dec-2019, Check for right (VS1053) CHIP.
- 16-dec-2019, Better logging claimSPI for debug.
- 24-apr-2019, Better handling of gettim().
- 09-oct-2018, Bug fix xSemaphoreTake.
- 04-oct-2018, Fixed compile error OLED 64×128 display.
- 28-sep-2018, Support for NEXTION display.
- 06-aug-2018, Added playlistposition for MQTT. Correction negative time offset. OTA update through remote host.
- 02-aug-2018, Added support for ILI9341 display.
- 01-aug-2018, Added debug info for timing of IR remote.
- 30-jul-2018, Added GPIO39 and inversed shutdown pin. Thanks to fletche.
- 25-jul-2018, Correction touch pins.
- 15-jul-2018, Correction tftset().
- 25-may-2018, Limit read from stream to free queue space.
- 04-may-2018, Made handling of playlistdata more tolerant.
- 31-may-2018, Bugfix. Crashed if I2C was used, but no pins assigned.
- 30-may-2018, Bugfix. Assigned DRAM to global variables used in ISRs.
- 11-may-2018, Bugfix for incidental crash in rotary encoder function.
- 08-may-2018, Support for 1602 display (I2C).
- 30-apr-2018, Bugfix: crashed when no IR was configured.
- 25-apr-2018, Support for different display (OLED 128×64 for now).
- 20-apr-2018, Added (unfinished) diptrace printdesign.
- 16-apr-2018, Handle ID3 tags while playing from SD.
- 13-apr-2018, Guard against empty strings on TFT.
- 05-mar-2018, Improved interface for Rotary Encoder.
- 03-mar-2018, Correction bug IR pin number.
- 15-feb-2018, Correction writing wifi credentials to NVS.
- 13-feb-2018, Disable clock during write-back of preferences.
- 22-jan-2018, Added remaining battery capacity, default I/O pins.
- 02-jan-2018, Stop/resume is one command now.
- 15-dec-2017, Correction defaultprefs.h.
- 13-dec-2017, Correction LCD display.
- 08-dec-2017, Faster handling of config page, more items published by MQTT, added pin_shutdown.
- 01-dec-2017, Better handling of playlists.
- 30-nov-2017, Hide passwords in config screen.
- 27-nov-2017, Replaced ringbuffer by FreeRTOS queue, play function on second CPU, Included improved rotary switch routines supplied by fenyvesi, Better IR sensitivity.
- 11-nov-2017: Increases ringbuffer size. Print measured bitrate at «test»-command.
- 30-aug-2017: Limit number of retries foor MQTT connection. Added MDNS transponder.
- 28-aug-2017: Preferences for SPI bus, touch pins. Corrected bug in handling programmable pins. Handling of http redirections.
- 28-jul-2017: Added rotary swich encoder, flexible GPIO assignment.
- 19-jul-2017: Minor corrections.
- 18-jul-2017: Show time of day on TFT.
- 04-jul-2017: Correction MQTT subscription, keep playing during long oprerations.
- 03-jul-2017: Webinterface control page shows current settings.
- 30-jun-2017: Improved MP3 player.
- 28-jun-2017: Added IR interface.
- 31-may-2017: Experimental: play MP3 tracks from SD card.
- 26-may-2017: Correction Upper/Lower Case compare.
- 26-may-2017: Allow connection from single hidden AP.
- 23-may-2017: First release, derived from ESP8266 version.
About
Internet radio based on ESP32, VS1053 and a TFT screen.
The Best Offline No-WiFi Radio Apps for your Phone [August 2020]
If you own an Android phone, there’s a good chance you might be missing out on one of the coolest features around—a built-in portable FM radio. Although not every Android phone includes an FM radio by default, many do, both in the US and around the world. FM radios are typically included in case of emergency, but it also allows customers to stream music without using data. At first glance, you would think that listening to radio without a network connection on your phone wasn’t possible. After all, if you don’t have data, you don’t have streaming. Thankfully, many phones—primarily Android phones, since Apple no longer includes FM radios in their devices, and even older phones didn’t allow you to use them—are capable of reaching out to FM stations near you.
The downside of trying to listen to radio without data is that not all networks enable the FM chip within their phones. There’s no good way to see if your phone supports FM radio transmissions without just testing an app, but thankfully, our top pick lets you do just that. Here’s our favorite radio apps that, some of which, unfortunately, do require WiFi to use.
NextRadio
Android
The easiest way to find out whether or not your phone is able to receive FM radio broadcasts without relying on streaming over the web is to download NextRadio, a fantastic and free radio app for your phone. As with all FM radio apps, NextRadio will require earbuds to properly receive a broadcast signal, and the app won’t work if your phone doesn’t have the necessary hardware to pick up. If you do, all you’ll need is a stereo cable or a headphone cable to act as an antenna, and you’ll be able to stream from any of your surrounding FM radios, live and for free.
The app itself features a solid design, though it’s a bit dated compared to some of the newer apps that have rolled out on Android in the last few years. Thankfully, the most important tool—being able to quickly sort through channels—works wonders here, so you won’t have to worry about being unable to find your favorite rock or pop station within the app.
If there’s one reason to switch away from NextRadio, it’s actually that the app is no longer in active development. NextRadio was originally designed to work as both an FM receiver app and as an online streaming service, but at the start of 2019, the app switched back to only offering FM radio and hasn’t been updated since. The service’s website has also gone offline, so if the app doesn’t work with your specific phone, it likely never will.
Still, it’s one of the better reviving apps you’ll find today, and it remains our top pick for that very reason.
App Details Android
- Category Music & Audio
- Installs 50,000,000+
- Rating out of 5 3.7
- Last Updated Date 2 January 2019
- App Developer NextRadio
- Download Size 9.1M
- Compatibility Android 4.4 and up
- Price free