i2c2oled (little brother of tty2oled)

Showcase builds, discuss cases, embedding MiSTer into existing computer cases.
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 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 (Cardwarez) to me.

User avatar
marcelosofth
Posts: 174
Joined: Wed Sep 22, 2021 10:03 pm
Location: Brazil - São Paulo
Has thanked: 8 times
Been thanked: 4 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: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 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 (Cardwarez) to me.

User avatar
marcelosofth
Posts: 174
Joined: Wed Sep 22, 2021 10:03 pm
Location: Brazil - São Paulo
Has thanked: 8 times
Been thanked: 4 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: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 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 (Cardwarez) 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: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 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 (Cardwarez) 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: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 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 (Cardwarez) 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: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 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 (Cardwarez) 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: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 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 (Cardwarez) to me.

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 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 (Cardwarez) to me.

User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 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 (Cardwarez) to me.

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

Re: i2c2oled (little brother of tty2oled)

Unread post by marcelosofth »

Hello friend venice, look at me back again with new "PIX" hugs!

https://www.sendspace.com/file/j8540n

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

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

I have uploade your new PIX.
Many Thx

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

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

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

New Pix by pplatoon available.
Many Thx

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

Tomcat
Posts: 3
Joined: Thu Jul 18, 2024 5:54 pm
Has thanked: 1 time

Re: i2c2oled (little brother of tty2oled)

Unread post by Tomcat »

Hey guys, bit of a novice here looking for help. Studying the picture on page 2 and looking at my RTC (v1.3) soldering the ground and data lines seems doable, but I'm wary of soldering the connection for power to the RTC. The power terminal has 3 contacts on it with the picture pointing to the one in-line with the "U2" printed on the board. But each contact is <1 mm across, how do you avoid soldering the whole terminal together?

Sorry if I missed some important post somewhere, maybe there's a simpler solution I've overlooked, if anyone could point me in the right direction I'd appreciate some guidance even if it's "git gud at soldering" lol.

Also, my dupont wires have straight end pins that fit the RTC but they won't provide enough clearance to avoid the adjacent board, am I good to bend the pins 90 degrees before soldering them in place or would it be better to snip and strip the ends off, do it that way? Thankful for any advice.

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

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Maybe you can ask a friend for help.

Or sell your RTC Board 1.3 and use the RTC Board 1.4 as this Board has the additional Power Pin on the Pin Header.

Or think about to use one of other display projects.

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

Tomcat
Posts: 3
Joined: Thu Jul 18, 2024 5:54 pm
Has thanked: 1 time

Re: i2c2oled (little brother of tty2oled)

Unread post by Tomcat »

Thank you Venice! I went ahead and got a purple v1.4 board from Ultimate Mister. I'm referencing Hardware_MiSTer/releases/rtc_1.4.pdf from Github, but I want to be absolutely sure about the wiring here, is this correct?

Image

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

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Looks good.

IMG_1172.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 (Cardwarez) to me.

Tomcat
Posts: 3
Joined: Thu Jul 18, 2024 5:54 pm
Has thanked: 1 time

Re: i2c2oled (little brother of tty2oled)

Unread post by Tomcat »

I've got everything wired up, double and triple checked it to be sure it was right. I downloaded the i2c2oled script and ran it, but I'm not getting anything on the screen. I'm in the console to get the right bus address, it is Bus 2 as i2c_gpio. But when I type i2cdetect -y 2, the graph is empty, just dashes. What does it mean?

edit:

Maybe a stupid question, does the RTC need the battery in it for the OLED to function?

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

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

Hi,
more infos please…

-Output of „i2cdetect -l“
-Is the display one which can be modified between SPI and I2c. If yes is it correct set?
-Pictures of both connected ends (display and rtc)
-Do you use the original nano board?
-Could you (or a friend) test the display with another system (arduino etc.)?
-Could you measure the Voltage at the Power Pins of the RTC
-Could you measure if power is provided to the display. If yes how much do you measure?
-Maybe a cable is broken, please test
-Provide Pictures of the Display, both sides please

The battery is only to keep the RTC running if the MiSTer is powered off.

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

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

Re: i2c2oled (little brother of tty2oled)

Unread post by marcelosofth »

Hello my friend Venice, I'm in an ambitious project restoring and creating +2,000 HD marquees from Arcades to use as a second screen on the Batocera v40, I'm already 70% into production, so I would like to place the Marquees exactly like you did here "https://venice1200.github.io/MiSTer_tty2oled_Pictures/" would it be possible for you to help me? 8-)

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

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

The great pixviewer was created by mr-fitzie.
Try to get in contact with him.

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

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

Re: i2c2oled (little brother of tty2oled)

Unread post by marcelosofth »

venice wrote: Thu Sep 12, 2024 7:44 pm

The great pixviewer was created by mr-fitzie.
Try to get in contact with him.

I don't know him, do you have his contact?

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

Re: i2c2oled (little brother of tty2oled)

Unread post by venice »

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

Arakon
Posts: 16
Joined: Thu Sep 12, 2024 8:04 am
Has thanked: 2 times
Been thanked: 8 times

Re: i2c2oled (little brother of tty2oled)

Unread post by Arakon »

If you don't want to use an additional RTC module just to wire up the display, here's the pinout to directly hook it up:

i2c-MisterPi.png

A simple 2mm pitch 2-row connector (14 pins total) is a direct fit for the port, i.e. https://www.aliexpress.com/item/1005006109123910.html.

You do not have the required permissions to view the files attached to this post.
Post Reply