News:

We're live! Join us!

Main Menu

Micropython & ESP32 internet radio

Started by Jeff_T, Feb 28, 2024, 10:13 PM

Previous topic - Next topic

Chris Savage

MERRY CHRISTMAS! Okay, now that the Adafruit stuff is here, it's time to get started on the demo Jeff_T posted...

You cannot view this attachment.

        I'm only responsible for what I say, not what you understand.

Jeff_T

Hi Chris, I'll zip a version of the python files and post them here, they will be more complete and just require flashing to the Nano ESP32 for you to get some sound from your 'Music Maker'

Chris Savage

Quote from: Jeff_T on May 02, 2024, 10:57 PMHi Chris, I'll zip a version of the python files and post them here, they will be more complete and just require flashing to the Nano ESP32 for you to get some sound from your 'Music Maker'

Thanks, Jeff!

Currently I have three directories with code from the original post. As I did not have the hardware at the time, it is, as of yet, untested. It will be a few days before I can put something together due to stuff going on today and Sunday, but now that everything is here I would like to put it together before something else tries to distract me.  ;)

        I'm only responsible for what I say, not what you understand.

Jeff_T

Here are the 3 python files you need to create an internet radio on your Nano.

You will need to enter your wifi details into the "channels.py" file.

Load the files onto the Nano ESP32 flash and press the reset or cycle power and give it time to connect to wifi and the channel url which should only take a few seconds.

The "main.py" is not complete and this is to allow a quick test, the channel is hard coded, the volume is hard coded and shutdown is achieved by unplugging.


Chris Savage

Awesome. I will check it out this weekend. We're going tonight to see a Tom Petty tribute band called, "The Petty Breakers". So, no playtime tonight.  ;D

        I'm only responsible for what I say, not what you understand.