Page 2 of 12
Re: i2c2oled (little brother of tty2oled)
Posted: Sun May 16, 2021 10:08 am
by lui sito
Re: i2c2oled (little brother of tty2oled)
Posted: Sun May 16, 2021 12:54 pm
by RascalUK
Do you "need" a RTC board to do this? Could it not come straight from the pins on the Nano?
Re: i2c2oled (little brother of tty2oled)
Posted: Sun May 16, 2021 1:20 pm
by venice
RascalUK wrote: ↑Sun May 16, 2021 12:54 pm
Do you "need" a RTC board to do this? Could it not come straight from the pins on the Nano?
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.
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 10:46 am
by venice
Update
The i2c2oled Script got the new Variable...
Code: Select all
contrast=100 # Set Contrast Value 0..255
Set it as you like/need.
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 1:41 pm
by antoniovillena
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.
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 2:03 pm
by venice
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.
0603
Could you make it in 0805 ? It's more eyes friendly
Anyway, many many thanks Antonio
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 2:17 pm
by mahen
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
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 2:41 pm
by RascalUK
0603 is for the hardcore
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 2:53 pm
by antoniovillena
venice wrote: ↑Mon May 17, 2021 2:03 pm
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.
0603
Could you make it in 0805 ? It's more eyes friendly
Anyway, many many thanks Antonio
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.
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 3:02 pm
by RealLarry
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.
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)
RascalUK wrote: ↑Mon May 17, 2021 2:41 pm
0603 is for the hardcore
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
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 4:09 pm
by RascalUK
49 today mate. I'm in trouble next year!
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 4:09 pm
by venice
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
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 5:00 pm
by venice
RascalUK wrote: ↑Mon May 17, 2021 4:09 pm
49 today mate. I'm in trouble next year!
No Trouble
Re: i2c2oled (little brother of tty2oled)
Posted: Mon May 17, 2021 5:04 pm
by RealLarry
RascalUK wrote: ↑Mon May 17, 2021 4:09 pm
49 today mate. I'm in trouble next year!
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!
Re: i2c2oled (little brother of tty2oled)
Posted: Mon Jul 12, 2021 7:05 am
by venice
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.
Re: i2c2oled (little brother of tty2oled)
Posted: Thu Sep 30, 2021 3:18 pm
by venice
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
Code: Select all
/media/fat/i2c2oled/S60i2c2oled setup
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
Re: i2c2oled (little brother of tty2oled)
Posted: Sun Nov 21, 2021 11:37 am
by cursedverses
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?
Re: i2c2oled (little brother of tty2oled)
Posted: Mon Nov 22, 2021 2:00 pm
by venice
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.
Re: i2c2oled (little brother of tty2oled)
Posted: Mon Nov 29, 2021 2:21 pm
by marcelosofth
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
Re: i2c2oled (little brother of tty2oled)
Posted: Mon Nov 29, 2021 2:52 pm
by Flandango
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)
Re: i2c2oled (little brother of tty2oled)
Posted: Mon Nov 29, 2021 4:54 pm
by marcelosofth
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?
Re: i2c2oled (little brother of tty2oled)
Posted: Mon Nov 29, 2021 7:54 pm
by venice
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.
Re: i2c2oled (little brother of tty2oled)
Posted: Mon Nov 29, 2021 11:45 pm
by marcelosofth
Thanks friend, is there any .pix file viewer for Windows?
Re: i2c2oled (little brother of tty2oled)
Posted: Tue Nov 30, 2021 1:15 am
by Flandango
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.
Re: i2c2oled (little brother of tty2oled)
Posted: Tue Nov 30, 2021 7:05 am
by venice
marcelosofth wrote: ↑Mon Nov 29, 2021 11:45 pm
Thanks friend, is there any .pix file viewer for Windows?
No. But open the file with an textviewer, make a screenshot from the characters and use graphics program to zoom out.
It should looks like...
XPM_with_01.png
Flandango wrote: ↑Tue Nov 30, 2021 1:15 am
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 using the pix since the beginning and with the latest MiSTer System, no problem at all.
How did you copy the files over?
Re: i2c2oled (little brother of tty2oled)
Posted: Tue Nov 30, 2021 1:39 pm
by Flandango
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.
Re: i2c2oled (little brother of tty2oled)
Posted: Tue Nov 30, 2021 8:40 pm
by Flandango
If anybody who uses the TI-994/A core and is interested in some pix for it....
Re: i2c2oled (little brother of tty2oled)
Posted: Wed Dec 01, 2021 7:45 am
by venice
I added the pix to the Repository. Many Thanks.
Re: i2c2oled (little brother of tty2oled)
Posted: Wed Dec 01, 2021 10:04 am
by marcelosofth
What is the friend repository link?
Re: i2c2oled (little brother of tty2oled)
Posted: Wed Dec 01, 2021 10:15 am
by venice
marcelosofth wrote: ↑Wed Dec 01, 2021 10:04 am
What is the friend repository link?
i2c2oled_repo_link.png