GMU:Sensor Hacklab/Aline Martinez: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 67: Line 67:


[[File: Visualisation.jpg]]
[[File: Visualisation.jpg]]
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:Tests7.jpg|300px]]
[[File:Tests7.jpg|300px]]