{"id":72,"date":"2025-08-03T16:46:00","date_gmt":"2025-08-03T16:46:00","guid":{"rendered":"http:\/\/192.168.3.28\/?p=72"},"modified":"2026-01-14T07:55:16","modified_gmt":"2026-01-14T07:55:16","slug":"gotek-for-ibm-5170","status":"publish","type":"post","link":"https:\/\/www.r3tr0.net\/index.php\/2025\/08\/03\/gotek-for-ibm-5170\/","title":{"rendered":"Gotek for IBM 5170"},"content":{"rendered":"\n<p>The Gotek floppy disk emulator is a great product and enables to relive most of the retro computer including the famous 5170.&nbsp;<\/p>\n\n\n\n<p>One of the big challenges to have the gotek to work is the BIOS configuration. the IBM 5170 genuine BIOS of more recent version can support various floppy format such as&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>360 K<\/li>\n\n\n\n<li>720 K<\/li>\n\n\n\n<li>1.2 M<\/li>\n\n\n\n<li>1.44 M<\/li>\n<\/ul>\n\n\n\n<p>If you plan to have your gotek to work with your IBM 5170, you absolutely need to have the BIOS settings inline with your gotek image to be booted, I have spend hours to make it working&#8230; In other words, if your bios is set to 720 K drive, you will never boot a 1.44 gotek image. The good news is that the gotek with the fast floppy firmware automatically detect the format of the image to boot.&nbsp;<\/p>\n\n\n\n<p>Assuming, you have successfully boot your system with your Gotek, now you might want to have a nice enclosure to perfectly fit your 5170.&nbsp;<\/p>\n\n\n\n<p>The Gotek has a nice (really ?!?) plastic 3.5&#8221; enclosure with a 2 buttons and 8 bar led display.&nbsp;<\/p>\n\n\n\n<p>My goal was to design and build a 5.25&#8221; enclosure for the Gotek with a 0.96&#8221; Old display and a rotary switch, and lastly to have a similar plastic cooler tone to the IBM 5170.<\/p>\n\n\n\n<p>The end result is pretty good and below are the source file and the BOM for this project.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/IMG_9613-Large-1024x768.jpeg\" alt=\"\" class=\"wp-image-182\" srcset=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/IMG_9613-Large-1024x768.jpeg 1024w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/IMG_9613-Large-600x450.jpeg 600w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/IMG_9613-Large-300x225.jpeg 300w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/IMG_9613-Large-768x576.jpeg 768w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/IMG_9613-Large-1200x900.jpeg 1200w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/IMG_9613-Large.jpeg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The BOM is the following&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0.96 OLED SSD1306 display&nbsp;<a href=\"https:\/\/fr.aliexpress.com\/item\/1005007389730469.html?channel=twinner\">https:\/\/fr.aliexpress.com\/item\/1005007389730469.html?channel=twinner&nbsp;<\/a><\/li>\n\n\n\n<li>KY040 Rotary switch&nbsp;<a href=\"https:\/\/fr.aliexpress.com\/item\/1005008233252585.html?channel=twinner\">https:\/\/fr.aliexpress.com\/item\/1005008233252585.html?channel=twinner&nbsp;<\/a><\/li>\n\n\n\n<li>Print 3D PLA Amazon Basic light Gray<\/li>\n<\/ul>\n\n\n\n<p>Regarding the 3D printing, my approach for the main part was to split into 2 parts to have a nice front panel and be able to print the base with the right orientation.&nbsp;<\/p>\n\n\n\n<p>I glue the 2 pieces after printing.&nbsp;<\/p>\n\n\n\n<p>The Knob is also custom made and fit perfectly the Rotary switch head, just applying some force.<\/p>\n\n\n\n<p>The Fusion 3D file&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"707\" src=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.29-1024x707.png\" alt=\"\" class=\"wp-image-186\" srcset=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.29-1024x707.png 1024w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.29-600x414.png 600w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.29-300x207.png 300w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.29-768x530.png 768w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.29-1536x1061.png 1536w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.29-1200x829.png 1200w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.29.png 1972w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"565\" src=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.04-1024x565.png\" alt=\"\" class=\"wp-image-187\" srcset=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.04-1024x565.png 1024w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.04-600x331.png 600w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.04-300x165.png 300w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.04-768x423.png 768w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.04-1536x847.png 1536w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.04-2048x1129.png 2048w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.04-1200x662.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"617\" src=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.29-1024x617.png\" alt=\"\" class=\"wp-image-188\" srcset=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.29-1024x617.png 1024w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.29-600x362.png 600w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.29-300x181.png 300w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.29-768x463.png 768w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.29-1536x926.png 1536w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.29-2048x1234.png 2048w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.29-1200x723.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"787\" src=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.45-1024x787.png\" alt=\"\" class=\"wp-image-189\" srcset=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.45-1024x787.png 1024w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.45-600x461.png 600w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.45-300x231.png 300w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.45-768x590.png 768w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.45-1536x1181.png 1536w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.45-1200x922.png 1200w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.27.45.png 1764w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"774\" src=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.03-1024x774.png\" alt=\"\" class=\"wp-image-190\" srcset=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.03-1024x774.png 1024w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.03-600x454.png 600w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.03-300x227.png 300w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.03-768x580.png 768w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.03-1536x1161.png 1536w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.03-1200x907.png 1200w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2025-08-03-at-14.28.03.png 1794w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><a href=\"http:\/\/192.168.3.29\/wp-content\/uploads\/2025\/08\/IBM5170_GOTEK_Tray.f3d.zip\">IBM5170_GOTEK_Tray.f3d<\/a><a href=\"http:\/\/192.168.3.29\/wp-content\/uploads\/2025\/08\/IBM5170_GOTEK_Tray.f3d.zip\">Download<\/a><\/p>\n\n\n\n<p>3D Print file<\/p>\n\n\n\n<p><a href=\"http:\/\/192.168.3.29\/wp-content\/uploads\/2025\/08\/3MF-Files.zip\">3MF Files<\/a><a href=\"http:\/\/192.168.3.29\/wp-content\/uploads\/2025\/08\/3MF-Files.zip\">Download<\/a><\/p>\n\n\n\n<p>Side Panel<\/p>\n\n\n\n<p><a href=\"http:\/\/192.168.3.29\/wp-content\/uploads\/2025\/08\/Side-panel.stl_.zip\">Side panel.stl<\/a><a href=\"http:\/\/192.168.3.29\/wp-content\/uploads\/2025\/08\/Side-panel.stl_.zip\">Download<\/a><\/p>\n\n\n\n<p>I also share the Wiring of the Rotary and the 0.96&#8221; OLED<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0761-768x1024.jpeg\" alt=\"\" class=\"wp-image-374\" srcset=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0761-768x1024.jpeg 768w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0761-225x300.jpeg 225w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0761-1152x1536.jpeg 1152w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0761-1536x2048.jpeg 1536w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0761-600x800.jpeg 600w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0761-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0760-768x1024.jpeg\" alt=\"\" class=\"wp-image-375\" srcset=\"https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0760-768x1024.jpeg 768w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0760-225x300.jpeg 225w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0760-1152x1536.jpeg 1152w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0760-1536x2048.jpeg 1536w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0760-600x800.jpeg 600w, https:\/\/www.r3tr0.net\/wp-content\/uploads\/2025\/08\/IMG_0760-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The Gotek floppy disk emulator is a great product and enables to relive most of the retro computer including the famous 5170.&nbsp; One of the big challenges to have the gotek to work is the BIOS configuration. the IBM 5170 genuine BIOS of more recent version can support various floppy format such as&nbsp; If you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19],"tags":[],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-ibm5170"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":4,"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":376,"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/posts\/72\/revisions\/376"}],"wp:attachment":[{"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.r3tr0.net\/index.php\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}