Components and supplies
NodeMCU ESP8266 Breakout Board
Jumper wires (generic)
Speaker: 0.25W, 8 ohms
Breadboard (generic)
Apps and platforms
Arduino IDE
Project description
Code
ESP8266Audio Library by earlephilhower
This is the library we will use. It has some great examples you could use to. just click Download .zip below and install it in the IDE under Sketch, then Include Library, and then choose it after clicking on Add .ZIP Library...
Installing the ESP8266 Board Library + sketch with example stations
arduino
You need to install the Board Library, to upload the sketch. Go to FILE, then to Preferences and paste the following link into Additional Boards Manager URLs:http://arduino.esp8266.com/stable/package_esp8266com_index.json Now to the code you could use. It is in the examples of the library to, but I entert two German Radio Stations for Testing(you can replace these of course). When uploading you should set the CPU Frequency to 160 MHZ.
ESP8266Audio Library by earlephilhower
This is the library we will use. It has some great examples you could use to. just click Download .zip below and install it in the IDE under Sketch, then Include Library, and then choose it after clicking on Add .ZIP Library...
Downloadable files
Wirering Diagramm
This is how you need to wire the esp with the speaker. You connect the speakers positive to RX of the ESP and Ground to Ground. You can put a 50 µF capacitor in series, to improve sound quality by filtering noise
Wirering Diagramm
Wirering Diagramm
This is how you need to wire the esp with the speaker. You connect the speakers positive to RX of the ESP and Ground to Ground. You can put a 50 µF capacitor in series, to improve sound quality by filtering noise
Wirering Diagramm
Comments
Only logged in users can leave comments
Henry2106
0 Followers
•0 Projects
Table of contents
Intro
7
0