Has anyone recorded I2S microphone data and sent it through MQTT or BLE using ESP32?

hi team, Has anyone recorded I2S microphone data and sent it through MQTT or BLE using ESP32?
10 Replies
techielew
techielew3mo ago
I haven't but there are plenty who have worked with this combo of tech. What is your challenge?
youcef_ali
youcef_ali3mo ago
I want to use my esp32 and i2s mic as external mic to be used with pc or phone
techielew
techielew3mo ago
Philip Giacalone
YouTube
ESP32 I2s audio player for internet radio streaming via WiFi (Part 1)
ESP32 I2s audio project for internet radio streaming via WiFi. Includes a volume control potentiometer and a list of audio URLs for internet audio content. Link to the code: https://github.com/pgiacalo/ESP32_I2S_WiFi_Radio Closeup photo of breadboard wiring: https://drive.google.com/file/d/1n6GwD2lnnVtTxIn9iVWAJra-6E8gJwoq/view?usp=sharing ...
techielew
techielew3mo ago
There's some code in the comments I just forked into our Github: https://github.com/DevHeadsCommunity/ESP32_I2S_WiFi_Radio
GitHub
GitHub - DevHeadsCommunity/ESP32_I2S_WiFi_Radio: ESP32 audio player...
ESP32 audio player with volume control. Uses I2S and WiFi to stream radio content from internet URLs. - DevHeadsCommunity/ESP32_I2S_WiFi_Radio
techielew
techielew3mo ago
And @youcef_ali here's some additional info re streaming an i2s audio broadcast to an MQTT server: https://github.com/pschatzmann/arduino-audio-tools/discussions/989
GitHub
Sending live audio broadcast from INMP441 to MQTT Server. · pschatz...
Hello, I have been looking through the arduino audio tools library that you have created and tried quite a few examples here to understand its functionality. Wonderful work done here might I add. I...
techielew
techielew3mo ago
Both are built around ESP32 targets. Hopefully together you can get everything you need. Let me know if you have specific questions tho. @Edge Networking devs if you have anything to add, jump in.
youcef_ali
youcef_ali2mo ago
I found this tutorial very interesting https://youtu.be/qmruNKeIN-o?si=KsvGedERITiIz7gt
That Project
YouTube
ESP32 | INMP441 | Tutorial - [Part.4] Capturing audio from i2s mic ...
The WAV media format is still a popular file, making it easy to access. In this video, it's showing you how to capture audio from i2s mic to save the WAV file in the SPIFFS. [INMP441 Omnidirectional Microphone] https://amzn.to/3Ma8C47 [I2S ADC DAC EXAMPLE] https://github.com/espressif/esp-idf/tree/master/examples/peripherals/i2s_adc_dac [All ...
youcef_ali
youcef_ali2mo ago
The sound was very bad with 16bit, I'll try now with 32 bits
julien
julien2mo ago
If you plan to do real time streaming look at VoIP protocols like RTP or WebRTC. MQTT is not a great fit there
youcef_ali
youcef_ali2mo ago
what do you suggest ? AMQP ? or tcp, udp ?
Want results from more Discord servers?
Add your server
More Posts
Please does anyone have any idea on scheduling algorithms on RTOS for automotive control systems ?Good day guys ! Please does anyone have any idea on scheduling algorithms on RTOS for automotive cSwitching from L3G4200D to MPU6050 and Updating I2C Address in Arduino CodeHi everyone, can anyone help me with this, I'm building a quadcopter following this schematic, and IHas anyone already used the MQTT protocol with an ESP32 for external access to the local network?Hi! Has anyone already used the MQTT protocol with an ESP32 for external access to the local networkWhat is the maximum data size that can be sent using MQTT on an ESP32, and is this task blocking?Hi team, What is the maximum data size that can be sent using MQTT on an ESP32, and is this task bloI'm searching for a cnc cut design for my flight frame, does anyone have a ready design?Hi everyone, I'm searching for a cnc cut design for my flight frame, does anyone have a ready designCan i use an ESP32 camera with a Raspberry Pi for object detection?good afternoon can i use esp32 cam with raspberry pi to detect object ?I am exploring STM32 microcontroller development with RTOS (micrium). Any tips ?Please I need help on this guys , I am exploring STM32 microcontroller development with RTOS (micriuEmbedded Rust: where are we today?**Rust** is gaining popularity, but not yet widely used in embedded systems. Many companies stick toHow many layers should I use in my PCB design?While starting a project ,how should i decide the number of layers to use when designing my board. WCaesar's CipherJulius Caesar protected his confidential information by encrypting it using a cipher. Caesar's ciphe