Close

How do I power this drive?

A project log for USB 5.25-inch Floppy Disk Drive

An attempt to create a USB-connected 5.25-inch floppy drive

jacob-hahnJacob Hahn 01/20/2023 at 18:420 Comments

In my last log, I discussed how I could design a USB 5.25-inch floppy drive using a Raspberry Pi Pico or a similar RP2040 board, along with a 3D printed enclosure, but one of the challenges I discovered was powering the drive over a USB cable. A 5.25-inch drive requires both 5V and 12V inputs to function, and according to this datasheet can use a maximum of 9.28W of power. The USB 3.1 specification only supports 4.5W of power at 5V, so even if I were to step the voltage up, the USB port couldn't provide enough power to run the drive under seek, read, or write conditions. My proposed solution was to have separate power and data ports, but that would need an external 12V power adapter and a wall outlet, making the drive less accessible. The goal here is to use a single port to power the drive and transfer data.

Luckily, USB ports that provide enough power do exist and are found on many computers in the form of USB-C ports with Power Delivery. These PD ports can support up to 100W or higher, and could be the perfect way to power the drive and transfer data at the same time. Both laptops I own are fitted with these ports and more devices are beginning to support them.

The bigger challenge here is now figuring out how to implement USB-C PD into my project. The PD specification is complicated, and I've done little research into it in the past. To choose a power level the two devices have to communicate, so implementing PD is more advanced than just setting some resistors values and requires a controller chip. Making a PD board myself would take a lot of research and time that I don't have, but luckily Sparkfun makes a board that does exactly what I need. Unfortunately, it's out of stock and looks like it will be for months, and I can't seem to find any other board that has PD and breaks out the USB 2.0 data lines. So, as a temporary solution, I'm going to rig together some breakout boards and adapters to hopefully get a test unit working.

Firstly, I'll use a female to male USB C cable to provide a USB C input port, which will then connect to a USB C breakout board with passthrough. I'll plug a 15V USB PD trigger into the passthrough port, from which I'll use a stepdown to 12V and 5V. Why 15V? 12V is optional on PD, but 15V is standard, so 15V is much more likely to work consistently. With the breakout pins, I'll connect the USB 2.0 data pins to the USB port on the Pico (probably by cutting up an old Micro USB cable), with the 5V from the stepdown for USB power. The 12V and 5V power rails will also be used to power the floppy drive itself.

This setup is a lot of different parts and is therefore slightly expensive and prone to failure, but it should work as a test until I can find a better option that's in stock. I may also choose new parts or change the design before I implement it, but that's the rough idea.

As I am a college student, it might take me a while to design and iterate my ideas here, but I'll write another project log when I hopefully make some good progress.

Discussions