Arduino Star Wars Game - how to make

preview_player
Показать описание
Hello, in this tutorial we will make this little game console on breadboard, We will use 128x64 I2C oled display, arduino nano, three push buttons and buzzer. Our first game will bee star wars game.

SUBSCRIBE HERE:

You can also buy me a coffe at:

Buy this OLED display here:

If you like this project feel free to subscribe for more games and arduino project. Thank you!

#ArduinoCar #ArduinoProject
Комментарии
Автор

Thanks Volos Project. An entertaining and educational project. I got my non original Nano working on my Windows 11 laptop after updating my CH340 driver with CH341SER driver. Also of use was a gentleman's suggestion below (sorry cant recall who this was)' when using a 0.96 128x64 i2c OLED to :
You need to call constructor differently this case:

Thats how your code at lines around 26 should look like:
#define OLED_RESET 4
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

kombicruiser
Автор

I ported this to an electronics board I developed that has joysticks and you go up and down using a joystick... Thank you!

mysilentwarrior
Автор

For those of you who have problems with the screen, you simply have to configure the pixel size in line 10 and 11 of the code.

bysatoo
Автор

Si desean corregir el tamaño de la pantalla agreguen esto el número es en donde esta escrito
27 #define ANCHO_PANTALLA 128 // Ancho de la pantalla OLED
28 #define ALTO_PANTALLA 64 // Alto de la pantalla OLED
30 Adafruit_SSD1306 display(ANCHO_PANTALLA, ALTO_PANTALLA, &Wire, OLED_RESET);

sebastianteran
Автор

Nice project! 👏👏 I did a TikTok video with your project for this may 4th. Saludos desde México!!

davidportilla_
Автор

That’s so cool I already had an AliExpress tab open and I was bout to start looking for the display but the tab was already on the perfect one I needed

gabruekqbryh
Автор

the movement switches are connect with D11 and D12 and firing is at D3 and all ground are common i am right ??? pleasee tell

astronautrajan
Автор

Is there a way to pair rc receiver to arduino transmitter, I want an rc receiver because of how compact and cheap it is and also the wide voltage range I can input to it

davidabraham
Автор

Porque no me funcionan los botones si las conexiones son correctas?

cuarentenaviral
Автор

Can you play the game without it being plugged into computer?

gracieparham
Автор

i cant download libraries plz do solution

Traveller_
Автор

Hi there. I really like your projects! Great stuff!
I am currently having issues with getting this project's code working with my SSD1315 I2C OLED Display. Do you know what might I need to change in the code to get it working? Thanks!

MaxImagination
Автор

I can't see the full game on my oled display screen.Please help.

shahriarsinon
Автор

Help I have make everything right and it’s work before and it’s not displaying now, I suspect maybe I uploaded too many times or the display die. If it’s the display how can I fix it.

OttoisOhio
Автор

Getting an error with this ... ADMUX = _BV(REFS0) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1); This is the error from the IDE ... 'ADMUX' was not declared in this scope. Also, one of the libraries, Adafruit_SSD1306_Wemos_OLED is not included in the sketch. Also, the code is very messy.

damainx
Автор

SIMPLE FIX FOR 128x64
replace and paste this below
#define OLED_RESET 4
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

DG_tao
Автор

Very nice!!! Can't wait for my display to arrive to try this out!!!

soniccinos
Автор

Great little game. just have one question. What is " long readVcc " doing? during compilation it shows me error on every variable as not declared and game is working fine after removing that part from code. But maybe is needed for something? Thanks

ludwik
Автор

Hey bro. I am new to arduino projects. can you tell if i still need to sketch the pixel display or you provided it on the description

laraarnedo
Автор

is this convertable to 3.5 tft lcd with uno?

unclelelax