Programmtechnisch voll im Griff. .-) Seit kurzem gibt es zwei neue Typen die ebenfalls auf dem SSD1306 basieren: 1. 0.91" mit 128x32 Pixel Bei dem Display hat man jede zweite Zeile weggelassen. 2. 0.42" mit 72x40 Pixel Hier befindet sich das Oled etwas versetzt im Displayram des SSD1306
Olaf schrieb im Beitrag #6166025: > Seit kurzem gibt es zwei neue Typen die ebenfalls auf dem SSD1306 > basieren: > > 1. 0.91" mit 128x32 Pixel Bei verschiedenen Definitionen von "kurz" und "neu: ;-) e.g. "Im Angebot von Amazon.de seit: 9. Februar 2018" leo
gesetzt, ich bin nicht ganz sicher. Getestet habe ich mit dem PrintUTF8 Beispiel von Adafruit für SSD1306 OLEDs. [c] #include <Arduino.h> #include <U8g2lib.h> #ifdef U8X8_HAVE_HW_SPI #include <SPI.h> #endif #ifdef U8X8_HAVE_HW_I2C #include <Wire.h> #endif U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C
implementieren. Ein Beispiel zum Abgucken findest du hier: https://github.com/adafruit/Adafruit_SSD1306 Die für dich interessanteste Methode dürfte dort [c] Adafruit_SSD1306::drawPixel(int16_t x, int16_t y, uint16_t color) [/c] sein, weil das die eine Funktion ist, auf der die ganze GFX-Library
In verschiedenen Threads wurde gesagt, dass OLED Displays, z.B. die beliebten SSD1306, eine begrenzte Lebensdauer haben. Kann jemand von seinen Erfahrungen berichten, wieviele Stunden Lebensdauer man erwarten kann? Beim Hersteller nachzufragen, erscheint mir wenig sinnvoll, der
Beitrag #6157849: > In verschiedenen Threads wurde gesagt, dass OLED Displays, z.B. die > beliebten SSD1306, eine begrenzte Lebensdauer haben. Ja, ein paar Monate Dauerbetrieb und die benutzten Pixel sind dann schon sehr dunkel, danach blieb es dann gefühlt gleich dunkel für die nächsten 2 Jahre. Tote
Verwendung von I2C0_IRQn. Funktioniert auch bestens. Ich kann damit z.B problemlos ein uebliches SSD1306 Oled ansprechen. Sobald ich eine der I2C-Bus Funktionen innerhalb des Systicks aufrufe steht mein System. Der Versuch auch nur ein Byte zu senden haelt alles an. Es sieht so aus als wenn der I2C0
/* This is an example of how to use the OLED 128x64 I2C with SSD1306 driver using the Adafruit library. It also applies to the 128x32 version, but not all components would fit the smaller screen. Pins: GND = GND VCC = 5V SCL = A5 SDA = A4 You can connect VCC to 3.3V
/* This is an example of how to use the OLED 128x64 I2C with SSD1306 driver using the Adafruit library. It also applies to the 128x32 version, but not all components would fit the smaller screen. Pins: * GND = GND * VCC = 5V * SCL = A5 * SDA = A4 You can connect VCC
/* This is an example of how to use the OLED 128x64 I2C with SSD1306 driver using the Adafruit library. It also applies to the 128x32 version, but not all components would fit the smaller screen. Pins: * GND = GND * VCC = 5V * SCL = A5 * SDA = A4 You can connect VCC
/* This is an example of how to use the OLED 128x64 I2C with SSD1306 driver using the Adafruit library. It also applies to the 128x32 version, but not all components would fit the smaller screen. Pins: * GND = GND * VCC = 5V * SCL = A5 * SDA = A4 You can connect VCC
: candidate is: In file included from C:\Program Files (x86)\Arduino\libraries\DFRobot_OLED12864/SSD1306Wire.h:31:0, from C:\Program Files (x86)\Arduino\libraries\DFRobot_OLED12864/SSD1306.h:30, from C:\Users\Philippe\Downloads\ESPEasyPluginPlayground-master\ESPEasyPluginPlayground-master\_P168_ThermOLED
######################################################### ##################### Plugin 168: OLED SSD1306 display for Thermostat #################### ########################################################################################## This is a modification to Plugin_036 with graphics library provided from squix78 github https://github.com/squix78/esp8266-oled-ssd1306 Features : - Displays and use current temperature from specified Device/Value (can be a Dummy for example) - Displays and maintains setpoint value - on power down/up this plugin maintains and reloads
define DEBUG_PRINT(x) #define DEBUG_PRINTDEC(x) #define DEBUG_PRINTLN(x) #endif Adafruit_SSD1306 display(OLED_RESET); File myFile; const char vers[] = "v1.0"; const unsigned long period = 5000; // microsec. const unsigned long runtime = 60000; // millisec. unsigned long count
// turn on pullup resistors Serial.begin(38400); // Display display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // Adressierung beachten, hier 0x3C ! startup(); // SD Card // Serial.print("Initializing SD card..."); // see if the card is present and can be initialized
auf 3.3V vom esp8266 GND " " " " GND SCL und SDA so wie hier im ode angegeben > SSD1306Wire display2(0x3c, D2, D1); > SSD1306Wire display(0x3c, D3, D5);
#6057594: > Bei mir funktioniert er nicht mag sein, es soll auch noch andere Controller geben als SSD1306. Bei mir funktionierte ein U8GLIB_SH1106_128X64
Hi, ich habe hier das SBC-OLED01 Display von Joy-IT (basierend auf SSD1306 mit IIC Interface) und bin mir nicht sicher, ob das Ding nicht kaputt ist: - wenn ich es per USB mit Spannung versorge, bricht mir selbige ein, es sieht also so aus, als wenn das Display mehr Strom
sehen, auch wenn ich gerade nichts per IIC ansteuere? Nö, normal nicht. Habe hier auch welche mit SSD1306 Controller und da passiert nix, bevor man sie nicht initialisiert um u.A. den integrierten Spannungsbooster einzuschalten.
Hat bei euch dieses kleine SSD1306 auch ein lästig hochfrequentes Geräusch des eingebauten Boost Converters?
siehst du ja auch nicht, oder? ;) Richtig, den sehe ich nicht. Es besteht die Möglichkeit, daß ein SSD1306 kompatibler Controller drin ist, der im Gegensatz zum originalen SSD1306 tatsächlich 5V erlaubt. Das ist schon Sch***** wenn der Händler weder Datenblatt noch klare technische Daten mitliefert.
nicht vorhanden wäre. "Description Resource Path Location Type undefined reference to `ssd1306_WriteCommand' ssd1306.c /Oled/Src line 70 C/C++ Problem"´ // Send a byte to the command register void ssd1306_WriteCommand(uint8_t byte) { HAL_I2C_Mem_Write(&SSD1306_I2C_PORT, SSD1306
Ich verwende diese Files: https://github.com/afiskon/stm32-ssd1306/tree/master/ssd1306
#include "U8glib.h" U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_NO_ACK|U8G_I2C_OPT_FAST); //U8glib, Fast I2C / TWI 100 Neuzeichnungen in 570ms int x = 0; int z = 0; void draw(){ u8g.setFont(u8g_font_6x13);
value. Select appropriate value against module application. Solomon Systech Aug 2010 P 60/64 Rev 1.5 SSD1306 15 PACKAGE INFORMATION 15.1 SSD1306TR1 Detail Dimension Figure 15-1 SSD1306TR1 Detail Dimension T 36 S S SSD1306 Rev 1.5 P 61/64 Aug 2010 Solomon Systech Solomon Systech Aug 2010 P 62/64 Rev 1.5 SSD1306 15.2 SSD1306Z2 Die Tray Information Figure 15-2 : SSD1306Z2 die tray information SSD1306 Rev 1.5 P 63/64 Aug 2010 Solomon Systech Solomon Systech reserves the right to make changes without notice to any products
Active Area 0.96" 128 x 64 Pixels 3 2 7 1 n n t t n n m m e e m m o ~ o e ~ ~ ~ e o ~ o C C S S C C SSD1306 H D D # # # D F O C S 2 2 1 1 V V V S S S S E / / / 0~ 7 R V V V C C C C B B B C R D R E D D I C5 C1 R1 C2 C3 C4 MCU Interface Selection: BS0, BS1 and BS2 Pins connected to MCU interface: CS#, RES
value. Select appropriate value against module application. Solomon Systech Aug 2010 P 60/64 Rev 1.5 SSD1306 15 PACKAGE INFORMATION 15.1 SSD1306TR1 Detail Dimension Figure 15-1 SSD1306TR1 Detail Dimension T 36 S S SSD1306 Rev 1.5 P 61/64 Aug 2010 Solomon Systech Solomon Systech Aug 2010 P 62/64 Rev 1.5 SSD1306 15.2 SSD1306Z2 Die Tray Information Figure 15-2 : SSD1306Z2 die tray information SSD1306 Rev 1.5 P 63/64 Aug 2010 Solomon Systech Solomon Systech reserves the right to make changes without notice to any products
nun die benötigten Bibliotheken herunterladen und installieren: git clone git://github.com/rm-hull/ssd1306.git cd ssd1306 sudo python setup.py install cd examples git clone https://github.com/rm-hull/luma.examples.git cd luma.examples/examples Wenn das alles nun erledigt wurde können wir verschiedene Demos
generated by some other hardware. */ #define NO_RESET_PIN 255 /** * Driver for OLED displays with SSD1306 or SH1106 controller. * * Supported display sizes: 96x16, 128x32 and 128x64 pixels. * This driver supports only displays with internal charge pump and I²C interface. * The I²C communication is done
U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, /* clock=*/ D1, /* data=*/ D2); https://www.ebay.de/itm/162465864403 Mein Display hat 2 Adressmöglichkeiten. Muss das auch übergeben werden?
soll dieses komplett > ausgeschaltet werden. Was hast du denn für ein I2C Display? Eines mit SSD1306 oder SH1106 Controller? Da gib es Befehle für einen Standby des Displays, genügt dir vielleicht schon ;)
library dependencies for file: C:\Users\Judith\Documents\Arduino\libraries\U8glib\src\clib\u8g_dev_ssd1306_128x32.c Using cached library dependencies for file: C:\Users\Judith\Documents\Arduino\libraries\U8glib\src\clib\u8g_dev_ssd1306_128x64.c Using cached library dependencies for file: C:\Users\Judith
include <FastLED.h> #define NUM_LEDS 5 // 4 Status LEDs eine pro Kanal CRGB leds[NUM_LEDS]; U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE|U8G_I2C_OPT_DEV_0); // I2C / TWI const int Strobe_Pin[] = {6,9,10,5}; // Definition der Ausgabepins byte Triac_Pin[4] = {8,8,8,8}; const int buttonPin_UP = 15; // Definition
define NUM_LEDS 4 // 4 Status LEDs eine pro Kanal #define DATA_PIN 12 CRGB leds[NUM_LEDS]; U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE|U8G_I2C_OPT_DEV_0); // I2C / TWI const int Strobe_Pin[] = {6,9,10,11}; // Definition der Ausgabepins const int buttonPin_UP = 15; // Definition der Taster const int buttonPin_ENTER
Forengemeinde, Ich habe ein kleines Verständnis Problem mit dem I2C Datenpaket, es handelt sich um ein SSD1306 Controller für OLED. Ich möchte den Command Befehl aus dem Angehangenen Bild SSD1306_1 zu dem Controller schicken. Ich würde es in dem Format schicken wie ich es "Skizziert" habe in InkedSSD1306
Hier hab ich meinen Code für HAL & SSD1306 veröffentlicht: https://www.mikrocontroller.net/topic/457781
Danach lässt sich das Ganze auf auf einen kleinen ATtiny85 umsetzen. Für das Display schau mal nach SSD1306. Produkte mit diesem Chip sind gerade billig. Allerdings ist die Programmierung von so einem Grafik-Display mit so einem kleinen Mikrocontroller anspruchsvoll, da der µC weniger RAM hat, als ein
lässt sich das Ganze auf auf einen kleinen ATtiny85 > umsetzen. Für das Display schau mal nach SSD1306. Produkte mit diesem > Chip sind gerade billig. > Allerdings ist die Programmierung von so einem Grafik-Display mit so > einem kleinen Mikrocontroller anspruchsvoll, da der µC weniger RAM hat