Questions tagged [ssd1306]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
119 views

Print text at any Y-value on SSD1306?

I'm attempting to print several rows of text, at certain Y-values, on an SSD1306 128x64 LCD display. I'm using the ssd1306 library by Alexey Dynda. I initially wanted to use the more common LCD ...
Runsva's user avatar
  • 173
3 votes
1 answer
623 views

Arduino Nano is performing really slowly, even though the calculations are simple and there are no delays

I'm working on a tiny ping-pong game based on Arduino Nano. Its modes are "person vs person" and "person vs computer" (the computer just tries to keep its racket at the same Y ...
SNBS's user avatar
  • 133
2 votes
0 answers
341 views

Scrambled Text on SSD1306 Using ESP32-S2

SSD1306 OLED display connected to an ESP32-S2 over hardware I2C. I noticed that the text will sometimes get scrambled or lag during a screen update. When left running long enough, the screen will get ...
subcanny's user avatar
2 votes
0 answers
608 views

OLED screen goes blank on delay() - U8G2 library + Arduino Nano [closed]

Description I'm currently trying to get this SSD1306 0.91" OLED screen with an Arduino Nano with the U8G2 library (as per seller's guide), and in any code I run, as soon as a delay() is executed, ...
Markussen's user avatar
2 votes
1 answer
2k views

Adafruit_SSD1306.cpp fatal error: pgmspace.h: No such file or directory using SSD1306 on Arduino Nano RP2040

I am currently trying to get a SBC-OLED01 display to run under my Arduino Nano RP2040. I use the official example from Adafruit, attached is the code. /*************************************************...
JohnDizzle's user avatar
2 votes
1 answer
1k views

Help to set vertical dcroll on SSD1306

I am trying to set the text to scroll vertically. I have a big chunk of text (example in the code below) to be set to scroll vertically. What I want is to display the complete text on the screen. ...
Ram Kumar's user avatar
2 votes
1 answer
2k views

Can't Turn Off Internal I2C Pull-Ups on ESP32

I've designed a custom ESP32 board around the WROVER-IE module. To keep power low, I'm using a GPIO-controlled high-side FET to turn off unused peripherals when in deep sleep mode. The issue: I've ...
Nick Johnson's user avatar
1 vote
1 answer
572 views

Drawing a line at a given angle

Im attempting a device that measures lean angle. I have an ESP8266 + MPU6050 + SSD1306 setup, and I've managed to build a shaky but somewhat functioning device. What Id like to do is use the ...
ar6rider's user avatar
0 votes
1 answer
217 views

Error Compiling for board Arduino Nano while using Adafruit GFX

Whys is this happening to me?? I have to meet a deadline please help!! Here is my code. #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h&...
Shridhar Sharma's user avatar
1 vote
0 answers
69 views

U8glib+ 7-pin SSD1306 gives moving text without explicitly specifying in code

This is my code. #include <U8glib.h> U8GLIB_SSD1306_128X64 u8g(12, 11, 8, 9, 10); void clear_screen(); const int pageCount = 1; int p; void (*pages[pageCount])() = {clear_screen}; int duration [...
Shridhar Sharma's user avatar
1 vote
0 answers
765 views

Why is my text inverted while using U8glib?

I am displaying text using this code. #include <U8glib.h> U8GLIB_SSD1306_128X64 u8g(12, 11, 8, 9, 10); int Buffer[128];int Buffer2[128];int max=0; void pageEMG(); void recordEMG(); void ...
Shridhar Sharma's user avatar
-1 votes
1 answer
60 views

SSD1306 unable to display Text and waveform cohesively.Why?

Here is my code I am collecting data using an ECG sensor and trying to enhance the incoming data by stretching it across the x axis. Which results in this. After this the screen eventually just goes ...
Shridhar Sharma's user avatar
1 vote
2 answers
1k views

Arduino, problem with interrupt and SSD1306 OLED

I'm not that good at this. Calculates RPM through Peripheral Speed and Interrupt. Everything works fine when I show this in the IDE with Serial.print without OLED. When I connect an SSD1306 OLED I2C, ...
Ola A's user avatar
  • 11
1 vote
1 answer
401 views

SSD1306 shows static when I try to display an XBM image

This is my circuit. This is the code. #include "U8glib.h" // include the universal graphcs library U8GLIB_SSD1306_128X64 u8g(12, 11, 10, 9, 8); // initialise a u8g display ...
Shridhar Sharma's user avatar
0 votes
1 answer
78 views

File.read() always returns -1

I'm trying to print a txt file from an SD card to a SSD1306 using the u8x8 library. Here's the current code: #include <SD.h> #include <Arduino.h> #include <U8x8lib.h> #ifdef ...
none none's user avatar
  • 233
1 vote
1 answer
1k views

I am getting an error while trying to set up the U8g2 library

I am just trying to set up the U8g2 library to use an OLED. I read through the documentation and tried copying and pasting the code block example for the constructor, but switched out their ...
Kayla's user avatar
  • 21
1 vote
0 answers
863 views

STM32F103 (Blue Pill) with stm32duino + BME280 + SSD1306 strange behavior

I'm going crazy trying to understand some strange reads from BME280 sensor. With this code: #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <...
GinoC's user avatar
  • 111
0 votes
2 answers
1k views

Finding address of OLED using I2C communication and Arduino

It is known that address of OLED SSD1306 is 3C. The frame format is as follows: The figure implies that the binary pattern should be 01111000 for the first frame (considering write mode and the ...
shivamag00's user avatar
0 votes
1 answer
5k views

Scroll one line of text while another line is static on a SSD1306 OLED

I have an SSD1306 OLED that I have connected to a Wemos D1 Mini. It works like a charm, but I was wondering if it was possible to have two lines of code, where one line is static, and the other one ...
rebellion's user avatar
  • 147
0 votes
1 answer
408 views

How does the ssd1306 handle different screen sizes?

I noticed that if I have two SSD1306 displays, the 128x32 display will lose every other row if written in x64 mode, and the 128x64 display will show blank horizontal lines if written in x32 mode. How ...
user avatar
0 votes
0 answers
1k views

Reducing the noise of an SSD1306 display by reducing pre-charge in Adafruit SSD1306 library

I have issues with electrical noise on my board (>300mV switching noise on top of 3.3V rail, its quite a lot), which is generated by my I2C SSD1306 OLED display. After some research I found that the ...
Anthropomorphous Dodecahedron's user avatar
1 vote
0 answers
910 views

Can someone help me to change this code to u8g2

I would like to change this clock to u8g2. It works fine with the esp8266 and oled 128x64. I would start by including the u8g2 library with #include and all display. with u8g2. replace. What else ...
else's user avatar
  • 11
1 vote
2 answers
2k views

"SSD1306 allocation failed" when #include SD.h

I'm using the ssd1306_128x64_i2c example file from the 1306's library. It works perfectly until I add the #include SD.h line, after which it gives the allocation failed error. Please advise. #...
cds333's user avatar
  • 141
0 votes
1 answer
340 views

Same output on displays with different I2C-addresses (AdaFruit library, ESP32)

I've got two displays hooked up to a ESP32 via I2C and I'm using the AdaFruit library. All handling display output is packed in a own library. As I was testing I only had one display set up and ...
cfu479's user avatar
  • 3
-1 votes
2 answers
338 views

getting SPI SSD1307 to work on Arduino Mega

After some time off, I decided to get back into my project after some help from this topic I started earlier Difference in pinout (types?) Uno/Mega. Unfortunately, even tho I have read multiple times ...
sdieters's user avatar
0 votes
1 answer
420 views

Difference in pinout (types?) Uno/Mega

As a hands-on guy, I've started my first ever Arduino project 5 hours ago with no prior knowledge about Arduinos (I have coding experience tho. included this in case I am missing something obvious to ...
sdieters's user avatar
2 votes
0 answers
2k views

SSD1306 - Is there a way to scroll a certain number of pixels only?

For a hobby project, I am trying to make some sort of little game with an ATtiny85 and an SSD1306 OLED display, mostly to see how much I can do with the least hardware possible. Something like Captain ...
jyoungdev's user avatar
  • 121