Wiimote Project

Wiimote Projects => Wiimote Interactive Whiteboard => Topic started by: dice on January 07, 2008, 04:03:34 PM

Title: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: dice on January 07, 2008, 04:03:34 PM
Wiimote Whiteboard - FAQ and Adv Discussion

A lot of very smart people have written in questions and suggestions and I think a lot of them are very clever and worth sharing... and I'd like to add some of my own expansions on what I showed in the video. Like they say, 2 brains are better than 1.... it turns out several thousand brains are even better. This post will be REGULARLY EDITTED to add new ideas as they come in. I know it breaks the RSS model, but I don't want to make a new post for every new idea. Sorry.
------------------------------------
My Bluetooth adapter and LEDs - Though it is reported to work with many bluetooth adapters and chipsets, I've been using this one sold by SparkFun electronics. The IR LEDs I use are Vishay TSAL6400s running at 100mA available from Mouser.

Tip switch - Instead of pressing the side button to illuminate the LED, a tip swtich could be added to illuminate when pressed on a surface. Though, it's mechanically harder to make and finding the right level of pressure for activation can be hard, especially if your surface varies (ex: whiteboard vs carpet)

Can you do this with a webcam? - The wii remote contains a 1024x768 camera with built-in hardware for IR blob tracking of upto 4 points at 100Hz. This significantly outperforms any $40 webcam I'm aware of. It'll work with a webcam, just not as well and not as easily.

Pressure sensitivity - wacom tablets give nice pressure sensitive behavior. Doing this with the wiimote whiteboard will be tough, at least through the camera data. The brightness of the LED varies significantly depending on angle, surface reflectivity, and distance. Any pressure data based off birghtness will not be reliable. The data could be transmitted via a high-frequency IR channel (like remote contol data) to an IR reciever mounted on the wiimote. (see "Right click" for more)

Right Click - any right click signal based off brightness is not likely going to be reliable. Additionally, using multiple LEDs (1 - left click, 2- right click) won't work at all distances and orientations as the LEDs get too close for the wiimote to distinguish them. The RIGHT way to do this is to use high-frequency IR data transmission (like remote control data) to an IR reciever. This will also give you a way of potentially getting pen ID - which is VERY powerful and may be a future project. Though, this requires quite a bit more hardware.

Multiple wiimotes for better tracking - if you have a large surface, you could have multiple wiimotes covering different areas to keep tracking reslution high, or have the wiimotes cover the same area to avoid occlusion problems, or do some interpolation of the data for higher accuracy. All possible, just with the smarter software. Doing this myself is probably not going to happen, but the source is freely available.

Posted by Johnny Chung
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: atomriot on January 07, 2008, 04:51:08 PM
One thing I have grown tired of, it the dependence on a third party app to connect to the wiimote. I have got around this by changing the ReadCalibration(); line to look like this

Code: [Select]
try
{
    ReadCalibration();
}
catch
{
    // if we fail above, try the alternate HID writes
    mAltWriteMethod = true;
    ReadCalibration();
}

also commented out the following

Code: [Select]
remoteID = (int)index;
connectedRemoteIDs.Add(remoteID);

this allowed me to connect with the default windows driver for my Linksys USBBT100 class 1 device in both windows xp and vista.

hope it works for the rest of you guys as well.

also, this works on the multigrid and desktopvr app.
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: zlog on January 13, 2008, 08:03:11 AM
Why don't you put FAQs on a wiki?
....so that ppl can follow it when it updates =)
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: VAD on January 13, 2008, 08:25:13 AM
atomriot, I have some issues with bluesoleil too (it doesn't recognize my Belkin Bluetooth adapter) that's why I would like to edit some files to make the WhiteBoard work with any driver.
But I don't know the file to edit ? What file are you talking about ?
Thank you in advance for your answer.
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: atomriot on January 13, 2008, 11:13:05 AM
here you go, you can refer to this post

http://www.wiimoteproject.com/general-support/i-cant-get-my-insert-johnnys-app-name-here-to-connect-help-t119.0.html (http://www.wiimoteproject.com/general-support/i-cant-get-my-insert-johnnys-app-name-here-to-connect-help-t119.0.html)

comment on it. hold discussions about connecting and why this might not be the best, or how we could change it to be better.
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: Tyrion on April 04, 2008, 10:09:44 AM
I've just started working on a WII Remote project with a fellow student. It projects aims at resolution increase by using multiple wiimotes. So if anyone is interested .. just wait. (The project will be written in Java.)
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: CpuCga on May 01, 2008, 04:29:24 PM
ive been reserching this for a little bit over a month now after the head of the computer group in our high school saw it
she asked me if i wanted to try to make a whiteboard for the school and i said i would try
i realy like the idea but im not very hardware wise
if you could make a part list and mabey send instruction i would realy be greatful
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: UndCon on May 02, 2008, 02:58:18 AM
Welcome CpuCga!

To get started with the Whiteboard application you do not need to mess around as you can start using it as it is.

Of course you need a few things

1 Wiimote handcontroller (buy 1 separately - no need for Wii console)
1 Computer with Bluetooth(this can be tricky due to BTdrivers)
1 IR pen to use as your mouse, to draw and to have fun (or 2 pens for multitouch)
1 projector if you are going to use a big screen (ie classroom)

Once you got this list sorted you are ready to go big screen :)

Don't hesitate to ask anything else
//UndCon
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: CpuCga on May 20, 2008, 09:32:18 AM
Thx we have got one up and running and found a very useful key chain light that u can easily replace with a IR light
http://www.garritylites.com/page75.html
Thx for you help and i hope this helps others.
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: UndCon on May 20, 2008, 11:35:53 AM
I'm glad to hear that it worked out!

I hope you have lots of fun with this setup and finds many useful ways - please report all your experiences for all of us
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: retopp on April 08, 2009, 07:53:24 PM
I have a question.  I am trying to be "green".  I want to use a program (looking for a suggestion) to help my kids with specail needs.  I am really interested in the Wiimote projects.  I am trying to get it set up on my computer.  Here's what I'm not seeing though...

Can I save what I draw on the screen?  Using a "smartboard"  when you draw you can save what you did. I would like to do this with my students.  As they do tracing I want to save it. Save paper as we do drawing/tracing several time a week. 
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: mystre on April 08, 2009, 09:35:45 PM
Not directly,  but you could save the image you want to be the e-paper as a .bmp or .jpeg and open it up in Paint or some other digital editor.

Simply open the the file in Paint-the student does his work and then you rename and save the file,

Or you could use one of the cool web20 dabbleboards that are out there.
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: benpaddlejones on April 08, 2009, 10:53:14 PM
retopp
Download 'linktivity' from the downloads will do all this and more. You can also download camstudio from majorgeeks to record screen movies with audio.

benpaddlejones :)
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: vandallas on April 08, 2009, 11:00:12 PM
I was wondering how people have solved the issue of left and right click?

i was thinking about gutting a laptop mouse, then somehow modding the left click button to be depressed when the IR pen is pushed down on to the table, and then i guess you could have a separate button for the right click
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: atomriot on April 09, 2009, 09:53:40 PM
I have a question.  I am trying to be "green".  I want to use a program (looking for a suggestion) to help my kids with specail needs.  I am really interested in the Wiimote projects.  I am trying to get it set up on my computer.  Here's what I'm not seeing though...

Can I save what I draw on the screen?  Using a "smartboard"  when you draw you can save what you did. I would like to do this with my students.  As they do tracing I want to save it. Save paper as we do drawing/tracing several time a week. 

saving what you draw would not be hard at all. you could set up a window with transparency set to .01 and capture that as a bmp when you save. you would have to handle mouse painting which isnt hard either but that gets outside of the traditional whiteboard app and into custom implementation.

or you could start a new app, put a picturebox on there and capture the mouse movements so when you click it puts a pixel or small square or whatever shape and then save that as an image. .net has many formats built in, the only hard one is an animated gif but its doable.  then once your "paint" app works, import the wiimote library and add the few additional things to handle wiimote interaction.  then you have a savable painted area. i can help but i wont write it for you, that takes away all your fun.

as far as left and right click, that issue has been "resolved" many ways. it just depends on which way you want to deal with.  there are many posts and youtube videos about this. pick one that works for you
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: ROBOTMAN on October 04, 2009, 06:44:42 PM
I am having problems calibrating my wiimote witebord program. When I point my ir pen at the first cross hair it quickly displays the other three then closes the window and when i try to controol the mouse pointer it stays in the upper left corner. Any help would be appritiated.
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: boonjin on October 04, 2009, 07:04:30 PM
Hi,

There may be stray IR sources found in the room captured by the Wiimote.

You should to use Smoothboard's calibration viewer to check where are the stray IR source located.

Each detected IR source will be shown as a dot/circle in the calibration view in Smoothboard's main window.

Regards,
Boon Jin
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: ayesh86 on December 08, 2010, 11:56:13 AM
Hi,

You suggested me to use smoothboard for 64 bits can you tell me how is it different? and would i be using the same code for wiimote? or is htere source code available for smoothboard?
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: boonjin on December 08, 2010, 05:43:00 PM
Hi,

The original app by Johnny Lee is just a demo application to showcase the technology. On the other hand, Smoothboard is a end-user product that gives you tool such as automatic Wiimote connection, on-screen annotation and presentation control.

Smoothboard is a closed-source software.

You may take a look at our website http://www.smoothboard.net/features (http://www.smoothboard.net/features)

Thank you.

Regards,
Boon Jin
Title: Windows 7 64 bit???
Post by: acelec on December 30, 2010, 10:40:35 PM
I have searched for this and don't see anything.  Does this support 64 bit  Windows 7?
Title: Re: Windows 7 64 bit???
Post by: boonjin on December 31, 2010, 05:39:35 AM
I have searched for this and don't see anything.  Does this support 64 bit  Windows 7?

The original wiimote whiteboard application does not support 64-bit operating systems. Smoothboard works for Windows 7 64-bit.

You can download it from http://www.smoothboard.net (http://www.smoothboard.net)

Regards,
Boon Jin
Title: Re: Windows 7 64 bit???
Post by: jmitchell on December 31, 2010, 08:07:52 AM
Pentabulous!, a free wiimote whiteboard application supports Windows 64 bit as well.

See signature for link.
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: Rishi on February 24, 2011, 02:45:25 AM
Hi,
I am working on the johnny lee whiteboard project to build a low cost interactive whiteboard for a school. I have got the black wiimote, Vishay TSAL6400 IR led.But i am not able to use it as the wiimote doesn't detect the IR light.if we place the wiimote in a place and try to calibrate its not calibrating till we move the wiimote in the direction of the screen.We are following all the steps shown in the johnny lee video but we are not successful.the calibration doesnt come like as shown in the video.please help
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: boonjin on February 24, 2011, 04:42:35 AM
Hi,
I am working on the johnny lee whiteboard project to build a low cost interactive whiteboard for a school. I have got the black wiimote, Vishay TSAL6400 IR led.But i am not able to use it as the wiimote doesn't detect the IR light.if we place the wiimote in a place and try to calibrate its not calibrating till we move the wiimote in the direction of the screen.We are following all the steps shown in the johnny lee video but we are not successful.the calibration doesnt come like as shown in the video.please help

Hi,

I have replied in the following thread
http://www.wiimoteproject.com/general-discussion/can-finger-tracking-be-incorporated-with-whiteboard/15/ (http://www.wiimoteproject.com/general-discussion/can-finger-tracking-be-incorporated-with-whiteboard/15/)

If you need further help with Smoothboard, please do email us directly at admin at smoothboard.net

Regards,
Boon Jin
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: gundu87 on April 03, 2013, 09:09:48 AM
Hi,

How would i be able to use multiple remotes to handle occlusion?
Currently, i am able to connect two remotes to my own whiteboard program. but i have no idea how to handle the data that comes out from both the remotes.
Title: Re: Wiimote Whiteboard - FAQ and Adv Discussion
Post by: lp on November 04, 2014, 12:38:02 AM
Hi everyone,
I am planning to do a project using wiimote to create an interactive whiteboard with enhanced features. I have downloaded the initial source code from http://johnnylee.net/projects/wii/. But I want to modify the source code. Can anyone please suggest the best tool with which I can edit and compile the code?