Display OLED 0.96" I2C IIC Albastru
zoom_out_map
chevron_left chevron_right

Display OLED 0.96" I2C IIC Albastru

19,64 RON
cu TVA
rating Citeste 5 review-uri
Scor mediu 5/5 Numar review-uri 5
check In Stock

Adauga la lista

Trebuie sa te autentifici
  LIVRARE GRATUITA

Adauga in cos produse in valoare de 120 Ron

  LIVRARE RAPIDA 24H

Expediem in aceasi zi comenzile plasate pana in ora 14:00

  REDUCERE 8%

La toate comenzile minim 300 Ron


Display OLED 0.96 inch culoare Albastru, compatibil Arduino si alte placi de dezvoltare. Ideal pentru proiecte de mici dimensiuni datorita interfetei de comunicare I2C si IIC.

Acest display nu necesita de retroiluminare (aceasta fiind data de pixeli)

Specificatii:

Rezoluitie mare: 128X64

Unghi vizual: >160 °

Consum ultra redus: 0.08W

Tensiune alimentare: DC 3V-5V

Temperatura functionare: -30 ~70 degree

Dimensiuni mm: 29 x 27.5 x 4.3

Dimensiuni display activ mm: 26.5 x 14.8

Suport: IIC, I2C

Compatibil la nivel I/O direct cu microcontrollere pe 3.3V si 5V (compatibil direct, fara convertoare)

Chip: SSD1306


Comunicarea IIC ocupa un numar minim de pini.

Descriere pini:

GND: Ground

VCC: 3.3V sau 5V

SCL: IIC clock line

SDA: IIC data line


Instructiuni:

IMG_0066_JPG

Conectare:

GND --------> GND

VCC --------> 3.3V

SCL --------> A5

SDA --------> A4


Stergeti toate librariile ce ar putea intra in conflict cu display-ul si instalati librariile Adafruit_GFX si Adafruit_SSD1306 (Tools --> Manage Libraries --> Search)


Cod test:

#include <Adafruit_GFX.h> // Include core graphics library for the display

#include <Adafruit_SSD1306.h> // Include Adafruit_SSD1306 library to drive the display

Adafruit_SSD1306 display(128, 64); // Create display

#include <Fonts/FreeMonoBold12pt7b.h> // Add a custom font

#include <Fonts/FreeMono9pt7b.h> // Add a custom font

int Variable1; // Create a variable to have something dynamic to show on the display

void setup() // Start of setup

{

delay(100); // This delay is needed to let the display to initialize

display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // Initialize display with the I2C address of 0x3C

display.clearDisplay(); // Clear the buffer

display.setTextColor(WHITE); // Set color of the text

display.setRotation(0); // Set orientation. Goes from 0, 1, 2 or 3

display.setTextWrap(false); // By default, long lines of text are set to automatically ΓÇ£wrapΓÇ¥ back to the leftmost column.

// To override this behavior (so text will run off the right side of the display - useful for

// scrolling marquee effects), use setTextWrap(false). The normal wrapping behavior is restored

// with setTextWrap(true).

display.dim(0); //Set brightness (0 is maximun and 1 is a little dim)

} // End of setup

void loop() // Start of loop

{

Variable1++; // Increase variable by 1

if(Variable1 > 150) // If Variable1 is greater than 150

{

Variable1 = 0; // Set Variable1 to 0

}

// Convert Variable1 into a string, so we can change the text alignment to the right:

// It can be also used to add or remove decimal numbers.

char string[10]; // Create a character array of 10 characters

// Convert float to a string:

dtostrf(Variable1, 3, 0, string); // (<variable>,<amount of digits we are going to use>,<amount of decimal digits>,<string name>)

display.clearDisplay(); // Clear the display so we can refresh

display.setFont(&FreeMono9pt7b); // Set a custom font

display.setTextSize(0); // Set text size. We are using a custom font so you should always use the text size of 0

// Print text:

display.setCursor(0, 10); // (x,y)

display.println("Hello"); // Text or value to print

// Draw triangle:

display.drawTriangle(40,40, 50,20, 60,40, WHITE); // Draw triangle. X, Y coordinates for three corner points defining the triangle, followed by a color

// Draw filled triangle:

display.fillTriangle(0,63, 15,45, 30,63, WHITE); // Draw filled triangle. X, Y coordinates for three corner points defining the triangle, followed by a color

// Draw line:

display.drawLine(40, 63, 70, 63, WHITE); // Draw line (x0,y0,x1,y1,color)

// Draw circle:

display.drawCircle(47, 36, 20, WHITE); // Draw circle (x,y,radius,color). X and Y are the coordinates for the center point

// Draw a filled circle:

display.fillCircle(12, 27, 10, WHITE); // Draw filled circle (x,y,radius,color). X and Y are the coordinates for the center point

// Draw rounded rectangle and fill:

display.fillRoundRect(58, 0, 18, 18, 5, WHITE); // Draw filled rounded rectangle (x,y,width,height,color)

// It draws from the location to down-right

// Draw rectangle:

display.drawRect(79, 0, 49, 27, WHITE); // Draw rectangle (x,y,width,height,color)

// It draws from the location to down-right

display.setFont(&FreeMonoBold12pt7b); // Set a custom font

// Print variable with left alignment:

display.setCursor(83, 20); // (x,y)

display.println(Variable1); // Text or value to print

// Draw rounded rectangle:

display.drawRoundRect(79, 37, 49, 27, 8, WHITE); // Draw rounded rectangle (x,y,width,height,radius,color)

// It draws from the location to down-right

// Print variable with right alignment:

display.setCursor(83, 57); // (x,y)

display.println(string); // Text or value to print

display.display(); // Print everything we set previously

} // End of loop

00090

Click aici pentru a scrie un review

rating 5
Functioneaza perfect.
rating 4
Functioneaza direct cu NodeMcuESP8266 fara convertor logic
rating 5
As described
rating 5
Multumesc totul a fost OK.
rating 5
ok