Full Blogpost with instructions and diagrams @ pjdecarlo.com
Windows 10 IoT Core was created to build powerful solutions on low-powered devices with the potential to bridge the physical world into the nearly endless power of the cloud. It offers a world of synergistic opportunity within the Microsoft ecosystem, which includes technologies such as Visual Studio, .NET, and Microsoft Azure. All of this is available on a variety of devices including the ever popular Raspberry Pi 2, a $35 computer with 1 GB RAM, quad-core processor, 4-port USB hub, and HDMI out. And get this, all of this comes packed on a machine about the size of a credit card at a little over 1.5 inches thick. This little computer also boasts a GPIO hub or General Purpose Input / Output. This GPIO hub can allow you to take readings from the physical world and even perform operations on physical devices that create actions in the real-world.
Okay, you get the picture, big opportunity, small package, can perceive and effect the physical world... How can this change your life or the world for that matter?
That all depends, what is the problem that you wish to solve?
In this case, I decided to pay attention to a problem that is encountered very often, especially in college campuses and in the realm of night-life entertainment. Have you ever known someone to have too much to drink to where it might pose a problem for yourself or others? We have kiosks which will display arcade games and such, but that really just passes the time. What if we had an internet connected device that could track your alcohol consumption? We could identify those who are at risk, or even on their way to becoming a risk to themselves and/or others and intervene.
In this project, we will look at creating an internet connected breathalyzer with cloud-based reporting and logging. From a technical perspective, this project will introduce us to using an analog sensor for detecting alcohol and a standalone LCD screen for prompting a user with instructions. We will tie information gathered from the sensor up to an external interface that logs results and displays them locally while also storing into an Azure Mobile Service.
You may have heard that Windows 10 IoT Core runs Universal Windows Platform apps, meaning that our code should potentially run across any device that supports the Windows 10 Core APIs including Windows Mobile, Xbox One, Windows 10 desktop and potentially Hololens. As such, this implies that it should be able to support UWP controls offered by third parties. We are going to include a charting package from SyncFusion to prove that this is in fact possible.
Note: *Accuracy of this device is not guaranteed. Any replication of this device should be considered as a novelty and not a substitute for more scientifically accurate or legally acceptable methods of measurement
- Visual Studio (Community Edition or above)
- A PC configured to develop for Window IoT Core
- A Raspberry Pi configured for Windows IoT Core
- A Microsoft Azure account
- Syncfusion Essential Studio for UWP (Now FREE as part of recently announced Community Licensing)