ECER Technology
TiltCONTROL AND CONTROL-EMUL8R USER MANUAL

2.1 Installing the TiltCONTROL Software Drivers
2.2 Connecting the TiltCONTROL
2.3 Calibrating the TiltCONTROL
2.5 Using the Calibration Wizard
2.5.3 Minimum Vertical G Calibrate Screen
2.5.4 Maximum Horizontal G Calibrate Screen
2.5.5 Maximum Vertical G Calibrate Screen
2.5.6 Minimum Horizontal G Calibrate Screen
2.6 Using the Manual Calibration
2.6.1 Horizontal and Vertical Sensitivity
2.6.2 Horizontal and Vertical Offset
3 How the CONTROL-EMUL8R Software operates
3.1 How does the CONTROL-EMUL8R work
3.1.1 Calculating the Control Percentage
3.1.2 Parameters of each type of Control Emulation
3.1.3 Different types of Control Emulation explained
4 Creating your own custom Plugins
4.1.2 Calibrate Recommendation Screen
4.1.3 Control Type selection Screen
4.1.4 Emulation method and parameters screen (Stylus Control type)
4.1.5 Select Control Area screen (Stylus Control type)
4.1.6 Set Min Horizontal Threshold screen (Stylus Control type)
4.1.7 Set Min Vertical Threshold screen (Stylus Control type)
4.1.8 Select Zero Control Angles screen (Stylus Control type)
4.1.9 Select Control Sensitivity screen (Stylus Control type)
4.1.10 Digital Filter Length screen (Stylus Control type)
4.1.11 Reverse and Disable parameters screen (Stylus Control type)
4.1.12 Test TiltCONTROL screen (Stylus Control type)
4.1.13 Emulation method and parameters screen (Arrow Keys Control type)
4.1.14 Set Zero Control Position screen (Arrow Keys Control type)
4.1.15 Set Horizontal Sensitivity screen (Arrow Keys Control type)
4.1.16 Set Vertical Sensitivity screen (Arrow Keys Control type)
4.1.17 Set Min Horizontal Threshold screen (Arrow Keys Control type)
4.1.18 Set Min Vertical Threshold screen (Arrow Keys Control type)
4.1.19 Set Max Horizontal Threshold screen (Arrow Keys Control type)
4.1.20 Set Max Vertical Threshold screen (Arrow Keys Control type)
4.1.21 Digital Filter Length screen (Arrow Keys Control type)
4.1.22 Reverse and Disable parameters screen (Arrow Keys Control type)
4.1.23 Test TiltCONTROL screen (Arrow Keys Control type)
4.1.25 Save Configuration setting screen
4.2 Using the Manual method for creating a Plugin
6.1 Disabling and enabling a Plugin
7 Editting or creating a new Plugin
Welcome to the CONTROL-EMUL8R User Manual. The purpose of this manual will be to guide you through using the CONTROL-EMUL8R software for the first time, to using all of the advanced features of the software product. For a shorter introduction on how to use the CONTROL-EMUL8R, a Quick Start Guide is available from www.ECERTech.com, which covers the bare minimum needed to get started.
The TiltCONTROL and CONTROL-EMUL8R User Manual will cover the following sections in more detail.
By now you have probably purchased your new TiltCONTROL device and are ready to try it out with the CONTROL-EMUL8R software. If you haven’t already purchased a TiltCONTROL device then I suggest that you do so, because this software is not nearly half as much fun without one.
Once you have read this guide you will be familiar with how the TiltCONTROL connects to your PDA, and the calibration process involved in getting set up for the first time. You will also be guided through the processes of Installing a Plugin, and Creating a Plugin for the CONTROL-EMUL8R with some examples.
Now that you have unpacked your TiltCONTROL and are ready to get tilting, first you must install the TiltCONTROL software drivers on your PDA so it will recognize the TiltCONTROL. The software needed to use the TiltCONTROL can be downloaded from www.ECERTech.com/downloads.aspx. Once you have downloaded the latest version of the software, run the setup program and follow the installation steps provided.
Once you have installed the CONTROL-EMUL8R application software you will be ready to connect your TiltCONTROL device to your PDA and test out the software. Follow the steps below to test that your TiltCONTROL device is operational.
1. Turn your PDA on, and run the EMUL8R Settings application software by selecting Programs from the START menu, then select the TiltCONTROL folder then the EMUL8R Settings program icon.
2. Press the TiltCONTROL Settings button, then the Manual Calibration button.
3. Connect the TiltCONTROL device to the bottom of the PDA.
4. If your TiltCONTROL device is operational then you should be able to tilt the PDA and the values in the Sensor Readings section will change.
Now that you know the TiltCONTROL is operational, you must calibrate it.
You can calibrate the TiltCONTROL device by using the Calibration Wizard or by using the Manual Calibration. It is recommended that you use the Calibration Wizard for the first time when calibrating, as it steps you through the calibration process. Once you know and understand the calibration process you can use the Manual Calibration process, because it is much faster and easier to perform.
The calibration process is a simple one and should only need to be performed once, when the TiltCONTROL device is first connected.
There are two ways to calibrate the TiltCONTROL, either via the Calibration Wizard or via the Manual Calibration.
The following sections will explain how to use both calibration methods.
The Calibration Wizard will take you through the calibration process step by step. To start the Calibration Wizard press the Calibration Wizard button from within the TiltCONTROL Settings application. Each of the pages of the wizard is explained in detail in the following sections.
The Welcome screen as shown in Error! Reference source not found. will require you to verify that your TiltCONTROL device is actually connected to your PDA and that it is operating correctly. You will do this by tilting the device up and down and from side to side to verify that the Sensor Readings are changing with respect to the tilt of the device.
Figure 2‑1 Welcome screen

Click the Next button once you have finished.
The Zero G Calibrate screen as shown in Figure 2‑2 is where you will calibrate the device for Zero G condition. Zero G condition is when the TiltCONTROL device is in the position where it should not experience any horizontal or vertical acceleration forces. This position is when the PDA and the TiltCONTROL device are placed on a flat surface so that the screen of the PDA is facing upwards and the axes of the Accelerometer in the TiltCONTROL are perpendicular to the earth’s gravitational forces. The position that the PDA and TiltCONTROL should be positioned in for Zero G Calibration are shown in Figure 2‑3.
Figure 2‑2 Zero G Calibrate screen

Figure 2‑3 Zero G Position

Once you have placed the PDA and TiltCONTROL in the Zero G position, press the Zero G Calibrate button to calibrate the device.
To test that the device has been correctly Zero G calibrated, place the PDA in the Zero G position and the Sensor Readings should read zero degrees. If they do not then repeat the process just described or contact ECER Technology for support.
Click the Next button once you have finished.
The Minimum Vertical G Calibrate screen as shown in Figure 2‑4 is where you will calibrate the device for the Minimum Vertical G condition. The Minimum Vertical G condition is when the TiltCONTROL device is in the position where it should experience the greatest negative vertical acceleration force, which will be -1 G or -90 Degrees. This position is when the PDA and the TiltCONTROL device are held in the orientation shown in little picture above the Minimum Vertical G Calibrate button. Once you have placed the PDA and TiltCONTROL in the Minimum Vertical G position, press the Minimum Vertical G Calibrate button to calibrate the device.
Figure 2‑4 Minimum Vertical G Calibrate screen

To test that the device has been correctly Minimum Vertical G calibrated, place the PDA in the Minimum Vertical G position and the sensor readings for the vertical tilt, should read -90 degrees. If it does not read the correct values then repeat the process just described.
Click the Next button once you have finished.
Repeat the same process as explained for the Minimum Vertical G Calibrate screen, except hold the device in the same direction as shown in the little picture shown on the screen.
Repeat the same process as explained for the Minimum Vertical G Calibrate screen, except hold the device in the same direction as shown in the little picture shown on the screen.
Repeat the same process as explained for the Minimum Vertical G Calibrate screen, except hold the device in the same direction as shown in the little picture shown on the screen-Test TiltCONTROL Screen
The Test TiltCONTROL screen as shown in Figure 2‑5 is where you will test the calibration of the TiltCONTROL. If you press the Test TiltCONTROL button a screen will appear as shown in Figure 2‑6. To test the operation of the TiltCONTROL an arrow will be displayed on the screen that will move around the screen when the device is tilted. The arrow should move in the direction that the device is tilted.
Figure 2‑5 Test TiltCONTROL

Figure 2‑6 Test TiltCONTROL screen

The Manual Calibration allows you to set the same values by pressing buttons as in the Calibration Wizard; however it also allows you to set the actual values for the calibration parameters that are used. To start the Manual Calibration press the Manual Calibration button from within the TiltCONTROL Settings application. The Manual Calibration screen will look like the screen shot shown in Figure 2‑7. Each of the parameters of the Manual Calibration is explained in detail in the following section.
Figure 2‑7 Manual Calibration screen

The Horizontal and Vertical Sensitivity parameters are the parameters that are used to calibrate for maximum and vertical horizontal and vertical G positions.
The values on the left hand side of the two rows of parameters are used to set the minimum horizontal and maximum G positions respectively.
The values on the right hand side of the two rows are used to set the maximum horizontal and maximum G positions respectively.
You can either change these values manually or you can press the PDA position icons at the bottom of the screen to set the respective parameters. To use the PDA position icons to set the parameters simply place the PDA in the same orientation as shown in the icon, and press the icon. You should see a change in the parameter values when the icon is pressed.
The Horizontal and Vertical Offset parameters are the parameters that are used to calibrate for the Zero G position.
You can either change these values manually or you can place the PDA in the Zero G Calibrate position and press the Zero G Calibrate button.
Now that you have calibrated the TiltCONTROL device it is time to get started with the fun stuff, setting up and using the CONTROL-EMUL8R software. The following sections of this manual will explain how the CONTROL-EMUL8R software operates, and how you can set it up to work with any application that uses the Stylus, D-PAD or Buttons.
CONTROL-EMUL8R is a program that runs all of the time, in the background on your PDA and monitors what program is currently being used. If you have a CONTROL-EMUL8R Plugin installed for a specific program, such as a game for example, and that game is running then the CONTROL-EMUL8R will load that Plugin and allow you to use the TiltCONTROL to control the program.
A CONTROL-EMUL8R Plugin specifies how the TiltCONTROL will control the PDA, for a specific application. It will specify whether the TiltCONTROL will emulate the arrow keys or the stylus to control the application, and what sensitivity levels and thresholds will be used for these controls. There are numerous Plugins already available for download from www.ECERTech.com. And if you have an application that you want supported, please send an email to support@ecertech.com, and we will look into creating a Plugin for your application. Alternatively you can create your own Plugin using the Plugin Creator, which is installed with the CONTROL-EMUL8R. With the Plugin Creator you can start with an existing Plugin and modify it, or start with a completely blank framework. The following sections will explain in details how you can create your own Plugin.
When you first installed the CONTROL-EMUL8R you would have been asked if you would like to install the latest Plugins. If you selected YES, then the latest set of Plugins available from www.ECERTech.com would have been installed on your PDA. If you selected NO then you will need to reinstall or go to www.ECERTech.com and download and install one or more of the Plugins available.
· Once a Plugin has been installed, all that you need to do is start the application that the Plugin is setup for and insert the TiltCONTROL into your PDA. As soon as the program has been started the CONTROL-EMUL8R will detect the application is running and start controlling the PDA with the TIltCONTROL.
NOTE: You will still be able to control your PDA with normal controls swell.
· As a simple example, to test out the operation of the TiltCONTROL and the CONTROL-EMUL8R, try the Notes Plugin. The Notes Plugin can be downloaded from www.ECERTech.com, or it would have been installed on your PDA if you selected to install the latest Plugins at install time.
· The Notes Plugin will start emulating the stylus when a new note is opened in Notes.
· To test the Notes Plugin, simply start up Notes, open a new note and insert the TiltCONTROL into the PDA. You should be able to move the PDA around and see the lines appear as if you were using the stylus.
· If the PDA is not responding to the TiltCONTROL’s movements then it may be because of one of the following:
Start->Programs->TiltCONTROL-> EMUL8R Settings, and making sure that the Disable CONTROL-EMUL8R checkbox is not selected.
TIP: It is recommended to have the TiltCONTROL disconnected if the CONTROL-EMUL8R is emulating the stylus, and you also want to use the stylus yourself, or else it will conflict with you trying to use the stylus to select items.
First of all it is a good idea to understand the theory behind how the CONTROL-EMUL8R Plugins work. Once you understand the basics of how and why the CONTROL-EMUL8R software emulates the controls the way it does, it will make it a lot simpler and easier for you to create and edit your own Plugins.
The CONTROL-EMUL8R software uses the sensor readings from the TiltCONTROL to emulate one of the several Human User Interface devices available on your PDA. These Human User Interface devices include the Stylus, the D-PAD (or the arrow keys on your virtual keyboard) and the hardware buttons or keys available on your PDA and virtual keyboard.
The CONTROL-EMUL8R software does this by sampling the sensor readings from the TiltCONTROL at a rate that can be specified by you within the calibration process, then converting the sensor readings into a control percentage, which is calculated based on different control parameters that you will specify during the setting up of the CONTROL-EMUL8R. This control percentage is then used to emulate the control type that you choose to emulate.
Q. So how is the control percentage calculated from the sensor readings, and how does the control percentage relate to the control of the emulated Human User Interface?
A. Lets take a look at the sensor readings first. If the device is tilted to the left, which is along the horizontal axis, then the Horizontal sensor reading will be a negative value, representing a degree of tilt in the negative direction. Conversely if the device is tilted to the right, which is also along the horizontal axis, then the horizontal sensor reading will be a positive value, representing a degree of tilt in the positive direction. This is also the same for tilting the device up and down, which is along the vertical axis where tilting the device up gives a positive vertical sensor reading and tilting the device down gives a negative vertical sensor reading.
Once the sensor readings are known, the control percentage can be calculated. The details of the how the control percentage is calculated will be explained a little later, however the basic relationship between the sensor readings and the control percentage will be explained now.
In the most simple case if the vertical or horizontal sensor reading is zero then the vertical or horizontal control percentage will also be zero respectively, and if the sensor reading is negative then the control percentage will be negative and vice versa for positive readings. In most other cases the control parameters, that you must specify when creating a CONTROL-EMUL8R Plugin, will introduce more complexity into the control percentage calculation, however the same principles will apply, that the control percentage will be proportional to the sensor readings.
Q. So how is the control percentage calculated?
A. First of all we need to look at the parameters that affect the calculation of the control percentage. Then we need to look at how the control percentage is used to emulate each different type of control type.
Table 3‑1 describes each of the parameters that are used when calculating the control percentage from the sensor readings. These parameters are set when you go through the emulation set up process.
Table 3‑1 Control Percentage Parameters
|
Control Emulator Parameter |
Description |
Units |
|
Horizontal Zero Control angle |
This is the horizontal angle at which the PDA is held that results in zero horizontal control percentage. |
Degrees |
|
Vertical Zero Control angle |
This is the vertical angle at which the PDA is held that results in zero vertical control percentage. |
Degrees |
|
Horizontal Control Sensitivity |
This is the sensitivity of the horizontal control. It is measured in degrees per 100% control percentage. The greater the sensitivity the less of a tilt angle is required of the PDA to result in 100% control percentage. |
Degrees / 100% |
|
Vertical Control Sensitivity |
This is the sensitivity of the vertical control. It is measured in degrees per 100% control percentage. The greater the sensitivity the less of a tilt angle is required of the PDA to result in 100% control percentage. |
|
|
Minimum Horizontal Threshold |
This is the horizontal control percentage threshold at which the control percentage will read above zero. If the calculated control percentage is less than the minimum threshold then the control percentage will be set to zero else it will be equal to the calculated control percentage minus the minimum threshold. |
% |
|
Maximum Horizontal Threshold |
This is the maximum horizontal control percentage threshold. If the calculated control percentage is greater than the maximum threshold then the control percentage will be set to the Maximum Horizontal Threshold. |
% |
|
Minimum Vertical Threshold |
This is the vertical control percentage threshold at which the control percentage will read above zero. If the calculated control percentage is less than the minimum threshold then the control percentage will be set to zero else it will be equal to the calculated control percentage minus the minimum threshold. |
|
|
Maximum Vertical Threshold |
This is the maximum vertical control percentage threshold. If the calculated control percentage is greater than the maximum threshold then the control percentage will be set to the Maximum Horizontal Threshold. |
|
|
Horizontal Control Offset |
This is the control percentage offset that will be applied to the calculated horizontal control percentage. |
% |
|
Vertical Control Offset |
This is the control percentage offset that will be applied to the calculated vertical control percentage. |
|
|
Reverse Horizontal Control |
If this is set to true then the horizontal control percentage will be reversed. |
Boolean |
|
Reverse Vertical Control |
If this is set to true then the vertical control percentage will be reversed. |
Boolean |
|
Disable Horizontal Control |
If this is set to true then the horizontal control percentage will be disabled and always set to zero. |
Boolean |
|
Disable Vertical Control |
If this is set to true then the vertical control percentage will be disabled and always set to zero. |
Boolean |
|
Digital Filter Length |
The Digital Filter Length will set the length of the digital filter that is used to filter the TiltCONTROL readings. The longer the digital filter length the more stable the control will be. The shorter the length the more responsive the TiltCONTROL will be. |
|
Now that the control emulation parameters have been introduced let us now look at the different types of control types and how the control percentage is used to emulate that type.
There are two main types of control that can be emulated, and each type of control can also be broken up into a slightly different control again, these are shown in Table 3‑2. Along with the different types of control type, each control type can be emulated in a different way which is referred to as the emulation method which is also listed in Table 3‑2.
Table 3‑2 Different Control types
|
Control Type |
Description |
Emulation Methods |
Description |
|
|
Stylus |
The stylus control type is the control type that emulates the use of the stylus on the PDA touch screen. |
Continuous |
Continuous stylus emulation is the method used to simulate the user pressing the stylus down once, and then dragging it around the screen. |
|
|
Discrete |
Discrete stylus emulation is the method used to simulate the user tapping and releasing the stylus as it is moved around the screen. |
|||
|
Button |
D-PAD or Arrow keys |
The Button control type is the control type used to emulate any of the buttons or keys on the device. For example it can be used to emulate the arrow keys or the D-PAD on an IPAQ. It can also be used to emulate any of the other keys on the keyboard or any other hardware keys. |
Frequency |
Frequency modulation emulates the pressing of the button at a frequency, which increases as the control percentage increases. |
|
PWM |
PWM (Pulse Width Modulation) emulates the pressing of the button at a Duty Cycle, which increases as the control percentage increases. |
|||
|
Custom Button |
On/Off |
On/Off modulation emulates the button turning on when the control percentage reaches a threshold, and turning off when it is below the threshold. |
||
Each type of control type and respective emulation method that is available for control emulation is explained in detail in the following sections.
The Stylus Control Type is probably the easiest to explain, setup and use of all of the control types, and provides for the most intuitive control of your PDA. If you take a look at Figure 3‑1 you will see a picture of a PDA screen. You will notice that it is divided up into a two dimensional axis, where the X axis is named the Horizontal Control Percentage Axis and the Y Axis is named the Vertical Control Percentage Axis. Each axis is in units of percentage. The intersecting point of the axis is where zero Horizontal Control Percentage and zero Vertical Control Percentage is at, and this is called the Zero Control position.
Figure 3‑1 Control Percentage Axis

The way that the stylus control emulation works is that it takes the horizontal and vertical sensor readings and calculates the control percentage based on the configuration settings that you have entered, (which will be explained a little later) and converts that control percentage into screen coordinates and emulates a stylus tap at that screen position.
Q. So how does the control percentage relate to the calculated screen coordinate for the stylus tap?
A. Once the control percentage has been calculated it is converted into a screen coordinate which is directly related to the two dimensional axis overlayed onto the PDA screen as shown in Figure 3‑1, where the screen coordinates are the same position as where the horizontal and vertical control percentage meet on the graph. Figure 3‑2 shows an example for 50% Horizontal Control percentage and 50% Vertical Control percentage.
Figure 3‑2 50% horizontal and vertical control percentage

There are two types of emulation method for the stylus control. These are Continuous and Discrete.
The Continuous stylus emulation method emulates the user pressing the stylus against the PDA screen and holding it down while it is moved around the screen. There are no additional parameters that need to be set for the continuous stylus modulation method during the configuring of the control emulation software.
The Discrete stylus modulation method emulates the user tapping the stylus against the screen at the calculated screen coordinate at a set frequency. The parameters that must be set by the user when configuring the control emulation software are shown in Table 3‑3.
Table 3‑3 Discrete stylus control emulation parameters
|
Parameter |
Description |
Units |
|
Stylus Hold Time |
The total time that the emulated stylus is held down before it is released. |
Seconds |
|
Stylus Tap Frequency |
The total number of times that the emulated stylus will tap the screen per second. |
Taps per second |
The Button control type is a little more involved to set up and fine tune. The Button control type either emulates the D-PAD (which essentially is just the arrow keys on the virtual keyboard) or any of the custom buttons that you can specify such as any of the application launch buttons on your PDA. These control types can be emulated with a number of different methods. But basically there is always four buttons associated with the Button control type.
When using the D-PAD control type the pressing of the D-PAD in the left, right, up and down directions needs to be emulated.
When using the custom control buttons the pressing of each of the four assigned custom buttons needs to be emulated.
Q. So how does the TiltCONTROL emulate the buttons?
A. This depends on the emulation method chosen. The basic principle is that the button that is emulated being pressed is mapped to a direction of tilt of the device. Table 3‑4 lists the button which is emulated based on the angle and direction of tilt.
Table 3‑4 Emulated button based on direction of angle of tilt
|
Button |
Direction of Tilt |
|
Left |
Negative horizontal tilt |
|
Right |
Positive horizontal tilt |
|
Up |
Positive vertical tilt |
|
Down |
Negative vertical tilt |
The way the emulated button is emulated is based on the emulation method, but basically the greater the control percentage the more times per second the button will be pressed and or the longer it will be held down.
Let us now have a look at each of the emulation methods, and how each one uses the control percentage to emulate the button control.
There are three types of emulation method for the Button control. These are
Frequency modulation emulates the control by emulating the pressing of the button faster as the control percentage increases.
If you choose to use Frequency Modulation to emulate the Button control type, it is the same as when you use the buttons by pressing them faster to get more movement of the object that you are controlling.
The parameters that must be set when configuring for frequency modulation are shown in Table 3‑5.
Table 3‑5 Frequency emulation parameters
|
Parameter |
Description |
Units |
|
Button Hold Time |
The total time that the emulated button is held down before it is depressed. |
Milliseconds |
|
Max button Press Frequency |
The maximum number of times that the pressing of the button will be emulated at maximum control percentage. |
Taps per second |
Pulse Width Modulation emulates the control by emulating the holding the button down for longer and releasing it for less time as the control percentage increases. This increases the duty cycle of the Pulse Width Modulation as the control percentage increases.
The parameters that must be set when configuring for Pulse Width Modulation are shown in Table 3‑6.
Table 3‑6 Pulse Width Modulation emulation parameters
|
Parameter |