Audio tutorial kit with Teensy 4.1 and audio adaptor

aranis22

Member
Hello there.
Looking to do the audio tutorial kit.
I have purchased the teensy 4.1, audio adaptor 4.0 (Rev D for teensy 4.x) seperately.
I do have the other components. I understand that a 2-pin condenser microphone should be installed on the audio adaptor and a thumbwheel potentiometer. What else should I put?

Also, for wiring up the circuit in order to do the workshop? Is there a schematic I could refer to?


Thanks in advance
 
Thanks for the response.
I have seen this, but it seems there are only breadboard coordinates. I could technically spend some time and decode which pin is which on the adaptor, but I don't see the point. This is because I have a teensy 4.1 and the Rev D audio adaptor. I just want to hook up the pins that matter on the audio adaptor (because it seems the teensy 4.1 is overkill for the audio adaptor since there are alot more pins). Basically i want to use the audio adaptor with my teensy, and get some output via I2S onto the adaptor, while also following the tutorial. Is that not possible?

Thanks
 
Basically i want to use the audio adaptor with my teensy, and get some output via I2S onto the adaptor, while also following the tutorial. Is that not possible?

For only I2S audio, the minimum pins are 7, 8, 18, 19, 20, 21, 23, 3.3V and GND (next to pin 0).

But much of the tutorial also uses the SD card on pins 10, 11, 12, 13. It also has pushbuttons on pins 0, 1, 2 and pots on pins A2 and A3, and a LED on pin 5. The last part also adds a display on more pins.

If you really so strenuously object to solder some pins that won't be used, perhaps just start with the ones you need and as you open the examples for each part of the tutorial, pay attention to which pins the code uses.

But in the end, if you actually do the entire tutorial, most of the pins get used. It's really so much simpler to just solder all 28.
 
I've connected everything according to the adapter pins. Looks like its basically the same pins corresponding to the teensy (14 to 14 etc). duh. But even then it isn't functional. I can verify teensyduino works because i can upload blink sketches, but it seems the beep audio is not coming through, or the sd card audio ( i do have an sd card in the shield with the files). It generates random noise and sometimes very unpleasant high pitches noises. Is it because I chose to wire it with jumpers? I do have G, GND, 3V3 and 5V connected. I assume everything would just be tied to the teensy anyway had I soldered it in the first place.
What could be the problem?
IMG_20240725_173028.jpg
 
What could be the problem?

Maybe 1 or more wires aren't connected properly?

Unfortunately this camera angle and zoom is impossible to visually check. The wires go outside the picture frame, and even if the zoom where slightly wider, the angle relative to Teensy makes seeing which pins are really used nearly impossible.

Less likely could be signal quality problems. These wires are on the long side for I2S. It should still work, probably, if the wires are connected to the right places.
 
I just checked again. Apologies for the image, just wanted to show the way i connected it. Pin 6 was misplaced (for the SDCARD). Really didn't help much. Can the wires be causing noise? The beeping program is common amongst all boards, and the sd card one only has a pin change for 4.x. What else can i try? Also, is it possible to return this? It was purchased on amazon
 
note: MEM's 3 pins, MIC, VGND and LINE IN/OUT have not been connected. I only soldered the 28 pins on the board
 
If you show better photos, I and probably others here will at least try to visually double check. Maybe we'll see something?
 
You could also try removing all wires except 7, 8, 18, 19, 20, 21, 23, 3.3V and GND (next to pin 0). Might be easier to check if you have only the minimal wires for the tutorial beep test, or try tunning the Synth > Guitar example.

Or while you still have the SD card wires, you could run the SD library examples like CardInfo or listfiles. Won't help with the audio, but can at least confirm if the SD card is working.
 
First two images are the audio shield. third one is the teensy. The color should be the pin connected to it, some colors are same but they correspond to the pins.
IMG_20240725_182251.jpg
IMG_20240725_182225.jpg
IMG_20240725_182519.jpg
 
You could also try removing all wires except 7, 8, 18, 19, 20, 21, 23, 3.3V and GND (next to pin 0). Might be easier to check if you have only the minimal wires for the tutorial beep test, or try tunning the Synth > Guitar example.

Or while you still have the SD card wires, you could run the SD library examples like CardInfo or listfiles. Won't help with the audio, but can at least confirm if the SD card is working.
tried the guitar example with the sd card wires removed, and pins mentioned connected. far from working but i heard the output for a few seconds, before noise and a very high piched sound came in, i could still hear a little bit of the guitar riffs, however. Does look like its not a pin issue. Perhaps something in the hardware I haven't connected? Wires too long? but nowhere near something i'd put in my ear. it hurts!
 
Last edited:
IMG_20240726_121339.jpg





Connected to PC5102 I2S DAC with similar to this connection on Teensy. Now it is working reasonably. Was I missing something in the audio adaptor board?
 
Back
Top