Book Image

Internet of Things with Arduino Blueprints

By : Pradeeka Seneviratne
Book Image

Internet of Things with Arduino Blueprints

By: Pradeeka Seneviratne

Overview of this book

Table of Contents (15 chapters)
Internet of Things with Arduino Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Defining a new device


Now, you can define a new device with the NearBus cloud connector. In this chapter, we will work with the Arduino Ethernet board. If you have an Arduino Ethernet Shield, you can stack it with an Arduino board and test it with the samples provided in this chapter.

  1. On the NearBus website menu bar, click on New Device. You will be navigated to the NEW DEVICE SETUP page.

  2. You can enter a value for each parameter and the only mandatory field is SHARED SECRET. It is eight characters long. Other fields are optional.

    DEVICE NAME (Maximum 18 characters)

    Arduino Ethernet

    LOCATION

     

    FUNCTION

     

    SHARED SECRET

    12345678

    PIN

     

    CALLBACK SERVICE

     

    DEVICE IDENTIFIER

     

    DEFAULT REFRESH RATE [ms]

     
  3. Click on the Setup button.

Examining the device lists

After setting up the new device, you will navigate to the DEVICE LIST page. The NearBus system will assign a DEVICE ID to your new device and display your device name under the device alias. However, your new device will not...