GMU:Dataflow/Jam session/Ayla Güney

From Medien Wiki
< GMU:Dataflow‎ | Jam session
Revision as of 20:52, 23 April 2017 by Ayla (talk | contribs)

An unremarkable continuous event in public space caused by passing cars in Weimar triggers an equal- ly mundane event in the exhibition space in Berlin. A distance sensor sends measurements of slight mo- vements over the Internet while a servo motor trans- lates these measurements back into another type of movement.


Technical aspects

Hardware


a) 2 microcontrollers with wifi (2 x mini USB, 2 x Powerbank (5V), jumperwire, 330 ohm + 470 ohm resistors) b) distance sensor c) servo motor


Software d) Codes for distance sensor and servo motor e) web-hoster for data transfer


a) There are several possibilities for microcontrollers. Instead of using a expansive arduino wifi module I decided to go first with a SIM 800L ([1]) as I was coming across with hardware failures of that module, I decided to try out WEMOS D1 mini ([2]). This module has great functions as you can directly hook up sensors on it (but also you can do a lot of different stuff with it, see here:[3]). The great thing about them is that they are easy to use because you can work with the Arduino IDE on it, they are small, they come with wifi (ESP 8266 chip) and they are cheap (check out aliexpress.com). So I used two of these modules: One on the sensing and one on the retrieving site.

b) microcontroller 1 was connected with the Hc-Sr04 distance sensor ([4]). 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)

Hardware Distance sensor and code Steckplatine.jpg

arduino code: File:Sending Distance Sensor Meassurements.txt