Тёмный

LED + Button = LEDBUTTON (Arduino tutorial) 

upir
Подписаться 54 тыс.
Просмотров 7 тыс.
50% 1

Do you like video? Please consider buying me coffee, thanks! www.buymeacoffee.com/upir
PCBWay - www.pcbway.com/setinvite.aspx...
WOKWI sketch: wokwi.com/projects/3802882648...
SOURCE files: github.com/upiir/arduino_led_...
--------------------------------------------------------------------------------
Learn how to use Buttons with LED backlight with Arduino UNO. This is a perfect tutorial for beginners, and shows how to use Arduino pin as inputs (for buttons) and outputs (for LEDs). Once you are familiar with buttons and LEDs, we will spice up the project with SSD1306 IIC 128x64px OLED display to show the visual representation of buttons and LEDs. Library for drawing on the OLED display is u8g2. All the images are created in online editor Photopea, and converted to arrays using the image2cpp online converter.
--------------------------------------------------------------------------------
Links from the video:
LED push buttons: s.click.aliexpress.com/e/_Dkr...
128x64 SSD1306 OLED Display 1.54": s.click.aliexpress.com/e/_DCY...
128x64 SSD1306 OLED Display 0.96": s.click.aliexpress.com/e/_DCK...
128x64 SSD1306 OLED Display 2.42": s.click.aliexpress.com/e/_DFd...
Arduino UNO: s.click.aliexpress.com/e/_AXDw1h
Arduino breadboard prototyping shield: s.click.aliexpress.com/e/_ApbCwx
Image2cpp (convert array to image): javl.github.io/image2cpp/
Photopea (online graphics editor like Photoshop): www.photopea.com/
Arduino UNO + breadboard holder 3D printing file: github.com/LaskaKit/LaskaKit-...
Related videos with Arduino UNO and 128x64 OLED screen:
Arduino + OLED displays playlist: • Arduino + OLED Displays
------------------------------------------------------------------------------------------
PCBWay is a service for manufacturing custom PCBs. If you click the link above, you will get a coupon for $5, which is exactly the price of 10 pieces of custom PCBs. In that case, you will only pay for shipping. Do you have any experience doing this? Please let me know in the comment section!
------------------------------------------------------------------------------------------------------------------------------
Do you have any questions? Suggestions for the next video? Please put those down in the comment section. I try to answer as many questions as I can. Thank you for watching, reading the video description and I hope to see you next time. Good luck with your projects!
--------------------------------------------------------------------------------------------------------
#arduino #oled #diy
--------------------------------------------------------------------------------------------------------

Опубликовано:

 

1 ноя 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 44   
@upir_upir
@upir_upir 4 месяца назад
Do you like this video? Please consider buying me a coffee, thank you! www.buymeacoffee.com/upir
@bimokayoba
@bimokayoba 7 месяцев назад
Upir + new video = New useful tools and tricks Thank you so much i love it ♥☺
@upir_upir
@upir_upir 7 месяцев назад
Thank you for your nice comment, I really appreciate it! Good luck with your projects.
@lavacat720
@lavacat720 7 месяцев назад
I love these buttons, you can do the same thing with any led button there are even led buttons that you can screw in that are classic
@upir_upir
@upir_upir 7 месяцев назад
I love those as well! But I´m easy to please, as long as it´s shining, I like it :)
@Skibosski
@Skibosski 3 месяца назад
Your videos are on a whole new level... amazing stuff!!! ❤ Im now desperately trying to find a button EXACTLY like this.. 😢
@upir_upir
@upir_upir 3 месяца назад
Thank you so much 😀 Unfortunately, the exact same button seems to be out of stock for now, but you can get similar, just slightly taller.
@Skibosski
@Skibosski 3 месяца назад
@upir_upir will look into it.. keep on with the amazing stuff its mind blowing
@pykid1915
@pykid1915 6 месяцев назад
i love your videos ,everything is very much visually appealing crisp and clear
@upir_upir
@upir_upir 6 месяцев назад
Thank you for your nice comment, I really appreciate it.
@Sapocrate
@Sapocrate 7 месяцев назад
what a wonderful content you make... the way you explain everything in every video is very very useful ! Thank you
@upir_upir
@upir_upir 7 месяцев назад
Thank you, I´m glad you like it! It´s a little bit challenging to record those long videos, but seeing that it´s useful, I will keep recording :)
@Shamim-Programmer
@Shamim-Programmer 6 месяцев назад
I love your projects
@upir_upir
@upir_upir 6 месяцев назад
Thank you!
@Shamim-Programmer
@Shamim-Programmer 6 месяцев назад
❤❤@@upir_upir
@Shamim-Programmer
@Shamim-Programmer 6 месяцев назад
I want to talk to you can you give me a social please I have an idea
@iamkian
@iamkian 7 месяцев назад
I like it. Could be handy for some projects. Thank you
@upir_upir
@upir_upir 7 месяцев назад
Thank you, I´m glad you like it!
@andymouse
@andymouse 7 месяцев назад
Awesome, I don't have an artistic bone in my body and would never of thought of this ! thanks for inspiration...cheers.
@upir_upir
@upir_upir 7 месяцев назад
Thank you for your nice comment, I´m sure you can "grow that bone" with some practice :) Good luck!
@upir_upir
@upir_upir 7 месяцев назад
All the source files are here: github.com/upiir/arduino_led_buttons
@devilvortex1
@devilvortex1 7 месяцев назад
Nice
@upir_upir
@upir_upir 7 месяцев назад
Thank you!
@user-vl7xy3nu1q
@user-vl7xy3nu1q 7 месяцев назад
We are based in New Zealand and can't find the buttons locally, Can we please have a link where to find them?
@upir_upir
@upir_upir 7 месяцев назад
Sure, the AliExpress link for the buttons is in the description. It´s shipping from China to anywhere, with a very low delivery cost, but it usually takes a few weeks.
@BadBrother
@BadBrother 7 месяцев назад
Hi, Now I'm creating a menu for my project. In this menu I connected it to the interrupt pin. In short, I will fill this void loop to display the value of the NPK sensor. Then when I press the menu button which is connected to pin 20 (interrupt pin in Arduino Mega), I hope to call the settings menu function which is connected to the interrupt pin. I managed to call up the menu, but when I pressed the menu button it again. The settings menu keeps appearing and cannot be stopped. Do you know how to stop the function connected to interrupt? I have tried various methods and asked the GPT chat and have not found a solution. I hope you can help me, thank you for your time. I am using u8g2 library
@upir_upir
@upir_upir 7 месяцев назад
You want to show the menu only once? Could you perhaps create some helper variable to store the status of the menu - and add a simple if statement into the interrupt call? I.e., if the menu is already displayed, or if you simply do not not want the menu to be dispayed, just do nothing? Also, there is an Arduino function "noInterrupts()", that will simply disable interrupts. You can enable them again by calling "interrupts();" Hope that was helpful. Good luck with your project!
@BadBrother
@BadBrother 6 месяцев назад
@@upir_upir Thank you for the advice. I've fixed my code and can now run my menu using interrupts. I used simple logic and kept my menu in a loop function and it worked. The interrupt pin is only used to increase variable value then execute the "if" block and the "if" block calls the menu function. I'm too much overthinking about my code, hahaha. Btw thanks for your reply.
@upir_upir
@upir_upir 6 месяцев назад
@BadBrother cool, I’m glad you were able to figure this out. Good luck with your project!
@upir_upir
@upir_upir 6 месяцев назад
@@BadBrother That´s great to hear!
@chonapicardal9358
@chonapicardal9358 2 месяца назад
What are the buttons called so I can buy it on amazon
@upir_upir
@upir_upir 2 месяца назад
LED buttons. I did bought them on AliExpress but they are out of stock for now. You can get similar, but those are slightly taller and not that compact.
@dangersdnb
@dangersdnb 4 месяца назад
hey man. Do you have an updated link for the aliexpress buttons?
@upir_upir
@upir_upir 4 месяца назад
I have updated the link in the description, it´s not 100% same, but very very similar. Unfortunately, I wasn´t able to find the exact one anywhere :/
@dangersdnb
@dangersdnb 4 месяца назад
@@upir_upir Thanks, they look like they will do the trick. Are these the ones that you can put little inserts in with labels? I'm sure you did that on one of your videos but I can't seem to locate it
@Skan_CODY-07
@Skan_CODY-07 6 месяцев назад
Bro can you please tell the name of the display which you used in your "Arduino and OLED no coding needed" video thumbnail Please bro
@upir_upir
@upir_upir 6 месяцев назад
Sure, I have replied to your previous comment. The link was in the description of the video. Let me know if you need anything else.
@Skan_CODY-07
@Skan_CODY-07 6 месяцев назад
@upir_upir I saw that bro thank you for your support 🙏 😀
@upir_upir
@upir_upir 6 месяцев назад
@user-of4gu1no9v you are welcome, good luck with your project!
@upir_upir
@upir_upir 6 месяцев назад
@@Skan_CODY-07 You are welcome, good luck with your project!
@awaisjatt1499
@awaisjatt1499 7 месяцев назад
Please make video on Nokia 1100 display ( Not Nokia 5110 )
@upir_upir
@upir_upir 7 месяцев назад
Do you have a link where you can get that display? The 5110 is everywhere, but I cannot find the 1100..
@karlohorcicka7388
@karlohorcicka7388 7 месяцев назад
Couldn't you just have used toggle function?
@upir_upir
@upir_upir 7 месяцев назад
What do you mean by the toggle function? Thanks!
Далее
Homemade Pitch Roll Indicator
20:57
Просмотров 44 тыс.
Arduino Hexagonal Displays
17:44
Просмотров 7 тыс.
Arduino OLED Gauge
37:14
Просмотров 58 тыс.
I found PERFECT display
51:32
Просмотров 203 тыс.
Arduino OLED Segmented Clock
20:14
Просмотров 10 тыс.
Arduino ATtiny85 OLED Menu
34:46
Просмотров 18 тыс.
Label and backlight a KORRY button like a Pro - DIY
7:43
How to Build a Massive LED Wall on a Budget
14:30
Просмотров 328 тыс.
Arduino Projects - 12 GREAT Ideas for you!!!
9:00
Просмотров 339 тыс.