madbeanpedals::forum

Projects => How Do I? Beginner's Paradise. => Topic started by: Helloesposito on March 11, 2016, 02:30:31 PM

Title: Using a momentary switch to fade an LED in?
Post by: Helloesposito on March 11, 2016, 02:30:31 PM
I have a weird idea involving a photocell controlling a feedback loop, and wondered if it were at all possible to use a momentary switch. The idea would be to hit the switch and hold it, and the longer I hold it (I'm just thinking a few seconds really), it fades from no light to full brightness, the light then is opening the path in the feedback loop causing craziness! I had a flashlight and was trying it out and it sounded neat, but I'm having trouble searching online for something like this. I'm not sure if maybe this would be more in the realm of microcontrollers/programming, which I know nothing about  :P Anybody?

Title: Re: Using a momentary switch to fade an LED in?
Post by: zombie_rock123 on March 11, 2016, 02:46:29 PM
A quick google showed midwayfair answering a similar question on another forum and he suggested using a big cap to slow the charging of the led:
http://www.thegearpage.net/board/index.php?threads/momentary-switch-with-fade-in-fade-out.1201026/
But noted it was theoretical, so a good candidate for a date with the breadboard  :)
Title: Re: Using a momentary switch to fade an LED in?
Post by: jimilee on March 11, 2016, 06:42:01 PM
The multiplex does this, doesn't it?


Sent from my iPhone using Tapatalk
Title: Re: Using a momentary switch to fade an LED in?
Post by: gtr2 on March 11, 2016, 07:53:04 PM
Look at the multiplex H11F1 section and adapt it to your use.

Josh
Title: Re: Using a momentary switch to fade an LED in?
Post by: Helloesposito on March 16, 2016, 05:20:17 PM
Thanks, guys! I'll take a look  8)