ELECFREAKS IIC OLED Module  (EF03155)
      ELECFREAKS IIC OLED Module  (EF03155)
      ELECFREAKS IIC OLED Module  (EF03155)
      ELECFREAKS IIC OLED Module  (EF03155)

      ELECFREAKS IIC OLED Module (EF03155)

      EF-03155
      €18.08

      14.70 € tax excl.

      ELECFREAKS IIC OLED Module  (EF03155)

      Quantity :
      OUT OF STOCK

      ELECFREAKS IIC OLED Module  (EF03155)

      Link: https://wiki.elecfreaks.com/en/microbit/sensor/octopus-sensors/output/octopus_ef03155

      Tieto ELECFREAKS IIC OLED moduly sú malé, ale vďaka vysokému kontrastu OLED displeja veľmi dobre čitateľné. Tento displej je vyrobený z 128x64 jednotlivých bielych OLED pixelov, z ktorých každý je zapínaný alebo vypínaný riadiacim čipom. Keďže displej vytvára vlastné svetlo, nie je potrebné žiadne podsvietenie. To znižuje spotrebu energie potrebnú na prevádzku OLED a je to dôvod, prečo má displej taký vysoký kontrast. Tento miniatúrny displej sa nám veľmi páči pre jeho ostrosť!

      Samotný OLED vyžaduje napájanie 3,3 V a logické úrovne 3,3 V pre komunikáciu, ale my dodávame regulátor 3,3 V a všetky piny sú úplne posunuté, takže ho môžete používať s 5 V zariadeniami!

      VLASTNOSTI

      • OLED je samosvietiaci, bez podsvietenia
      • Veľkosť obrazovky: 0,96
      • Rozlíšenie: 128*64
      • Farba: modrá
      • Spôsob komunikácie: IIC
      • Pracovná teplota: -20-70
      • Prevádzkové napätie: 3,3-5 V
      • Veľkosť modulu: 27x28 mm

      PROGRAMMING

      <syntaxhighlight lang="php">

      1. include <Wire.h>

      // with no jumpers the full address is 1 0 0 1 1 1 1 0 0 A2 A1 A0 0x27 is the default address for the board with no jumpers.

      1. define PCA9555 0x27 // 0x27 is default address for the board with no jumpers.
                          // 0x20 is address for the  board with all jumpers.
      

      // COMMAND BYTE TO REGISTER RELATIONSHIP FROM PCA9555 DATA SHEET // At reset, the device's ports are inputs with a high value resistor pull-ups to VDD // If relays turning on during power up are a problem. Add a pull down resistor to each relay transistor base.

      1. define IN_P0 0x00 // Read Input port0
      2. define IN_P1 0x01 // Read Input port1
      3. define OUT_P0 0x02 // Write Output port0
      4. define OUT_P1 0x03 // Write Output port1
      5. define INV_P0 0x04 // Input Port Polarity Inversion port0 if B11111111 is written input polarity is inverted
      6. define INV_P1 0x05 // Input Port Polarity Inversion port1 if B11111111 is written input polarity is inverted
      7. define CONFIG_P0 0x06 // Configuration port0 configures the direction of the I/O pins 0 is output 1 is input
      8. define CONFIG_P1 0x07 // Configuration port1 configures the direction of the I/O pins 0 is output 1 is input
      1. define PAUSE 200

      void setup() {

        delay(1000);
       display.initialize();
      

      }


      void loop() {

      display.drawLine(0, 0, 127, 63,WHITE);
       display.update();
       delay(1000);
       display.clear();
       display.setTextSize(1);
       display.setTextColor(WHITE);
       display.setCursor(0,0);
       display.println("Hello, world!");
       display.setTextColor(BLACK, WHITE); // 'inverted' text
       display.println(3.141592);
       display.setTextSize(2);
       display.setTextColor(WHITE);
       display.print("0x"); display.println(0xDEADBEEF, HEX);
       display.update();
       delay(2000);
       display.clear();
      

      }

      </syntaxhighlight>

      ElecFreaks
      EF-03155

      Specific References

      ELECFREAKS IIC OLED Module  (EF03155)

      ELECFREAKS IIC OLED Module (EF03155)

      €18.08

      14.70 € tax excl.