Page 1 of 11
Re: i2c2oled (little brother of tty2oled)
Posted: Fri May 14, 2021 1:42 pm
by antoniovillena
The official RTC board has no VCC pin. But you can extract from the connector by soldering a wire. The 4 wires you need are: VCC, GND, SDA and SCL
Re: i2c2oled (little brother of tty2oled)
Posted: Fri May 14, 2021 3:06 pm
by venice
Re: i2c2oled (little brother of tty2oled)
Posted: Fri May 14, 2021 9:31 pm
by lui sito
working
photo-2021-05-14-23-14-48.jpg
thank you guys!
Re: i2c2oled (little brother of tty2oled)
Posted: Sat May 15, 2021 9:17 am
by venice
lui sito wrote: ↑Fri May 14, 2021 9:31 pm
working
Great
If you create Pictures make them available please.
Re: i2c2oled (little brother of tty2oled)
Posted: Sat May 15, 2021 4:41 pm
by venice
Update
The i2c2oled Script got an I2C Device ID detection.
If the OLED-Device is not found at the given ID the Script ends with Exit Code 1.
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?