Questions tagged [oled]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
38 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 ...
0
votes
1answer
18 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&...
-1
votes
1answer
33 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 ...
1
vote
1answer
26 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 ...
2
votes
0answers
123 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. ...
0
votes
2answers
70 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 ...
1
vote
1answer
62 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 ...
0
votes
0answers
30 views

7 -pin OLED not working with SSD1306.h, GFX.h, U8glib.h using in SPI

I have tried running the example code provided to get the OLED to work but to no avail. I have two OLED displays with me. They are not connected serially. I am using SPI interface. These are the ...
0
votes
1answer
36 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
51 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
43 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 ...
1
vote
1answer
164 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
30 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 ...
2
votes
1answer
43 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 ...
0
votes
2answers
154 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
136 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
39 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 ...
0
votes
0answers
80 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,...
1
vote
0answers
84 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
89 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
3answers
245 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 ...
0
votes
0answers
53 views

Failed to display string on oled (SPI) from SD module

i am working on a project in which data from sd card is displayed on the oled screen both using SPI communication, but it is not displaying anything. i commented out the sd part and then oled works ...
0
votes
0answers
32 views

Turning SSD1306 back on

I am using the SSD1306 OLED display, using the code from The Robot Can Talk Everything works really well. But I failed to have a working screensaver that turns off the display, and later turns it on ...
1
vote
2answers
169 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 ...
0
votes
2answers
87 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 ...
0
votes
1answer
294 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 ...
0
votes
1answer
42 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 ...
-4
votes
1answer
77 views

Plotting analogRead on OLED (128*64) - EspWemos D1 mini (Problem to upload this Sketch) [closed]

i want plot real time analog input on OLED . This code for arduino Uno .. i tested on arduino uno and take perfect answer. but i using OLED-Wemos D1 mini Shield board. and i want upload this code on ...
0
votes
0answers
245 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
1answer
104 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 ...