smartboard with a wiimote

18 views
Skip to first unread message

Robert Citek

unread,
Feb 20, 2009, 1:31:06 PM2/20/09
to Central West End Linux Users Group
It's not just a wii remote:

http://www.ted.com/index.php/talks/johnny_lee_demos_wii_remote_hacks.html

A coworker made one of these, but the smartboard-like software runs
using .NET. Does anyone know if there is similar software for Linux?
Or can .NET software run on Linux? I've googled a bit, but haven't
come up with a firm answer, yet.

Regards,
- Robert

Robert & Janet Bennett

unread,
Feb 20, 2009, 7:31:54 PM2/20/09
to cwe...@googlegroups.com
FWIW

Mono is a cross platform, open source .NET development framework.

See

http://www.mono-project.com

Banshee, F-Spot, and Tomboy are written in mono.

-Regards,

Robert

Robert Citek

unread,
Feb 20, 2009, 10:33:29 PM2/20/09
to cwe...@googlegroups.com
Which brings up two questions:

1) if a program is written in mono on Linux will it run under .NET on Windows?

2) if a program is written in .NET on Windows will it run under mono on Linux?

I suspect the answer to both questions is "it depends".

Regards,
- Robert

Robert & Janet Bennett

unread,
Feb 20, 2009, 10:47:40 PM2/20/09
to cwe...@googlegroups.com

This is confusing.  Clearly mono is all about interoperability.  The answer
to both should be, yes.  Or at least it should be simple for a developer
to create a Linux, Mac, and Windows version of a given piece of software
written in .NET / mono.

An interesting thing to note is that some open source / Linux fanatics
HATE mono and regard it as a Microsoft "trojan horse."  See
http://www.theopensourcer.com

Regards,

Robert

Robert Citek

unread,
Feb 21, 2009, 12:25:31 AM2/21/09
to cwe...@googlegroups.com
On Fri, Feb 20, 2009 at 9:47 PM, Robert & Janet Bennett
<jlrbe...@sbcglobal.net> wrote:
> This is confusing. Clearly mono is all about interoperability. The answer
> to both should be, yes. Or at least it should be simple for a developer
> to create a Linux, Mac, and Windows version of a given piece of software
> written in .NET / mono.

FWIW, I booted linux and tried out the example on this page:

http://mono-project.com/Mono_Basics

It compiled and ran just fun under Linux. I then copied the resulting
.exe file to my Windows partition, rebooted into Windows, opened a
terminal, and tried running the program as .\hello.exe. Again, it ran
just fine, this time under Windows.

Granted, this is a very simple test, but it passed nonetheless.

> An interesting thing to note is that some open source / Linux fanatics
> HATE mono and regard it as a Microsoft "trojan horse." See
> http://www.theopensourcer.com

Yeah, there are always going to be those rabid fanboys.

Regards,
- Robert

Robert Citek

unread,
Mar 8, 2009, 4:28:35 PM3/8/09
to Central West End Linux Users Group
On Fri, Feb 20, 2009 at 1:31 PM, Robert Citek <robert...@gmail.com> wrote:
> http://www.ted.com/index.php/talks/johnny_lee_demos_wii_remote_hacks.html
>
> ... Does anyone know if there is similar software for Linux?

Turns out there is. Just moments ago I was able to get the wii to
work as a whiteboard, aka smartboard or wiiboard.

On the hardware side, I needed a computer with bluetooth, a wiimote,
and an LED keychain light. A friend loaned me the keychain light in
which he replaced the visible LED with an infrared (IR) LED from Radio
Shack.

On the software side, I downloaded
whiteboard_0.3.4.2-0ubuntu2automated_i386.deb from
http://code.google.com/p/linux-whiteboard/ to run on Ubuntu Intrepid
Ibex 8.10 .

To install:

1) open a terminal: Applications > Accessories > Terminal
2) sudo apt-get install libbluetooth3 libc6 libcairomm-1.0-1 libcwiid1
libgcc1 libglademm-2.4-1c2a libglib2.0-0 libglibmm-2.4-1c2a
libgtk2.0-0 libgtkmm-2.4-1c2a libsigc++-2.0-0c2a libstdc++6 libx11-6
libxtst6
3) sudo dpkg -i whiteboard_0.3.4.2-0ubuntu2automated_i386.deb
4) dpkg -l whiteboard

To run:
1) Turn on bluetooth. You may need to go into BIOS to enable it.
2) Applications > Accessories > Wiimote Whiteboard
3) minimize or close instruction window to reveal Whiteboard application window

Connect
1) click "Connect" button
2) follow instructions on screen

Calibrate
1) click "Calibrate" button
2) follow instructions on screen

If you are having trouble calibrating, adjust the position of the wii
relative to your screen. The black square with the yellow dot shows
where the wii thinks the IR device is relative to its viewing area.
If you are still having troubles, try adjusting the right-click delay
by clicking on "Select" to reveal the right-click delay dialog.

Activate
1) click "Activate" button

You can now use the wii as a whiteboard.

Deactivate
1) click "Deactivate" button

Disconnect
1) click "Disconnect" button

If the whiteboard application window is closed, you can right-click on
the wii icon in the system tray.

In practice, since I did not have a projector handy, I pointed my wii
at my LCD display. That turned my display into a poor-mans
touchscreen.

Regards,
- Robert

Robert Citek

unread,
Mar 8, 2009, 7:32:29 PM3/8/09
to Central West End Linux Users Group
Similar instructions for Hardy:

Download the package:

http://linux-whiteboard.googlecode.com/files/whiteboard_0.3.4.1-0ubuntu1_i386.deb

1) open a terminal: Applications > Accessories > Terminal

2) sudo apt-get install libatk1.0-0 libbluetooth2 libc6 libcairo2
libcairomm-1.0-1 libcwiid1 libgcc1 libglade2-0 libglademm-2.4-1c2a
libglib2.0-0 libglibmm-2.4-1c2a libgtk2.0-0 libgtkmm-2.4-1c2a
libpango1.0-0 libsigc++-2.0-0c2a libstdc++6 libx11-6 libxml2 libxtst6
3) sudo dpkg -i whiteboard_0.3.4.1-0ubuntu1_i386.deb
4) dpkg -l whiteboard

Everything else is the same.

Regards,
- Robert

Robert Citek

unread,
Mar 9, 2009, 2:00:51 PM3/9/09
to Central West End Linux Users Group
On Sun, Mar 8, 2009 at 3:28 PM, Robert Citek <robert...@gmail.com> wrote:
> In practice, since I did not have a projector handy, I pointed my wii
> at my LCD display. That turned my display into a poor-mans
> touchscreen.

I tried this today using a LCD projector and the IR light. It worked,
but could have worked a lot better if the IR LED was more diffuse and
brighter. The IR LED was from Radio Shack:

http://www.radioshack.com/product/index.jsp?currentTab=summary&productId=2062565

Does anyone know if brighter and more difuse IR LEDs exist, and if so,
where to get them? Or is it possible to make the one I have brighter
and more diffuse?

Regards,
- Robert

Robert Citek

unread,
Mar 9, 2009, 9:52:46 PM3/9/09
to Central West End Linux Users Group
On Mon, Mar 9, 2009 at 1:00 PM, Robert Citek <robert...@gmail.com> wrote:
> The IR LED was from Radio Shack:

Actually, I don't know for certain where the LED was from.

> http://www.radioshack.com/product/index.jsp?currentTab=summary&productId=2062565

For grins I figured I'd go to RadioShack and get the above item. When
I got there I found the "exact" item, exact as in the model number was
the same. But in the store the specs were quite different from what
was on-line: much brighter (16 mw vs 7 mw) and much wider angle (45 vs
6). When I tried it out, it worked much better in that it was much
easier to calibrate and use. While I'm glad that it did work better,
it makes me wonder about Radio Shack's database.

Regards,
- Robert

Reply all
Reply to author
Forward
0 new messages