Prerequisites:
Prior to adding sensors to ubiworx Lite on Intel Edison you will need the following:
1 * Intel Edison Board |
|
1 * Arduino Breakout Board |
|
1 * Power Supply |
|
1 * USB Serial connection cable |
|
Pre-install ubilinux™ on the Intel Edison Board |
|
Pre-install ubiworx™ on the Intel Edison Board |
|
A ubiworx broker account |
|
Register the Edison Gateway on ubiworx broker |
|
1 * Serial Temperature Sensor |
|
1 * Bread Board |
|
1 * LED |
|
Assorted bread board connector cables. |
|
Any web browser running on your computer |
How to wire the sensor to the board:
Connect the USB temperature sensor to the USB port on the Arduino board.
Place the LED on the breadboard and connect it to GPIO Pin 3 on the Arduino board.
Ensure the USB setting on the board is set to the standard USB setting.
How to add Sensors to the Gateway:
Once logged in the ubiworx broker interface will be displayed as below. |
|
Ensure the gateway is connected to the cloud and then click on its name to display the Sensor Dashboard. |
|
To register a new sensor click the Add button on the ubiworx Sensors/Actuators menu. |
|
Select a Sensor Type from the drop down. In this example choose ser_temp. Type:
Choose Sensor
Name:
Name of the sensor
Unique ID:
Unique identifier for this sensor. This must be unique to this gateway.
Hardware Address:
Identifies the address where the sensor is connected. The default is ok for this sensor. (See examples in the Documentation section)
Range:
Set the min and max vale range for the sensor.
Click the Save button once complete. |
|
How to add Actuators to the Gateway:
To register a new actuator click the Add button on the ubiworx Sensors/Actuators menu. |
|
Select a Sensor Type from the drop down. In this case for the LED choose gpio_edison Type:
Choose Actuator
Name:
Name of the actuator
Unique ID:
Unique identifier for this sensor. This must be unique to this gateway.
Hardware Address:
Hardware Address in this case change to 3 to match the breadboard.
Range:
Set the min and max vale range for the sensor. In this case 0 or 1 (On or Off).
Click the Save button once complete. |
|