VOGONS


First post, by MaverickUK

User metadata
Rank Newbie
Rank
Newbie

The HDD Clicker sounds like a fantastic idea.

However it got it thinking, would it be possible to simulate more of the experience? Such as the sound of a mechanical hard drive spinning up and more realistic access sounds?

After wrangling some CircuitPython code with a spare Raspberry Pi Pico & Pico Audio I had my answer:

hqdefault.jpg

YouTube video of the device in action


How it works
There are three WAV files on the Raspberry Pi Pico

  • Spin up
  • Idling
  • Disk access

When the Raspberry Pi Pico retrieve power it starts by playing the spin up WAV file. Once this is complete it will continuously loop the idling WAV file. When
HDD activity is detected it then switches to looping the disk access WAV file.

HDD activity is detected by using the analogue inputs on the Pico, so that when a PCs HDD LED lights up it detects the voltage and will then play the disk access sound.

I have also programmed it to output 3.3V on another set of Pico pins when HDD access is detected, which can be used to connect up to the PCs HDD LED should the original connection be disconnected


Next steps
I won't be able to progress this until the weekends (due to work/family life), but the next step is to fit this into an actual PC to prove that it works. Once that's complete I'll make any refinements required then I'll release the full source code and parts list.

If you'd be interested in a prebuilt device let me know so I can determine if it's worthwhile me assembling a set for sale.

Cheers
Peter

http://www.strifestreams.com // Regular nuggets of retro gaming

Reply 1 of 5, by myretropast

User metadata
Rank Newbie
Rank
Newbie

That’s very cool, I was wondering if a Pi Pico could be used for something like this. My initial thoughts were to use a Pico to run an OLED panel showing HDD activity and Turbo status, a bit overkill, but if it can also do the audio then that would be a nice little add on.

Reply 2 of 5, by keropi

User metadata
Rank l33t++
Rank
l33t++

make spinning sounds loud again! 🤣
nice project! not sure about using the spinning sound looping in the background but the head sounds are very nice!

🎵 🎧 PCMIDI MPU , OrpheusII , Action Rewind , Megacard and 🎶GoldLib soundcard website

Reply 3 of 5, by MaverickUK

User metadata
Rank Newbie
Rank
Newbie

I'm planning to make it very configurable so that anyone using this can easily change the HDD samples it uses or change other aspects. As from the comments on the video so far it's clear that everyone has their own preferences in this arena 😀

I've successfully tested it in my 386 and it was able to detect HDD LED activity to act as a trigger and then relay a signal to the PCs case HDD LED

Pico%20HDD%20Synth%20testing.jpeg?raw=1

I'm waiting for some additional parts to arrive from Pimoroni (small speaker, mount, jumper cables) along with a few eBay purchases (Molox to USB power & 3.5mm audio jacks). Once these arrive I'll clean up the prototype so it's more "production" ready.

http://www.strifestreams.com // Regular nuggets of retro gaming

Reply 4 of 5, by MaverickUK

User metadata
Rank Newbie
Rank
Newbie

I've decided to address both the mounting and power problems with a single solution, that being making use of a ISA board as shown in the image below

HDD%20Synth%20ISA.jpeg?raw=1

Thanks to Martin Niec at https://www.ebay.co.uk/itm/284508460587 for these superb prototyping ISA PCBs

These provide 5v and ground connections through the ISA bus.

I've also purchased a new CompactFlash to IDE adapter and replaced the HDD LED with a connector so that I can link it to the PCB, rather than take it from the motherboard. This means that a passthrough approach isn't required and the PC can continue to drive the case indicator LEDs as normal. However I've also programmed the Pico to provide a replacement HDD LED output for those who wish to wire up their PC this way.

Once I've wired up the ISA board I'll post a new video of it in operation.

Finally a thanks to Ian Scott of PicoGUS fame https://github.com/polpo/picogus who has kindly shared his knowledge about interfacing with a Pi Pico over the ISA bus. For a future revision of this device it may be possible to detect HDD activity purely from the ISA bus within some systems.

I also like the idea of writing a utility that can talk with the Pico over the ISA bus to allow for configuration to be performed directly on the PC itself. Although that's really for a version 2 of this device, but it's nice to have idea for the future.

http://www.strifestreams.com // Regular nuggets of retro gaming