(616) 371-1037

   [email protected]

Controlling lighting with a Raspberry Pi

April 3, 2016 - John Waters

No Comments

Today I had a lot of fun cobbling together lots of the puzzle peices of the Internet of Things (IoT), Cloud and Mobile that everyone is talking about.

My project allows a Raspberry Pi 3 running Windows IoT to control 12V landscape lighting, using a relay. But wait, there’s more! I also wrote a Xamarin Android app, that controls the Pi, via a service deployed to the Azure Cloud. When you press On or Off on the app, it calls a Web API in the cloud, which uses the SignalR technology to push out a message to the Pi. The Pi has already hooked up to the SignalR hub and is waiting for messages. When it gets the message it acts accordingly on the light.

One of the coolest things, is I wrote all parts of this in C# in Visual Studio! Yepp, Windows Embedded development, Android development and Cloud App development, all in one solution!

See a demo here

Share this article

John Waters

Leave a comment

Your email address will not be published. Required fields are marked *