IoT – Raspberry Pi2 and hc-sr04

Lately I discovered IoT and Clayster for my self.

One good way to learn new things is to resolve some problem using new technology. So I thought to build system detects is somebody is behind in my display. And I’d like to detect it over XMPP.

So for prototyping Raspberry Pi is suitable piece of hardware. Also I used ultrasonic sensors – hc-sr04

2015-05-27 15.34.52

 

Connected with RP using schema

hc-sr04-tut-2

Source: http://www.modmypi.com/blog/hc-sr04-ultrasonic-range-sensor-on-the-raspberry-pi

 

And I can read readings over XMPP

 

 

 

 

 

Screenshot 2015-05-27 15.30.55

 

And finally the most coolest thing – HomeArena by Clayster

Screenshot 2015-05-28 13.15.54