Jun 28

Features

  1. Cursor smoothing
  2. Outside screen area toggles

i. Simulate mouse clicks - right click and double click

ii. Simulate keyboard key presses - multiple key combinations

iii. Launch or execute any application/file which has a default viewer

iv. Store different settings files to suit different environments when required

  1. IR Calibration

i. Viewable calibration setup to allow easier adjustments for greater tracking utilization

ii. Configurable infrared (IR) sensitivity to allow greater range or improved accuracy

Setting Up

  • Extract the zip package contents(WiimoteSmoothBoard folder) into an easy to access directory like C:\Wiimote.
  • Connect a Wiimote to your computer using bluetooth. Must be discovered as a HID device.
  • Run the executable file, WiimoteSmoothBoard0.1.exe.
  • Calibrate Wiimote by pressing the Button A on the Wiimote.
  • Optional: Configure your own settings.

Screenshots and Instructions

Above is the Wiimote Smooth Board’s main window.

Advanced Settings - Loads the Advanced Settings window which allows settings for several key features.

Quick Calibration - Calibrates the screen area with respect to the Wiimote’s position. The calibration can also be triggered by pressing the Button A of the Wiimote.

Cursor

Cursor Control - Activates or deactivates the control of the cursor when an IR pen is used.

Smoothing - Enables the cursor’s motion to be more stable by removing jitters. This is done by averaging several past coordinates. The default is 5 points but can be adjusted to your preference. Lesser points will result in more jitters while the more points will result in lesser accuracy and lag in the response time.

Below is an example of the differences that could be seen. This screenshot was produced using Wiimote Whiteboard 0.2 with smoothing.

 

Advanced Settings Window

This is the Advanced Settings window. The window contains two tabs; IR Tracking and Outside Screen Toggles.

IR Tracking

The IR Tracking window tab allows the modification of the infrared (IR) sensitivity and a calibration guide.

There are 6 IR sensitivity levels that are in built to the application, WiiLevel1 to WiiLevel5 and Maximum. WiiLevel3 is the default sensitivity level that is used in the Nintendo console. In depth information about the IR sensitivity can be found at WiiBrew.

If you have difficulty receiving input from the IR source that may be due to the weak IR source or the distance, you can try to gradually increase the IR sensitivity. However, higher sensitivity levels might allow stray IR sources (sun light, candles) to cause the degradation of accuracy.

On the other hand, if a strong IR sources (such as sun light) is causing the cursor to jump erratically, you can try to reduce the IR sensitivity.

Calibration

One of the useful features of the Wiimote Smooth Board is the calibration area viewer. This allows you to check the current calibration set up (screen area with respect to the Wiimote tracking area). You will be able to quickly gauge the areas that might not be in view of the Wiimote.

The White Area represents the screen area that is calibrated.

The Black Area represents the tracking area that the Wiimote can cover.

The Grey Area represents the area that cannot be tracked. Therefore, if a part of the calibrated area (White Area), falls on the Grey Area, that portion will not be clickable.

With the calibration area viewer, you can easily adjust the Wiimote’s position to obtain a better tracking utilization (Screen Area divided by Wiimote Tracking Area). After repositioning, you can click on the Calibrate button again to recalibrate the screen area.

Tips: The Black Area is the Wiimote’s ‘view’, while the White Area is the screen which is usually a fixed position. Therefore, shifting the Wiimote’s position is equivalent to the shifting of the Black Area with respect to the White Area.

For example the below screenshot shows the White Area placed at an off-center position and a portion of the White Area is outside the Black Area. Therefore, the bottom left corner of the screen will not be clickable in this configuration.

To correct this, you will have to tilt your Wiimote slightly downwards and rotate the Wiimote to the right.

 

Outside Screen Toggles Tab


Above is the Outside Screen Toggle tab of the Advanced Settings window. This window allows you to configure the effect of toggles around the screen area. As usually there will be some extra tracking area that is left not utilized around the screen, this application gives you the choice to turn this area into triggers.

Check the Click Outside Screen to Toggle checkbox to activate this feature.

To configure a specific area, click on the required screen area (colored in lavender) in the window or select the area number from the combo box.

Currently there are 3 types of toggles available.

Mouse Click (Right Click or Double Click)- After clicking on the specified area, the configured mouse click will be only triggered on the next click location within the screen.

For example, if you have chose Right Click for a specific area, you will need to click on that area to switch to Right Click mode. Next, you just have to click on anywhere on the screen that you wanted to right click. Then, the application will automatically return to the normal left click mode.

Keyboard Key Press - This option allows a combination of up to 3 virtual keys and 1 character key. More details about the virtual key codes can be found at MSDN Virtual-Key Codes.

There are 3 combo boxes for the 3 virtual keys and a text box for the single character input.

The screenshot shows the right side area numbered as 5 being configured as a key press. It is assigned to a Volume Up key press.

Tips: Select a blank list item if you do not require the extra keys.

This screenshot shows the Click Area 7 to be assigned to a Control+C key combination which is a shortcut key for the copy command.

 

Load file/application - This final option allows you to launch any file that has an associated default viewer (can be opened directly through Windows Explorer).

Click on Browse File to locate the required file. If you are not looking for an executable file, you should select “All Files | *.*”  in the dialog box.

The name of the file can be renamed for your own reference.

Settings File

The application allows you to switch between different settings files to suit different usages. For example, you might need different shortcuts/triggers such as for exploration in Google Earth, presentation with Powerpoint and playing media.

Reload - Resets the configurations to the previously saved settings file.

Save - Saves the current configurations into the same settings file that was used.

Save As - Saves the current configurations into another settings file. This will open a dialog box requesting you to choose the location and the filename where the settings file will be saved. The extension .ini is automatically added by the application.

Load - Allows you to switch to a previously saved settings file. Please ensure that a valid settings file is chosen.

Note: If the program fails to work, this might be due to the syntax errors in the settings file. Therefore, just delete the current settings file that is chosen by the program. The full file path of the settings file chosen can be found in the calibration.dat file. By default, the settings file will be stored in the application’s directory with the filename settings.ini.

Examples

I have included two settings files for outside screen toggles to demonstrate the features and to help you get started. You can reconfigure the shortcuts to your own preference and save as another settings file.


Windows Media Player.ini - Shortcuts for the Windows Media Player 10 are triggered when outside clicks are detected. Allow you to toggle fullscreen, change the volume, open media, play previous/next item, start/pause, and launch Windows Media Player.


General.ini - I have assigned several keyboard shortcuts to suit the general usage in Windows such as in Powerpoint. With the shortcuts, you can start the presentation,go back and forth the slides, right click and Alt+Tab to switch to another window. This is useful when you need show another application during the presentation.

To switch windows, just click and drag the assigned Alt key area to the Tab area and let go. Then, click the Tab area till you reached the desired window and click on the Alt key area again.

Videos

Click here for all the videos.

 

 

Credits

Johnny Lee for his ingenuity in creating Wiimote Whiteboard

Brian Peek for providing the WiimoteLib 1.4

My girlfriend, Stephanie Foo, for supporting me in doing this project

WiimoteProject.com users especially Ben, for their suggestions, and help in testing

Download

Warning! This version is for testing purposes, use it at your own risk.

Update: I have completed the Wiimote Smooth Board 0.2 with multiple wiimotes support and partial screen area tracking. Click here.

RAR package with executable file: Wiimote Smooth Board 0.1 BETA (Old version)

Please report any bugs or suggestions by posting a comment here or at the Wiimote Project forum. Thanks!


Jun 26
Plane Crash in Ipoh
icon1 Boon Jin | icon2 Ipoh | icon4 06 26th, 2008| icon3No Comments »

At approximately 1.30pm today (26th June 2008) a small propeller plane crashed into a house in a residential area, Taman Cempaka, Ipoh. The site was just right behind my girlfriend’s house.

A neighbour saw the plane flew at a low level before hitting a nearby tree and crashed into the corner house’s compound.

Here are the photos taken when the plane was removed from the crash site.

IMGP0998

The house where the plane crashed into with the rain water gutter damaged

IMGP1000

Fire extinguisher and water bottles to prevent fire/explosion

IMGP1009

The damage done to the house compound

IMGP1001

People collecting debris of the crashed plane

 IMGP0991

 The tail section of the propeller plane

IMGP0996

 The plane being removed from the site

IMGP1005

 Close up on the plane which broke into two sections during the crash

IMGP1012

 The surrounding area at the crash site


Jun 19
Wiimote Whiteboard
icon1 Boon Jin | icon2 Guides, Projects, wiimote | icon4 06 19th, 2008| icon3No Comments »

In this post I will summarize what is the Wiimote Whiteboard and its usage.

What is a Wiimote?

A Wiimote or Wii Remote is the controller used with the Wii console. Although it cost just about US$40, it contains accelerometers, a IR camera, rumble, speaker and several buttons. It communicates with the Wii console through Bluetooth, thus it was possible to connect the Wiimote to the computer by acting as a Bluetooth HID (Human Interface Device).

What is a Wiimote Whiteboard?

Johnny Chung Lee has developed several intriguing systems using just a Wiimote. One of his creations was the Low-Cost Multi-point Interactive Whiteboards Using the Wiimote, or in short, Wiimote Whiteboard.

Just by using a Wiimote, you will be able to turn any surface into a interactive surface similar to the commercially available Whiteboards. To get started, you will just need a Wiimote, computer with Bluetooth connectivity and a self-made Infrared (IR) pen.

In the following video, Johnny Lee explains the basics of the Wiimote Whiteboard.

 

I am currently working on several wiimote projects. One of my main focus at the moment is to enhance the Wiimote Whiteboard to be suited for the teaching community. This involves simplifying and introducing tools which teachers will find useful to actually use the Wiimote Whiteboard in class.

Therefore, I hope that the Wiimote Whiteboard can be introduced to more classrooms once the technical barrier of the implementation is removed.

Here is an excellent video created by Ben, a fellow forumer from Wiimote Project who has been using the Wiimote Whiteboard in the classroom. :)


 

I will be compiling the details on how you can set up the Wiimote Whiteboard yourself.  Don’t worry, it is not that difficult. :)

 


Jun 19

I have added several features into the Wiimote Whiteboard 0.2 with smoothing as discussed in the Wiimote Project forum. Most of the features are ported over from RightClicker.

According to ben from the forum, this version needs a better name, so please suggest any. :)

Features for Wiimote Whiteboard 0.2.2 BETA:

  • Cursor smoothing
  • Shortcut to Windows On Screen Keyboard from the system tray icon.
  • Configurations saved
  • Several right click toggle methods
    System Tray Icon - Similar to RightClicker
    Toggle Area - Similar to RightClicker with the ability to create multiple toggle areas.
    Outside Screen Click - Click outside the viewable screen area to toggle the mode.

Notes

This version requires more testing before actual use! Download this version only if you intend to test it. I will be adding more features into this version while I obtain more feedback.

This version works on my Windows XP computer. I have tested it to work in MS Powerpoint 2003. Please feedback to me on the compatibility with other OS and software such as Powerpoint 2007 and OneNote.

Update: I have received feedback from some users. Thanks to all!

This version is also found to be  working with OneNote 2007 and Powerpoint 2007. It also works in both Windows XP and Vista.

All bugs/suggestions/feature requests can be posted here or to the project forum.

Download Executable: Wiimote Whiteboard 0.2.2 BETA (outdated version)

Update: I have made a new version called Wiimote Smooth Board 0.1 with many new features.

 


Jun 2

I have modified Johnny Lee’s Wiimote Whiteboard 0.2 to incorporate the cursor smoothing effect. This feature enhances the smoothness when drawing with an infrared pen.
I have followed the method used in the Java version of Wiimote Whiteboard by averaging out the past values of the click coordinates.

The modified user interface

Comparison of without smoothing and with smoothing

Update:
I have made the app to save the user settings for the smoothness so that the settings can be loaded in the next run. The settings are saved in calibration.bat.

Update on 7th June 2008:
Cursor control did not function in Vista 64bit.
I have followed the solution by takai which can be found here:
http://www.wiimoteproject.com/wiimote-whiteboard/vista-issues-with-mouse-control-in-wiimotewhiteboard-02-onwards-solved-t1026.0.html

Download here
Executable only: Wiimote Whiteboard with smoothing.exe (old version)
Source Codes: WiimoteWhiteboard with smoothing.zip

Update: I have made a new version called Wiimote Smooth Board 0.1 with many new features.

Discussion on this project here: Wiimoteproject.com - Smoothing for Wiimote Whiteboard 0.2


« Previous Entries Next Entries »