Products
Ozeki 10
Apps
Connections
SMS
Email
Gamepad
Arduino
Orientation
PBX VoIP Phone
Speech Engines
Split view camera
Autoconnect to Serial
Installation guide
Terms and Definitions
HTTP API
SMS
Bulk Messenger
Cluster
Developer tools
Robots
Hardware
Installer
Technology
Company


Ozeki 10
Arduino Arduino | PBX VoIP Phone PBX VoIP Phone

Orientation connection

Most of you already have an orientation sensor integrated in your smartphone or tablet. You can get the most out of the built-in accelerometer and gyro by using your device as an Ozeki 10 client. Do this by logging in through your browser. The phone collects measurements to the webbrowser's JS and forwards it to your own Ozeki 10 server, which is most likely running on a PC.

In this tutorial you will see how to add an orientation sensor manually and use it on your smart device, which has an integrated accelerometer and gyro. You will find the option available next to many other interesting connections. Keep in mind that your connections can work together in an IoT network, we call Ozeki 10.



Figure 1 - The orientation of your smart device can be detected and forwarded to your Ozeki 10 server

Follow these steps

STEP 1: Add Orientation sensor connection
STEP 2: Open Ozeki 10 on your smart device
STEP 3: Test Orientation sensor

Prerequisites

  • A smartphone or tablet with an orientation sensor
  • Ozeki 10 installed on your computer

How to add your orientation sensor

Most of you already have an orientation sensor integrated in your smartphone or tablet. Why not forward your device orientation data to an IoT network? An easy way to control software and hardware no man ever controlled before. Ozeki 10 can connect your orientation data to everything you have programmed or built.

Take in hand your Ozek 10 client, which can be a smartphone, tablet, PC or laptop. Using a mouse is the quickest way to reach your goal, which makes the PC the best choice to add your connections.

STEP 1: Add Orientation sensor connection

First you need to know that every connection can be viewed at a single place, called the 'Control Panel'. Simply start Ozeki 10 and reach the 'Control Panel' from the desktop GUI (Figure 2)

start Ozeki Control Panel
Figure 2 - Start 'Control Panel' from Ozeki 10's desktop GUI

Now that you are in the 'Control Panel', please click the big blue 'Create new Connection' button as seen on Figure 3. On the right side of the page a typeselector window will open. It provides various connection types.

Please select 'Sensor' (Figure 3).


Figure 3 - Click 'Create new Connection' and select 'Sensor'

The Orientation sensor works with JavaScript codes running in your browser.

Please select 'Browser sensor' (Figure 4).


Figure 4 - Select 'Browser sensor'

Finally select 'Orientation' (Figure 5) to enter sensor configuration.


Figure 5 - Select 'Orientation'

Click 'Ok' to create the 'Orientation' connection (Figure 6). You can set the threshold later on when testing the sensor.


Figure 6 - Create Orientation connection

You can see the connection added to the 'Connections' list (Figure 7).


Figure 7 - Orientation connection has been created

Basicly it is faster to add your connection with PC or laptop. Although the yellow exclamation mark will show that the Ozeki 10 client doesn't have an integrated accelerometer and gyro. If you have done STEP 1 on your smart device, you shouldn't see the yellow exclamation mark as seen above on Figure 7 and you can jump to STEP 3.

STEP 2: Open Ozeki 10 on your smart device

If you have worked on a PC like we did, please take your smart device in your hands. Shut down the firewall of the machine running Ozeki 10's service, so you can login through other devices. Look at the IP address and port number of your Ozeki 10 service (Figure 7, above) and type these details into your smartphone's browser.

On your smartphone or tablet you will find yourself on Ozeki 10's login screen. Please provide the same login credentials used before and click 'Ok' to continue (Figure 8). The smart device will serve as an Ozeki 10 client.


Figure 8 - Login to your smart device

STEP 3: Test Orientation sensor

Since you already started the 'Control Panel' in STEP 1. You will see it on the system tray. User states and settings are always stored by Ozeki 10, which means the state of the system tray and the icon positions are stored as well. Click on the icon (Figure 9) to find the orientation sensor connection you have already added to your Ozeki 10 server.


Figure 9 - Open the Control Panel from the system tray

On the connection list click the orientation sensor connection (Figure 10)


Figure 10 - Click on the Orientation sensor connection

On the sensor screen you can see the orientation of your tablet or mobile phone (Figure 11).


Figure 11 - Check the orientation of your phone or tablet

Forward orientation data

Later on you can route orientation data to any Ozeki 10 connection (Figure 12). You can choose from a huge list of connections to make routing to. Keep in mind that Ozeki 10 is a messaging platform. It can send messages between more and more connections of the IoT world. Although C# coding in Ozeki Robot Controller is the smartest way to create routes.


Figure 12 - You can route your orientation


Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Products > Ozeki 10 > Connections > Orientation
Legal | Privacy policy | Terms of use
Page: 5915 | Login | 18.205.176.85