9

I want to get started implementing IoT stuff. I do not have experience with it so far, but am learning fast.
I am imagining my setup as follows:

Proposed Setup

Different wireless sensors (Temperature, Humidity, ...) should be connected to an IoT Gateway via BL (or BLE). The IoT Gateway should push the sensor information to an Open-Source IoT Platform - probably via Wi-Fi & MQTT. The Open-Source IoT Platform should feature a Rule Engine & expose a REST API.

Hardware

  • Arduino Uno R3 with DHT22 (Temperature Sensor) & HC-05 (Bluetooth Slave) as my Sensor.

  • Raspberry Pi 3B with HC-05 (Bluetooth Master) as IoT Gateway.

  • IoT Platform should be hosted in the Cloud on AWS or somewhere.

Questions:

  • Is this setup feasible and does it make sense?
  • What Software to use for the IoT Gateway?
  • Is the IoT Gateway software dependent on the IoT Platform that I use?
  • What Open Source IoT Platform to use?

I was thinking about "thingworx", as it is kind of the biggest one. "Kaa" does not have a rule engine as far as I read. "thingboards.io" also looks really nice from what I can see.
What steps do I need to take to implement this? How do I actually do this?

While these questions might be rather specific, keep in mind, I have absolutely no idea about this stuff. I don't own anything besides the Raspberry Pi 3B - which I won at a hackathon and haven't used so far.

Once I have the information in the IoT Platform and can access it with REST (or can publish it from the platform to an MQTT Broker), I will be able to implement my application. Ideally the setup would allow me to change the IoT Platform with minimal effort. I mean that's what standards (IoT Gateway, Bluetooth, MQTT) are for, right?

P.S.: IoT Gateway and IoT Platform tags are missing

HideAndSeek
  • 251
  • 1
  • 4

1 Answers1

4

There a million ways to skin this cat. Best for you at this stage to just try to get something working. Beyond that you can worry about "right" and "suitable" ways.

Your setup is feasible and makes sense.

Maybe you're running into trouble because you're expecting to find some software off the shelf? Since the DHT22, the Uno, the HC-05 and the Pi are all disparate devices with their own particular requirements, it's highly unlikely you'll find something plug and play. That's okay, it just means you have to write the glue software yourself.

Consider each of the interfaces from sensor to cloud and tackle each one in turn. Start by getting the Uno polling the DHT22 for a value. Then get the Bluetooth comms working. Then the Wifi and MQTT. Fire up Thingworx and ingest some MQTT packets. Then put it all together. You'll find lots of examples of each bit, so concentrate on one at a time.

Heath Raftery
  • 683
  • 3
  • 7