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 !
Nah sadly not - it came from here https://lametric.com/en-US but I got it much cheaper on Amazon on a sale.
Thanks and sorry for missing this earlier, of course, feel free to.
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 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.
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.
Added to the Repo and ready for „the Updater".
Good News for the Devkitc V4 "Users" .
Same on Linux side. At least sometimes. Weired behaviour.
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.
Please make some more pictures that we can the connections of ESP and Display more detailed.
I used the colors in the wiring diagram, except the light blue / cyan is white and dark grey is black (ground).
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
That was my mistake by accident (wrong/outdated template). Mea culpa. Need more coffe over the day and more drinks at night
I downloaded it again today to be sure. Confirmed the lines you mentioned are present.
Yup! Once I switched the blue and cyan/white wires on the screen it worked immediately.venice wrote: ↑Tue Jun 15, 2021 7:32 am 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.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.
Fix to git commited. Again, sorry for any confusion.
Yeah, it make this fix a 2 second thing rather than having to re-solder.
Related to 1+2:Mellified wrote: ↑Tue Jun 15, 2021 3:34 pm @venice - So now that I have a working display I'm looking to add support for the tty2oled to MiSTer_SAM. The arbitrary text support should make it really easy to display the game/MRA name rather than the core name. A few issues I'm seeing though that may be easy to fix?
1. It would be better to have a fixed width font so I know how many characters can be displayed. Right now I can get 12 "W" on screen or up to ~18 narrower characters.
2. A two line display option would be interesting - show the core name on one and the game name on the other.
3. When text overflows the display the text is centered and truncated. Would it be possible to automatically scroll the text across the display? Even moving one character over each second might be sufficient.
4. Using 'echo "This is a fun game" > /dev/ttyUSB0' works - but the tty2oled daemon will overwrite when it notices /tmp/CORENAME has changed. I can run "/etc/init.d/S60tty2oled stop" when MiSTer_SAM runs, of course, but that could fail to restart if SAM doesn't exit cleanly. Is there a way to disable CORENAME monitoring temporarily? Or send arbitrary strings to the display with tty2oled? I tried '/usr/bin/tty2oled /dev/ttyUSB0 USB 921600 > "Donkey Kong"' for example.
Could you make a picture for the gallery of your hardware setup showing something on the display.
I saw it but didn't register the text sizing. I will disable the daemon and give that a shot!
Here you are!
This is what I got so far. The animated GIF is low quality to get the file size down and the converter changed the text from blue to yellow for some reason, but hopefully it gets the idea across!
Looks good to me
Jepp, that's my standard setting.
It looks to me the fonts I added are "transparent" fonts and don't overwrite the background.Mellified wrote: ↑Wed Jun 16, 2021 1:06 pm Overwriting existing text with more text could unlock some interesting visuals. I wasn’t creative enough to come up with any myself though.
It would be nice to have a way to blank only part of the screen. I tried overwriting text with spaces but that had no effect.
Ok
That'd be nice. If you have the space put the non-transparent equivalent of each of the existing ones on perhaps? That'll allow all sorts of special effects for whatever sizes.
I haven't found the same Font as Non-Transparent but I added 4 new Non-Transparent Fonts which have a smaller width and one "Icon" Font .Mellified post wrote:Thu Jun 17, 2021 4:54 am That'd be nice. If you have the space put the non-transparent equivalent of each of the existing ones on perhaps? That'll allow all sorts of special effects for whatever sizes.
Code: Select all
0: u8g2_font_luBS08_tf (20x12, 8 Pixel A, Transparent)
1: u8g2_font_luBS10_tf (26x15, 10 Pixel A, Transparent)
2: u8g2_font_luBS14_tf (35x22, 14 Pixel A, Transparent)
3: u8g2_font_luBS18_tf (44x28, 18 Pixel A, Transparent)
4: u8g2_font_luBS24_tf (61x40, 24 Pixel A, Transparent)
5: u8g2_font_profont12_mf (6x12, 8 Pixel A, Non-Transparent)
6: u8g2_font_profont17_mf (9x17, 11 Pixel A, Non-Transparent)
7: u8g2_font_profont22_mf (12x22, 14 Pixel A, Non-Transparent)
8: u8g2_font_profont29_mf (16x29, 19 Pixel A, Non-Transparent)
9: u8g2_font_open_iconic_all_2x_t (16x16 Icons, Transparent)
Code: Select all
xxx = 3 Digits X-Position 000..255
yy = 2 Digits Y-Position 00..63
f = Font Type, see list above
Code: Select all
1: echo "att" > /dev/ttyUSB0 # Is needed
2: echo "TEXTOUTXY" > /dev/ttyUSB0 # Enable TEXTOUTXY Mode
3: echo "010,20,5,Text Out" > /dev/ttyUSB0 # Show "Text Out" with Font 5 at Position X=10,Y=20.
Unfortunately the new fonts don't overwrite existing ones it seems. I also tried using the symbolic font, but those didn't overwrite either. Not the end of the world - the support as-is works well. The new fonts are a little more stylized, which gives a different aesthetic. May be nice for some use cases!