Transistor as a switch

  • Thread starter asa!!
  • Start date
32
0
Hi guys, i want to fix a circuit that will use a led and i want to use a transistor as the switch to the led. I would like the base current to be produced by a sound played throug ha mobile. A sound turning the light on and the same or other sound turning it off. No ideas how to do it.Thank you for your help.any ideas are welcomed
asa!!
 

berkeman

Mentor
55,117
5,344
Check out this thread from a couple weeks ago:

https://www.physicsforums.com/showthread.php?t=78945

In my last post at the bottom, I show a circuit that turns on a red or green LED based on the battery voltage (as a low-voltage indication). The two cross-connected transistors at the right would be how you would normally make a small 1-bit memory cell that can turn on an LED in response to something, and then turn it off in response to something else. By turning on one transistor, that shuts off the other transistor.

Now you just need to figure out what you want to do with your input signals to generate the base drives for the two transistors. For example, you could low-pass the music to generate one base drive signal, and high-pass the music to generate the other base drive signal. Then different tones in the music would turn the LED on or off. If you leave two LEDs in the circut like for the low-batt indicator, you'll get a mix of colors based on the music content.
 

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top