Hi i would make my own Arduboy and there is alot of post about that here but if you agree, i would post the material i have an construct it step by step with your help.
ATM i don’t have battery system yet but i have this Nano
Your Arduino board is a Nano, which is based on an ATmega328P processor. You’ll need one based on an ATmega32U4, such as a Leonardo, Micro, or SparkFun Pro Micro. (The Pro Micro doesn’t bring out all the required pins, so there will be some limitations.)
Your display has an I2C interface. You’ll need one with and SPI interface.
The MicroSD card adapter will not be useful.
For your hardware, you could look at this project for some Arduboy games:
OK thanks for your both response. I’ll wait a few then to buy the good oled screen and a Leonardo.
I’ll not buy them now as they could arive after i have to move to my new location. So i’ll continue this project in 3 months then as i would have a compatible Arduboy. Many thanks and please continue to help me to construct it at the end of March
That will not work very well… It does not break out enough of the pins.
That will work, but will require either alternate wiring (see the Arduboy Homemade Package for more details), or some very fine soldering skills to break out a few of the pins that aren’t already broken out.
That screen will work fine, but it will need the SSD1309 patch. It is a bit pricey. Are you stuck with GearBest, or can you use AliExpress?
I used the same style on my first build. In general, they look great, but are very ‘clickey’ and hard feeling.
Hopefully yours are better quality than the ones I used because after a few months of use, one of mine is now ‘sticky’.
Thanks all. I have try first to build it with all i have as i like this hardware and it’s fine to me as it’s don’t need a high level electronical to make something… So buttons is the ones i have. Later i could maybe make another Arduboy and buy other buttons. For the first one, my idea is to build first an first totally functionnal harduboy and learn to use it, charge system, charge games, compile games and next to try to had the cardbridge system (very cool easy way to upgrade / connect with external hardware as arduboy is a very console to manage even domotic systems, maybe even better than my Makerbuino as it’s powerfull and cost less maybe about 15€ or 20€ with a case, if you make a budget of 25 you are sure to be in in all cases and you have hability to have a clear display, enough memory and i/o, alot more power that you need. So i think i’ll have an arduboy for electronical control and one to play. I have just to wait that the hardware come now and will follow your instructions to make connexions. My breadboard is enough i think, but say me if i need something else that i don’t have show or even hardware stuff i could add as optional as i have alot electronical material and could search for components for later. The only thing i don’t have and would so much have is a 3D printer …
Assuming it’s a SSD1306 it might be possible to convert your IIC I2C OLED display board to an SPI one.
You need to cut a trace and add 2 wires if you’re confident enough with a box cutter and a soldering iron.
I can’t see on the photo clearly but:
Pin 17 (CS#) on the ribbon needs to be disconnected from ground (cut trace on board as far as possible from ribbon or remove 0 Ohms “resistor” if there’s one, I can’t see on the photo) and a wire attached to it to become your CS# (chip select pin) wire.
The SA0 (the address select) resistor needs to be removed and the pad that goes to the ribbon cable becomes the D/C# pin (data when high, command when low)
SCL is SCLK (clock in both cases)
SDA becomes MOSI
I think you can leave the I2C pullup resistors on the SDA signal and it’ll still work as SPI fine.
Amazing. I have received my hardware anyway. I’ll try to begin to mount it this weekend i think. I’ll have some time this weekend. Thanks for these informations. I’ll first try to do one based on the classic arduboy after i’ll be able to try the version with nano and I²C display that i have as i think not only that it’s can be usefull for playing but it’s a great hearth for a home control system (domotique in french) by adding a communication module to exchange with other modules in the house but it’s will be another project as i have too few free time, first goal: doing a normal arduboy and be able to play all your great games.
I like too much the spirit of the Arduboy community even i like alot gamebuino and the fact to be able to choose game from the SD cards as it’s will probably able on arbuboy from the cardbridge (it’s maybe already possible as i can have miss it, other way could be to have a game server on a system and be able to change game by wireless upload on the arduboy but this is an other project too ).
Thanks rv6502 and bateske for your answer and i repeat it again but this community is amazing and i like alot his spirit.
It looks like @Jean-Charles_Lebeau won’t be attempting to convert an I2C display to SPI, since he got a proper SPI display. However, if anyone else decides to attempt this, based on @rv6502’s notes above, here is some additional information:
The flex cable pinout @rv6502 gave is not the one commonly used for these displays. The correct pinout is given in the datasheet for the display used for the Arduboy.
The display’s control chip will also have to be set for an SPI interface instead of I2C. This means isolating BS1 (which will be pulled high somehow) and connecting it to ground.
The I2C displays normally don’t bring out the RES# (reset) line. They reset the display upon power up using an RC circuit attached to RES#. This should work OK for SPI as well, as long as a program doesn’t have code to reset the display after initial power up, for some important reason. However, for better compatibility, you could bring out RES#, which possibly may also require removing the capacitor and maybe the resistor from the RC circuit.
Most displays made for SPI include some (sometimes not very good) circuitry to make them 5V compatible, since the display chip is designed for maximum 3.3V operation. A converted i2C display won’t have this protection, so if you intend to feed it signals from 5V outputs, you will need level shifting circuitry.
Guys, to begin to do my console, i’ll post pictures of the hardware i have bought and please could you send me le list of the connexions i have to do by steps to be able to test the more i can by steps ? It’s just a question because i’m near sure that it’s somethere in the old posts but maybe not with same hardware or in multi posts, so if someone agree to resume it when i’ll have post pictures, it’s will be easiest and more safe for me…
(I’m dreaming or some of you know pins without having to look on a ref card ?)