Uploaded November 2023 | Updated September 2026, 2 weeks ago
Do you like video? Please consider buying me coffee, thanks! buymeacoffee.com/upir
PCBWay - pcbway.com/setinvite.aspx?inviteid=572577
WOKWI sketch: wokwi.com/projects/380812233514546177
SOURCE files: github.com/upiir/attiny85_dice_game
--------------------------------------------------------------------------------
Learn how to create the simplest possible game using the Arduino-compatible chip, the ATtiny85, together with the SSD1306 128x64px IIC OLED display, one pushbutton, one resistor, a breadboard, and a few wires.
This project is as simple as possible, but it´s a good starting point for developing more complex games. We will run it on both the breadboard, as well as on the Tinycade handheld game console. The library used for drawing images on the display is U8x8, which is a very simplified version of the u8g2 library. For graphics, we use online graphics editor Photopea, to convert images into C code we use image2cpp website, and to test the project, we use WOKWI, free online arduino emulator.
Finally, when it´s time to upload the project on the ATtiny85 chip, we need some kind of programmer. Last time, I was using USBtinyISP, but this time, we will use Arduino UNO. Hope you like this tutorial and good luck with creating your own game!
--------------------------------------------------------------------------------
Links from the video:
ATtiny85 chip: https://s.click.aliexpress.com/e/_DeT7tBh
Arduino UNO: https://s.click.aliexpress.com/e/_AXDw1h
Arduino prototyping shield: https://s.click.aliexpress.com/e/_ApbCwx
U8X8 Documentation: github.com/olikraus/u8g2/wiki/u8x8reference
Previous project with ATTINY85: wokwi.com/projects/378925799915970561
Image2cpp (convert array to image): javl.github.io/image2cpp
Photopea (online graphics editor like Photoshop): photopea.com
Additional boards URL: raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
Videos using ATtiny85 chip: youtube.com/playlist?list=PLjQRaMdk7pBbt-is-fkRmUoRcV4dzraYH
Related videos with Arduino UNO and 128x64 OLED screen:
Arduino + OLED displays: youtube.com/playlist?list=PLjQRaMdk7pBZ1UV3IL5ol8Qc7R9k-kwXA
------------------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------------------------------
Do you like video? Please consider buying me coffee, thanks! buymeacoffee.com/upir
PCBWay - pcbway.com/setinvite.aspx?inviteid=572577
WOKWI sketch: wokwi.com/projects/380812233514546177
SOURCE files: github.com/upiir/attiny85_dice_game
--------------------------------------------------------------------------------
Learn how to create the simplest possible game using the Arduino-compatible chip, the ATtiny85, together with the SSD1306 128x64px IIC OLED display, one pushbutton, one resistor, a breadboard, and a few wires.
This project is as simple as possible, but it´s a good starting point for developing more complex games. We will run it on both the breadboard, as well as on the Tinycade handheld game console. The library used for drawing images on the display is U8x8, which is a very simplified version of the u8g2 library. For graphics, we use online graphics editor Photopea, to convert images into C code we use image2cpp website, and to test the project, we use WOKWI, free online arduino emulator.
Finally, when it´s time to upload the project on the ATtiny85 chip, we need some kind of programmer. Last time, I was using USBtinyISP, but this time, we will use Arduino UNO. Hope you like this tutorial and good luck with creating your own game!
--------------------------------------------------------------------------------
Links from the video:
ATtiny85 chip: https://s.click.aliexpress.com/e/_DeT7tBh
Arduino UNO: https://s.click.aliexpress.com/e/_AXDw1h
Arduino prototyping shield: https://s.click.aliexpress.com/e/_ApbCwx
U8X8 Documentation: github.com/olikraus/u8g2/wiki/u8x8reference
Previous project with ATTINY85: wokwi.com/projects/378925799915970561
Image2cpp (convert array to image): javl.github.io/image2cpp
Photopea (online graphics editor like Photoshop): photopea.com
Additional boards URL: raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
Videos using ATtiny85 chip: youtube.com/playlist?list=PLjQRaMdk7pBbt-is-fkRmUoRcV4dzraYH
Related videos with Arduino UNO and 128x64 OLED screen:
Arduino + OLED displays: youtube.com/playlist?list=PLjQRaMdk7pBZ1UV3IL5ol8Qc7R9k-kwXA
------------------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------------------------------










