DIY baby monitor that streams audio over wifi using ESP8266
|
This DIY baby monitor built by Sven337 uses two ESP8266 NodeMCU modules to send audio over wifi. The transmitter part consists of an inexpensive electret microphone to capture the audio in the room. The audio signal is amplified and converted to 12-bit digital samples using Microchip’s MCP3201 SPI ADC chip. The ESP8266 then reads the ADC samples through an SPI interface. The digital sound data is then sent over wifi using UDP packets to the receiving side ESP8266, where the analog audio is reconstructed using an MCP4725 12-bit I2C DAC device followed by an amplifier.
The ADC needs to be audio capable (able to sample at 20kHz or more), cheap, and preferably using SPI (because the ESP8266 has a hardware SPI interface, but no hardware I2C interface). I picked the 12-bit MCP3201, and I am very happy with it. I went for the DIP package, if I had to do it again I would probably buy it in a surface mount package. It’s not usuallymuch harder to solder and occupies less physical space – which in many projects, including this one, can be a real advantage. The MCP3201 is single channel. More channels didn’t cost all that much more, but required more pins, and I couldn’t afford that on the 5×5 cm board the project had to fit on.
[via Hackaday]
|