scratch pad update 3

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
18,222
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 13, 2010

3rd update of the harddrive midi scratch pad... Parts list so far: stripped hard drive, IR encoder from a ball mouse, 4 nuts as buttons, potentiometer + knob, a pic 16f88, and a bunch of resistors... I wish I could find a linear fader.

The IR quadrature encoder is pulled out of an old ball mouse. There are actually two IR transmitter/receiver pairs in a quadrature. Some details about that part can be found here: http://members.shaw.ca/swstuff/mouse.html

The encoder wheel is just printed on transparency sheets and cut out. The wheel is generated with codewheel: http://www.mindspring.com/~tom2000/Delphi/Codewheel.html

Reading the encoder wheel fast enough involves triggering an interrupt when the first IR detector goes off, and reading the second IR detector to determine the direction.

The buttons and platter use capacitive touch sensing. A piece of metal acts as one half of a capacitor and your finger acts as the other half. You can get ICs or modules that can do this, or just your microcontroller's ADC. Basically, a pin is connected to v+ (through 100k ohm resistor here) and some metal (like the platter). Then ground the pin, then float the pin for a few microseconds, then do ADC on that pin and measure change.

The circuit for the capacitive sensing is similar here (on three pieces of foil): http://www.instructables.com/id/DIY-3D-Controller/#step4

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (ssjgogetta)

  • how did you do the buttons?

    

  • @Aqlor Capacitve touch sensing on some random metal nuts... A piece of metal and your body form a capacitor. You can either get an IC or module that does it, or do it from scratch in software with your microcontroller and an ADC... There is a nice instructable on capacitive sensing I'll link in the description. 

see all

All Comments (22)

Sign In or Sign Up now to post a comment!
  • What song is the first one

  • DJ of a post-apocaliptic universe

  • how to make?

  • ca you please help me make this??

  • That's very clever. I have no idea how to go about devising that let alone building it.

  • @ssjgogetta thanks :D

  • aww, cute <3

  • cool , nice

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more