Hellameke - Đọc tin hay tin hot, tin tổng hợp 24h
  • Home
  • Công Nghệ
  • Phần Mềm
No Result
View All Result
Monday, August 8, 2022
  • Home
  • Công Nghệ
  • Phần Mềm
No Result
View All Result
Hellameke - Đọc tin hay tin hot, tin tổng hợp 24h
No Result
View All Result

Arduino Game Project: Pong Game using an Arduino Uno and Color OLED display (SSD1331). Easy tutorial

admin by admin
July 6, 2020
in Game
36
Arduino Game Project: Pong Game using an Arduino Uno and Color OLED display (SSD1331). Easy tutorial



In this Arduino Game Project video we are going to build an Arduino Game, the clasic Pong game! It is a very easy Arduino Project to build, it won’t take you more than 15 minutes!

Hey guys, I am Nick and welcome to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. In this video we are going to build an Arduino powered Game. It is the classic Pong Game! I am now playing against the computer controlling the green paddle. Each time a player scores, the score is displayed on the screen. The first player to reach 8 points wins! It is a fun project to build and as you are going to find out, it won’t take you more than 10 minutes to build it. Let’s start!

The parts needed in order to build this project are the following:

——————–
WHERE TO BUY
——————–

Arduino Uno:

Color OLED:

Small Breadboard:

Push Buttons:

Jumper Wires:

Wires:

PowerBank:

Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!

——————–
LIBRARIES
——————–

📥 Adafruit GFX:

📥 Color OLED library:

Let’s now take a quick look at the code. The code of this project is based on the code of a pong game for the monochrome OLED display. You can find the link for the original code in the description of the video below. I modified the code to work with the color OLED display, I added the splash screen, and the score, and the game Over screen. The project needs two libraries in order to compile. We need the Adafruit GFX library and the library for the OLED display.

By adjusting the values of these variables you can change the difficulty of the game. You can set the ball speed, the paddle speed, the paddle height and the maximum score in order to make the game fit your taste. That’s it, upload the code to Arduino and have fun! As always you can find the code of the project and links for the libraries in the description of the video below.

——————–
CODE FOR THE MONOCHROME OLED
——————–

——————–
CODE OF THE PROJECT
——————–
📥

——————–
Quiz of Knowledge Android Game
——————–

You can download my latest Android Game which is called Quiz of Knowledge here:

📥

——————–
MORE PROJECTS
——————–
Arduino Datalogger:
Arduino Weather Station Project:
Arduino Nokia 5110 LCD Display:
Arduino OLED display tutorial:
DIY Arduino:

——————–
ABOUT EDUC8S.TV
——————–
Educ8s.tv is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information:

——————–
SUBSCRIBE ON YOUTUBE
——————–

Never miss a video:

Nguồn: https://hellameke.com/

Xem thêm bài viết khác: https://hellameke.com/game/

Xem thêm Bài Viết:

  • Seczon club – Địa chỉ cá cược uy tín cho các game thủ
  • Xem ngay cách tính lô đề miền nam chính xác nhất- đánh là trúng
  • “ Nổ hũ giàu to” – bí quyết của các cao thủ
  • Dụng cụ cắt quân xóc đĩa chuẩn chỉnh dành cho các “tay mơ”
  • NEW PIE FACE GAME! PIE FACE CANNON CHALLENGE!
Previous Post

NHẠC VÀNG CỰC NGHÈO CỦA ÔNG VUA NHẠC NGHÈO TRƯỜNG VŨ KHIẾN HÀNG TRIỆU CON TIM KHÔNG THỂ NGỪNG KHÓC

Next Post

Đập thùng HT-ST5000 - Dàn soundbar 'chất lượng 721' mới của Sony - www.mainguyen.vn

Next Post
Đập thùng HT-ST5000 – Dàn soundbar 'chất lượng 721' mới của Sony – www.mainguyen.vn

Đập thùng HT-ST5000 - Dàn soundbar 'chất lượng 721' mới của Sony - www.mainguyen.vn

Comments 36

  1. Taci Akar says:
    2 years ago

    Do you have a scheme ?

    Reply
  2. Chan The Man says:
    2 years ago

    I was able to build this, and it works great? Question, I would like to add a potentiometer feature where I can control the paddle with the potentiometer on top of the buttons. Is this possible? If so, how would the code look like?

    Reply
  3. PIYSocial says:
    2 years ago

    Hello. Can I make it using single color Oled?

    Reply
  4. Trent Jackson says:
    2 years ago

    These guys making games to run on a monochrome displaying through composite video are turning the wheels backwards with the progress of technology. I enjoy making video games due to the coding challenge that it gives me, but if I were to make games using an Arduino, then I would choose an dedicated display in colour and measuring at least 3 inches. I feel that a system with industry standards would be a good platform for coders to write their retro games on. But it makes no sense to use a high-tech computer to generate something incredibly "down graded in black and white that was commonplace 30-years ago" People will laugh.

    Reply
  5. William Hoover says:
    2 years ago

    Are you going to do a tutorial on installing Pong game on a STM32F103C8T6 board?

    Reply
  6. ROBOTSTUDIO says:
    2 years ago

    Hey Nick you can do a pong game that you can play vs the computer

    Reply
  7. Aaron Yap says:
    2 years ago

    Adafruit_GFX.h: No such file or directory..
    help me . i downloaded and extracted it

    Reply
  8. sambhav jain says:
    2 years ago

    nice

    Reply
  9. Ms mirudush says:
    2 years ago

    With this project we can change the script and make a tv

    Reply
  10. Anon 24 says:
    2 years ago

    i have a question, my oled screen has d0 and D1 instead of SDA and SCL, are they the same thing? which one would be SDA and which one would be SCL?

    Reply
  11. Samuele Baiano says:
    2 years ago

    What i have to do if i have the 4 pin version oh the display?

    Reply
  12. Gundolph says:
    2 years ago

    can we use a Nano for this?

    Reply
  13. Msc. Ing. Wilber Calderón says:
    2 years ago

    Excelente.
    Saludos desde El Salvador.

    Reply
  14. Astha Shah says:
    2 years ago

    What is that silver colored wire?

    Reply
  15. RoboCircuits says:
    2 years ago

    I am making a video on how to make this project and will mention you in video

    Reply
  16. sebastian cipolat says:
    2 years ago

    nice

    Reply
  17. Yuwei Zhang says:
    2 years ago

    Using pot to control your pad

    Reply
  18. Cristóbal says:
    2 years ago

    It's necessary to have a Color Oled? Because i want to recreate this project but i have a Oled 1.3 that is on black and white.

    Reply
  19. Debanator says:
    2 years ago

    What about the program? When you order or buy the screen is it pre programmed?

    Reply
  20. MoLLUMINATI says:
    2 years ago

    I’m going to make this

    Reply
  21. Kazu s says:
    2 years ago

    Very nice

    Reply
  22. S.M. PAGOTE says:
    2 years ago

    CAN WE PLAY THIS ON ARDIUNO MINI . PLEASE TELL.

    Reply
  23. LOKI Doggie says:
    2 years ago

    can i ask if this project could be able to stand alone???

    Reply
  24. Anil Thapa says:
    2 years ago

    code is not working

    Reply
  25. Calumm says:
    2 years ago

    Working not color display???

    Reply
  26. michiel dirks says:
    2 years ago

    Can you made a tutorial of this game for 2 players

    Reply
  27. Vishank Singh says:
    2 years ago

    Here is a video of mine in which I made the game using16×2 LCD
    https://m.youtube.com/watch?v=_Atww5RGn0I

    Reply
  28. Vishank Singh says:
    2 years ago

    Good demonstration
    I made it and it worked awesome

    Reply
  29. Pyrrhonota says:
    2 years ago

    can someone help me at the moment i am trying to make the monchrome version of this but the wiring is not the same and he doesn't say where the oled screen pin go on the bread bored

    Reply
  30. AgressivePizza 49 says:
    2 years ago

    learn english

    Reply
  31. Guy Burden says:
    2 years ago

    is there a way to make it two player?

    Reply
  32. FER 335 says:
    2 years ago

    can you do it with joystick?

    Reply
  33. FragileSand says:
    2 years ago

    can we use i2c oled with the same code?

    Reply
  34. code beat says:
    2 years ago

    Nice video man, very clear explanation, compliments. Like your accent. Didn't know there is a color version of this display, is there also an I2C variant available?

    Reply
  35. Jafen says:
    2 years ago

    i hate his voice its you annoying

    Reply
  36. Sean Ocansey says:
    2 years ago

    dear educ8tstv if you find a library for making sprites and animations with the oled or lcd, please make a tutorial! 😁😭😭

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Tin Hot

[AudioToys #21] Đánh giá Sony WH-1000XM3: Ông Vua tai nghe chống ồn mới!!!

[AudioToys #21] Đánh giá Sony WH-1000XM3: Ông Vua tai nghe chống ồn mới!!!

July 17, 2020
[Khui hộp] Sony SRS-XB22 – Chỉ 2 cái loa là đủ "chấp hết" cả căn phòng

[Khui hộp] Sony SRS-XB22 – Chỉ 2 cái loa là đủ "chấp hết" cả căn phòng

July 7, 2020
[Review dạo] Trên tay Sony Xperia M2 xách tay giá chỉ dưới 4 triệu

[Review dạo] Trên tay Sony Xperia M2 xách tay giá chỉ dưới 4 triệu

July 15, 2020
#35 Máy ghi âm cài áo tốt nhất cho Vlogger ✅ Sony icd tx650

#35 Máy ghi âm cài áo tốt nhất cho Vlogger ✅ Sony icd tx650

July 13, 2020
2 Chiếc tai nghe Quốc Dân của Sony | Bạn có đang sở hữu: Tại sao mọi người lại chọn nó ?

2 Chiếc tai nghe Quốc Dân của Sony | Bạn có đang sở hữu: Tại sao mọi người lại chọn nó ?

July 11, 2020
5 reasons not to buy the Sony MDR-1000X (after 6 months) | DHRME #26

5 reasons not to buy the Sony MDR-1000X (after 6 months) | DHRME #26

July 16, 2020
  • Liên Hệ
  • Chính Sách Bảo Mật

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Công Nghệ
  • Phần Mềm

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.