I wanted a simple, easy to make wifi radio with only an ESP8266 and a speaker. The Code is not mine, but I want to show others how to make it running, because it is realy interresting to see the possibilitys the ESP8266 actualy has.
EXPANDED TECHNICAL DETAILS
High-Speed Audio Streaming
This project transforms an ESP8266 (like the NodeMCU) into a standalone internet radio station.
- I2S Audio Pipeline: The ESP8266 connects via WiFi to an internet radio stream (e.g., Icecast). It uses the
ESP8266Audio library to decode the MP3/AAC stream and output digital audio via I2S to an external DAC (like the MAX98357A).
- Buffer Management: Implements a jitter buffer in the ESP8266's limited RAM to ensure stable playback even during minor network fluctuations.
User Interface
- Station Presets: Multiple radio URLs are stored in the device's LittleFS or SPIFFS file system, allowing the user to switch channels using a physical rotary encoder.
ข้อมูล Frontmatter ดั้งเดิม
title: "ESP8266 Digital Radio"
description: "Digital Radio made just from an ESP8266 and a speaker"
author: "Henry2106"
category: ""
tags:
- "audio"
- "music"
views: 20143
likes: 7
price: 870
difficulty: "Intermediate"
components:
- "1x NodeMCU ESP8266 Breakout Board"
- "1x Jumper wires (generic)"
- "1x Speaker: 0.25W, 8 ohms"
- "1x Breadboard (generic)"
tools: []
apps:
- "1x Arduino IDE"
downloadableFiles:
- "https://github.com/earlephilhower/ESP8266Audio"
- "https://github.com/earlephilhower/ESP8266Audio"
documentationLinks: []
passwordHash: "6f089d7194df24be64eabd98ce565f89dc11862c064137153e4496fa458b77f7"
encryptedPayload: "U2FsdGVkX1/2UJs5xf29qtWYgHhe7zv8v77cR3f+Y2Tu/A1DdtdzaU2+u9sF8AEfgY5UVB9CoVfu9sTBCo0WX5cSuQy0jT2V7KW+ncpDibg="
seoDescription: "Build a Digital Radio using only an ESP8266 and a speaker. A simple and fun DIY electronics project."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/esp8266-digital-radio-aa98bd_cover.jpg"
lang: "en"