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.

Joy Slippers

Step 7Hooking Up to your Computer and Running the Drawing Application

Hooking Up to your Computer and Running the Drawing Application
«
  • 2253463072_4e9461fdcc.jpg
  • 2252664695_d6fd27aa77.jpg
  • 2254005294_171a70227f.jpg
  • 2254005952_af86111652.jpg
  • 2254006636_e9504f69be.jpg
  • 2254004684_6d0049f68b.jpg
  • 2253210031_6d46d2f392.jpg
  • 2254007362_a769011fbc.jpg
  • last photo ←
»
For this step you will need:
- Arduino Serial USB Board (www.sparkfun.com)
- USB cable
- 6 crocodile connectors
- Laptop or computer
- Processing installed on your computer (www.processing.org)
- Arduino software installed on your computer (www.arduino.cc)

You will need to know how to use the Arduino software environment to upload following code to your microcontroller. It will read the first 4 analog inputs and receive them via USB.

Following Processing application will read the incoming values from the Arduino's inputs and use the information to draw a line.
Input will be read as follows:
Analog INPUT 0 = Right foot TOES
Analog INPUT 1 = Right foot HEEL
Analog INPUT 2 = Left foot TOES
Analog INPUT 3 = Left foot HEEL

For Arduino microcontroller code and Processing visualization code please look here >> http://www.kobakant.at/DIY/?cat=347

Because each slipper is individual and depending on all the exact materials that you use and the way you sew them together, the range of variable resistance will be different for each sensor (right toe, right heel, left toe, left heel). This is why there is a threshold function in the processing applet.

**EASY THRESHOLDING NOW IMPLEMENTED**

There is a threshold function in the processing applet that allows you to set the MIN and MAX values of your sensor. These will be between 0 and 1023.

To find out what these thresholds are and to switch to the drawing function you will need to read the instructions in the code and follow them.

MIN threshold should be slightly above resting state and MAX threshold should be maximum value obtained when pushing as hard as possible on the Joy Slippers.

I'm currently developing different applications, also games for the Joy Slipper. I am also working on improving the slippers and would appreciate any feedback you can give me after having read though this Instructable.

Thanks and enjoy
« 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!
345
Followers
44
Author:Plusea