Page 7 of 12

Re: i2c2oled (little brother of tty2oled)

Posted: Sun Apr 24, 2022 6:51 pm
by WILL1384
RealLarry wrote: Sun Apr 24, 2022 10:04 am
WILL1384 wrote: Sun Apr 24, 2022 4:57 amI moved the resistor from R4 to R3, and put a jumper on R5, but the screen did nothing, I could not even get "i2cdetect" to see the screen, I then connected RES to VCC using a 10k resistor and the screen showed up using "i2cdetect" at the address of "3d",
I'm successfuly using a similar display - not this one, but a chinese SSD1309 for my mt32-pi using the modification described here
Requires modifications: R4 removed, R3 shorted, R5 shorted, DC tied to GND, RES tied to VCC via a 10K pull-up resistor and to GND through a 1uF cap.
Yep, thanks :D , I needed a capacitor between RES and GND, I found out that if I jumper R7, that CS becomes connected to GND, and because CS and DC are right next to each other, and if you have installed pin headers, that you can use a computer jumper to jumper them, and with CS becoming a second GND it also helps with adding the capacitor, I used a small 10uF 10v electrolytic capacitor and connected the negative to CS and the positive to RES.

Re: i2c2oled (little brother of tty2oled)

Posted: Sun Apr 24, 2022 6:56 pm
by RealLarry
WILL1384 wrote: Sun Apr 24, 2022 6:51 pmYep, thanks :D , I needed a capacitor between RES and GND, I found out that if I jumper R7, that CS becomes connected to GND, and because CS and DC are right next to each other, and if you have installed pin headers, that you can use a computer jumper to jumper them, and with CS becoming a second GND it also helps with adding the capacitor, I used a small 10uF 10v electrolytic capacitor and connected the negative to CS and the positive to RES.
Great, congrats! Glad I could help. Have fun!

Re: i2c2oled (little brother of tty2oled)

Posted: Sun Apr 24, 2022 7:13 pm
by venice
Great to see it working now!

If you need to change Options use the file
/media/fat/i2c2oled/i2c2oled-user.ini
and set what you need!

See https://github.com/venice1200/MiSTer_i2 ... figuration

Do you need to enable „SSD1309“?
„ONECOLOR“ will be useful as well.

Btw, I use Paint too :mrgreen:

Re: i2c2oled (little brother of tty2oled)

Posted: Sun Apr 24, 2022 7:25 pm
by venice
Just a note, the Project passes his first Birthday.

We have support for around 770 cores.
Many thanks to all contributors!

Re: i2c2oled (little brother of tty2oled)

Posted: Sun Apr 24, 2022 9:14 pm
by WILL1384
venice wrote: Sun Apr 24, 2022 7:13 pm Great to see it working now!

If you need to change Options use the file
/media/fat/i2c2oled/i2c2oled-user.ini
and set what you need!

See https://github.com/venice1200/MiSTer_i2 ... figuration

Do you need to enable „SSD1309“?
„ONECOLOR“ will be useful as well.

Btw, I use Paint too :mrgreen:
The display did work without any changes to the INI file, but a small part of the top of the screen looked like it was not drawn correctly, setting the INI file for SSD1309 fixed that, I tried with and without the "ONECOLOR" setting, but I kinda like the look of the images with "ONECOLOR" disabled, here is what that looks like:

Re: i2c2oled (little brother of tty2oled)

Posted: Mon Apr 25, 2022 6:48 pm
by salamantecas
Hello, I leave the image of the ace attacker that was missing to complete, now it is loaded from alternatives within the arcade

https://www.mediafire.com/file/ycez080a ... a.pix/file

Re: i2c2oled (little brother of tty2oled)

Posted: Wed Apr 27, 2022 8:46 pm
by terminator2k2
added :

Horekid
Horekidb
Horekidb2

horekid.png

Turkey Shoot
Tshoot.png

https://github.com/terminator2k2/I2COLED_MiSTer

Re: i2c2oled (little brother of tty2oled)

Posted: Thu Apr 28, 2022 7:49 am
by venice
Alle PICS uploaded, Google Sheet updated.
Added Horekidb and Horekib2 to the "Arcade" Tab.
Many Thanks

Re: i2c2oled (little brother of tty2oled)

Posted: Thu Apr 28, 2022 1:54 pm
by terminator2k2
added terra cresta alt

terra cresta.png

https://github.com/terminator2k2/I2COLED_MiSTer

Re: i2c2oled (little brother of tty2oled)

Posted: Thu Apr 28, 2022 2:55 pm
by venice
As you have an github Account you can add pics by open pull requests.
Makes life easier :mrgreen:

Re: i2c2oled (little brother of tty2oled)

Posted: Mon May 02, 2022 3:22 pm
by venice
Some new Pictures by terminator2k2 are added to the Repo!

//Edit
New Pics, again by terminator2k2, for Alpha Mission, Arian Mission and ASO.
Are the three the same game?

//Edit 2
I missed salamantecas "ace attacker".
Sorry for that, Pix is now online.

//Edit 3
New Pic for Vigilante by terminator2k2

Google Sheet updated.

Re: i2c2oled (little brother of tty2oled)

Posted: Sat May 07, 2022 6:02 pm
by salamantecas
venice wrote: Mon May 02, 2022 3:22 pm Some new Pictures by terminator2k2 are added to the Repo!

//Edit
New Pics, again by terminator2k2, for Alpha Mission, Arian Mission and ASO.
Are the three the same game?

//Edit 2
I missed salamantecas "ace attacker".
Sorry for that, Pix is now online.

//Edit 3
New Pic for Vigilante by terminator2k2

Google Sheet updated.
I'm a little busy I think it has already been created but I leave here a version of vigilante that I had to upload although I see that there is already one. a greeting

https://www.mediafire.com/file/ei6avmrk ... t.pix/file

Re: i2c2oled (little brother of tty2oled)

Posted: Wed May 11, 2022 5:44 am
by aeronius
I've started making a collection in a slightly different style. It's based around using a one-color display to maximize the available real estate for the artwork. I've recreated all the artwork pixel-by-pixel instead of just scaling art down to fit. I've also employed some dithering to add a psuedo gray tone. I think it looks pretty neat and gives some additional depth to these little OLEDs but you guys can judge for yourself.

I don't play on making art for everything, but at least the major consoles and arcade stuff like CPS1/2 and the big titles from the other publishers.

I also don't do GitHub, but if anyone likes this stuff I'm happy to share.
MENU.png
loading.png
misterheader.png
Genesis.png
MegaCD.png
s32x.png
nes.png
snes.png
TGFX16.png
NeoGeo.png
1943.png
ghouls.png
gng.png
goldnaxe.png
strider.png
20220510_222911.jpg
20220510_222809.jpg

Re: i2c2oled (little brother of tty2oled)

Posted: Wed May 11, 2022 10:44 am
by venice
Nice work.
Definitely share!

If someone likes to use the pictures, add them to your PRI folder. Depending on your display it can look funny.

I will see how I can integrate these pictures into the setup.

Re: i2c2oled (little brother of tty2oled)

Posted: Wed May 11, 2022 1:39 pm
by Looneybinjim
Hi there I was hoping y'all could help me,

I have just installed a RTC with an i2c2oled screen made by Antonio Villena in my MiSTer Slim which is also designed by him. I have ran the update all script with the i2c2oled option enabled and the screen just seems blank with no life at all. I opened up the case to ensure that it was installed properly and it seems to be seated fine. Does this require further configuration to work? Im not so good at Linux configuration, if anyone has the files from an Antonio Villena MiSTer Slim that would be awesome!

Edit: Just realised it created another update script in the menu! Ran the I2C script and success! Looks amazing, thankyou all so much for your hard work!

Re: i2c2oled (little brother of tty2oled)

Posted: Thu May 12, 2022 2:42 am
by aeronius
venice wrote: Wed May 11, 2022 10:44 am Nice work.
Definitely share!

If someone likes to use the pictures, add them to your PRI folder.
I will see how I can integrate them into the setup.
I created a repo for my images here: https://github.com/aeronius/MiSTer_Pix. Let me know if there's anything you need me to do as I'm not super familiar with Git.

Also, are there plans for adding a SSH1106 driver? These OLEDs are the same 128x64 as the SSD1306, but in a slightly-bigger 1.3" screen. The larger format would increase visibility at a distance without being quite so large as the Diymore 2.42", which might be difficult to integrate into a case.

Re: i2c2oled (little brother of tty2oled)

Posted: Thu May 12, 2022 3:12 pm
by venice
Looneybinjim wrote: Wed May 11, 2022 1:39 pm
Edit: Just realised it created another update script in the menu! Ran the I2C script and success! Looks amazing, thankyou all so much for your hard work!
Great to hear!
As you see, the update_all script is only downloading the i2c2oled updater script, but doesn’t start it :(
You have to start the updater manually.

Share some pics from your build if you like.

Re: i2c2oled (little brother of tty2oled)

Posted: Thu May 12, 2022 8:06 pm
by venice
aeronius wrote: Thu May 12, 2022 2:42 am ...
I created a repo for my images here: https://github.com/aeronius/MiSTer_Pix. Let me know if there's anything you need me to do as I'm not super familiar with Git.

Also, are there plans for adding a SSH1106 driver? These OLEDs are the same 128x64 as the SSD1306, but in a slightly-bigger 1.3" screen. The larger format would increase visibility at a distance without being quite so large as the Diymore 2.42", which might be difficult to integrate into a case.
Find attached a test version of the i2c2oled-system.ini file with changes for OneColor Pictures.
Just replace the existing file with the one attached. Make a backup of the existing one before you replace it.
It's possible that this file will be overwritten by the updater.

You need to create two new folders
/media/fat/i2c2oled/Pix_Onecolor for OneColor Pictures and
/media/fat/i2c2oled/PRI_Onecolor for Primary/Private OneColor Pictures.

If "ONECOLOR" is enabled, the Script looks into the new folders and use these pictures if found, with no modification.
If no Pictures are found in the OneColor folders, the regular Picture folder will be searched.
If a picture is found it will be displayed, but with 16 inverted Top Pixel lines.

Content within PRI* folders is not touched by the updater. Pictures in PRI* are used preferably.

To Support SSH1106 Displays the Display RAM Adressing Mode must be changed from Vertical to Page Mode.
This Mode change is already done in this test version. Now I need to look for an SSH1106 Display.

Make sure your Display is powerd off once to apply the new configuration on Script start.

Please report issues here.

Re: i2c2oled (little brother of tty2oled)

Posted: Sat May 14, 2022 7:23 am
by aeronius
Cool, thanks for this! SSH1106 displays are readily available on Amazon. I've ordered this one to try out with your updated script:

https://amzn.to/37MRBNs

Two screens for $15 works out for me since I have an MT32-pi setup in my case as well. Is it not as easy to have one shipped to Germany from Amazon?

Re: i2c2oled (little brother of tty2oled)

Posted: Sat May 14, 2022 8:12 am
by salamantecas
aeronius wrote: Wed May 11, 2022 5:44 am I've started making a collection in a slightly different style. It's based around using a one-color display to maximize the available real estate for the artwork. I've recreated all the artwork pixel-by-pixel instead of just scaling art down to fit. I've also employed some dithering to add a psuedo gray tone. I think it looks pretty neat and gives some additional depth to these little OLEDs but you guys can judge for yourself.

I don't play on making art for everything, but at least the major consoles and arcade stuff like CPS1/2 and the big titles from the other publishers.

I also don't do GitHub, but if anyone likes this stuff I'm happy to share.

MENU.png
loading.png
misterheader.png
Genesis.png
MegaCD.png
s32x.png
nes.png
snes.png
TGFX16.png
NeoGeo.png
1943.png
ghouls.png
gng.png
goldnaxe.png
strider.png

20220510_222911.jpg

20220510_222809.jpg
nice and beatiful job
I will take a good look at it to catch up and help with the creation of images

Re: i2c2oled (little brother of tty2oled)

Posted: Sat May 14, 2022 11:51 am
by venice
aeronius wrote: Sat May 14, 2022 7:23 am Cool, thanks for this! SSH1106 displays are readily available on Amazon. I've ordered this one to try out with your updated script:

https://amzn.to/37MRBNs

Two screens for $15 works out for me since I have an MT32-pi setup in my case as well. Is it not as easy to have one shipped to Germany from Amazon?
If you are located in Germany try "Christians Technik Shop" to get "one piece" of Electronic Parts.
SSH1106 => https://www.christians-shop.de/13-OLED- ... -IIC-weiss

I am not sure if the changed code works out OOTB for the SSH1106.
It's possible the Display need a changed Init-Sequence.

Re: i2c2oled (little brother of tty2oled)

Posted: Sun May 15, 2022 7:03 am
by salamantecas
venice wrote: Thu May 12, 2022 8:06 pm
aeronius wrote: Thu May 12, 2022 2:42 am ...
I created a repo for my images here: https://github.com/aeronius/MiSTer_Pix. Let me know if there's anything you need me to do as I'm not super familiar with Git.

Also, are there plans for adding a SSH1106 driver? These OLEDs are the same 128x64 as the SSD1306, but in a slightly-bigger 1.3" screen. The larger format would increase visibility at a distance without being quite so large as the Diymore 2.42", which might be difficult to integrate into a case.
Find attached a test version of the i2c2oled-system.ini file with changes for OneColor Pictures.
Just replace the existing file with the one attached. Make a backup of the existing one before you replace it.
It's possible that this file will be overwritten by the updater.

You need to create two new folders
/media/fat/i2c2oled/Pix_Onecolor for OneColor Pictures and
/media/fat/i2c2oled/PRI_Onecolor for Primary/Private OneColor Pictures.

If "ONECOLOR" is enabled, the Script looks into the new folders and use these pictures if found, with no modification.
If no Pictures are found in the OneColor folders, the regular Picture folder will be searched.
If a picture is found it will be displayed, but with 16 inverted Top Pixel lines.

Content within PRI* folders is not touched by the updater. Pictures in PRI* are used preferably.

To Support SSH1106 Displays the Display RAM Adressing Mode must be changed from Vertical to Page Mode.
This Mode change is already done in this test version. Now I need to look for an SSH1106 Display.

Make sure your Display is powerd off once to apply the new configuration on Script start.

Please report issues here.
I use a small screen of 0.96 with 2 colors and indeed it looks somewhat strange due to the definition of 2 colors but the loading animation screen that only takes 1 color looks spectacular, it is a great change, I can say that it is more beautiful that way, I can correct the images and try to change or adapt them so that they look good in 2 colors, then I will do some tests to see how they look. Without a doubt, great work with this small screen that has its own attractions, let's see if they share any utility to create pixel-by-pixel images with this quality, thanks

IMG-20220515-WA0006.jpg
IMG-20220515-WA0008.jpg

Re: i2c2oled (little brother of tty2oled)

Posted: Sun May 15, 2022 9:54 am
by terminator2k2
@venice

is there a problem with the latest ini file?

loading images look like:

IMG_5242.jpg
IMG_5243.jpg
IMG_5244.jpg
and also if i put pix files only in the PRI Folder they dont load up and show on the display

Re: i2c2oled (little brother of tty2oled)

Posted: Sun May 15, 2022 12:08 pm
by venice
The testing ini from above?
Looks like you have onecolor enable but you don’t
add the pictures from aeronius to the new folders.
Do you mean the regular PRI folder?
This folder is (currently) not used if you use the above ini and “onecolor”. Will be corrected.

It’s just a testing Version.

Re: i2c2oled (little brother of tty2oled)

Posted: Sun May 15, 2022 12:39 pm
by terminator2k2
yes was testing the above ini file

yes had one colour enabled

wasnt using aeronius pictures

yes was talking about the regular PRI folder, thought it would work the same way as the PRI_Onecolor folder

ive switched back to the original ini file for now

Re: i2c2oled (little brother of tty2oled)

Posted: Sun May 15, 2022 3:05 pm
by venice
Attached my updated testing i2c2oled-system.ini.

This Version should fix all problems reported by terminator2k2.

The "normal" PRI Folder is now integrated into "OneColor" and the Loading Animation should work correctly again.

i2c2oled should work normal with this INI File even you don't have the new folders
/media/fat/i2c2oled/Pix_Onecolor and/or /media/fat/i2c2oled/PRI_Onecolor on your system
and aeronius One-Color Pictures in new these new folders


Please test and report here.

Re: i2c2oled (little brother of tty2oled)

Posted: Mon May 16, 2022 12:51 am
by aeronius
I've added another 13 images to my repo here: https://github.com/aeronius/MiSTer_Pix

I'll try to get a couple done a day and update once a week or so. If anyone's interested in following along with my progress, just keep an eye on my repo and I won't have to spam this thread every time I make an update.

Venice, I have a couple SSH1106 screens arriving tomorrow, so I'll be able to test those out then.
salamantecas wrote: Sun May 15, 2022 7:03 am I use a small screen of 0.96 with 2 colors and indeed it looks somewhat strange due to the definition of 2 colors but the loading animation screen that only takes 1 color looks spectacular, it is a great change, I can say that it is more beautiful that way, I can correct the images and try to change or adapt them so that they look good in 2 colors, then I will do some tests to see how they look. Without a doubt, great work with this small screen that has its own attractions, let's see if they share any utility to create pixel-by-pixel images with this quality, thanks
Yeah it does look a bit funny with the two colors :lol:. The two-color screens lose 25% of the pixel area to that yellow bar at the top. This is fine for the existing images as the MiSTer logo sits in that space. But that also means there's a lot less area for the artwork underneath. I'm designing around the one-color display so that there's the most space possible for the art. And the MiSTer footer at the bottom only takes up 5-8 pixels at the bottom vs. the 16 pixels at the top of the two-color screen.

As of right now I'm not interested in adjusting for two-color screens as a.) there's enough work to be done creating art for the current set, and b.) this is for my personal MiSTer setup. But if you have some Photoshop skills, my PSD is available in my repo. If you don't have Photoshop, I believe Gimp opens PSDs and preserves the layers.

Re: i2c2oled (little brother of tty2oled)

Posted: Tue May 17, 2022 12:41 am
by aeronius
Here's what I get with my new SSH1106 OLED. I'm using your most current INI. The same basic distortion happens across all the different screens (intro, menu, loading, core pix, etc.) I ordered two screens and tested both of them and go the same result, so it's not a problem with the screens. Any ideas?
20220516_173351.jpg

Re: i2c2oled (little brother of tty2oled)

Posted: Tue May 17, 2022 5:05 am
by venice
As I wrote above, it is possible that the display needs another init sequence, hopefully I can use the other functions without bigger modifications.

And, if I remember correctly, the ssh1106 has a little bigger display memory which need an offset if you set the display pointer to draw something.

I will start working on this if i get my ssh1106.

Re: i2c2oled (little brother of tty2oled)

Posted: Tue May 17, 2022 5:23 am
by aeronius
venice wrote: Tue May 17, 2022 5:05 am As I wrote above, it is possible that the display needs another init sequence, hopefully I can use the other functions without bigger modifications.

And, if I remember correctly, the ssh1106 has a little bigger display memory which need an offset if you set the display pointer to draw something.

I will start working on this if i get my ssh1106.
Cool yeah I just wanted to show you what it looked like in case the visual might give you a clue as to what the issue is. I appreciate you looking into this!