Nano every simple oled not working at all

Should be super simple. I get nothing.
One upload to the every. Never see the orange led again.

#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64

Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);

void setup() {
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // Initialize with I2C address 0x3C

display.clearDisplay();
display.setTextSize(1);
display.setTextColor(SSD1306_WHITE);
display.setCursor(0, 0);
display.println("Hello, OLED!");
display.display();
}

void loop() {
// Nothing to do here
}

Does the backlight turn on?

Please read the forum guidelines to see how to properly post code.

A schematic or diagram of your wiring may be clearer than the image.

1 Like

Are you certain the OLED uses address 0x3C? The address may be 0x3D.

Also, I cannot tell from the photo, are the header pins soldered onto the Nano Every board?

1 Like

Yes I am positive about the OLED address and no the headers are not soldered on to the Nano every. I did solder an OLED onto the every and that didn't work either I am definitely getting continuity on the pins although they are not soldered. Once I run the first sketch the orange LED blinks and it's uploaded after that the orange light does not blink anymore if I try to reupload a sketch .I do however have a regular Nano and the OLED runs perfectly with the simple sketch the reason why I got the every is because I do not want headers on the Nano is there a version of the Nano that does not have headers.

Yeah sorry about the code format that was out of frustration I guess. The back light does not turn on at all I do however have a nano the code uploaded in a few seconds and the OLED said hello I'm pretty sure the issue is with all three Nano every boards that I have

A simple code works perfectly with the regular Nano I just need a nano with no header. Do I have to sit here with the solder sucker and remove the header myself?

If you go to Amazon and do a search for "arduino nano no header" several show up.

Nano, headers not soldered.

1 Like

None of those Nano pins is soldered.
No solder, dead in the water.
Just solder the pins that you are using.

1 Like

I did have them soldered at first. No luck either. but then I wanted to swap between three boards in. succession. I will solder and try againe.

Plus why does the orange data light on the every, only dance on the first upload then go dark thereafter?

Looks very clean.
Like I suggested, only solder (completely) the 'pins' need - you don't have to do them all.

The 'Every' uses a different micro (it's not a '328).
Maybe the OLED library you're using isn't compatable.

Have you tried powering the OLED from the 5V pin? The Nano Every may not handle the 3.3V mismatch as well as an atmega328.

I will try different lib tomorrow. The clean traces are on the 1 out of 3 i didnt solder. The screens worked w the nano.

Yes, i went w the 5v first. I first used a 1.3 in screen. Colplete garbage. No address. I'm still wondering where the orange led went after the first script.

I have. There seems to be a few. Would you kindly send link of recommendation?

The Arduino Store.

The orange LED is the onboard LED, it will only blink if you have code driving it.

I have no problem with your sketch on a Nano Every with an OLED display, using either 5V or 3.3V as the power supply. Wiring is identical to the Nano (I unplugged one and plugged the other in without changing the OLED wiring).

Check my previous post (#7). I linked to the HiLetgo offering. I have purchased other stuff from them and trust that vendor.

That's not an 'Every' though - just sayin'.

Sorry, i thought that they were looking for a classic Nano without soldered headers.