OLED mod

Post Reply
Jeff
Site Admin
Posts: 5746
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff » Sat Sep 16, 2017 6:32 pm

cbrunschen wrote:
Thu Sep 14, 2017 12:36 am

it came out quite well. As you can see, the OLED display is nicely framed, aligned with the USB connector, and with the entire display area visible (though the firmware running on it at the time uses a smaller font). There's also a hole for the third button, but I still have to put that in place.

Best wishes

// Christian
New firmware allowing you to choose the "screen resolution" up to 21x2 characters on the OLED screen:
http://torlus.com/floppy/forum/viewtopi ... 306#p16306

:wink:

16 September 2017: Firmware STM32 USB HxCFloppyEmulator v3.0.27.1a

- Extra LCD resolutions and sizes options added :

- 2x16 characters (for 2x16 or 2x20 I2C-HD44780 and 128x32 OLED screens)
- 2x18 characters (for 2x20 I2C-HD44780 and 128x32 OLED screens)
- 2x20 characters (for 2x20 I2C-HD44780 and 128x32 OLED screens)
- 2x21 characters (for 128x32 OLED screens only)

To select the desired resolution, enter the internal menu, and choose the "LCD size" sub-menu.

- To enter the internal config menu you can now press both up and down buttons. (without usb stick inserted).

- The internal config menu can now be browsed without the selection button, just wait 4 seconds to select an item.

- SD HxC Floppy Emulator internal EEPROM emulation added : The parameters changed into the internal config menu are
now saved into the Flash memory and restored/used at power up.

- Some more internal optimizations.

http://hxc2001.com/download/floppy_driv ... rmware.zip

http://hxc2001.com/download/floppy_driv ... _notes.txt

Jeff
Site Admin
Posts: 5746
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff » Sun Sep 17, 2017 6:56 pm

Just got this information : it seems that some 128x64 screens are directly compatible the current firmware version without any change.
This is not the case with the 128x64 i got here. the screen matrix is probably connected differently.
21751770_10214292904056903_6791494877578165131_n.jpg
21751770_10214292904056903_6791494877578165131_n.jpg (59.2 KiB) Viewed 1613 times
http://www.ebay.com/itm/0-96-I2C-IIC-Se ... 2214169156

A good news then. :D

cbrunschen
Posts: 17
Joined: Sat Oct 16, 2010 11:10 am

Re: OLED mod

Post by cbrunschen » Mon Sep 25, 2017 11:59 am

cbrunschen wrote:
Thu Sep 14, 2017 12:36 am
I've put together a design for a 3D printable replacement casing for the Gotek drive.
I've updated my 3D model a bit:
  • There's now a 'preset' for what should be a box that's compatible with the existing Gotek box's lid. I have not had access to the 3D printer for the past week so I haven't yet been able to print it and check how well it actually fits.
  • The update also includes a configurable 'shroud' behind the faceplate - so that the seam between the box and the lid isn't right at the front, but set back a bit, or if you're using just the frame, there is some cover all around the faceplate shape to slide into the bay.
  • There's also a configurable bezel that can go around the faceplate.
  • Finally, I've added some extra material around the mounting holes to give a better grip.
And I've pre-ordered the just-announced Original Prusa i3 Mk3 3D printer - they have an excellent reputation and are frequently listed as the best desktop 3D printer.

Best wishes,

// Christian

Kingstener
Posts: 64
Joined: Sat Mar 04, 2017 1:47 pm

Re: OLED mod

Post by Kingstener » Mon Sep 25, 2017 1:33 pm

Very nice, but much effort because of two characters more width of the display, the OLED display is usually in two minutes built in the original housing .. :shock:

Jeff
Site Admin
Posts: 5746
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff » Mon Sep 25, 2017 3:55 pm

Kingstener wrote:
Mon Sep 25, 2017 1:33 pm
Very nice, but much effort because of two characters more width of the display, the OLED display is usually in two minutes built in the original housing .. :shock:
Not 2 more, but 5. You have the option to display up to 21 characters with the hxc firmware.

cbrunschen
Posts: 17
Joined: Sat Oct 16, 2010 11:10 am

Re: OLED mod

Post by cbrunschen » Mon Sep 25, 2017 4:34 pm

Kingstener wrote:
Mon Sep 25, 2017 1:33 pm
Very nice, but much effort because of two characters more width of the display, the OLED display is usually in two minutes built in the original housing .. :shock:
Um, so? It's easier still to just use the 3-digit 7-segment LED display. You put effort into emulating the 16x2 character LCD display so that you could use the 128x32 pixel OLED instead, even though it was easier to just use an LCD module.

A 3D printed case can be better than modifying the Gotek case; for example, the OLED display itself ends up much closer to the front of the faceplate. In my case, I'll be putting two of these into Ensoniq keyboards where the floppy drive bay aperture is actually taller than 25.4mm, about 32mm; using the original Gotek case I'd have to add some extra material so as to not leave any empty space - but I can instead 3D print a case that fills the entire space, and places the OLED display better, and doesn't require destructive modifications. A 3D printed case could also allow for a display that was wider, by moving the PCB within the case; or for a case that was smaller (half height, to allow sharing a single 3.5-inch bay with a slimline floppy drive perhaps) or larger (fit into a 5.25-inch bay without needing a separate mounting kit).

Kingstener
Posts: 64
Joined: Sat Mar 04, 2017 1:47 pm

Re: OLED mod

Post by Kingstener » Mon Sep 25, 2017 5:23 pm

Jeff wrote:
Mon Sep 25, 2017 3:55 pm
Not 2 more, but 5. You have the option to display up to 21 characters with the hxc firmware.
then it is worth, these settings i had not yet been discovered
cbrunschen wrote:
Mon Sep 25, 2017 4:34 pm
You put effort into emulating the 16x2 character LCD display so that you could use the 128x32 pixel OLED instead, even though it was easier to just use an LCD module.
that LCD wanted so now really not fit in the frontpanel... ;-)

ok, ok, it was only a statement and no criticism
Last edited by Kingstener on Mon Sep 25, 2017 6:03 pm, edited 1 time in total.

Jeff
Site Admin
Posts: 5746
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff » Mon Sep 25, 2017 5:36 pm

Kingstener wrote:
Mon Sep 25, 2017 5:23 pm
Jeff wrote:
Mon Sep 25, 2017 3:55 pm
Not 2 more, but 5. You have the option to display up to 21 characters with the hxc firmware.
then it is worth, these settings i had not yet been discovered
Remove the usb stick, press both buttons. You have then access to tons of options. there is an lcd section.

Kingstener
Posts: 64
Joined: Sat Mar 04, 2017 1:47 pm

Re: OLED mod

Post by Kingstener » Mon Sep 25, 2017 5:49 pm

Jeff wrote:
Mon Sep 25, 2017 5:36 pm
Remove the usb stick
yes, that was the decisive step ... :-)) cool..

teevee
Posts: 107
Joined: Sun Nov 03, 2013 7:21 pm

Re: OLED mod

Post by teevee » Tue Sep 26, 2017 11:22 am

I found this nice and simple video about the wiring for the OLED screen:
[ADMIN EDIT] : Confusing video - bad firmware.

Jeff
Site Admin
Posts: 5746
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff » Tue Sep 26, 2017 9:45 pm

Follow this and all will be fine :
Image

teevee
Posts: 107
Joined: Sun Nov 03, 2013 7:21 pm

Re: OLED mod

Post by teevee » Wed Sep 27, 2017 8:09 pm

Summa summarum:
What is the exact OLED display size, which can replace/fit the current original 3 digit LED display hole without being forced to buy a new cover or modify the current cover?

Jeff
Site Admin
Posts: 5746
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff » Wed Sep 27, 2017 9:14 pm

teevee wrote:
Wed Sep 27, 2017 8:09 pm
Summa summarum:
What is the exact OLED display size, which can replace/fit the current original 3 digit LED display hole without being forced to buy a new cover or modify the current cover?
Probably doesn't exist. Just take the one above and set the 16x2 display mode (this is the default one). No need to modify the box with this setting.

teevee
Posts: 107
Joined: Sun Nov 03, 2013 7:21 pm

Re: OLED mod

Post by teevee » Fri Sep 29, 2017 7:09 pm

Jeff wrote:
Wed Sep 27, 2017 9:14 pm
teevee wrote:
Wed Sep 27, 2017 8:09 pm
Summa summarum:
What is the exact OLED display size, which can replace/fit the current original 3 digit LED display hole without being forced to buy a new cover or modify the current cover?
Probably doesn't exist. Just take the one above and set the 16x2 display mode (this is the default one). No need to modify the box with this setting.
Okay, I found this topic (Link) and here the blogger mentioned:
For aesthetics I recommend using a mini OLED display which will fit in the original gotek LED display cutout, therefor not requiring the external LCD clip-on drive cover holder. http://www.ebay.co.uk/itm/302110929185
The blogger is linking to something called "0.91" IIC I2C Serial SPI OLED LCD Display 128x32 3.3V/5V AVR PIC STM32 Arduino"

Jeff
Site Admin
Posts: 5746
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: OLED mod

Post by Jeff » Fri Sep 29, 2017 7:15 pm

This is just the normal one i have specified into the documentation :

http://torlus.com/floppy/forum/viewtopi ... =33&t=1683

Image

http://www.ebay.com/itm/302110929185

Post Reply