Here, we will be connecting Raspberry Pi as a gateway to IBM Watson IoT platform. Then Arduino Nano is connected to Raspberry Pi as a device. We acquire some device events from the Arduino Nano and send commands from IBM Watson to the device via the gateway.
In this part, we will be doing the preliminary settings to get started with the IBM Watson IoT platform.
Create an account in https://console.bluemix.net/catalog/services/internet-of-things-platform
Go to Catalog and Select Starter Kits
Select Internet of Things Platform Starter
This will create a Cloud Foundry App. Provide a unique name for the app.
Select Dashboard.
We will find an app and two services connected to the app.
Click on RaspberryGatewayNanoDevice-iotf-service
Launch the service
You will obtain a page as given below:
We have to create a device type to add the devices as a gateway or device.
Go to Devices and create a new device type.
After selecting the gateway and giving a unique name, create a device type by having other settings at default.
Then go to ‘browse’ and create a Device.
Select ‘Add Device’
Select the Device Type created previously and give a unique Device ID.
Keep other settings at default.
The auth token can be manually set or auto generated. Either way, ensure that it is noted down.
Here, we developed an IoT Platform starter project which created an app and two services. Then we created a device type and added Raspberry Pi to it as a gateway.
In Part – 2 of the tutorial, we will see how to communicate with a device connected to Raspberry Pi from IBM Watson IoT platform. We will be using Node-RED for the communication with the help of IBM specific nodes.
Fill in the details to know more
Layers Of IoT That You Should Know in 2022 | UNext
September 27, 2022
12 Major Applications of IoT You Should Know
June 6, 2022
Confused about IoT? Here’s how you can cut through the noise!
March 23, 2021
30 Best Internet Of Things Examples In 2021
March 6, 2021
Embracing The World Of Java And Internet Of Things: Useful 3 Step Guide For Beginners
August 20, 2020
Using the IoT to Bolster Operational Security
January 22, 2020
What Is the Use of Wrapper Class in Java?
March 22, 2023
What Is Clean Coding in Java?
March 21, 2023
What Are the New Features of Java 17?
What Is File Handling in Java?
March 16, 2023
What Is Data and Time Function in Java?
March 11, 2023
Top 10 Emerging Technologies Blogs To Read In 2023
December 15, 2022
Add your details:
By proceeding, you agree to our privacy policy and also agree to receive information from UNext through WhatsApp & other means of communication.
Upgrade your inbox with our curated newletters once every month. We appreciate your support and will make sure to keep your subscription worthwhile