The TTM Device is a temperature and humidity sensing device created on an ESP8266 12F and uses the IoT JumpWay for its device-to-device communication. Following this tutorial will result in the breadboard TTM you see in the image below, in a future tutorial I will show you how to create the circuit shown on the right.
- Arduino IDE (I used 1.8.4)
- ESP8266 (I used 12F)
- USB Programmer
There are a few tutorials that you should follow before beginning, especially if it is the first time you have used the TechBubble IoT JumpWay Developer Program. If you do not already have one, you will require a TechBubble IoT JumpWay Developer Program developer account, and some basics to be set up before you can start creating your IoT devices. Visit the following IoT JumpWay Developer Program Docs (5-10 minute read/setup) and check out the guides that take you through registration and setting up your Location Space, Zones, Devices and Applications (about 5 minutes read).
- Follow the TechBubble Technologies IoT JumpWay Developer Program (BETA) Location Application Doc to set up your IoT JumpWay Location Application.
- Setup an IoT JumpWay Location Device for each IP camera you will be connecting to, and / or your Realsense camera. For this example, we only require the device ID for each camera, we will not be using the MQTT details for each camera as the application is capable of sending data on behalf of any device in its location. Follow the TechBubble Technologies IoT JumpWay Developer Program (BETA) Location Device Doc to set up your devices.
For this version of the setup instructions I will just give you the pin connections I used and explain the process using a FocaV2 programmer, but any programmer of that type should work, if you have a different version and try this out feel free to let us know how it went.
- Install Arduino, tested with 1.8.4: Visit arduino.cc If you have the option to download from Windows Store I suggest against this, I ran into a number of issues when I wanted to move the locations of the default folders or access the files, I suggest downloading the zip where possible.
- Install ESP8266 Arduino: ESP8266 core for Arduino Docs Follow the instructions provided here (Installing with Boards Manager).
- Install the following libraries in Arduino IDE PubSubClient, ArduinoJson, DHT.
You will need to clone the IoT-JumpWay-Arduino-Examples repository to a location on your device. Visit the repository on the following link and clone or download the repo to the location of your choice. If you already have a copy of the repo you can sync your local version to retrieve the latest files.
Once you have your local copy, navigate to the ESP8266/TTM folder to find the code
The TTM sends the temperature and humidity every 3 minutes as Sensor Data to the TechBubble IoT JumpWay. You will be able to access the data in the TechBubble IoT JumpWay Developers Area. Once you have logged into the Developers Area, visit the TechBubble IoT JumpWay Location Devices Page, find your device and then visit the Sensor Data pages to view the data sent from the device, you can also see the device sleeping and waking up every 3 minutes in the status data.
Please feel free to create issues for bugs and general issues you come accross whilst using the IoT JumpWay Arduino Examples. You may also use the issues area to ask for general help whilst using the IoT JumpWay Arduino Examples in your IoT projects.