Building IoT Devices The Easy Way

Do you have a Raspberry Pi? What is it being used for right now? If you’re like the majority of people who replied to [Michael Hall’s] poll on Twitter, it’s likely yours is sitting on a shelf doing nothing too. So why not just turn it into an IoT device for your home?

[Michael] wrote an easy-to-follow guide focusing on getting the EdgeX Foundry IoT platform running on the Raspberry Pi. It is designed to be a unified multi-platform base for IoT devices hosted by the Linux Foundation, making it easy to control and integrate them into other systems. The framework for this consists of two parts, a Device Service running on your Pi, and the rest of the services running on a desktop or laptop where you’ll be monitoring it.

His guide goes into detail on how to get both parts working on your computer and your Pi using Docker for ease of installation. As for the IoT device, he uses the built-in PIR sensor example to show how to configure it without having to write any programming. You can then monitor the device’s sensors, which you can just connect straight to the Pi’s GPIO pins, from your desktop. Since the EdgeX software is designed to run on any flavor of Linux, this should make it easy to repurpose any forgotten single-board computer into the beginnings of a home automation system.

However, if you are confident in your programming skills, you’re probably looking for something slimmer such as the ESP8266 family of microcontrollers to do your bidding. Why not try an energy monitor or a smoke detector project with them?

7 thoughts on “Building IoT Devices The Easy Way

  1. Seems this is heading a good direction, but without having read the link yet, the “…rest of the services running on a desktop”. If I have a pi running automation services, why do I need/want to have need to keep a dedicated desktop/laptop running? If I want an ‘easy button’ pi deployment, I’d rather it be a on-stop shop, and take on all of it. Could/should just be a web UI exposed beyond the pi, for mgmt/service calls/api interactions(?).

Leave a Reply to Michael Hall Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.