135
edits
No edit summary |
No edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 55: | Line 55: | ||
Here you can check the [https://vimeo.com/167719503 video] of a test I've done with the stretch sensor I choose to work with, and [https://github.com/AlineMa/Sensor_Hack_Lab/blob/master/Playing_Tone_1Input here] is the code. | Here you can check the [https://vimeo.com/167719503 video] of a test I've done with the stretch sensor I choose to work with, and [https://github.com/AlineMa/Sensor_Hack_Lab/blob/master/Playing_Tone_1Input here] is the code. | ||
After play with my sensor, the next step it was to design 2 sensors in the same garment, therefore I used a Junior Knitting Machine. | |||
[[File:Textile sensor8.jpg ]] | [[File:Textile sensor8.jpg ]] | ||
As you see in my sleeve prototype I have one sensor in the wrist and another in the elbow. | |||
Here you [https://github.com/AlineMa/Sensor_Hack_Lab/commit/e459d411554756dcb22ebda8e9bad4ec937ee2c7 have] the code I used to generate tone sounds out of two inputs | |||
[[File:Tests5.jpg]] | [[File:Tests5.jpg]] | ||
Since the beginning I was expecting to learn more about Arduino and Processing so I've decided to have visualisation as output. I mean that by moving my wrist and elbow it will be generated images on the screen. | |||
[[File: Visualisation.jpg]] | [[File: Visualisation.jpg]] | ||
[[File: | I used this code to understand how to connect Arduino with Processing | ||
https://learn.sparkfun.com/tutorials/connecting-arduino-to-processing | |||
But this code didin't work when I decided to work with 2 inputs | |||
http://mycours.es/gamedesign2013/analog/ | |||
http://forum.arduino.cc/index.php?topic=40350.0 | |||
https://processing.org/discourse/beta/num_1169812504.html | |||
https://processing.org/discourse/beta/num_1193069410.html | |||
http://www.instructables.com/id/Arduino-to-Processing-Serial-Communication-withou/ | |||
It was with this code I made the communication with two sensors work properly and than I had only to re-write do code in order have the output I was expecting. | |||
http://www.instructables.com/id/Arduino-Serial-Data-Plotter/ | |||
My code right now is like [https://github.com/AlineMa/Sensor_Hack_Lab/commit/abd4219d936e4755c5d50d9cefa718e92a854609 this] | |||
[[File:Costume.jpg|450px]] | |||
[[File:Costume2.jpg]] |
edits