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);
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
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);
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
Omg, i forgot to delete that part, if you power arduino with lipo baterry, that part will tell you voltage of battery, you can delete it, it is not needed for game
Hi, did you do something special to connect both buzzer and OLED screen ? I had issues about that with a nano (you got exactly the same setup). I heard about the choosen pin that can be the source of the problem. Someone else talked about the buzzer that could not be a real buzzer, do you have some references ? ;) Your projects are great !
Thank you, i didnt do anything special. But i remeber that i have that problems in past, i just used another pin on arduino. Dont forget setup that pin in code.
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
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!
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.
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.
@@VolosProjects I have 1 more question. When i apload the code and try to verify it. There is an error thats says, low memory available. That means my arduino UNO does not have enough space for the code?
i Just amde this game with my children and love it. I have one problen i need to resize the screen. on my screen the bottom of the image is cut off like i need to shring the game display. is this posible?
Классно, всё работает. Но у меня экрас IIC OLED SSD 1306 и контроллер Arduino UNO 12 MHz. Работает медленнее и треть экрана игры не входит в дисплей (в нижней части)
I have TFT LCD Display Module 1.3inch SPI 240x240 RGB ST7789 and I tried making this project but I didn t manage to make it because the code doesn t work for my display, I tried modifying it but the screen only flickers and I see only half of the star ship and its not playable at all. Can you pls help me with the code?
@@VolosProjects This is what I have. www.ebay.com/itm/0-96-I2C-IIC-Serial-128X64-128-64-Blue-OLED-LCD-LED-Display-Module-for-Arduino/382850692423?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649
@@ForwardEngineering I had the same issue and I found the solution, looks like you're using new libraries from arduino repository with Volos's sketch. 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);
Great job! But as an educational material, I opened your code and none of the variables made sense to me, so i didn't learn much by reading it. I wish they were in English so that everyone could understand.
@@vel1800 your library is probably set to 128x32 you will need to find Adafruit_SSD1306.h file inside your library folder. You will need to edit it. Un comment 128x64 and comment 128x32