{"product_id":"adafruit-pdm-microphone-breakout-with-jst-sh-connector","title":"Adafruit PDM Microphone Breakout with JST SH Connector","description":"\u003cp\u003eAn exotic new microphone has arrived in the Adafruit shop, a \u003cstrong\u003ePDM MEMS Microphone\u003c\/strong\u003e! PDM is the 'third' kind of microphone you can integrate with electronics, apart from analog or I2S. These microphones are very commonly used in products, but are rarely seen in maker projects. Still, they have some benefits so we thought we'd offer a breakout for the shop.\u003c\/p\u003e\u003cp\u003eThe first thing to note is that this sensor does not provide an 'analog' output like many of our electret microphone assemblies. So it's great for chips that do not have analog inputs. Secondly, the digital interface is a very simplistic \u003cstrong\u003ep\u003c\/strong\u003eulse \u003cstrong\u003ed\u003c\/strong\u003eensity \u003cstrong\u003em\u003c\/strong\u003eodulation output. It's digital but its \u003cem\u003enot\u003c\/em\u003e PWM and it's \u003cem\u003enot\u003c\/em\u003e I2S. You will need to make sure your chip has a PDM interface - most 32-bit processors these days do!\u003c\/p\u003e\u003cp\u003ePDM is a little like 1-bit PWM. You clock the mic with a 1 MHz - 3 MHz clock rate, and on the data line you'll get a square wave out that syncs with the clock. The data line with be 0 or 1 logic output, with the square wave creating a \u003cem\u003edensity\u003c\/em\u003e that when averaged will result in the analog value out.\u003c\/p\u003e\u003cp\u003eThere's a few ways to manage these mics:\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eYour chip comes with a hardware peripheral and library that does all the data managing at high speed, collects samples, applies a filter and gives you an analog value (The nRF52840 is like this and it is ideal!)\u003c\/li\u003e\n\u003cli\u003eYour chip comes with a hardware peripheral that gives you values, then it is up to you to perform the decimation\/filtering. (We have some example code for this on the ATSAMD21 chipset)\u003c\/li\u003e\n\u003cli\u003eYour chip does not come with a hardware peripheral but you're pretty clever and come up with a way to make it work using SPI (See this example for the ATtiny85)\u003c\/li\u003e\n\u003cli\u003eYou generate the high speed clock, then add an analog filter on the data line, and read the analog value (A hack, but works!)\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003eEither way you decide to go, make sure you have a handle on what support you get with your platform, as these chips are a little tricky!\u003c\/p\u003e\u003cp\u003eEach order comes with one fully assembled and tested microphone. This version of the mic has a 4-JST SH connector with \u003cstrong\u003e3V, GND, DAT, CLK\u003c\/strong\u003e connections that can be used with one of our JST-SH cables to make a flexible mic arrangement. If you want a version with breakout headers, we have a version here. An on-board solder jumper lets you change the mic from Left to Right channel\u003c\/p\u003e\u003cp\u003eCheck out our full guide for wiring details, schematics, example code, datasheet and more!\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003ch2\u003eTechnical Details\u003c\/h2\u003e\u003cdiv id=\"tab-technical-details-content\" class=\"panel-collapse collapse in\"\u003e \u003cdiv class=\"row\"\u003e \u003cdiv class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"\u003e\n\u003cp\u003eWiring, schematics, example code, datasheets, Fritzing and more in the product tutorial!\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eVoltage Range: 1.8-3.3V\u003c\/li\u003e\n\u003cli\u003eClock rate: 1 - 3.25 MHz\u003c\/li\u003e\n\u003cli\u003eCurrent draw: 0.6mA\u003c\/li\u003e\n\u003cli\u003eSNR: 61 dB\u003c\/li\u003e\n\u003cli\u003eSensitivity: ~-26 dBFS\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eProduct Dimensions: 14.0mm x 14.0mm x 4.5mm \/ 0.6\" x 0.6\" x 0.2\" \u003c\/p\u003e\n\u003cp\u003eProduct Weight: 0.7g \/ 0.0oz \u003c\/p\u003e\n\u003c\/div\u003e \u003c\/div\u003e\n\u003cul id=\"product-files\"\u003e \u003c\/ul\u003e \u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003c\/div\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e \u003c\/div\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":48624057745626,"sku":"xac1789681232740","price":4.33,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0824\/8318\/3834\/files\/adafruit-pdm-microphone-breakout-with-jst-sh-connector_1.jpg?v=1789681237","url":"https:\/\/memoryfoamwear.shop\/products\/adafruit-pdm-microphone-breakout-with-jst-sh-connector","provider":"My Store","version":"1.0","type":"link"}