{"id":777,"date":"2014-04-21T00:07:59","date_gmt":"2014-04-21T00:07:59","guid":{"rendered":"http:\/\/retroramblings.net\/?p=777"},"modified":"2014-04-21T19:12:40","modified_gmt":"2014-04-21T19:12:40","slug":"gotek-floppy-emulator-revisited","status":"publish","type":"post","link":"http:\/\/retroramblings.net\/?p=777","title":{"rendered":"Gotek Floppy Emulator Revisited"},"content":{"rendered":"<p>The circuit I cobbled together a few weeks ago to add sound support to the Gotek floppy emulator worked up to a point, but it was ugly as hell, and suffered from occasional stray oscillations.\u00a0 H.M. &#8211; the mastermind behind the new Amiga-compatible firmware for the Gotek unit &#8211; suggested using a MOSFET instead of the BJTs, and since I&#8217;m still shaky on the use of transistors it seemed like a good opportunity to learn.<\/p>\n<p><!--more-->I must confess that my component selection process looks something like this:<\/p>\n<ol>\n<li>Find a component which will do the job<\/li>\n<li>Check EBay &#8211; is it easily and cheaply obtainable?\n<ul>\n<li>No?\u00a0 Go to step 1<\/li>\n<li>Yes? Done!<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>I wanted a small MOSFET that would comfortably switch a low current 12 volt load, triggered by a signal that sits at around 3v most of the time, and drops down to something approaching zero-volts momentarily when the drive head steps.\u00a0 In particular I was looking for a device with a switching threshold voltage between 1v and 3v &#8211; any lower than this and there&#8217;d be a danger that the step pulses wouldn&#8217;t actually trigger the transistor.\u00a0 I settled on 2 devices to try &#8211; 2N7000 and BS270.<\/p>\n<p>From the Googling I&#8217;ve done since starting this project, I&#8217;ve learned that piezo sounders don&#8217;t like having a constant voltage across them in the long term &#8211; so my goal for the revisited circuit is to have zero potential across the sounder except when a step pulse is happening.\u00a0 The obvious way to achieve this is to have the sounder in series with a resistor, from VCC to GND, with the MOSFET across the sounder.\u00a0 Since the step signal is active low, this should work in theory &#8211; but in practice it doesn&#8217;t!\u00a0 The reason is that the step pulse is too narrow (nominally 1\u00b5s, though in practice not quite that brief) to provoke a response from the sounder.<\/p>\n<p>To get around this, I chained the MOSFET with a good old BC547, with its lengthy storage time measured in the hundreds of microseconds.\u00a0 This significantly widens the pulse and makes it audible.<\/p>\n<p><a href=\"http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/GotekSounder2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-783\" alt=\"GotekSounder2\" src=\"http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/GotekSounder2.png\" width=\"661\" height=\"527\" srcset=\"http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/GotekSounder2.png 661w, http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/GotekSounder2-300x239.png 300w, http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/GotekSounder2-376x300.png 376w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><\/p>\n<p>I&#8217;m still &#8220;rat&#8217;s-nesting&#8221; the circuit, but this simplified version is significantly neater than my first attempt!<\/p>\n<p><a href=\"http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/2014-04-20-23.50.04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-779\" alt=\"2014-04-20 23.50.04\" src=\"http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/2014-04-20-23.50.04.jpg\" width=\"633\" height=\"500\" srcset=\"http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/2014-04-20-23.50.04.jpg 633w, http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/2014-04-20-23.50.04-300x236.jpg 300w, http:\/\/retroramblings.net\/wp-content\/uploads\/2014\/04\/2014-04-20-23.50.04-379x300.jpg 379w\" sizes=\"auto, (max-width: 633px) 100vw, 633px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The circuit I cobbled together a few weeks ago to add sound support to the Gotek floppy emulator worked up to a point, but it was ugly as hell, and suffered from occasional stray oscillations.\u00a0 H.M. &#8211; the mastermind behind &hellip; <a href=\"http:\/\/retroramblings.net\/?p=777\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,9,8],"tags":[],"class_list":["post-777","post","type-post","status-publish","format-standard","hentry","category-amiga","category-geekery","category-hardware"],"_links":{"self":[{"href":"http:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/posts\/777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/retroramblings.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=777"}],"version-history":[{"count":3,"href":"http:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/posts\/777\/revisions"}],"predecessor-version":[{"id":784,"href":"http:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/posts\/777\/revisions\/784"}],"wp:attachment":[{"href":"http:\/\/retroramblings.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/retroramblings.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=777"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/retroramblings.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}