89
edits
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
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> | 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> | ||
[[File:distance sensor and code_Steckplatine.jpg|400px]] | <br>[[File:distance sensor and code_Steckplatine.jpg|400px]]<br> | ||
arduino code:<br> | arduino code:<br> | ||
[[:File:Sending Distance Sensor Meassurements.txt]] | [[:File:Sending Distance Sensor Meassurements.txt]]<br> | ||
c) retrieving part with servo motor (Berlin)<br> | 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]]<br> | ||
arduino code: | arduino code: | ||
[[:File:move servo to firebase data.txt]] | [[:File:move servo to firebase data.txt]]<br> | ||
edits