Questions tagged [oled]
The oled tag has no usage guidance.
49
questions
-3
votes
0
answers
99
views
OLED & Functions
I have an OLED set up with my Arduino. It works fine and code displays as it should when I put the code in the void setup() function. However if I create a different function, move the code into it ...
1
vote
1
answer
84
views
DHT20 and Oled display not working together
I am trying to get my DHT20 and Oled (Both from the Arduino Sensor Kit) to work at the same time. I am able to get them working separately with their respective test codes but when I try to combine ...
0
votes
0
answers
58
views
Make encoder work together with OLED display in Arduino Nano Every
I tried to sketch code to make an encoder to generate a number by each step and show it on OLED display. The OLED will connect with I2C, working on in Arduino Nano Every ATmega4809.
I separately made ...
2
votes
0
answers
172
views
GPS speedometer with NEO 6M - latency issue
I have built a speedometer, based on this
youtube video: https://www.youtube.com/watch?v=gKuJxjxNP-k&t=34s
The speedometer is for a car, so it needs to be in real-time and accurate, with the ...
2
votes
1
answer
63
views
Functions delaying gesture sensor recognition
I am working on a simple little robot to cure my boredom and all it has is a 64 x 32 OLED for the eyes, and a PAJ7620 Gesture recognition sensor with a Seeeduino Xiao as the main board.
Basically, ...
0
votes
1
answer
55
views
NodeMCU code that both display OLED and control WS2812 LED Ring
I'm trying to make a project using NodeMCU that show pictures in small OLED screen and also controlling WS2812 LED Ring.
I manage to do each of them separately but I'm not sure how to mix them ...
5
votes
2
answers
181
views
Arduino Freezes (probably because of I2C) - Need help to write robust script
Arduino Pro mini 3.3V stucks few hours after startup. After repowered, it begins to stuck within a few seconds. If I wait long enough before turning it on it stucks little later for example now it ...
2
votes
0
answers
245
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 ...
1
vote
0
answers
50
views
Arduino sketch doesn't work when uploaded to arduino nano and OLED display shows npothing (possible issue: lack of memory)
I need some hand here. I wrote some code for a small arduino console-like device that has five pushbuttons, 128x64 I2C OLED display and arduino nano. And it doesn't work when uploaded to arduino nano -...
0
votes
1
answer
583
views
How to scroll text on an OLED display using only the SSD1306Wire library?
I'm a 13 years old boy and I am doing a project with esp01 and an OLED screen to display project ideas on the OLED with the ChatGPT API. The answer is displayed on the OLED but I would like it to ...
-1
votes
1
answer
334
views
Carbon dioxide sensor MG 811
I am using MG811 carbon dioxide sensor with ESP8266 module. CO2 values is being read inside closed room. The value comes around 400 ppm. Using CO2 generator does not make increase in reading. Checked ...
0
votes
0
answers
50
views
Problem with switching screens using U8glib
I'm making little project on my arduino nano using OLED display. I want to make 'boot screen'. If I will turn on device then Image1 should appear, wait few sec then Image2 should apear and then the ...
0
votes
1
answer
129
views
Temperature is not updated on OLED screen - Grove components
I am using 2 grove components in order to display a temperature. I use an I2C High Accuracy Temperature Sensor - MCP9808 and an OLED Screen using this script:
#include <U8g2lib.h>
#include <...
2
votes
0
answers
443
views
Arduino OLED ssd1315 graphic print questions
I’ve tried to create a system that the rotary sensor as an input and use a 0.96 inch Oled as an output (first pic), try to show the voltage measurements and performance test using a small bar graphic.
...
2
votes
1
answer
393
views
Why is the Adafruit splashscreen logo not displayed properly?
I'm working with a 128x64 Oled display. I have just installed the Adafruit library and I'm running some sample codes. I have not modified the sample code in anyway yet just testing if the oled display ...
1
vote
1
answer
343
views
Arduino u8glib Problem
I am Trying to make tetris on a 128x64 oled 1.3", and I am using the u8glib library. Here Is My Code:
#include "U8glib.h"
U8GLIB_SH1106_128X64 u8g(13, 11, 10, 9);
int val = -53;
int ...
-1
votes
1
answer
316
views
I have this issue on Arduino by stating that Adafruit_SSD1306_128x64_i2c_init(); was not declared in the scope, may I ask why?
I have included Adafruit_SSD1306.h file however, it still shows me error such as 'Adafruit_SSD1306_128x64_i2c_init(); was not declared in the scope' Can anyone enlighten me for this?
1
vote
1
answer
271
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 ...
0
votes
1
answer
116
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 ...
1
vote
1
answer
120
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 ...
2
votes
1
answer
123
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 ...
0
votes
2
answers
424
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 &...
2
votes
1
answer
463
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 ...
1
vote
0
answers
1k
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
1
answer
895
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
1
answer
205
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
1
answer
203
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
1
answer
785
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
0
answers
1k
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
2
answers
125
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
1
answer
370
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
1
answer
58
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
1
answer
72
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 ...
2
votes
1
answer
1k
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
1
answer
890
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
1
answer
107
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 ...
-1
votes
2
answers
728
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....
2
votes
0
answers
579
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
0
answers
228
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
0
answers
143
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
0
answers
265
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
0
answers
524
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
3
answers
631
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
2
answers
561
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
2
answers
916
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
vote
1
answer
949
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
1
answer
350
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 ...
1
vote
0
answers
559
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 ...
1
vote
1
answer
245
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 ...