GMU:Dataflow/Jam session/Ayla Güney: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 19: Line 19:
So I used two of these modules: One on the sensing and one on the retrieving site.
So I used two of these modules: One on the sensing and one on the retrieving site.


b)
b) Distance meassuring part (Weimar)
microcontroller 1 was connected with the Hc-Sr04 distance sensor ([http://www.micropik.com/PDF/HCSR04.pdf]). It was meassuring the movement of the metal plate that was created whenever there was a car passing by. The code below contains already the hosting information for the data transfer. More information on that  under e)
microcontroller 1 was connected with the HC-SR04 distance sensor ([http://www.micropik.com/PDF/HCSR04.pdf]). It was meassuring the movement of the metal plate that was created whenever there was a car passing by. The code below contains already the hosting information for the data transfer. More information on that  under e)<br>


Hardware
[[File:distance sensor and code_Steckplatine.jpg|400px]]
[[File:distance sensor and code_Steckplatine.jpg|400px]]


arduino code:
arduino code:<br>
[[:File:Sending Distance Sensor Meassurements.txt]]
[[:File:Sending Distance Sensor Meassurements.txt]]




c) retrieving part with servo motor (hardware + software)
c) retrieving part with servo motor (Berlin)<br>


[[File:Servo motor and receiving site_Steckplatine.jpg|400px]]
[[File:Servo motor and receiving site_Steckplatine.jpg|400px]]
Line 40: Line 39:




d) webhost FIREBASE
d) webhost FIREBASE<br>
data from the distance sensor in Weimar was sent in real-time to the webhost [https://firebase.google.com/] and from there to the servo motor in Berlin
data from the distance sensor in Weimar was sent in real-time to the webhost [https://firebase.google.com/] and from there to the servo motor in Berlin


view of host site
view of host site
[[File:Firebase.JPG|400px]]
[[File:Firebase.JPG|400px]]