Questions tagged [oled]
The oled tag has no usage guidance.
39
questions
-1
votes
0
answers
44
views
Theres some libary to draw two charts on Adafruit OLED Display ssd1306 for arduino?
I am making a class work using ssd1306. My classwork is an electronic load.
I need to plot 2 graph on this Adafruit ssd1306 for arduino. One with the current being drained from voltage source and ...
2
votes
0
answers
41
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
79
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
45
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
vote
0
answers
78
views
Display temperature on a Grove - OLED Display 1.12"
I wish to display the temperature on a Grove - OLED Display 1.12". I see the reading in the serial monitor but not on the display. Any reason why?
Code:
#include <Arduino.h>
#include <...
-1
votes
1
answer
59
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
62
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
55
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
58
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
1
answer
46
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
96
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
181
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
136
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
0
answers
347
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
112
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
99
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
201
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
476
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
97
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
144
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
45
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
61
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 ...
1
vote
1
answer
144
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
1
answer
598
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
87
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
74
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
2
answers
392
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
361
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
113
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
115
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
157
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
246
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
414
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
380
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
361
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
550
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
133
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
404
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
136
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 ...