Creating programs for the Internet of Things offers you an opportunity to build and program custom devices whose functionality is limited only by your imagination. This book teaches you to do exactly that, with solutions presented in a step-by-step format. When you read this book, you not only learn the fundamentals of device programming, you will also be ready to write code for revolutionising devices and robots.
You don't need to be an expert in low-level programming to benefit from this book. It explains basic concepts and programming techniques before diving into the more complicated topics. Each of the book's chapters and appendices contains a suitable level of detail to help you quickly master device programming.
MCP Dawid Borycki shows you how to:
- Build Universal Windows Platform (UWP) applications that target interconnected embedded devices
- Design and implement background apps for seamless integration with hardware components
- Use intrinsic UWP functionality to detect and track human faces
- Build artificial auditory, visual, and learning systems
- Process audio signals to blink LEDs to the rhythm of music
- Use OpenCV to develop custom image-processing algorithms
- Communicate with external devices by using serial, USB, Wi-Fi, and AllJoyn connectivity
- Design and implement applications to control DC, stepper, and servo motors for robotics
- Use Microsoft Cognitive Services to detect human emotions
- Build predictive analysis and preventive maintenance systems by using the Azure IoT Suite
Microsoft's new Internet of Things (IoT) technologies enable you to build and program custom devices with virtually any functionality you can imagine. Programming for the Internet of Things guides you step-by-step to mastery, helping you take full advantage of Windows 10 IoT Core, Azure IoT Suite, and all related elements of Microsoft's IoT solution.
Written by a leading embedded programmer and Microsoft technology expert, this guide covers both the essentials of device programming and the specific C# techniques you'll need to build and operate virtually any device or robot.
Dawid Borycki first explains how embedded programming differs from desktop, web, and mobile app programming. Next, he covers intermediate features such as reading data from sensors (e.g., temperature, humidity, acceleration), and communicating with other devices. He then proceeds to advanced material, including robot vision (image processing) and hearing systems (audio processing), and teaching robots to detect and report abnormal sensor readings. You'll learn how to program relatively simple devices such as distributed detectors -- and also how to program complex robot vision and environment monitoring systems.
Along the way, Borycki shows how to make the most of Windows 10 IoT Core, Universal Windows Platform, C#, C++/CX, XAML, Visual Studio 2015, serial communication (UART, USB, Wi-Fi, Bluetooth), AllJoyn connectivity, Microsoft's Azure IoT Suite and Azure Machine Learning cloud solutions, and OpenCV.
All code examples are presented in C#, and Borycki also shows how to interface modern .NET and UWP apps with unmanaged and legacy embedded code via C++/CX.