Bakhanbeigi
Member
I’m working on an audio project using a Teensy 4.1 with the Audio Shield, and I’m using a 74HC4067 (16-channel analog multiplexer) to read multiple analog inputs.
Thanks!
Connections
The mux-to-Teensy 4.1 connections are:- S0 → Teensy pin 19 (A5)
- S1 → Teensy pin 20 (A6)
- S2 → Teensy pin 21 (A7)
- S3 → Teensy pin 22 (A8)
- COM → Teensy pin 23 (A9)
- VCC → Teensy 3.3V
- GND → Teensy GND
- EN → GND (always enabled)
Inputs
- C0–C4 → five 10k potentiometers
- C5–C7 → joystick connector
- C8–C15 → not connected
Problem
I’m seeing unstable and inconsistent readings:- Sometimes values appear random
- Occasionally channels don’t respond at all
What I want to verify
Before I assume it’s a soldering issue, I want to confirm:- Are these correct analog pins to use on Teensy 4.1 with the Audio Shield?
- Is there any known conflict between these pins and the Audio Shield?
- Could leaving unused mux channels floating (C8–C15) cause this kind of noise?
- Should I add pull-down resistors or buffering on the mux output?
Thanks!