Metro Express M4 with Adafruit STEMMA Speaker - Plug and Pla

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
abrown
 
Posts: 7
Joined: Fri Mar 02, 2018 9:43 am

Metro Express M4 with Adafruit STEMMA Speaker - Plug and Pla

Post by abrown »

My students have been working with the Metro Express M4 for years, and I would like them to be able to play music from the board.

I saw the Adafruit STEMMA Speaker - Plug and Play Audio Amplifier, and I’m wondering if I can get this to work with my Metro. Has anyone done this?

The learning examples only show CircuitPython Express board code and wiring.

Thoughts?

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Metro Express M4 with Adafruit STEMMA Speaker - Plug and

Post by adafruit_support_carter »

It should generally work the same, as long as you can make the connections.

Start by using the same general wiring:
https://learn.adafruit.com/adafruit-ste ... aker/usage
on the Metro:
* BLACK to GND
* RED to 3.3V
* WHITE to A0 (or A1)

And then to generate the sounds, start here:
https://learn.adafruit.com/circuitpytho ... -audio-out
The code examples there appear to use A1. You could either change the code to A0, or try wiring speaker to A1.

Locked
Please be positive and constructive with your questions and comments.

Return to “For Educators”