filmov
tv
Multi-Function-Push button using Arduino

Показать описание
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.
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.
Комментарии