i2c2oled (little brother of tty2oled)

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
venice
Top Contributor
Posts: 741
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 262 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

marcelosofth wrote: Sat Aug 19, 2023 2:19 pm

Hello friend "Venice", I finished a big update of the missing ones, now it's complete with the last update of "update_all" ok.

Total = 954 pix's =)

I added your PIX. Most of them are new, 15 are "alt1" and one is "alt2".
Please update the Google sheet as well.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
marcelosofth
Posts: 171
Joined: Wed Sep 22, 2021 10:03 pm
Location: Brazil - São Paulo
Has thanked: 6 times
Been thanked: 3 times
Contact:

Re: i2c2oled (little brother of tty2oled)

Unread post by marcelosofth »

Friend, I did not update the Google Sheet because I found it very confusing and disorganized.

User avatar
venice
Top Contributor
Posts: 741
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 262 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Just Easy, search for the corename and add a „yes“ to the i2c2oled column.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
marcelosofth
Posts: 171
Joined: Wed Sep 22, 2021 10:03 pm
Location: Brazil - São Paulo
Has thanked: 6 times
Been thanked: 3 times
Contact:

Re: i2c2oled (little brother of tty2oled)

Unread post by marcelosofth »

  • Up-Update 8-)
pixs.rar
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 741
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 262 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

marcelosofth wrote: Tue Aug 22, 2023 5:52 pm
  • Up-Update 8-)

Picture Repository updated with 35 Pictures made by Marcelo.
Many Thanks :)

We have now 1001 ;) Pictures in the Repo (including 126 alternatives).
Great work!

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

MechaFelipe
Posts: 5
Joined: Sat Oct 21, 2023 11:13 pm
Has thanked: 1 time

Re: i2c2oled (little brother of tty2oled)

Unread post by MechaFelipe »

Hey!
I've recently acquired a MiSTeR fpga and it came with a small OLED display that blocked one the USBs. Digging into how that display worked, I found i2c2oled and the rotate option. Lo and behold, I can now use that USB but due to how it was installed, it was easier to rotate the display contents and block the secondary SD card (which, from my research isn't of much use... at least not for me at the moment).

But that chunk of yellow lines at the beginning kinda bothered me. Researching, I found that it's quite easy to change the contents of the .pix files. I did that and here is the result:

i2c2oled before and after.jpg

So I created a little Python script that can edit and properly save a new pix file, which I called a rotated file.

I'm not sure how much interest there is in this, but I can make the script or even the pix files available after finishing it.

You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 741
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 262 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Hi,
nice to see you got it working, looks not bad.

I never saw the two color display mounted that way, yellow was on top everytime.
Maybe another solution for you is to use an one-color version of this display.

Anyway, if you like to post your python script here I will add it as a tool to the repository.
If there are more user need rotated files we can maybe add a build process into the picture repository.

Please post a picture of your full case if you like.
Cheers :D

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

MechaFelipe
Posts: 5
Joined: Sat Oct 21, 2023 11:13 pm
Has thanked: 1 time

Re: i2c2oled (little brother of tty2oled)

Unread post by MechaFelipe »

Well, I ended up creating a GitHub repository! Here it is, I added both the Python script and the .pix files I rotated.

I bought a MiSTer FPGA kit and it came with a pretty standard aluminum case:

WhatsApp Image 2023-12-02 at 16.07.15_7bf27578.jpg
WhatsApp Image 2023-12-02 at 16.07.15_5be93836.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 741
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 262 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

…and the Display was included?

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

MechaFelipe
Posts: 5
Joined: Sat Oct 21, 2023 11:13 pm
Has thanked: 1 time

Re: i2c2oled (little brother of tty2oled)

Unread post by MechaFelipe »

Yeah, the display was included in the MiSTer kit I bought.

User avatar
venice
Top Contributor
Posts: 741
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 262 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Do you have a link to the case?

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

MechaFelipe
Posts: 5
Joined: Sat Oct 21, 2023 11:13 pm
Has thanked: 1 time

Re: i2c2oled (little brother of tty2oled)

Unread post by MechaFelipe »

The case is simillar to this one, but the MiSTer logo is colored.

But I didn't get from Aliexpress, I got from a local seller which sold a bundle with the DE10 Nano, all the boards, memory, the case, the oled and an SD card with everything already setup.

The only changes I did were rotating the OLED and installing the software new in a bigger SD card.

I do intend on getting an ITX case as I was drooling over some of the cases people use.

MechaFelipe
Posts: 5
Joined: Sat Oct 21, 2023 11:13 pm
Has thanked: 1 time

Re: i2c2oled (little brother of tty2oled)

Unread post by MechaFelipe »

So, first of all, I noticed that when I tried using the N64 core, there was no logo on the oled screen. So I started cooking something up. It's not the best, but a first attempt nonetheless. Since the forum didn't agree with the .pix extension, I added a .txt extension. Just remove it. I did both versions, regular and my newly rotated ones.

What is your usual workflow to create a proper logo? I opened a B&W image from google on Gimp, changed to indexed color b&w, and changed the height to 46 pixels. But I think it sould be less than 46, since it seems to be too close to the bottom part. After that, I saved as XPM and then used the XPMToPIX program from venice's github. Any tips on resizing or something?

Btw where are the new templates? I got one from this thread, on page 1 I think, but the banner part was a little different.

Another thing I noticed is that, in the loading screen, the loading animation isn't in the loading bar. Where can I change the position of the loading animation?

You do not have the required permissions to view the files attached to this post.
User avatar
venice
Top Contributor
Posts: 741
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 262 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Some templates are here

https://github.com/venice1200/MiSTer_i2 ... _Templates

I use Gimp for recoloring and resizing
and Windows Paint for finalizing.
After that I use Gimp to created the XPM and XPMtoPIX to created the Pix.
Picture size must be 128x64.

I will look for the loading screen, but give me some time for this.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 741
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 262 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

And I found N64 Pix!

IMG_0166.jpeg
IMG_0167.jpeg
You do not have the required permissions to view the files attached to this post.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

User avatar
venice
Top Contributor
Posts: 741
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 264 times
Been thanked: 262 times

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Regarding your Rotated Loading Screen:

As you moved the 16 Pixel header from the top to the bottom,
the Loading Text and Frame must be moved 16 Pixels down as it sit‘s too high.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard to me.

Post Reply