Does that mean the Devkitc v4 is no longer supported?
tty2oled Soft&Hardware Add-On (Shows Core based Pictures on a Display)
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
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.
- 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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
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
-
- Posts: 48
- Joined: Wed Aug 26, 2020 2:20 pm
- Location: Finland / Tampere
- Has thanked: 14 times
- Been thanked: 19 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Here are 7 Arcade .xbm images.
(Arcade: F-1 Dream, Final Fight, War of the Bugs, Warriors of Fate, Willow, Wonder Boy, Woodpecker).
(Arcade: F-1 Dream, Final Fight, War of the Bugs, Warriors of Fate, Willow, Wonder Boy, Woodpecker).
You do not have the required permissions to view the files attached to this post.
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
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.
You do not have the required permissions to view the files attached to this post.
- 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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Congrats, nice setup! May I ask what ESP you're using?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.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Great, another quick build
Can use the picture for the gallery?
I bet for an TTGO
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
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.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
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.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
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)
Hi Venice,
Here is a couple of pictures for you.
Again, thank you for all your help.
Reg.
Here is a couple of pictures for you.
Again, thank you for all your help.
Reg.
You do not have the required permissions to view the files attached to this post.
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
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).
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Looks great, nice build
I will add a picture to the gallery if it‘s ok for you.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Nice clock btw, selfmade?
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
The Pictures are uploaded to Github 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)
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)
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)
AliExpress ? Have you got a link to the one you bought please ?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.
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.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
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)
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.hitm4n wrote: ↑Mon May 31, 2021 10:12 amAliExpress ? Have you got a link to the one you bought please ?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.
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.
viewtopic.php?p=26016#p26016
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Added to the Repo and ready for „the Updater".
Many Thanks
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Good News for the Devkitc V4 "Users" .
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
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).
You do not have the required permissions to view the files attached to this post.
- 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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
Same on Linux side. At least sometimes. Weired behaviour.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
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]"
Example with the needed command order using /dev/ttyUSB0:
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.
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)
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.
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)
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. 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?
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. 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?
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
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)
I used the colors in the wiring diagram, except the light blue / cyan is white and dark grey is black (ground).
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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
How old is the Arduino Programm you have downloaded?
If it's relatively new it should contain the Lines
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.
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.
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
Code: Select all
Terminal 5 = Display Pin 16
Terminal 17 = Display Pin 15
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.
- 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: tty2oled Software Add-On with USB/SD Support (Show Text/Pictures based on loaded Core on Display)
That was my mistake by accident (wrong/outdated template). Mea culpa. Need more coffe over the day and more drinks at night
Fix is on it's way...