> Hall Effect Sensor and Neodymium Magnet Getting started (step 4, install drivers) > ĭifferent Sensors to Test Simple Fabric Pressure Sensors (eeonyx, velostat)Ĭapacitive sensing on Teensy > Skin conductance as contact switch When we want to re-program the Teensy from being a Joystick, to being a computer mouse, we’ll need to update the hardware (re-plug new sensors into sockets), and the code on the Teensy. Transitioning from JoyStick Test Setup to Mouse Setup As the mouse inters the window space it will start to manipulate the squares. Navigate the mouse cursor to this window. Run the sketch by pressing the “play” button in the top left corner of the processing screen. Once installed, to test that processing is working, open up the “Examples” menu, and select the “Basics” –> “Input” –> “Mouse2D” sketch. Joystick.button(num, 0) // Release button “num” (1 to 32) Download and Install Processingģ2 bit download link > Open the example Mouse2D Joystick.button(num, 1) // Press button “num” (1 to 32) Joystick.Y(value) // 512 is resting position Joystick.X(value) // “value” is from 0 to 1023 Each takes a number from 0 to 1023, where 512 is the center or resting position. There are six functions to control the Joystick’s 6 axes. A processing sketch will then graph the values of these 6 analog inputs. To test the sensitivities and ranges of the various sensors, an easy way to visualize analog input will be to program the Teensy to appear as a joystick when plugged in, because a joystick HID device has 6 analog inputs. We would like to thank Edupro for their interest and support in the work. The initial idea was to look at building fabric pressure sensors to achieve this goal, but we have now expanded to look at a variety of sensing techniques to capture very light touch of fingertips. The sensor input is mapped to control the movement (up, down, left and right) and left and right button clicks of a computer mouse. The aim is to build a series of sensors that react to very light touch and allow the user to have control over a very small ranges of pressure (less than 10g) exerted by the fingers. This work is a collaboration with Michael Huehmer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |