Tuesday, June 30, 2026
HomeIoTThe Mico RP2040 Microphone Is Perfect for Machine Studying Purposes

The Mico RP2040 Microphone Is Perfect for Machine Studying Purposes

[ad_1]

Reliably capturing audio for machine studying purposes calls for a transparent microphone. Whereas cheap USB microphones can be found, one embedded methods programmer discovered these mics had an excessive amount of broadband noise. So, Mahesh Venkitachalam leveraged an open supply software program library and constructed Mico, a PDM-to-USB microphone powered by the Raspberry Pi RP2040 microcontroller.

Mico is barely wider and twice the size of a USB-A connector. The PCB is simply giant sufficient to carry the RP2040 and its assist elements, together with a floor mount PDM microphone.

Venkitachalam selected an STMicroelectronics MP23DB01HPTR Pulse Density Modulation (PDM) microphone. These microphone sorts have changed I2S-based mics in cellular units as a result of they’re small and solely require a couple of IO pins. For instance, this one from ST solely wants two pins for fundamental operation: the clock and the PDM knowledge.

If you happen to take a look at the RP2040’s datasheet or pinout, you may discover “PDM pins” are lacking. Venkitachalam picked the RP2040 due to its programmable IO (PIO) modules.

The RP2040’s PIO is a small state machine operating independently of the twin Arm Cortex-M0+ CPUs. Every PIO module can have as much as 32 directions from a handful of assembly-like opcodes that handle the IO pins. The outcome is a versatile GPIO construction that may interface with many protocols with out having devoted {hardware}.

Mico makes use of an open-source Pi Pico (RP2040) Microphone Library to drive the PIO module. It interfaces with PDM microphones. Because the PIO handles the IO, the C-code operating on the Arm cores can course of the audio data. One minor change Venkitachalam did to that code was including an LED for exercise.

The RP2040 seems to the host as a USB audio machine. This design ought to enable Mico to work with any software that may entry normal units.

Micro Demo Video

If you wish to make a Mico, take a look at this GitHub repository. It has the code, KiCad design recordsdata, and compiled firmware. There are additionally some further particulars on this electronut.in a weblog submit.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments