Step 7Hooking Up to your Computer and Running the Drawing Application
- 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 Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|



















































