Тёмный

Arduino ATtiny85 OLED Menu 

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

Do you like video? Please consider buying me coffee, thanks! www.buymeacoff...
PCBWay - www.pcbway.com...
Source files: github.com/upi...
WOKWI sketch: wokwi.com/proj...
---------------------------------------------------------------------------------
Links from the video:
ATtiny85 chip: s.click.aliexp...
Arduino UNO: s.click.aliexp...
Arduino prototyping shield: s.click.aliexp...
USB to 5V power cable with crocodile clips: s.click.aliexp...
Image2cpp (convert array to image): javl.github.io...
Photopea (online graphics editor like Photoshop): www.photopea.com
Transparent OLED display: s.click.aliexp...
128x64 SSD1306 OLED Display 1.54": s.click.aliexp...
128x64 SSD1306 OLED Display 0.96": s.click.aliexp...
128x64 SSD1306 OLED Display 2.42": s.click.aliexp...
Additional boards URL for attiny85: raw.githubuser...
Related videos from the video:
Videos using ATtiny85 chip: • ATtiny85
Arduino + OLED displays: • Arduino + OLED Displays
Arduino UNO menu with u8g: • Arduino OLED Menu Tuto...
Arduino UNO menu with u8g2: • U8g vs. U8g2 Arduino G...
Xmas PCB badge: • I have missed Christma...
---------------------------------------------------------------------------------
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 #attiny85

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

 

7 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 66   
@upir_upir
@upir_upir 8 месяцев назад
Do you like this video? Please consider buying me a coffee, thank you! www.buymeacoffee.com/upir
@bizarro_bread
@bizarro_bread 10 месяцев назад
The craziest thing is that I was working on this kind of project yesterday for a little winter display. I fiddled with it for hours and gave up. But then I saw your video and was like,” I gotta give this a try.” And you won’t believe me, but I powered the Attiny85 and it displayed correctly. I then made it dynamically update after I found out how the library worked a little bit better.
@upir_upir
@upir_upir 10 месяцев назад
That´s great to hear that you were able to solve your problem and get your project running!
@bimokayoba
@bimokayoba 10 месяцев назад
OMG with this i can make my project smaller, thank you 😍
@upir_upir
@upir_upir 10 месяцев назад
You are surely welcome, good luck with your project!
@karim1485
@karim1485 4 месяца назад
You are such a king and an inspiration, thank you so much for your thorough tutorials!! Can't wait to see what you are doing next!
@upir_upir
@upir_upir 4 месяца назад
Thank you for such a nice comment, I really appreciate it!
@macxsi
@macxsi 5 месяцев назад
I wish I had seen this video earlier.. A few months ago I was trying to make a menu for my OLED display, and spent hours apon hours on the arduino IDE and coulnd't get it to work. Really great Video, also the gearshifter ones!
@upir_upir
@upir_upir 5 месяцев назад
Thank you for your nice words. I also have a second video about the menu project, using Arduino UNO, which has a little bit more details.
@NavySturmGewehr
@NavySturmGewehr 10 месяцев назад
Thank you so much for your videos. My egt gauge is coming along nicely and it's thanks specifically to you!
@upir_upir
@upir_upir 10 месяцев назад
That’s great to hear, thank you for your nice words. Is the gauge something you could show? I would love to see it!
@NavySturmGewehr
@NavySturmGewehr 10 месяцев назад
@@upir_upir ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qxWzDBUgqhM.html
@andymouse
@andymouse 10 месяцев назад
Another awesome tutorial that reminds me I need to find out about 'Scripts' and it's amazing what you can squash into the Tiny85 !...cheers.
@upir_upir
@upir_upir 10 месяцев назад
Thank you for your nice words, a year ago, I wouldn´t think that I can squeeze the menu project into the ATtiny and here it is :) Scripts are very powerful. And regex, that is great timesaver as well.
@nyfaz
@nyfaz 10 месяцев назад
Thank you for tutorial and source files :)
@upir_upir
@upir_upir 10 месяцев назад
You are welcome, and good luck with your projects!
@magolide
@magolide 10 месяцев назад
Pozdrav Upiru iz Južne Afrike. Želim ti zahvaliti za tvoj kanal, naučio si me puno. Nastavi s dobrim radom, brate. Ispričavam se za loše prevođenje na slavenski, dao sam sve od sebe
@upir_upir
@upir_upir 10 месяцев назад
Thank you for your nice comment, I´m glad the video was helpful!
@upir_upir
@upir_upir 10 месяцев назад
All the source file are on GitHub - github.com/upiir/attiny85_oled_menu
@maciejd7823
@maciejd7823 10 месяцев назад
Bro i would have just uploaded those images one by one. Respect for the work.
@upir_upir
@upir_upir 10 месяцев назад
Thank you! If I woudn´t be recording a video, I would do something similar and time consuming as well. It´s just that recording a video forces me to try to find the simplest path..
@lmapes
@lmapes 10 месяцев назад
This is awesome continuation from previous videos. Could you do a video of personalized animated startup screen upon theoretical "vehicle start up"?
@upir_upir
@upir_upir 10 месяцев назад
Thank you, I’m glad you like it! Could you be more specific of what animation are you looking for? Thank you!
@roostertechchan
@roostertechchan 10 месяцев назад
I think you are THE arduino GUI guru :)
@upir_upir
@upir_upir 10 месяцев назад
Thank you!
@emanuelbarrantesdelgadillo1795
@emanuelbarrantesdelgadillo1795 9 месяцев назад
I was very excited about the video. I would like to see the part where you make the interface for each of the options. Will you release it someday? Do you have a channel for programming-related questions or doubts?
@upir_upir
@upir_upir 9 месяцев назад
Thank you for your comment. I have several videos on this channel describing how to make individual screen, please feel free to check those. However, those are done mostly with Arduino UNO, not with ATTINY85. Some of those screens would be hard to replicate with ATTINY.
@kunjmon11
@kunjmon11 10 месяцев назад
Can you do a video using squareline studio and lvgl. For non touch display with button and rotary 🤗
@upir_upir
@upir_upir 10 месяцев назад
Yep, lvgl is on my todo list for a while, I need to record a video using it.
@guillaumep.7206
@guillaumep.7206 10 месяцев назад
Very nice job and very good video. I subscribed. However, how to you pass the info to another MCU? I see that you only have PB1 and PB5 left. So it would have to be a serial communication of some sort. Right?
@upir_upir
@upir_upir 10 месяцев назад
Thank you for your comment. You are right, there are not too many pins left, but if you only need to send data from ATtiny to another MCU using serial, you only need one line. Another possiblity is to use I2C connnection. If the other MCU can have a different I2C address than the display, you can use the very same pins as you use for the display, and not using any extra pins.
@micultimy91
@micultimy91 10 месяцев назад
Thanks for sharing this tutorial. is it possible to use Nokia displays instead of oled displays?
@upir_upir
@upir_upir 10 месяцев назад
It is possible, and it would not be complicated, but you cannot use ATtiny85, simply because the Nokia display uses SPI connection and you don´t have enough pins on ATtiny85 if you also want to use buttons. But with something like Arduino UNO, it should not be a problem. Are people still using Nokia displays?
@TheMlg556
@TheMlg556 10 месяцев назад
not the way I would have done it, but very nice! maybe instead of scripting photopea you can read the png file and convert it to the c array format, using a simple language like python?
@upir_upir
@upir_upir 10 месяцев назад
You can convert image to byte array using python script, but you would still need the image to start with, and the individual character sizes, so I guess in this case the Photopea script makes more sense.
@bigmac9712
@bigmac9712 10 месяцев назад
Very nice!! Is it possible to add some kind of scrolling animation when switching between menu elements?
@upir_upir
@upir_upir 10 месяцев назад
Thank you. That should be simple for Arduino UNO, but little bit more involving for the attiny chip. Also most likely very slow.
@bigmac9712
@bigmac9712 10 месяцев назад
@@upir_upir it would also be interesting how to do this with the uno (;
@Metaconta
@Metaconta Месяц назад
Lo bueno es tener un display de cuatro o más líneas, no tres.
@upir_upir
@upir_upir Месяц назад
You can easily update the sketch to show more lines if needed.
@Metaconta
@Metaconta Месяц назад
@@upir_upir Ok. ;)
@jakyjohnson650
@jakyjohnson650 10 месяцев назад
hi mate! could you make a u8g2 sub menu tutortial? I spent a few weeks trying to modify your u8g/u8g2 menu properly but im stuck
@upir_upir
@upir_upir 10 месяцев назад
Sure, a lot of people are asking about that, I will record a video.
@memesedikitreceh
@memesedikitreceh 8 месяцев назад
Finally I can make small projects 😂❤🎉
@upir_upir
@upir_upir 8 месяцев назад
Cool! What do you plan to use the ATtiny for?
@NimaJafarlou-mj7oo
@NimaJafarlou-mj7oo Месяц назад
Nice! can i make this with attiny85 digispark? is that code changes? or pins connection?
@upir_upir
@upir_upir Месяц назад
Yes, you can use it with digispark board. Please see my other tutorial, where I was doing exactly that - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8IKBzZKTgD0.html
@NimaJafarlou-mj7oo
@NimaJafarlou-mj7oo Месяц назад
@@upir_upir ok! I have OLED and esp32 and attiny85. I have 12 options in OLED menu but attiny85 doesn't have enough space. I Wana upload OLED menu code on esp32 with i2c communication between esp32 and attiny85 when I select an option in menu in OLED attiny85 run a function
@upir_upir
@upir_upir Месяц назад
Do you have those menu items in PROGMEM? It should be able to fit on attiny85.. or are those just really long string?
@NimaJafarlou-mj7oo
@NimaJafarlou-mj7oo Месяц назад
@@upir_upir I'm making a flipper zero but with esp32 and attiny85 and some modules like power bank OLED max98357 mic and more
@NimaJafarlou-mj7oo
@NimaJafarlou-mj7oo Месяц назад
@@upir_upir now i wana add select button to attiny85 and add a section for items in menu when i pushed select button it goes to another page like oled menu in arduino uno
@ngoprek5082
@ngoprek5082 11 дней назад
Apakah attiny 85 bisa untuk pwm digital 3 tombol. Up down start?
@upir_upir
@upir_upir 8 дней назад
I´m sorry but google translator wasn´t very helpful, could you please write your question in english? Thank you!
@rakibahamed9778
@rakibahamed9778 10 месяцев назад
could you please make a video how to upload this code in SD card instead of uploading in chip. it will help me a lot😊😊
@upir_upir
@upir_upir 10 месяцев назад
Could you please be a little bit more specific? I don’t fully understand what would be the reason to upload code to SD card? Thank you
@rakibahamed9778
@rakibahamed9778 10 месяцев назад
​@@upir_upir I'd follow your "Arduino OLED Menu Tutorial (for beginners - Arduino UNO, 128x64px SSD1306 OLED screen, u8g)" video in my ESP32. But I want this menu to work, I will add some functioning functions under each menu. for work like a flipper zero However, when I try to upload the code, it says 'Sketch too big.' That's why I need to upload it to an SD card as like flipper zero and then run it. Sorry for my English I don't know if I was able to understand you.
@Playerpool
@Playerpool 9 месяцев назад
Bro can you make a video about arduboy ?
@upir_upir
@upir_upir 9 месяцев назад
Yes, that´s on my to-do list. I like the version with the expended Flash so you can fit hundreds of games and you don´t need to upload the games all the time, that´s pretty cool.
@JarppaGuru
@JarppaGuru 9 месяцев назад
1:00 again lets use chip what you need. stop cry less memory or less pins. use bigger chip atmega328(32k/8k) goto minium arduino lol unless want use button to control 1 led thern can use tiny45/85. minium setup need rotary encoder with pish button,display and available pin to TX so can actually control something. its pointless have just menu that not do anything. 1 rotaty can do many. click.click hold. double tap.double tap hold.rotate.push rotate. so many inputs from one thing xD
@upir_upir
@upir_upir 8 месяцев назад
The point of this video is to showcase that you don’t need bigger chip for something simple as menu..
@jumbo999614
@jumbo999614 8 месяцев назад
I'm trying to use ATTiny85 with OLED I2C and RFID RDM6300. I can compile it if Arduino UNO/Nano board is selected. But if I choose ATTiny85 it throws an error message. Error: 'SPIE' was not declared in this scope inline static void attachInterrupt() { SPCR |= _BV(SPIE); } /SPI.h:310:42: note: suggested alternative: 'EECR' inline static void detachInterrupt() { SPCR &= ~_BV(SPIE); } ^~~~
@upir_upir
@upir_upir 8 месяцев назад
The ATtiny85 does not have SPI, I´m assuming that´s the error that you see. Try using libraries that are optimized for the ATtiny. For the OLED display, that might be the libraries that I´m using for my videos, for the RFID chip, I don´t know what libraries are available. Good luck!
@jumbo999614
@jumbo999614 8 месяцев назад
@@upir_upir Thank you for replying. #include #include #include #include all this libraries cause error. So they're not compatible with ATTiny85 right?
@upir_upir
@upir_upir 8 месяцев назад
@jumbo999614 that’s correct, none of those libraries will work. Again, I would start with actually watching the video that you are commenting under, since at least the display part is described there.
@Bestcuriosity_1
@Bestcuriosity_1 6 месяцев назад
oled.bitnap ,its one letter mistake in Library.
@upir_upir
@upir_upir 6 месяцев назад
In the tiny4oled library?
Далее
Arduino 3D Menu
40:02
Просмотров 23 тыс.
Arduino OLED 3D Compass
22:08
Просмотров 30 тыс.
I Made an AI with just Redstone!
17:23
Просмотров 1 млн
ATtiny85 Game Console PCB - Multiple Games
13:46
Просмотров 79 тыс.
Every Developer Needs a Raspberry Pi
27:27
Просмотров 678 тыс.