Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Adafruit SSD1305/SSD1325 OLEDs with T3.x

  1. #1
    Junior Member
    Join Date
    Oct 2018
    Posts
    2

    Adafruit SSD1305/SSD1325 OLEDs with T3.x

    Apologies if this is in the wrong section, but has anyone had luck with either the 2.3", 2.42", or 2.7" monochrome OLED displays from Adafruit and a T3.x? The 2.3" and 2.42" use the SSD1305 driver chip and the 2.7" uses the SSD1325 driver chip so I was just wondering if anyone has gotten these displays to work using the provided adafruit libraries. I'll be using a T3.5 and I wanted to check if they were compatible before potentially dropping up to $50.

    2.7" https://www.adafruit.com/product/2674
    2.3" https://www.adafruit.com/product/2675
    2.42" https://www.adafruit.com/product/2719

    Thanks!

  2. #2
    Junior Member
    Join Date
    Oct 2018
    Posts
    2
    Bit the bullet and bought the 2.42" monochrome OLED. It uses the SSD1305 chip and everything works great! Highly recommend

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Posts
    6
    Hi trevinator
    I'm currently attempting to port from a project i've dev'don a UNO using the U8x8lib.h and I'm struggling to get the 1305 to operate for me - any help you could offer with pinning and library advice would be really appreciated.
    This is the header of the UNO code:
    Code:
     
    /*  OLED Pin      Arduino Pin
     *    GND            GND
     *    VDD             5v
     *    SCK (D0)      13
     *    SDA (D1)        11
     *    RES              8
     *     DC              9
     *     CS             10  
     *     
     * Typical pin layout used:
     * ---------------------------------------------------------------------------------------------------------------
     *                   MFRC522       Arduino       Arduino   Arduino    Arduino                Arduino      Teensy
     *                   Reader/PCD   Uno/101       Mega      Nano v3    Leonardo/Micro   Pro Micro      3.6
     * Signal         Pin                Pin              Pin          Pin          Pin                       Pin               pin
     * ---------------------------------------------------------------------------------------------------------------
     * RST/Reset   RST               9                 5 (2)      D9          RESET/ICSP-5       RST
     * SPI SS        SDA(SS)       10                53          D10        10                        10
     * SPI MOSI    MOSI            11 / ICSP-4   51         D11        ICSP-4                  16
     * SPI MISO    MISO            12 / ICSP-1   50         D12        ICSP-1                  14
     * SPI SCK     SCK               13 / ICSP-3   52         D13        ICSP-3                  15
     *
     */
    
    
    #include <EEPROM.h>
    //#include <Arduino.h>
    //#include <U8g2lib.h>
    #include <U8x8lib.h>
    #include <SPI.h>
    #include <MFRC522.h>
    
    //#ifdef U8X8_HAVE_HW_SPI
    //#endif
    //#ifdef U8X8_HAVE_HW_I2C
    //#include <Wire.h>
    //#endif
    //#include "PN532.h"
    //#include <PN532_I2C.h>
    
    //PN532_I2C pn532i2c(Wire);
    //PN532 nfc(pn532i2c);
    
    //U8X8_SSD1306_128X64_NONAME_4W_HW_SPI u8x8(/* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);     // 2.5" Polish
    //U8X8_SH1106_128X64_NONAME_4W_HW_SPI u8x8(/* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);      // 1.3" little 
    U8X8_SSD1325_NHD_128X64_4W_HW_SPI u8x8(/* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);          // 2.5" ADA
    //U8X8_SSD1325_NHD_128X64_4W_SW_SPI u8x8(/* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);  
    constexpr uint8_t RST_PIN = 2;     // Configurable, see typical pin layout above (9),    Uno/Mega(2)
    constexpr uint8_t SS_PIN  = 3;     // Configurable, see typical pin layout above (10),   Uno(3),         Mega53
    
    MFRC522 mfrc522(SS_PIN, RST_PIN);  // Create MFRC522 instance.
    MFRC522::MIFARE_Key key;

  4. #4
    Junior Member
    Join Date
    Sep 2018
    Posts
    6

    My bad - Typo

    [QUOTE=OldManNoob;221358]Hi trevinator
    I'm currently attempting to port from a project i've dev'don a UNO using the U8x8lib.h and I'm struggling to get the 1325[ to operate for me - any help you could offer with pinning and library advice would be really appreciated.
    This is the header of the UNO code:
    [CODE]

  5. #5
    Junior Member
    Join Date
    Sep 2018
    Posts
    6
    I have, happily, sorted this issue out.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •