i2c2oled-rtc.jpg
i2c2oled (little brother of tty2oled)
Re: i2c2oled (little brother of tty2oled)
You do not have the required permissions to view the files attached to this post.
-
- Posts: 156
- Joined: Mon Jun 08, 2020 2:02 pm
- Location: Manchester, UK
- Has thanked: 72 times
- Been thanked: 23 times
- Contact:
Re: i2c2oled (little brother of tty2oled)
Do you "need" a RTC board to do this? Could it not come straight from the pins on the Nano?
- 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)
If you find an matching connector for the Nano Board you can use it directly for your i2c connection.
No need for an RTC Board.
- 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)
Update
The i2c2oled Script got the new Variable...
Set it as you like/need.
The i2c2oled Script got the new Variable...
Code: Select all
contrast=100 # Set Contrast Value 0..255
-
- Posts: 140
- Joined: Sun May 24, 2020 8:11 pm
- Has thanked: 2 times
- Been thanked: 49 times
Re: i2c2oled (little brother of tty2oled)
I share this board design on Eagle. Also with gerbers available. The BOM is:
-2x7 female 2.0mm header
-1x4 female 2.54mm header
-2 resistors 4K7 0603
It's like my RTC board but without the RTC components.
-2x7 female 2.0mm header
-1x4 female 2.54mm header
-2 resistors 4K7 0603
It's like my RTC board but without the RTC components.
You do not have the required permissions to view the files attached to this post.
- 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)
0603 Could you make it in 0805 ? It's more eyes friendlyantoniovillena wrote: ↑Mon May 17, 2021 1:41 pm I share this board design on Eagle. Also with gerbers available. The BOM is:
-2x7 female 2.0mm header
-1x4 female 2.54mm header
-2 resistors 4K7 0603
It's like my RTC board but without the RTC components.
Anyway, many many thanks Antonio
Re: i2c2oled (little brother of tty2oled)
Hmm... Any discussion with Sorge to bring this upstream eventually ? -- would apply too to the buzzer used to mimic the Amiga floppy drive sound, which Antonio implemented too. I love it, it adds so much to the experience -- at least if you grew up with those ! I'm even frustrated when games load too quickly
-
- Posts: 140
- Joined: Sun May 24, 2020 8:11 pm
- Has thanked: 2 times
- Been thanked: 49 times
Re: i2c2oled (little brother of tty2oled)
I never use 0805 resistors. And 0805 can be difficult to other people who prefer through hole resistors. Design files are available so anyone can modify them.venice wrote: ↑Mon May 17, 2021 2:03 pm0603 Could you make it in 0805 ? It's more eyes friendlyantoniovillena wrote: ↑Mon May 17, 2021 1:41 pm I share this board design on Eagle. Also with gerbers available. The BOM is:
-2x7 female 2.0mm header
-1x4 female 2.54mm header
-2 resistors 4K7 0603
It's like my RTC board but without the RTC components.
Anyway, many many thanks Antonio
- RealLarry
- Top Contributor
- Posts: 881
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 385 times
Re: i2c2oled (little brother of tty2oled)
Many thanks, Antonio. We highly appreciate this! (even if I'm not going to use i2c2oled as I'm working with the really big guns Venice knows what I mean)antoniovillena wrote: ↑Mon May 17, 2021 1:41 pm I share this board design on Eagle. Also with gerbers available. The BOM is:
-2x7 female 2.0mm header
-1x4 female 2.54mm header
-2 resistors 4K7 0603
It's like my RTC board but without the RTC components.
Uooh! Some of us are at age of 50+ and are having eyes like a mole, so enjoying hardcore on screen is much easyier than 0605 at this stage
Our standard working outfit: https://bladerunner.fandom.com/wiki/Han ... e=Chew.jpg
- 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)
I was asked in the tty2oled thread about "tip-jar or anything else like that I can contribuite".
Jump to viewtopic.php?p=26148#p26148 to read my answer
Jump to viewtopic.php?p=26148#p26148 to read my answer
- RealLarry
- Top Contributor
- Posts: 881
- Joined: Mon May 25, 2020 4:04 am
- Location: San Junipero/DE/Earth
- Has thanked: 120 times
- Been thanked: 385 times
Re: i2c2oled (little brother of tty2oled)
Is it your birthday today? Then happy birthday, pal - and welcome to "No country for old men"!
If it isn't: Ha-Ha! https://www.youtube.com/watch?v=0O1H0jcyNsk You're next!
- 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)
The tty2oled Init and Daemon Script needs to be reinstalled after the MiSTer's Linux Update!
//Edit
I am looking for an more persistent setup.
//Edit
I am looking for an more persistent setup.
- 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)
Hi i2c2oled Users.
I updated the scripts and locations of the i2c2oled related files on the MiSTer to make it more MiSTer Update persistent.
All scripts and the "pix" folder are now located at "/media/fat/i2c2oled/".
See https://github.com/venice1200/MiSTer_i2 ... /README.md for more details.
Run once
from cli or via ssh to prepare the MiSTer Autostart System for the i2c2oled Autostart Script.
The only requirement is an MiSTer Version >=2021-08-31.
Stay Healthy
I updated the scripts and locations of the i2c2oled related files on the MiSTer to make it more MiSTer Update persistent.
All scripts and the "pix" folder are now located at "/media/fat/i2c2oled/".
See https://github.com/venice1200/MiSTer_i2 ... /README.md for more details.
Run once
Code: Select all
/media/fat/i2c2oled/S60i2c2oled setup
The only requirement is an MiSTer Version >=2021-08-31.
Stay Healthy
-
- Posts: 180
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 186 times
- Been thanked: 34 times
Re: i2c2oled (little brother of tty2oled)
I'm loving the idea of this, and thinking of implementing it myself, but I have to ask: there's an SPI connection there, would it be theoretically possible to add an SPI screen (thinking this: https://www.adafruit.com/product/358 or this: https://www.amazon.co.uk/1-8-128x160-Co ... B077K1D5VR) and have a colour logo displayed per core?
- 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)
Another forum user has tried to use the SPI Interface and told me to inform me if he get it working.
No answer until now
Theoretically is should be possible but I am not sure if you get it working using bash.
No answer until now
Theoretically is should be possible but I am not sure if you get it working using bash.
- 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)
Hello friends, I bought this "i2coled" but the name on pins 1 to 4 is different, what is the correct order for me to solder on the RTC?
https://cdn.awsli.com.br/17/17197/arqui ... ed-rtc.jpg
https://cdn.awsli.com.br/17/17197/arqui ... ed-rtc.jpg
-
- Core Developer
- Posts: 459
- Joined: Wed May 26, 2021 9:35 pm
- Has thanked: 59 times
- Been thanked: 383 times
Re: i2c2oled (little brother of tty2oled)
VCC => VDD
GND => GND
SCL => SCK
SDA => SDA
So in the picture you provided:
The BLACK wire goes to Pin 1 (GND)
The RED wire goes to Pin 2 (VDD)
The BLUE wire goes to Pin 3 (SCK)
The YELLOW wire goes to Pin 4 (SDA)
GND => GND
SCL => SCK
SDA => SDA
So in the picture you provided:
The BLACK wire goes to Pin 1 (GND)
The RED wire goes to Pin 2 (VDD)
The BLUE wire goes to Pin 3 (SCK)
The YELLOW wire goes to Pin 4 (SDA)
- 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)
Thank you "Flandango" I really liked the transition of 2 images, do you have a tutorial how to create 2 "pix" to visualize a certain core?
- 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)
See https://github.com/venice1200/MiSTer_i2 ... dification for a little picture howto.
Does this help?
Check this Repository as well
https://github.com/ingloriond/MiSter_I2 ... c2oled_pix
Maybe the picture is already made.
Does this help?
Check this Repository as well
https://github.com/ingloriond/MiSter_I2 ... c2oled_pix
Maybe the picture is already made.
- 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:
-
- Core Developer
- Posts: 459
- Joined: Wed May 26, 2021 9:35 pm
- Has thanked: 59 times
- Been thanked: 383 times
Re: i2c2oled (little brother of tty2oled)
Is anybody who is using i2c2oled with the latest Linux update having any issues?
I am getting errors and it looks like the version of BASH that comes with the latest linux update (Bash version 5.0.18(1)-releasee (arm-buildroot-linux-gnueabihf)) doesn't process string arrays properly and I am curious if anybody else has come across this.
Never mind. I had to convert all files to unix files with dos2unix. While it didn't seem to have a problem with Bash 4.x and 5.1, 5.0.x seems to really not like the carriage returns on each line of the PIX files.
I am getting errors and it looks like the version of BASH that comes with the latest linux update (Bash version 5.0.18(1)-releasee (arm-buildroot-linux-gnueabihf)) doesn't process string arrays properly and I am curious if anybody else has come across this.
Never mind. I had to convert all files to unix files with dos2unix. While it didn't seem to have a problem with Bash 4.x and 5.1, 5.0.x seems to really not like the carriage returns on each line of the PIX files.
- 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)
No. But open the file with an textviewer, make a screenshot from the characters and use graphics program to zoom out.marcelosofth wrote: ↑Mon Nov 29, 2021 11:45 pm Thanks friend, is there any .pix file viewer for Windows?
It should looks like...
I am using the pix since the beginning and with the latest MiSTer System, no problem at all.
How did you copy the files over?
You do not have the required permissions to view the files attached to this post.
-
- Core Developer
- Posts: 459
- Joined: Wed May 26, 2021 9:35 pm
- Has thanked: 59 times
- Been thanked: 383 times
Re: i2c2oled (little brother of tty2oled)
I had the files on the system since May it was working till my display died a while back.
Just got a bunch of displays for another project I am working on figured I'll toss one on the Mister and that's when I noticed the error on line 350 and after some digging found the issue.
I then pulled down a zip file from Github and unzipped that and still had the issue except that this time I noticed that the S60i2c2oled file errored out saw that it had carriage returns. Converted the scripts to unix format and they worked but still had that error, lit wasn't till after I checked the file format for the pix files that I saw it had carriage returns and converting those also fixed it.
Now mind you, everything works on an older build I tested it on and the same zip file, with carriage returns and all does fine on my ubnutu and msys builds that use bash 5.1.x.
So somehow, most likely during the unzipping process onto the sdcard, the files are processed with carriage returns but I think that's all on my end.
Just got a bunch of displays for another project I am working on figured I'll toss one on the Mister and that's when I noticed the error on line 350 and after some digging found the issue.
I then pulled down a zip file from Github and unzipped that and still had the issue except that this time I noticed that the S60i2c2oled file errored out saw that it had carriage returns. Converted the scripts to unix format and they worked but still had that error, lit wasn't till after I checked the file format for the pix files that I saw it had carriage returns and converting those also fixed it.
Now mind you, everything works on an older build I tested it on and the same zip file, with carriage returns and all does fine on my ubnutu and msys builds that use bash 5.1.x.
So somehow, most likely during the unzipping process onto the sdcard, the files are processed with carriage returns but I think that's all on my end.
-
- Core Developer
- Posts: 459
- Joined: Wed May 26, 2021 9:35 pm
- Has thanked: 59 times
- Been thanked: 383 times
Re: i2c2oled (little brother of tty2oled)
If anybody who uses the TI-994/A core and is interested in some pix for it....
You do not have the required permissions to view the files attached to this post.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
- 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:
- 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)
You do not have the required permissions to view the files attached to this post.