Jan 9, 2017 #1 farhang_760 Newbie level 6 Joined Mar 8, 2015 Messages 12 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 107 Hi I want to find a way, to controll rgb led color (specific color for example 5 or ten specified color) with a tact switch and without micro-controller. on the other hand want to use simple and cheap material. thanks for your help
Hi I want to find a way, to controll rgb led color (specific color for example 5 or ten specified color) with a tact switch and without micro-controller. on the other hand want to use simple and cheap material. thanks for your help
Jan 9, 2017 #2 Easyrider83 Advanced Member level 5 Joined Oct 11, 2011 Messages 1,608 Helped 374 Reputation 748 Reaction score 363 Trophy points 1,363 Location Tallinn, Estonia Activity points 8,575 Cheapest solution will be the microcontroller. Simplest will be the logic like counter IC. Just make it count and attach driver to output.
Cheapest solution will be the microcontroller. Simplest will be the logic like counter IC. Just make it count and attach driver to output.
Jan 9, 2017 #3 farhang_760 Newbie level 6 Joined Mar 8, 2015 Messages 12 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 107 Easyrider83 said: Cheapest solution will be the microcontroller. Simplest will be the logic like counter IC. Just make it count and attach driver to output. Click to expand... with microcontroller whats your suggestion (low cost)? do you have any sample schematic? thanks
Easyrider83 said: Cheapest solution will be the microcontroller. Simplest will be the logic like counter IC. Just make it count and attach driver to output. Click to expand... with microcontroller whats your suggestion (low cost)? do you have any sample schematic? thanks
Jan 9, 2017 #4 schmitt trigger Advanced Member level 5 Joined Apr 17, 2013 Messages 2,725 Helped 859 Reputation 1,722 Reaction score 850 Trophy points 1,393 Activity points 18,445 Assuming that red is the MSB, green the middle bit, and blue is the LSB, any 3 bit binary counter would provide the following sequence: RGB 000 black 001 blue 010 green 011 cyan 100 red 101 magenta 110 yellow 111 white repeat.... You could use one half of a 74C393. The switch would have to be debounced. Google switch debouncing.
Assuming that red is the MSB, green the middle bit, and blue is the LSB, any 3 bit binary counter would provide the following sequence: RGB 000 black 001 blue 010 green 011 cyan 100 red 101 magenta 110 yellow 111 white repeat.... You could use one half of a 74C393. The switch would have to be debounced. Google switch debouncing.