Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : 2.42" SSD1309 with Pi Pico
Author | Message | ||||
asknik2022 Regular Member Joined: 26/03/2022 Location: United KingdomPosts: 92 |
I am trying to configure an ZJY_M242 2.42" OLED via SPI but have no idea if this is set as an SPI or IIC Mode two unjumpered connections R3 and R5 (?IIC) one jumpered connection R4 (?SPI) Also there is no SSD1309 display listed in the manual so can i use SSD1306SPI The pinouts are labeled GND VCC SCL SDA RES DC CS So which pins are SCK and SDI for SPI Setup Do i need to use pull up/down resistors? |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Interesting module, if pricy. I would say that SCL is SCK, and SDA is SDI. But why not try it as I2C and use only 2 pins? I've long wondered why there wasn't an I2C OLED with the same resolution as the .96-inch ones, but just with bigger pixels. If this cost half as much, I'd buy some. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9110 |
It is unlikely that this display will work with the SSD1306 driver and it is far too expensive to buy one to develop a driver. If you want a large mono 128x64 display then the ST7920 is supported over SPI |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Thanks for the suggestion, but if the choice is SPI, then the ILI9341s are larger, cheaper, have higher resolution, have full color range, and if desired, have touch (and SD card). I2C mono only preferable (in certain instances) if the size is 2.2 inches or greater, and the cost is no more than about $3USD. Maybe power utilization could be a factor--I'm powering a .96" OLED from an ESP32 pin--because it's convenient from a wiring standpoint. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
cosmic frog Senior Member Joined: 09/02/2012 Location: United KingdomPosts: 284 |
I wasn't aware of this display, but it looks interesting. How is it connected to SPI, it looks like a parallel connection to me? Link To ST7920 Thanks. Dave. |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2135 |
This seller includes some of the data-sheet which shows serial or parallel is selected with pin 15. Scroll down to "view more" and click. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9110 |
See this thread for wiring Edited 2024-05-30 23:07 by matherp |
||||
cosmic frog Senior Member Joined: 09/02/2012 Location: United KingdomPosts: 284 |
Thanks for the info. I'll have a look at these. Dave. |
||||
Print this page |