Author Topic: making a USB memory stick duplicator  (Read 8862 times)

0 Members and 1 Guest are viewing this topic.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18031
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
making a USB memory stick duplicator
« on: May 25, 2011, 06:49:08 am »
Hello people.

I have a suggestion for a project. To be blunt I can draw a block diagram for it but that is as far as i can go as I lack better insight and certainly the programming skills.

I volunteer for my local talking newspaper, we are currently moving over the USB sticks as our medium as cassettes have failed and we don't think CD's are time proof plus the cost of new CD's once a week. This means that we require a method of duplicating memory sticks, 7-16 at a time. There are commercial machines for this but they sort of want ridiculous sums of money like over £700 for what i know is about £50 of electronics.

Does anyone have the knowledge and inclination to help me or find me information on building our own ? basically I'd need to erase and duplicate up to 16 memory sticks at a time. I'm thinking that maybe a basic unit could be designed so that "extra" ports could be added to later (or a master/slave copier system) but that depends on the complexity of it.

Am I trying to bite off too much or is this as easy as i hope ?
 

Offline joelby

  • Frequent Contributor
  • **
  • Posts: 634
Re: making a USB memory stick duplicator
« Reply #1 on: May 25, 2011, 07:18:27 am »
Get an old PC and a bunch of PCI-USB cards (remember that USB bandwidth is shared, so the fewer devices you have per controller, the faster it'll be). Under Linux it'd be very easy to write a script that would detect USB insertion, format, and copy files - maybe an hour's work. If you really want to do some electronics, interface a bunch of red/green LEDs that indicate the status of the copy process for each flash drive so that people can just unplug and replace drives when the light goes green.

You could probably do it with a microcontroller, but unless your time is worth absolutely nothing, it'd be more than £700 in labour. The advantage to using a PC with a proper operating system is that it can be agnostic to the size of the flash drive you're connecting - it'd be a huge amount of work to write firmware to format a FAT32 file system and copy file-by-file.
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 10222
  • Country: nz
Re: making a USB memory stick duplicator
« Reply #2 on: May 25, 2011, 08:07:55 am »
yeah, use a PC. Writing your own USB mass storage driver for a mcu is reinventing the wheel.

There are ultra tiny x86/arm boards that run linux if size is an issue.
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13971
  • Country: gb
    • Mike's Electric Stuff
Re: making a USB memory stick duplicator
« Reply #3 on: May 25, 2011, 08:11:59 am »
The problem with using a microcontroller is you need to get to quite high-end parts to find something that runs at High Speed (480mbits/sec).
You could do it with a  VNC2 from FTDI, but it will be very slow.
The quickest and most practical way to do it would be to use an old PC.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline deephaven

  • Frequent Contributor
  • **
  • Posts: 796
  • Country: gb
  • Civilization is just one big bootstrap
    • Deephaven Ltd
Re: making a USB memory stick duplicator
« Reply #4 on: May 25, 2011, 08:30:51 am »
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2452
  • Country: gr
Re: making a USB memory stick duplicator
« Reply #5 on: May 25, 2011, 12:20:58 pm »
I would use a little computer like SheevaPlug (there are many tiny pcs). I would also use some usb hubs for the usb flash (although the speed would be low when copying). Some indicator leds (with the help of avr-usb) showing when a specific usb flash is ready and properly mounted/umounted.

As I can "see it" in my mind all those could be easily implemented with the help of udev and some scripting with bash, python, perl e.t.c.

Alexander.
Become a realist, stay a dreamer.

 

Offline stl

  • Contributor
  • Posts: 34
  • Country: pt
Re: making a USB memory stick duplicator
« Reply #6 on: May 25, 2011, 03:59:18 pm »
I think a PC with expansion USB PCI cards and probably some powered hubs along with a software solution is the way to go if you don't want to spend a lot of money. You should use as much hosts as you can if you want a fast copy.

I've been using this file sync software: http://allwaysync.com for a while and it works well, you can add multiple destinations (removable drives) to the job.

I've also found this one in a search: http://www.osforensics.com/tools/write-usb-images.html.

Maybe you could screw some of this cables into a panel or something:
http://cgi.ebay.com/USB-2-0-Screw-Lock-dual-female-male-extension-cable-/390316977065?pt=LH_DefaultDomain_0&hash=item5ae0b46ba9


Whatever you do DON'T use cheap USB sticks...
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf