3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

The 5$ Karduinoss pad

Step 3Interfacing to the arduino.

Interfacing to the arduino.
As you now have a touch-pad with wires attached to it, lets look into getting values from it.

The available ps2 libraries for arduino naturally work as a mouse and allow for mouse type input, if you're into such a thing ;)

Below you will find a karduinoss.pde sketch for the arduino based on the ps2 library available on http://www.arduino.cc/playground/ComponentLib/Ps2mouse which will initialize the touch-pad as an absolute xy controller with about ~4000 steps side to side.

The code does some auto-calibration based on the values it gets, and maps the x, y and z values to MIDI controller changes through the use of ttymidi available on http://www.varal.org/ttymidi/.

The karduinoss.pde sketch assumes an LED is connected to pin 3 ,the touch-pad clock on pin 13 and the touch-pad data on pin 12.
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
3
Followers
1
Author:buZztiaan