9
votes
My program is using too much memory
There are lots of repetitions in your code. This is something you should
generally avoid, not only because of memory usage, but also, and most
importantly, because of maintainability.
The most common ...
8
votes
Accepted
Confused between SPI and I2C for SSD1306 OLED
SCK and SCL are the same thing.
Serial ClocK
Serial CLock
They seem to be interchangeable. The fact you have SDA (Serial DAta) as opposed to separate SDI / SDO or MOSI / MISO pins means it's I2C.
...
7
votes
Accepted
Frequent ON OFF in SSR
You need to implement hysteresis. Set two temperature points around set_temp. One a little higher to be a limit for turning the heater off and a one a little lower then set_temp to turn the heater on.
...
5
votes
How to show the º character in a LCD?
Some displays have different characters above 128. It is best to make your own character.
That is what @dannyf ment with "CGRAM". The custom characters are stored in CGRAM. There is no need to read ...
4
votes
Accepted
Arduino code to run 2 thing simultaneously
Arduino Microprocessors are mostly single core devices and thus are unable to do more than one thing at a time.
The trick is to write code efficiently so it looks like several things are happening at ...
3
votes
Adafruit 128x64 OLED not turning on
Wiring is your problem. Use soldering iron/solder and flux. Solder your wires. Intermittent connections and accidental shortages with current setup may damage your Arduino and display (and possible ...
3
votes
Accepted
Reading text from SD card is returning weird characters
The text file is not ASCII, it is UTF-8. You will either have to convert it to pure ASCII, or write (or obtain) a conversion routine to approximate the UTF-8 characters using ASCII on the Arduino.
...
3
votes
Accepted
What image formats are accepted for displays?
This is not a question of image format but of what format c accepts data in.
What you have is a python representation of binary data in hexadecimal encoding. That can only be used with python.
C ...
3
votes
Accepted
How to get text to flash on ssd1306 i2c screen
As approved by the OP, the error was caused by not having reset the cursor to a visible position on the display. The text was written outside of the OLED.
It seems as the clearDisplay() method does ...
3
votes
How can I display text on OLED?
Just guessing but looks to me like you read the CAN message and print it character by character to the Serial console but you don't save those characters in a buffer as you get them from CAN.read().
...
3
votes
Accepted
Scroll Left to Right on MAX7219 Display
To scroll in the opposite direction, change this if statement:
if( --x < len * -8 ) {
x = LEDMATRIX_WIDTH;
}
to this:
if( ++x > LEDMATRIX_WIDTH+len*8 ){
x = 0;
}
x (the start position ...
3
votes
Accepted
Slow refresh rate of 1.8 TFT display
The ST7735 TFT uses SPI to communicate. That can never be particularly fast.
At 160x128 pixels with 16-bit colour depth that gives you 327680 bits that you need to transfer just for the colour data. ...
3
votes
Accepted
I want a bar type display for my Arduino Project
As Majenko already stated, the second image shows a custom display. It is not pixelated, because each shown element/symbol has it's own element in the LCD. When you have one of these displays, you ...
3
votes
Accepted
ST7789 TFT display only shows a correct image while Arduino reset button is held down - Why?
I found the answer to this problem. After reading multiple web pages / YouTube videos from multiple authors on this device and ~all of them warning you must never connect the Vcc to 5v or it will ...
3
votes
Accepted
Alternatives to Nextion display
We work with Proculus displays, and we are a distributor of this display here in Brazil (Victor Vision). The display is great, very professional. Used in medical equipments, and cheaper than Nextion.
...
3
votes
Can this display's address be changed?
There are two different OLED screens in the links you shared.
1. OLED Display on Adafruit Link
The OLED display on the Adafruit link does not have an address as it communicates via the SPI interface.
...
3
votes
Accepted
LiquidCrystal issue with HD44780 display
The error is, that V0 has VDD level by the way you connected the resistors. The "lower end" of your ladder needs to be at GND, pin 1.
The pin 15 (A) is the anode of the backlight, and is not ...
3
votes
Accepted
Display issues with 4 Digit, 14 segment
so @6v6gt's comment made me re-search for a library for a 14-segment HT16K33. It seems he/she was in the money since it started working after switching library. While I couldn't find any yesterday, I ...
3
votes
Display images on Arduino LCD screen from PC
Since you don't give a clue about the TFT you have in mind, I'll try to describe the process using the following assumptions about the TFT that have to be true for the rest to work:
one full frame of ...
2
votes
Accepted
mcufriend SPI connection
You can't use that TFT screen with SPI. The SPI interface (SD_DI, SD_DO, SC_SCK and SD_SS) is for the SD card slot only.
All the pins starting LCD_ are the 8-bit parallel ("8080" style) interface for ...
2
votes
Two data outputs to be displayed on one 16x1 lcd display
You can use
lcd.setCursor(x, y);
To set the cursor.
Than you can output text with
lcd.print("Text");
Make sure you add spaces in case there is already text written to overwrite older text.
You ...
2
votes
Running a 7 pin OLED with 4 pins (I2C)
Yes, it works IIC as described above, with my Arduino MEGA.
You can also connect RST Pin at Arduino RESET signal, so no need of extra R and C components
2
votes
Accepted
Running a 7 pin OLED with 4 pins (I2C)
This page has the answer to your questions. For reference:
Setting up SPI/I2C Connection with GMS096A OLED Module
Being a new entry to the market, only limited resources are available
on this ...
2
votes
Arduino Pong game Circuit Board Troubleshoot
The + and - along the bottom of the picture aren't connected to anything.
It also looks like this board has a separate left and right side.
So just make sure everything is connected along the sides.
2
votes
SSD1306 / U8glib display fonts and commands
First, u8glib is superceded by u8g2
Second, the u8glib wiki has a command reference and font reference.
As does the u8g2 wiki.
Neither reference lists a display() command.
2
votes
Wemos: 16x2 display doesn't show anything
Although an old question, i just ran into the excat same issue.
The problem is that the pin numeration on the wemos D1 isn't the same as on the arduino.
I've followed the liquid crystal arduino ...
2
votes
Wemos: 16x2 display doesn't show anything
You are doing it on wemos d1 mini isnt it ?
Then you dint include its header files,
Did you check the "LiquidCrystal.h" has definitions for wemos pinouts?
Your lcd is fine, n wemos too, its just ...
2
votes
LCD Identification FPC-JG00467-01B SR36
It's most likely a custom part for which there is no public data sheet. LCDs are almost always custom-designed, and require special driver circuitry. This is especially true for such mass-produced ...
2
votes
Accepted
SSD1306 allocation failed when adding a constant
Your display needs 624 bytes of RAM for its internal buffer (128 * ((32 + 7) / 8)). The periodicSystem array needs a massive 360 bytes of RAM just for the objects. That doesn't include the memory used ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
display × 242arduino-uno × 70
lcd × 39
arduino-mega × 22
i2c × 19
arduino-nano × 18
tft × 18
spi × 16
led × 15
programming × 14
7-segment × 13
esp32 × 12
library × 12
oled × 12
esp8266 × 9
arduino-ide × 8
sd-card × 8
adafruit × 8
c++ × 7
pins × 6
wires × 6
serial × 5
rtc × 5
multiplexer × 5
max7219 × 5