Instructables

HDDJ: Turning an old hard disk drive into a rotary input device

Featured

Step 6: Schematics and firmware for the HDDJ device

Picture of Schematics and firmware for the HDDJ device
board.gif
schematic.gif
For our original DJing project we equipped the hard disk drive with eight additional buttons, six LEDs and a motorized fader to make the HDDJ device. We designed a custom circuit board and wrote some firmware that allowed us to connect all these controls (plus the input from the HDD platter) to a PC via USB. Here you can download the files needed to recreate this design in EAGLE format, plus the firmware that needs to run on the PIC microcontroller (youll need a suitable PIC programmer to do this).

How to test the HDDJ Device

1. Install the driver provided in the ZIP file

2. Plug in the HDDJ to a USB port of your computer (it will mount as a virtual serial connection, and assign it a COM port)

3. Use a terminal program (like Putty) to connect to the COM port, at 115200bps, 8 data bits, no parity bit, and one stop bit.

4. Try spinning the HDDJ platter: you should see a stream of '<' characters appear as it spins counter-clockwise, and '>' characters as it spins clockwise. The frequency of characters will depend on the velocity of spin.

5. Moving the fader will output the character 'f' followed by a number between 0 and 100. To control the position of the fader type the character m into the terminal window, followed by a number between 0 and 100, and then hit return.

6. Pressing the buttons will output the character 'b' followed by a number between 0 and 8. To turn the LEDs on and off type the character l into the terminal window, followed by a number between 0 and 6, and then hit return.

For our project we wrote a bit of software that communicated with the HDDJ via the USB serial line using this protocol. It would be a relatively small (but useful) step to adapt it to, for example, translate the control sequences MIDI messages, which would let you use the HDDJ with generic music or VJ'ing software out of the box.
HDDJ.zip210 KB
 
Remove these adsRemove these ads by Signing Up
SaNjA26595 years ago
WANT A PARTS LIST, And can somebody tell me, how can I put files into microcontroller, or can I ask to write files there in a radio shack?
no you can't bring it to radio shack but you can make your own software using an avr microcontroller and the usb keyboard and mouse library. it's a bit of a task but you could learn allot if your new to microcontrolers
You have to read some books about PIC.
If you are a beginner of PIC, I'll recommand you an easy book.

Add me up as a MSN friend, "staybesideyou@hotmail.com"
You need a microcontroller programmer.
MECHOL3 years ago
incomprehensible
jhakker4 years ago
I'd pay for one of these !
can u pleas send the HDDJ zip which is working pleazzzzzz
 too cool

 this thing is awesome ..................................can i have the parts list too ................i sure am gonna try tp make this thing...................thankx
bmxlife5 years ago
can I please have a parts list 2
Wessinc bmxlife4 years ago
Hi Hope this helps. Parts list:
Partlist

Exported from hddj-2.0.sch at 4/23/2010 4:52:42 PM

EAGLE Version 5.3.0 Copyright (c) 1988-2008 CadSoft

Part     Value          Device            Package    Library         Sheet

B1                      RB1A              RB1A       rectifier       1
C1                      CPOL-USCT3216     CT3216     rcl             1
C2       0.1uF          C_0805            C0805      rc-master       1
C3       0.1uF          C_0805            C0805      rc-master       1
C4       0.1uF          C_0805            C0805      rc-master       1
C5       470nF          C_0805            C0805      rc-master       1
C6       0.33uF         CPOL-USB/3528-21R B/3528-21R rcl             1
C7       22pF           C_0805            C0805      rc-master       1
C8       22pF           C_0805            C0805      rc-master       1
C9                      CPOL-USCT3216     CT3216     rcl             1
C10                     CPOL-USCT3216     CT3216     rcl             1
D1       BAT64_05       DIODE-2AC|CASOT23 SOT23      diode           1
D2                      D-SMB             SMB        semicon-smd-ipc 1
D3                      D-SMB             SMB        semicon-smd-ipc 1
J1                      PN61729           PN61729    con-berg        1
J2                      MA04-1            MA04-1     con-lstb        1
J3                      MA06-1            MA06-1     con-lstb        1
J4                      MA06-1            MA06-1     con-lstb        1
J5                      MA05-1            MA05-1     con-lstb        1
J6       PINHDR2        PINHDR2           1X02       dongle          1
J7       PINHDR2        PINHDR2           1X02       dongle          1
J8       PINHDR2        PINHDR2           1X02       dongle          1
J9                      MA06-1            MA06-1     con-lstb        1
J10      DC21P          DC21P             DCSKTP     dcsocket        1
J11                     MA04-1            MA04-1     con-lstb        1
L1       FB_0805        FB_0805           L0805      rc-master       1
L2       FB_0805        FB_0805           L0805      rc-master       1
R1       0R             R_0805            R0805      rc-master       1
R2       DNF            R_0805            R0805      rc-master       1
R3       22R            R_0805            R0805      rc-master       1
R4       22R            R_0805            R0805      rc-master       1
R5       470R           R_0805            R0805      rc-master       1
R6       470R           R_0805            R0805      rc-master       1
R7       470R           R_0805            R0805      rc-master       1
R8       470R           R_0805            R0805      rc-master       1
R9       470R           R_0805            R0805      rc-master       1
R10      470R           R_0805            R0805      rc-master       1
R11      1K             R_0805            R0805      rc-master       1
R12      1K             R_0805            R0805      rc-master       1
R13      1K             R_0805            R0805      rc-master       1
R14      10K            R_0805            R0805      rc-master       1
R15      10K            R_0805            R0805      rc-master       1
R16      10K            R_0805            R0805      rc-master       1
R17      4.7K?          R_0805            R0805      rc-master       1
R18      10K            R_0805            R0805      rc-master       1
R19      10K            R_0805            R0805      rc-master       1
R20      10K            R_0805            R0805      rc-master       1
R21      10K            R_0805            R0805      rc-master       1
R22      10K            R_0805            R0805      rc-master       1
R23      10K            R_0805            R0805      rc-master       1
R24      10K            R_0805            R0805      rc-master       1
R25      0R             R_0805            R0805      rc-master       1
R26      DNF            R_0805            R0805      rc-master       1
R27      10K            R_0805            R0805      rc-master       1
R28      10K            R_0805            R0805      rc-master       1
R29      47K            R_0805            R0805      rc-master       1
U1       PIC18F4550PT   PIC18F4550PT      PQFP-44    dongle          1
U2       LM324D         LM324D            SO14       linear          1
U3       L78MXXCDT      L78MXXCDT         DPACK_3    dongle          1
U4                      L293E             DIL16      texas           1
Y1       4MHz           XTAL/S            QS         special         1

 Im guessing parts list is:

Old HDD disk drive

Thats it?
richardw1065 years ago
Is there actually a parts list for this project???
ttopueth5 years ago
My I have the part list, too?? I think this is very cool and impressive. Please send me the part list to ttopueth@googlemail.com or send a PN
neocska5 years ago
Nice, but somebody can send to me the part list?
Matz5 years ago
Very nice job! I am definitely going to try this.