Menu
You can find the introduction of this product and many educational projects in our wiki.
Link: https://wiki.elecfreaks.com/en/microbit/sensor/octopus-sensors/output/octopus_ef03155
These ELECFREAKS IIC OLED Module are small, but very readable due to the high contrast of an OLED display. This display is made of 128x64 individual white OLED pixels, each one is turned on or off by the controller chip. Because the display makes its own light, no backlight is required. This reduces the power required to run the OLED and is why the display has such high contrast; we really like this miniature display for its crispness!
The OLED itself requires a 3.3V power supply and 3.3V logic levels for communication, but we include a 3.3V regulator and all pins are fully level shifted so you can use it with 5V devices!
OLED is self-luminous, with no backlight
Screen size: 0.96
Resolution: 128*64
Color: Blue
Communication method: IIC
Working temperature: -20-70
Operating Voltage: 3.3-5V
Module size: <27mm*28mm
<syntaxhighlight lang="php">
// 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.
// 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.
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>
Sign up for our newsletter and be the first to know about coupons and special promotions.
© 2024, ELECFREAKS Powered by Shopify