How can I make a complete and fully compatible arduboy FX?

The disc should work. Not sure about the two buzzers.

My order came today and I am starting to build it. I might try to give alternate wiring a chance for 2nd channel speaker compatibility.

It had some weird pin names like SPI MOSI that I don’t know which pin but I found another on @Mr.Blinky’s github

Ekran Resmi 2023-03-21 20.21.54

This one is more clear so it should be fine. My only issue left is I don’t have any clue on where to solder which leg of FX chip. I have just the chip itself without any indication of which leg is what. Only thing I found is a little dot in one of the corners.
Chip is a W25Q128FVSG if I can see correctly (Text is too small)

This might help with that:

Should I use same pins (15 and 16) on both oled and fx chip? Or there are different pins for D0 and D1?

The OLED and flash chip share MOSI, MISO, and CLK lines, but have separate CS.

This allows tricks like displayPrefetch in the FX library, which fetches from the flash chip while writing to the display.

1 Like

This should help

image

I reccomend using the pinnout diagram

from

Those are the SPI pins. @MLXXXp helped me out with that a while ago.

I couldn’t find where to connect VCC on oled. Also my SPI display has no CS pin (it is a 6 pin display, not 7) is this make a problem?

Edit: I realised there is a vcc pin on arduino itself. My unawareness, sorry

It’s less ideal but you could use the following trick to use a 6 pin display and a flash chip together:

Oh, I don’t have any diodes right now so I have to halt my making process and order some. Should I get 60V 3A ones? (Since @JiNa used SS36 diodes in that post)
And if I don’t install fx chip (I didn’t installed it yet) can I make it without diodes?
Sorry if I annoy with my questions, I am really excited and I want to complete it as soon as possible

That’s over kill just get some BAT42 or 1N4148 diodes.

Yes, when you don’t add a flash chip you don’t need them.

I soldered Oled’s VCC pin to VCC on arduino and installed ardubreakout in homemade package but nothing happened, I set Arduino IDE up just like it shows on github (It saw my pro micro as leonardo after selecting alternate wiring, maybe that is the problem) so software side it should be good. I probably messed something up on soldering

I don’t know if this helps but when I install arduino blinks red on 2 leds 3-4 times. After complete, IDE says “avrdude done, thank you” and when I connect to power It blinks a red led once while another led is continiously ligts green

Edit:
I was able to get a visual from screen but display is not correct. Two halves show reversed visuals.

Also the screen is too dim. I wasn’t able to see it a normal lit room. This picture is taken in a dark room in night mode and here I am trying to close arduinos own led with my finger because its brightness is enough to make screen invisible. I can only see it in a really dark room without any light on

The Pro Micro is actually not an Arduino board . . .

So, the IDE/Computer/Port sees any ATmega32u4 chip as a Leonardo.

So softwarewise it is ok and this screen issue thing is about wiring, if I understand correctly

Well, I’m not too sure about that, to be honest. It looks to me like something with the compiling. I think I’ve seen something like this happen before where the code uses (or is compiled with) the wrong screen driver or something, but I’m not entirely sure about that.

Maybe double check your compile settings? Make sure you have SH1106 selected.

I have a ssd1306 display so I chose it when compiling. I am not sure about the lack of 7th (CS) pin though, might be something about it

Oh, I thought you were using an SH1106. Yeah, it may be the seventh pin. CS (chip select) is usually used to enable/disable the SPI device, and it looks like your device is like halfway between enabled and disabled. I’m not the best when it comes to hardware :man_shrugging: sorry.

Not true. The Arduino Micro is an official Arduino board which also uses the ATmega32U4. The IDE doesn’t see it as a Leonardo.

2 Likes

Oh, right! I always forget the Micro exists . . . it doesn’t seem very relevant nowadays.

Even for me, every Pro Micro I’ve plugged into my computer is detected as a Leonardo :man_shrugging:

When you first said that I thought I was scammed and sent a SH1106 instead. Every SSD1306 diagram shows a 7th pin so it kinda makes me paranoid.

You are still a big help for a guy like me who knows nearly nothing about displays, display drivers and protocols etc. Thanks

2 Likes

I’ve known other people build Arduboy clones with a 6-pin SSD1306 before, but that was before the FX chip was introduced. If the 7th pin is the CS pin then I would suspect that might affect the use of the FX chip because both the screen and the FX chip would be sharing the same SPI connection.

I’m not a hardware specialist either though, so I couldn’t say for certain.