I was able to reset my nano using and arduoino uno (I used arduino as ISP method) turns out my bootloader was gone. I tried to upload shadowrunner and it worked, Just tried to upload arduventure and it works too. Thanks for game suggestions
Hey everyone, I solved the issue. I used an arduino uno and soldered its pins to nano, then I flashed arduino nano with it and cleared everything. Then I made a fresh install and I can upload games now. I will leave the link of tutorial for anyone having same issue. It is described well in official site.
I finally have a normally working arduboy and I am really excited. Thanks a lot for all your help.
Amazing! But what are the schematics for the arduboy with arduino nano? Did you burned the bootloader with Homemade Arduboy version or something else? what were are connections for your Oled display with nano? Did you use the SPI oled or the I2C?
JUST VERY CURIOUS TO HEAR THE ANSWERS FROM YOU!
Thanks! I always use this one Instructables thing but this is much better.
Check the link I sent previously:
As the OP specified, they’re not using the Homemade Package.
I sent you the library, but to clarify for the future, I’m pretty sure there is only one possible way you can wire the screen.
Schematics are in the link @Ard_Flamingo shared. I made whole circuit based on it. But the high resolution version is kind of hard to find (it was on same page but you have to search it in the files so I will just try to upload high res version here if the site lets me
Credits to harbaum (Till Harbaum) · GitHub, of course.
After you complete circuit you can git clone codes or download as zip from github page. If it is not zipped, you can zip it yourself too (Zip the folder itself, not the files inside the folder)
In the same github page, there are two more libraries harbaum shared. You should download and zip them sepereately too.
After that you should have 3 seperate zip files, delete everything arduboy related from your arduino IDE and install this zip files using sketch/include library/install .ZIP library option from menu bar.
Close and reopen arduino IDE and if it asks for you to update libraries don’t let it because we are using a different fork of library.
From menu bar, select file/examples and you should see the three libraries you just installed here. Select anything from arduboy2 (I used SetSystemEEPROM because I was afraid to use breakout again) and install it to your nano.
After that your arduino nano should be ready to install games (Not every game like you said, generally smaller games work better and larger games might not upload at all) you can install the games from their github pages using the same download option then you might need to put it in your documents folder (Idk why but some games require this, some don’t) find the .ino file, (In this case, arduventure ino file name is ARDU_AB.ino) open it with arduino IDE and upload to your arduboy.
I tried some games, Arduventure, shadow runner and castle boy worked fine with no issues as far as I can see.
Circuit dude was booting and it was playable but it was freezing after 1-2 minutes and I had to reset everytime it froze so it was not a optimum experience
Starduino, catacombs of the damned, micro city and ardynia don’t installed and gave errors when I tried to upload.
Theese are all the games I tried. Let me know if you can find more games that work good
Edit: I couldn’t find a way to install .hex or .arduino files so if anyone can explain how to do that, that would be big help
Edit 2: I was able to run some games with changing some codes, games generally don’t run due to sound issues so I turned some sound codes to if (1==0) to make them false and then midnight wild ran without sound, ardyna was the same, I deleted some sound codes (but I didn’t delete all function, I just turn them to empty brackets) and ardyna seems to run fine too (also without sounds)
I will leave the edited codes if anyone wants to try, they sometimes freeze but I hit reset and I can continue playing
Ardynia and MidnightWild.zip (3.2 MB)
Thank you very much for your kind information but I understand now that you cannot upload all arduboy games on the nano right? We need a pro micro or leonardo board to actually build a arduboy. Plus I think the price of Aruino nano is more than the pro micro in my country. So pro micro is great choice for me. But thanks again to send me these information on how to upload arduboy games on nano.
Your mileage may vary:
Do you mean
If so, those are just renamed
If you’ve got a tool like 7Zip you can extract the contents as they are and you’ll find at least one
.hex file inside.
If you don’t have anything as sophisticated as 7Zip, you can try changing the extension to
There are tools that can deal with
.arduboy directly but I’m not sure which ones offhand.
Weird, pro micro is around 2x the price of nano in my country. It was the first reason I went with nano (at least for my first attempt)
If you can make one with pro micro that can run everythin, let me know. I might try to build one too
Also I edited and leave a changed code on my last reply so check out last pharagraph if you want to install ardynia to nano
Yeah that’s right pro micro is actually less price than arduino Nano R3 in my country. But not that much less but it is less than Nano though.
About building the Arduboy with an pro micro I did make one few days ago in a breadboard but I am still recompiling the codes for my oled display which is SH1106 1.54 inch spi display. So have to recompile around 300 or 400 games still. I am using the FX chip which is actually a Flash cart chip W25Q128 with a memory of 16mb. Capable of storing about 500+ games so actually I made the circuit using the help of homemade arduboy schematics for the Arduino Leonardo/Micro diagram and connect the flash chip using the Mr.blinky Flash cartridge forum where he gave the digram on how to connect. Took a while to understand how to upload games on the flash cart. But now I understand and I am making my own flash cart image file to store the recompiled games for my sh1106 display. Here is the breadboard image:-
Also had to solder how tiny wires to the microcontroller according to the standard wiring diagram cause pro micro does not have all the pins.
Edit: Wire your homemade arrduboy using the Arduino Leonardo/Micro diagram if you want to upload “normal” arduboy games.
This looks really good, can it run games that uses fx chip abilities or is it just using it as a storage?
and also could you get all the compatibility with soldering wires directly to microchip, Just like a real arduboy fx?
Yes just like the original one BUT! I have used a different oled display so the games that are like very old and just uses old Arduboy library (not the latest Arduboy2) they do not run if i try to run the display just crashes and the games that uses Arduboy2 I just have to recompile them to my sh1106 display that’s all. BUT there are also some games that does not use any library just all from scratch they also don’t work cause no Arduboy2, no game.
So best if you buy a ssd1306 spi oled that’s the original and can run any arduboy games like anything no conditions.
Yes it runs games that use Fx abilities like the price of Arabia it will not work on your Nano or even Leonardo if it does not have a fx chip that is W25Q128 memory chip the price of Arabia game consists of a .bin file named princeOfArabia.bin just have to add it to the csv file along with the hex file of the game and it will run the game. Prince of Arabia is a very cool and interesting game like you have to give it a try man.
Thanks for the kudos.
Thanks man, I just ordered a sh1306 display and a pro micro. No one is selling W25Q128 in my country (Turkey) but I might order it later from aliexpress or amazon. For now, I will try to build a fully compatible arduboy, then I will get a chip and upgrade it to FX. I might try to solder additional wires directly to ATMEGA32U4 chip but I am afraid I am not as talented in soldering
Funny, when I asked about FX chip enhanced games I was thinking about this game because I love original prince of persia. Didn’t try the arduboy version but I am sure it is a fine game
There exists a DIP8 version of all three chips.
I was talking about the chip on pro micro. (ATMEGA32U4 itself) My mistake, I corrected it.
Unless you are able to solder wires to the 32U4 pins that aren’t brought out, you won’t be able to make it 100% Arduboy compatible. You would have to use an alternative wiring, thus have to recompile sketches.
Do I need to recompile sketches once or for every game? If it is once it’s no problem.
Would I be able to install hex files with alternate wiring?
Just once per sketch, if you hold on to the .hex file that compiling produces.
Only if they’ve been compiled for the alternative wiring you used. Sketches compiled for a real Arduboy or Arduboy FX won’t work on a system with alternative wiring.
seems like too much work considered I need to make it for every game seperately. Is it a easy task?
Parts I ordered still not came so I couldn’t do anything. I might try to build both alternate and normal wirings on a breadboard (but that will be probably hard because I only bought one arduino)
What are the functions I would lose if I use normal wiring?