This project contains the code, sample files and configuration files, and the PCB export (made with Fritzing) for a noise generation device, used in research.
The main component is the DF Robot Mini MP3 Player module which can hold an SD Card and has a built-in amplifier good enough to drive a small speaker like the VS-FR7-4. This is controlled by ESP8266 Microcontroller via serial communication. A DSDS3232 Real Time Clock is also attached to the microcontroller to keep track of time. The microcontroller controls - in a hourly resolution - the played tracks (if any), and randomizes the quiet periods and the order of the tracks. This configuration can be created and managed from the web server. The device sends logs and error messages to the server if it has active WiFi connection. Otherwise it collects log-data locally which can be collected with Another ESp8266 device with a purposebuilt code. The device's firmware can be upgraded through WiFi connection, from the webupdate server.