SPI/I2C OLED display


#81

Hi! My first attempt at using a OLED on the Axoloti:


#82

Hey everyone!

So cant wait any longer on getting some OLED's. Axo nr 3 arriving shortly I need to get some visual feedback from each device. Many of the links above are dead by now, but I think I found something that should work:

Can anyone confirm that I can use 2 of these with @SmashedTransistors tiar/HW/OLED128x64Dbl object?

I also see I need to get some pull up resistors. Any specific ones I need to get?

Thats all right?

Thanks :wink:


#83

I used one of those:
https://www.aliexpress.com/item/0-96-Inch-128X64-OLED-Display-Module-0-96-IIC-SPI-Communicate-white-for-arduino-Diy/32843606592.html?spm=2114.10010108.1000013.7.318429bb1TJOPp&traffic_analysisId=recommend_2088_4_90158_iswistore&scm=1007.13339.90158.0&pvid=dc890c98-6ef3-4969-bcd0-3ee178576438&tpp=1


#84

Oh, 1,3Inch:
https://www.aliexpress.com/item/1-3-Inch-OLED-Module-White-Color-128X64-OLED-LCD-LED-Display-Module-1-3-IIC/32844104782.html?spm=2114.search0104.3.169.be0571c7h1Ny0H&ws_ab_test=searchweb0_0,searchweb201602_4_10320_10152_10321_10065_10709_10151_5711320_10344_10068_10342_10547_10343_10322_10340_10341_10548_10193_10697_10194_10696_10084_5722520_10083_10618_10304_10307_10710_10302_5711220_10180_5722620_5722920_10059_10184_308_5722720_5722820_100031_10319_10103_441_10624_10623_10622_10186_10621_10620-10152_10151,searchweb201603_19,ppcSwitch_5&algo_expid=cb2f78d3-1eae-4bc7-8138-714ff6b33ed6-24&algo_pvid=cb2f78d3-1eae-4bc7-8138-714ff6b33ed6&transAbTest=ae803_2&priceBeautifyAB=0

I didn't use resistors...


#85

@Latzenpratz

Thak you for the tips. yeah I am going for the 1.3" ones. And half price from the ones I found :slight_smile: Are you using 2 of them connected to a single Axoloti?

You didnt use resistors and it just worked? Awesome :slight_smile: I am scared of breaking stuff, so the less I have to touch, the better :slight_smile:


#86

as pointed out by @SmashedTransistors in his oled thread i think you should use resistors because you potentially can break things if you don't. this is because the state of the used outputs is not always well defined (upon patch-start, or when changing patches). the resistors are there as a security measure as well...

so it will work, may work for a long time, but to be safe add the resistors.


#87

@lokki

I ll take a look at it... But resistors etc. is not something I have lying around here. Could you recommend one?

Thanks :wink:


#88

Just use any 10k resistor, one connected from pb8 to vcc and one from pb9 to vcc.
By the way, here's the patch i used (and the mux10 object):
https://drive.google.com/drive/folders/113_EQeGdHA4-zkTCcVDBmL6GRlk8u-mr?usp=sharing


#89

Cool thank you foe the patch, Ill check it out :slight_smile:

I found this in a local store, which I am oging to try then:
https://www.elextra.dk/details/H13118/metalfilmmodstand-10-kohm-025w-1


#90

Just buy a cheap set:


#91

The ability see my waveform is amazing. Thanks for making this awesome object. I'm really excited to start building some synth projects with it. I want to modify the code a little bit to do some different things. I'm intermediate with arduino , but novice with c/c++ so I'm not sure how difficult/possible this would be. I'd apreciate a point in the right decision. I'd like to
1. expand the oscope so it takes up the whole screen, with no text.
2. adjust the horizontal rate, so that for example a 5 khz sinewave would display 1 period on screen.
Thanks again!


#92

About to push the button on 5 displays on Ebay... And now I wonder does it matter if I get SPI or IC2? I have both options to choose from?

SPI IC2? Any difference?

UPDATE: Bought the IC2's.... :slight_smile:


#93

Incidentally, be really careful not to short something out when you have a loose component like that screen. I make DIY Eurorack modules, and accidentally shorted a module I had attached to a power ribbon hanging out of the front of my case against a metal part of the case itself.

Fortunately, the part of the module that was destroyed was easily replaceable, and nothing else seems to have been damaged, but you do need to be careful if you have untethered components with exposed contacts.

Apologies if you already know this, just thought it worth mentioning, as it's something that caught me out recently.


#94

Oh man !!!!! :open_mouth: I'm so exited to try this out!!!


#95

Hi all, I bought an Oled display but I'm stumped as to how to get any text to it. Are there specific instructions or a starter patch somewhere? Thanks, G


#96

Whoah! Got it! Amazing - thanks so much Smashed Transistors...


#97

Thank you SmashedTransistors!

I have ordered this module:
https://de.aliexpress.com/item/1-3-inch-132X64-OLED-display-module-blue-on-black-3-wire-SPI-4-wire-SPI/1472487807.html?isOrigTitle=true

It is the same as here (Backside viewing image available):

The module can be switched to I2C by desoldering the resistor on the back of the module and moving it to the I2C position. The screen printing shows the exact positioning of these solder tabs.

The wiring is then as follows:

GND: power ground --> GND
VCC: --> VDD
D0: CLK clock (sdk/scl k) --> PB8
D1: MOSI data (sda) --> PB9
RST: reset --> VDD
DC: data/command --> GND
CS: chip select signal --> GND

I also used the two resistors 10k as mentioned above.
In the object OLED128x64 set the type SH1106 and the I2CADDR to 0x3C.

And to all beginners:
To avoid errors during compilation the object tiar/disp/scope has to be included! Even if it is not used and you only display text lines.

Ingenious thing - thanks!


Need help with OLED
#98

just to clarify, you can also use the normal scope, it does not have to be the one from tiar...


#99

Hi,

Did anyone here ever try hooking up an RGB OLED ? Wondering if the Axoloti will have enough RAM to draw multiple layers on a 128*128 16bit screen..


#100

With the "simple" monochrome OLED, i had to write a specific object and experiment with control bytes and ways to minimize the CPU and RAM impact of the display. That's why it is quite limited.

I think that a better solution for higher graphics will be to add an Arduino Due with a touch screen.

Suche a device would communicate through serial port with the Axoloti using some MIDI sysex protocol.
That would work most like a sysex preset editor/librarian.

@johannes is working on a controller with screen and buttons for the Axoloti but we did not had news about this thrilling project for a few months now :thinking:

Thus I'm waiting for news from the official controller before i start a work on a personal solution that would be redundant and not compatible with the official controller design.