I am looking for a way to light in LED in sync with audio playing on a PC. I am aware there are kits etc that can do this but I was interested as to whether this can be done via a circuit connected to the 3.5mm audio out socket?
I haven’t tried this yet as don’t think I have a 2N3904 transistor. So before I order one I thought best to post here to garner thoughts on the matter.
Any NPN transistor will do - just make sure you get the pinout right as they vary. And much nicer to use AA cells rather than the limited capacity and expensive 9V batteries. If you are using a red LED then three should do, which can be installed in a battery holder.
I did come across WLED while researching which looks interesting. I will look into it futher alongside the audio out option, which still appeals to due it’s barebones nature.
You can do that, but the results will be disappointing.
Audio it’s not only a funcion of volume, you risk to have the LEDs on all the time or have to lower your volumes and tune it for each single song, I honesly not advice it.
The project I am working on is a phone system using Skype and Pi Pico. I want a visual indicator such as an LED to flash when a call comes in. From what I understand WLED does not work with the Pico right? If that’s the case then I would need a suitable board which might be OK if it can do the job the Pico is doing as wouldn’t want two boards.
The Pico’s main function is to send keystrokes for answering and ending a call and also toggling the audio output. A physical switch it attached to the Pico triggering the relevant action depending on its state.
Skype is on a PC running Linux Mint (latest version).
I used WLED and an esp32 controller with a digital mic to animate my projects. Happy to chat in person about it. Am almost at the workshop and will be here for couple of hours.
Thanks Darren. Your work looks very interesting - would be keen to learn more. I am out of town at the moment until Monday. Anytime after that should be OK.