Internet radio

For general Flowcode discussion that does not belong in the other sections.
Post Reply
bercioiu
Posts: 17
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 9:21 pm
Location: Romania
Has thanked: 13 times

Flowcode v11 Internet radio

Post by bercioiu »

Hi there!
Has anyone made an internet radio in FC? I think the most suitable for this project is ESP32 Wroom. I don't know where to start, in the sense that I haven't worked with wifi in FC. I made an internet radio with the help of AI (Claude - Antropic) and it works flawlessly, but I want to make it in FC, to know what I'm doing there :-)

mnfisher
Valued Contributor
Posts: 1839
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 153 times
Been thanked: 869 times

Re: Internet radio

Post by mnfisher »

That would be an interesting project - there are several 'areas' that need to be addressed - connect to 'stream', audio output (via I2S), display / selection of station etc.
Flowcode has components for these areas - can you share your source - and we can look at how it could be Flowcoded :-)

Martin

bercioiu
Posts: 17
Joined: Thu Dec 03, 2020 9:21 pm
Location: Romania
Has thanked: 13 times

Re: Internet radio

Post by bercioiu »

Eh, complicated with sharing here in the forum... The latest version is very thick, with many files. I did the project in implementation stages. The first phase, actually the most important, was the implementation of the audio and wifi engines. I can put this version here, it is very compact. It is the main file and the configuration for PlatformIO. After compiling, the ESP becomes an AP (open network), you connect to it and give it the wifi credentials. After rebooting, you give commands in serial, ex: "url="https://live.rockfm.ro/rockfm.aacp
To see all the commands (volume, stop etc), type "help".
Attachments
main.cpp
(20.56 KiB) Downloaded 2 times
platformio.ini
(1.46 KiB) Downloaded 3 times

Post Reply