Multi-Function-Push button using Arduino

preview_player
Показать описание
Hi everyone,
In this video, I'm going to show how to make a multi-function push button with Arduino and use it in your project professionally.
Using this method will save a lot of pins in Arduino and make your project more easy to use.
So as I said there four example showing in this video, Each one has a good point in some case and I hope to understand what I have done.
----------------------------------------------------------------------------------------------
First Example: Turn one LED by two Push Button one to Turn it ON and the other to Turn it OFF. Start at 00:07
Here's the Arduino code and the diagram :
----------------------------------------------------------------------------------------------
Second Example: Turn the LED by one Push Button to Turn it ON and OFF.
Start at 00:29
Here's the Arduino code and the diagram :
----------------------------------------------------------------------------------------------
Third Example: Counter with Seven Segment four Digits uses two Push Button one to increase the number and the other to decrease it, To reset the counter just click the tow Button at the same time. Start at 00:53
Here the Arduino code and the diagram :
----------------------------------------------------------------------------------------------
Fourth Example: Control Three LEDs using just one push button by multi-function method. One click to Turn the LED1 ON and OFF, Double click to Turn the LED2 ON and OFF, long click to Turn the LED3 ON and OFF, Push it one second to turn ON and again to turn it OFF. The second Button to adjust the LED brightness. Last one to turn all the LEDs OFF and reset the processes.
Start at 01:54
Here the Arduino code and the diagram :
----------------------------------------------------------------------------------------------
Here's how I made the LCD driver using just 1 wire the another two you still can use it because of SPI protocol.
----------------------------------------------------------------------------------------------
Music: Fredji - Happy Life (Vlog No Copyright Music)
----------------------------------------------------------------------------------------------
If you like this video don't forget to Like and Share.
Don't be a stranger, hit the Subscribe button, It will be awesome having you here.
Comment if you have any questions.
Thanks for watching.
Рекомендации по теме
Комментарии
Автор

Thanks very much. This video amazing keep it.
Good explanation. It was helpful.

pcibra
Автор

Could we program each button to turn the same light bulb a different color? For example, one button for red, another button for blue, another button for green, and so on...? And also have one button that turns it just off? This is for a school project! Please share help if possible!

lindakomis
Автор

do u use 16 pin 4digit 7 segment or 12 pin at 00:53. If ur using 16, how can i use the same setup for 12, can u help?

EnsaReis
Автор

Amazing video bro
Plz try to understand my English is week
Pls make video on delay switch counter arduino Relay I need for fan winding counter for choose count 300 and it counting reached 300 than after relay stop

chetan
Автор

Im just trying to figure out one button with 3 functions.

loadcartoons
Автор

4no program
LCD blinking problem show

technicalsidhu