Page 8 of 50

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Thu May 27, 2021 10:57 pm
by Mellified
venice wrote: Thu May 27, 2021 5:13 pm [/list]
  • Removed Stuff related to ESP32 Devkitc v4 (doesn't work correctly).
Does that mean the Devkitc v4 is no longer supported?

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri May 28, 2021 4:51 am
by venice
Mellified wrote: Thu May 27, 2021 10:57 pm Does that mean the Devkitc v4 is no longer supported?
I had problems to get an Devkitc V4 from AZDelivery working.
Serial was working alone, Display was working alone
but together i can‘t get it working.

Do you have a working one?
If yes, drop some pictures here if possible and let me know which Pins you use for the Display and which board you chose in the Arduino IDE.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri May 28, 2021 5:04 am
by RealLarry
Mellified wrote: Thu May 27, 2021 10:57 pm
venice wrote: Thu May 27, 2021 5:13 pm [/list]
  • Removed Stuff related to ESP32 Devkitc v4 (doesn't work correctly).
Does that mean the Devkitc v4 is no longer supported?
As Venice already stated, it doesn't work at the moment. I initiated the combo of a Devkitc v4 (AZDelivery) and display and it has worked. After designing and receiving a suitable PCB it turns out that the Devkitc doesn't want to play anymore. Venice bought another one for himself, tested and totally rewired the device, but nothing. Not comprehensible so far.

You can use a Wemos Lolin32 instead. Wiring diagram is on it's way:
https://github.com/venice1200/MiSTer_tt ... _board.png

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri May 28, 2021 10:17 am
by Jukk@M
Here are 7 Arcade .xbm images.
(Arcade: F-1 Dream, Final Fight, War of the Bugs, Warriors of Fate, Willow, Wonder Boy, Woodpecker).
tty2oled-xbm_9.rar

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri May 28, 2021 12:53 pm
by WiteWulf
I just wanted to say thank you for a really amazing project. I got all my parts in the post this morning, soldered it up and got it running in less than an hour. Really impressive stuff. I particularly like the transitions between graphics, it adds a little bit of shine to it.

E2eaTwTX0AYn7Gh.jpg

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri May 28, 2021 1:22 pm
by RealLarry
WiteWulf wrote: Fri May 28, 2021 12:53 pm I just wanted to say thank you for a really amazing project. I got all my parts in the post this morning, soldered it up and got it running in less than an hour. Really impressive stuff. I particularly like the transitions between graphics, it adds a little bit of shine to it.
Congrats, nice setup! May I ask what ESP you're using?

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri May 28, 2021 3:09 pm
by venice
WiteWulf wrote: Fri May 28, 2021 12:53 pm I just wanted to say thank you for a really amazing project. I got all my parts in the post this morning, soldered it up and got it running in less than an hour…
Great, another quick build :D
Can use the picture for the gallery?
RealLarry wrote: Fri May 28, 2021 1:22 pm …May I ask what ESP you're using?
I bet for an TTGO :P

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri May 28, 2021 3:47 pm
by Mellified
RealLarry wrote: Fri May 28, 2021 5:04 am As Venice already stated, it doesn't work at the moment. I initiated the combo of a Devkitc v4 (AZDelivery) and display and it has worked. After designing and receiving a suitable PCB it turns out that the Devkitc doesn't want to play anymore. Venice bought another one for himself, tested and totally rewired the device, but nothing. Not comprehensible so far.

You can use a Wemos Lolin32 instead. Wiring diagram is on it's way:
https://github.com/venice1200/MiSTer_tt ... _board.png
As I posted upthread I was trying to build a solution without requiring soldering. That failed because of the screens I purchased originally, which are not 4SPI out of the box. I found where I can order the screens pre-configured for 4SPI thankfully. Now I'm waiting on them to arrive from China.

For the Arduino, I have two TTGO boards, which I can use with Dupont wires and a breadboard. The Devkitc is available with pins already on it and has a terminal breakout board available though, which enables more permanent wiring. I just bought two of those and the breakouts.

I'm a little frustrated to see the Devkitc isn't working after all.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri May 28, 2021 5:28 pm
by venice
Mellified wrote: Fri May 28, 2021 3:47 pm
I'm a little frustrated to see the Devkitc isn't working after all.
I understand.
We can try your Devkitc Board when your Display arrive.
If it‘s not working we can use your TTGO‘s as well.

Where are you located?
Maybe there is someone around you who can help.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sat May 29, 2021 3:43 pm
by Reg
Hi Venice,

Here is a couple of pictures for you.

Again, thank you for all your help. :)

Reg.
Front.JPG
Front Angle.JPG

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sat May 29, 2021 4:08 pm
by WiteWulf
RealLarry wrote: Fri May 28, 2021 1:22 pm Congrats, nice setup! May I ask what ESP you're using?
It's a TTGO ESP32, way over-powered for this job (I'm sure it could be done with an ESP8266, but it's a nice form factor and it was a decent price on Ali).

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sat May 29, 2021 5:25 pm
by venice
Reg wrote: Sat May 29, 2021 3:43 pm
Here is a couple of pictures for you.
Again, thank you for all your help. :)
Looks great, nice build :P
I will add a picture to the gallery if it‘s ok for you.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sat May 29, 2021 5:26 pm
by Reg
venice wrote: Sat May 29, 2021 5:25 pm
Reg wrote: Sat May 29, 2021 3:43 pm
Here is a couple of pictures for you.
Again, thank you for all your help. :)
Looks great, nice build :P
I will add a picture to the gallery if it‘s ok for you.
Sure - no problem. :)

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sun May 30, 2021 6:04 am
by venice
Reg wrote: Sat May 29, 2021 3:43 pm Hi Venice,
Here is a couple of pictures…
Nice clock btw, selfmade?

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sun May 30, 2021 6:55 am
by venice
Jukk@M wrote: Fri May 28, 2021 10:17 am Here are 7 Arcade .xbm images.
(Arcade: F-1 Dream, Final Fight, War of the Bugs, Warriors of Fate, Willow, Wonder Boy, Woodpecker).
tty2oled-xbm_9.rar
The Pictures are uploaded to Github and ready for the Updater 8-)
Many Thanks.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sun May 30, 2021 11:01 am
by Reg
venice wrote: Sun May 30, 2021 6:04 am
Reg wrote: Sat May 29, 2021 3:43 pm Hi Venice,
Here is a couple of pictures…
Nice clock btw, selfmade?
Nah sadly not - it came from here https://lametric.com/en-US but I got it much cheaper on Amazon on a sale.

Was my Xmas present to myself ! :)

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sun May 30, 2021 4:53 pm
by WiteWulf
venice wrote: Fri May 28, 2021 3:09 pm

Great, another quick build :D
Can use the picture for the gallery?
Thanks and sorry for missing this earlier, of course, feel free to.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon May 31, 2021 10:12 am
by hitm4n
Mellified wrote: Fri May 28, 2021 3:47 pm As I posted upthread I was trying to build a solution without requiring soldering. That failed because of the screens I purchased originally, which are not 4SPI out of the box. I found where I can order the screens pre-configured for 4SPI thankfully. Now I'm waiting on them to arrive from China.
AliExpress ? Have you got a link to the one you bought please ?

I am hoping to place an order today for esp, screen, some other port extensions and a case today, probably all from Ali. I'm in the UK.
Cheers.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon May 31, 2021 11:57 am
by venice
Mellified wrote: Fri May 28, 2021 3:47 pm As I posted upthread I was trying to build a solution without requiring soldering. ...
I am sorry to slow you down a bit but this ESP Breakout is for the "Devkitc V4" ESP32 which I can't get to work with the tty2oled Arduino Program and my Controller. We must wait until "Mellified" get all his parts and we can start to test or I get new hardware for testing.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon May 31, 2021 2:23 pm
by Mellified
hitm4n wrote: Mon May 31, 2021 10:12 am
Mellified wrote: Fri May 28, 2021 3:47 pm As I posted upthread I was trying to build a solution without requiring soldering. That failed because of the screens I purchased originally, which are not 4SPI out of the box. I found where I can order the screens pre-configured for 4SPI thankfully. Now I'm waiting on them to arrive from China.
AliExpress ? Have you got a link to the one you bought please ?

I am hoping to place an order today for esp, screen, some other port extensions and a case today, probably all from Ali. I'm in the UK.
Cheers.
Here're links to what I ordered. I'm still waiting on the screens so I haven't done anything other than mount the boards onto the terminal breakout.

viewtopic.php?p=26016#p26016

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Fri Jun 04, 2021 6:22 pm
by gojira54
RX-78 core =]

UNzR3M4.png

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sat Jun 05, 2021 3:28 pm
by venice
gojira54 wrote: Fri Jun 04, 2021 6:22 pm RX-78 core =]
Added to the Repo and ready for „the Updater".
Many Thanks :)

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sat Jun 05, 2021 3:35 pm
by venice
Mellified wrote: Thu May 27, 2021 10:57 pm Does that mean the Devkitc v4 is no longer supported?
Good News for the Devkitc V4 "Users" :D .
RealLarry has successfully tested an new Devkitc V4 Board (from AZ Delivery).
He send it to me for testing and I can confirm that it works.
It looks like we had tested some Devkitc V4 Kit's (also from AZ Delivery) which doesn't work as they should do :o

Devkitc_V4_small.jpg

If you choose "WEMOS LOLIN32" as Board within the Arduino IDE it should work.
See here https://github.com/venice1200/MiSTer_tt ... os-lolin32 for the Arduino settings
and here https://github.com/venice1200/MiSTer_tt ... nd-ssd1322 for the Eletrical Part.

The only (small) disadvantage of the Devkitc V4 board is that you have to press the boot button to load the Arduino Program (on Windows).

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Sun Jun 06, 2021 4:40 am
by RealLarry
venice wrote: Sat Jun 05, 2021 3:35 pmThe only (small) disadvantage of the Devkitc V4 board is that you have to press the boot button to load the Arduino Program (on Windows).
Same on Linux side. At least sometimes. Weired behaviour.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon Jun 14, 2021 4:44 pm
by venice
Update (USB-Version)
The USB-Version of the Arduino Program got an new functionality to show text without using the tty2oled scripts.
Means, if the serial interface on the host is correctly configured (Baudrate etc.), you can send text from command line or other programs/tools
to the ESP/Display.

The Format is "xxx,yy,s,[Text]"

Code: Select all

xxx = 3 Digits X-Position 000..255
yy  = 2 Digits Y-Position 00..63 
s   = Text Size (0= 8 Pixel Font (u8g2_font_luBS08_tf), 1=10 , 2=14, 3=18, 4=24)
Example with the needed command order using /dev/ttyUSB0:

Code: Select all

1: echo "att" > /dev/ttyUSB0                # Is needed
2: echo "TEXTOUTXY" > /dev/ttyUSB0          # Enable TEXTOUTXY Mode
3: echo "010,10,1,Text Out" > /dev/ttyUSB0  # Show "Text Out" in Size 1 at Position 10,10.
Tip: Use the command "cls" to clear the screen => echo "cls" > /dev/ttyUSB0

If you don't need this functionality you don't need to update your ESP.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon Jun 14, 2021 7:11 pm
by Mellified
I received my screens today. Got the DevkitC v4, breakout, and screen wired up using the wiki wiring diagram.

When I programmed it as a Wemos Lolin32 it showed up in the MiSTer on ttyUSB0. Nothing at all showed on the screen, even running "/usr/bin/tty2oled /dev/ttyUSB0 USB 921600".

I programmed the DevkitC v4 with as an ESP32 board and see it connected to the MiSTer as well. I get random noise displayed on the screen, even when testing from the MiSTer commandline.
MiSTer-tty.jpg
Clearly I have power to the screen. I assume the issue is my wiring of the datalines? Or is this something with the DevkitC programming?

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon Jun 14, 2021 9:14 pm
by venice
Mellified wrote: Mon Jun 14, 2021 7:11 pm
Clearly I have power to the screen. I assume the issue is my wiring of the datalines? Or is this something with the DevkitC programming?
Please make some more pictures that we can the connections of ESP and Display more detailed.
And a picture of the back side of the display to see the settings.

Wiring as Devkitc should be Ok.
And choose Wemos Lolin32 as Device in the Arduino IDE.

I have this combination running here.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Mon Jun 14, 2021 10:41 pm
by Mellified
venice wrote: Mon Jun 14, 2021 9:14 pm Please make some more pictures that we can the connections of ESP and Display more detailed.
And a picture of the back side of the display to see the settings.
I used the colors in the wiring diagram, except the light blue / cyan is white and dark grey is black (ground).
Mister-tty1.jpg
Mister-tty2.jpg
Mister-tty3.jpg
Mister-tty4.jpg

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Jun 15, 2021 7:32 am
by venice
How old is the Arduino Programm you have downloaded?
If it's relatively new it should contain the Lines

Code: Select all

// WEMOS LOLIN32 Display Constructor HW-SPI & Adafruit SD_MMC Adapter 180° Rotation => U8G2_R2
...
#ifdef ARDUINO_LOLIN32
U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI u8g2(U8G2_R2, /* cs=*/ 5, /* dc=*/ 16, /* reset=*/ 17);  // Better because original SPI SS = 5
#endif
If that's the case change the cables at the terminals 5 + 17 (Blue +White) or the two cables at the Display side. The others are looking good.

Code: Select all

Terminal 5  = Display Pin 16
Terminal 17 = Display Pin 15
Set the Arduino IDE to "Wemos Lolin32" and upload the program.

If the Program and the ESP are OK you should see at least "MiSTer FPGA by Sorgelig" after Power on.

//Edit
I think we have to change the electrical's for Devkitc and Lolin32.

Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)

Posted: Tue Jun 15, 2021 10:06 am
by RealLarry
venice wrote: Tue Jun 15, 2021 7:32 am I think we have to change the electrical's for Devkitc and Lolin32.
That was my mistake by accident (wrong/outdated template). Mea culpa. Need more coffe over the day and more drinks at night :ugeek:
Fix is on it's way...