I've done a Wifi radio with a headless Raspberry Pi in the past (connecting a radio MP3 stream available on internet directly on boot, without any user input), and now I'm wondering: would it be possible to do the same with an Arduino, battery-powered?

Please correct me if I'm wrong but it seems that all these features are available:

  1. battery-powered: this is definitely possible with a few AAs

  2. audio output (easily possible with a DAC I think?)

  3. Wifi (possible with a shield, right?)

  4. Internet access to stream

  5. real-ime MP3 stream decoding (Is an Atmega enough for this?)

Does this mean that a Wifi radio based on Arduino is possible?

  • 1
    real-ime MP3 stream decoding (Is an Atmega enough for this?) -- Certainly not, no. I have managed it with a 200MHz PIC32. I wouldn't even begin to consider doing it with a tiny 8-bit MCU... – Majenko Oct 1 '17 at 20:51
  • @Majenko I looked at ESP8266, and it seems possible. Is this really true, or do you think it relies on additional hardware chip? – Basj Oct 1 '17 at 20:59
  • Have you read the readme? – Majenko Oct 1 '17 at 21:00
  • After re-reading now, yes it seems it's possible without any other chip, but not recommended (RAM is a plus for buffering and DAC for better output quality) – Basj Oct 1 '17 at 21:09
  • I have/had a wifi radio in the OpenWRT part of a Arduino Yún. OpenWRT is a minimal linux. For software decoding, I strongly advise to use some kind of linux computer, because they already have packages for mp3 decoding. There are Arduino projects using the VS1053 as a hardware MP3 decoder. An Arduino board with Ethernet Shield uses a lot of power, that is not something for a battery. What about an ESP32 with a hardware MP3 decoder ? – Jot Oct 1 '17 at 22:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.