User avatar
By RichardS
#42990 User
voegelchen

Description
I have used the ESP8266 device (on a module) to build an USB-stick Audio Player wich is controllable via WLAN.
I used a Cortex M3 CPU to control , read USB massstorage and put out digital Audio data. The ESP8266 device is connected to one of the UARTs and I've adopted the ESP8266 AT firmware to add special portocol stuff, like packet start and end delimter. Also a ringbuffer for incoming (UDP) packets was added, so that if receiving while transmitting, no error occurs. On one GPIO Pin, a new arrived packet is signaled to the CPU and the Signal is revoed only, if all new packets were readout. Another GPIO is set to HI while ESP8266 RESET and this flag can conly be cleared by a special UART packet from the CPU, so a ESP8266 RESET could be detected.
As a special, the Android software will autodetect the device in the network, without MAC adress scanning !
If you are interested in that topic, I can send you a paper wich explain, how it's done

Parts

Links

Video

Images
Attachments
(37.06 KiB) Downloaded 404 times
(918.57 KiB) Downloaded 421 times