So, I was scrolling through youtube shorts last night and came across someone using the headphone jack with a rp2040 chip to visualize audio input? Is the Picocalc capable of this?
Hi,
I’m not sure but the audio circuitery use a NC7WZ16 buffer chip (U501) to “adapt” and protect the pico IO from the filter/output side.
You can’t read any analog signal from the outside using the jack port or the speakers.
Maybe you can use external mic on the side GPIO instead?
EDIT: another “hard” way should be to add an another buffer reversed and connect the output on a free IO pin of the pico. But we are entering the realm of surgery at this point…
You just need to get the audio delivered to an adc pin on the Pico - as Jack has stated, you can use the GPIO on the side for this (GPIO28 is A2). You need some circuitry to appropriately bias the input as audio signals are bipolar (both positive and negative voltage) but the ADC is positive voltage only; a capacitor and a couple of bias resistors to 0v and 3.3v is the minimum circuit to do that. After that it’s just a matter of software.