Questions tagged [oled]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
56 views

I want a bar type display for my Arduino Project

I am trying to make a smart table project. But I have stumbled upon one problem, that is I don't know which display should I use. I need a display that has roughly aspect ratio of 2:1 but also has a ...
2
votes
1answer
89 views

Why SSD1306 OLED display get scrambled text when printing messages from separate tasks in RTOS? (revised)

ESP32 with RTOS, test app with 2 independent tasks. Each prints a message to OLED display. Why text gets frequently scrambled? Mutex have been used to share display resource. #define DEBUG_ESP ...
2
votes
0answers
276 views

Sending a JPEG from one Arduino to another

I've got an Arducam OV2640 which takes a picture as a JPEG that I'd like to send to another Arduino using a pair of nRF24L01 wireless transceivers to eventually display it on an SSD1351 OLED. ...
1
vote
3answers
365 views

240*320 transparent OLED display with Arduino

A long time ago I ordered this transparent OLED display (from a chinese supplier on alibaba) planning on interfacing it with an Arduino but didn't really have the skills to get the project going. I ...
1
vote
2answers
260 views

Arduino program using i2c stops working after printing to OLED a few times

A NOTE ON THE PROJECT AND PROGRAM STRUCTURE I am developing an open source Smart Watch project using Arduino. The code can be found here: https://github.com/shivangsgangadia/SmartWatch The code is ...
1
vote
1answer
411 views

OLED 'SH1106_WHITE' was not declared in this scope

I was following FREE Functions to draw graphs on OLED displays on YouTube but mine OLED display doesn't support Adafruit_SSD1306 library,but it works on Adafruit_SH1106.h driver. The code that is ...
1
vote
1answer
31 views

Arduino Nano I2C OLED display 0.96 inches 128x64 pixels

I have a strange issue while trying to run the hello world code on an arduino nano connected to an OLED display. This is the code I used: #include <Adafruit_SSD1306.h> Adafruit_SSD1306 ...
1
vote
1answer
41 views

Trying to use I2C accelerometer and SPI OLED

I'm trying to stream the data coming from my I2C MMA8452Q accelerometer to an Adafruit-based SSD1351 OLED RGB display that uses SPI via an Arduino UNO. When I run example code for the accelerometer I ...
1
vote
1answer
95 views

Printing vairable with U8GLib

I have this code that takes temperature and humidity values from a DHT11 sensor and number of faces from an external python code and prints them on an OLED screen but instead of values of variables it ...
1
vote
1answer
97 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 ...
1
vote
1answer
53 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 ...
1
vote
1answer
36 views

Adafruit OLED 7 Pin Display - Abbreviations

I can't remember for the life of me how exactly I set up this screen in previous models, partially because the references I'm using in my code have different names from the pins on the Adafruit ...
1
vote
0answers
41 views

OLED 128x64 make text bigger

I have a sketch that prints out a value from 0 to 100. I want it to take up the whole screen. I can't figure out how to make the font bigger I think that the part of the code defines the size of the ...
1
vote
0answers
183 views

Random artifacts on SSD1306 OLED screen

I'm having a really strange problem with my screen. It's connected in i2c to my Arduino Nano and I'm using a rotary encoder to navigate through a menu. At startup everything is fine, but when I change ...
1
vote
0answers
263 views

OLED display on I2C causes esp8266 to reset

I have connected two temp sensors and an OLED display to a NodeMCU using I2C. When the program reaches the instruction to print the measurements on the display the program crashes and NodeMCU resets ...
1
vote
0answers
83 views

Problem with using SD and Adafruit_SSD1306 libraries at the same time

I am searched over the internet and found out a few similar questions, but non of them were helpfull, so I decided to open a new quetion. I tried both SD and Adafruit_SSD1306 libraries and they both ...
1
vote
0answers
132 views

Problem with Adafruit_SSD1306 library in .h fie

I have a project which includes OLED display, so I decided to use Adafruit_SSD1306 library. But I have problem with compiling code, which uses this library, in another .h file. When I use this library ...
1
vote
0answers
183 views

Looping a defined function to show live variables printed on OLED screen

I have started a thread on the Arduino forum. If someone could have a look at the thread and give me some help either here or there that would be great. (I don't want to have to add all the ...
1
vote
1answer
408 views

Problem to Setting up i2c OLED wemos D1 mini shiled (64*24)

Hi I used this shield before well. But it didn't work when I wanted to work with him last night! this is my wireing : Now I want to know how to test that it is healthy? Is i2c address missing or ...
1
vote
0answers
352 views

I2C and SPI using sensor and Oled display

Im currently working on a project which displays vital signs such as pulse and oxygen on my display. Now, my sensor is connected through I2C while my OLED runs through SPI. Im trying to display the ...
0
votes
2answers
52 views

Serial and I2C not working together

I have very peculier problem. When I run this code SSD1306 fails to initialize. Output at serial console is: 20:26:33.194 -> MPU6050 OLED demo 20:26:33.532 -> SSD1306 allocation failed #include &...
0
votes
2answers
84 views

Is there a limitation of how many instances of the `String` class?

Platform Attiny85 with AttinyCores 1306 OLED i2c with Tiny4KDisplay Goal using a joystick for menu navigation up/down choose left enter (not finished yet) right back (not finished yet) inverse ...
0
votes
1answer
39 views

Arduino boards are not working with powerbanks!

I have used many Arduino boards with adapters and other power supplies. While connecting with a powerbank for portable projects I have noticed that the power goes off after a couple of seconds and ...
0
votes
1answer
114 views

How can I display text on OLED?

I'm trying to print the information, which is received from the other ESP32 by CAN transceiver, on an OLED. The CAN bus is working perfectly, as the 'HELLO WORLD' is already be received. But I can't ...
0
votes
1answer
72 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&...
0
votes
1answer
54 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 ...
0
votes
1answer
63 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 ...
0
votes
1answer
49 views

Artefacts on display when adding seemingly unrelated code

I have this simple program, where I am implementing a menu structure on an OLED display and a rotary encoder. The code works functionally as intended, however when I add more menu items, then I get ...
0
votes
1answer
81 views

Code hangs with SPI, and OLED labraries (Possible conflict between Adafruit SSD1306 and hardware SPI libraries)

I have an issue with using two libraries together, namely SPI.h that is installed together with an Arduino and Adafruit_SSD1306.h. My code was getting stuck so I stripped it down to the bare minimum ...
0
votes
2answers
288 views

How to properly put a u8g2 handle in a class

I'm trying to create a small battery powered alarm clock using an Arduino MKRZero and a generic SH1106-controlled, 128x64 pixel oled. I started out just dumping all code into a single file named Clock....
0
votes
0answers
105 views

Different Counter Reading on Serial Monitor Vs .96" OLED I2C

I've cobbled some code together from reading multiple sources on the web. Makeatronics in particular to help me get this rotary encoder code together (shout out to them). I'm pretty close to the end,...
0
votes
2answers
257 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 ...
-1
votes
1answer
58 views

Efficient workflow/tools for converting color images to hex arrays

I would like to display 65k color animated gifs on my oled. I'm using the adafruit library for https://learn.adafruit.com/096-mini-color-oled Now I need to convert a significant number of images to ...