2008年2月26日 星期二

SENSOR BAR?

其實火就是一個紅外線的來源了!!
我剛剛有用蠟燭嘗試看看,果真他就是紅外線唷!!
由此可知,準備兩個蠟燭,放在不會失火的地方!!
就是一個最好用的SENSOR BAR,而且這個SENSOR BAR
不用考慮電力,方向等問題。
因為
第一、蠟燭的燃燒最高可達到好幾個月。
第二、他是全方位的。
第三它的移動性還很高。
SO,你還在做SENSOR BAR嗎?建議你趕快放下手邊的工作,去買兩個蠟燭吧!!

2008年2月21日 星期四

研究計畫內容(以10頁為限)

(一)摘要
(二)研究動機與研究問題
(三)文獻回顧與探討
(四)研究方法及步驟
(五)預期結果
(六)參考文獻
(七)需要指導教授指導內容(如篇幅不足,另紙繕附)
請問哪位可以幫忙完成?

2008年2月20日 星期三

Managed Library for Nintendo's Wiimote

Managed Library for Nintendo's Wiimote 是一套攔截任天堂Wii Remote (或稱Wiimote)控制器的API,適用在Visiual Studio .Net下。原網頁備有 VB 和 C#的範例程式碼。

雖然Wiimote透過藍芽來連結,但若在Windows下,是被辨識為一個HID (Human Interface Device)的,所以開發時可以透過HID介面來溝通,而不必去實作藍芽的stack。(其實藍芽stack的程式開發我也不熟)

很方便的是,透過這套API,幾乎對Wiimote所有需要監聽的事件和裝置狀態的getter、及可對Wiimote下的命命,都實作出來了。所以後續要開發應該就顯得很輕鬆,不用再自己去找控制訊號了。
http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx
In this article, Brian Peek demonstrates how to connect to and use the Nintendo Wiimote from C# and VB.NET. The final output is an easy-to-use managed API for the Wiimote that can be used in any managed application.

Wiimote API's

http://dundee.cs.queensu.ca/wiki/index.php/Wiimote_API's

The API's

These API's are all still in pre-release mode and have limited documentation. If you know more about the API's than is written here, please add to this information.

  • Wiimote API (http://code.google.com/p/wiimote-api/): "A library written in C to access the Wii Remote's abilities. Currently able to toggle LEDs and rumble, as well as use the IR sensor to control the mouse pointer. Can also map wiimote core buttons to the keyboard. A video of a gui using the API is here: long version (http://www.youtube.com/watch?v=rOkhND0dbWE) / short version (http://www.youtube.com/watch?v=IrN15FYRuRU)"
  • Wiim (http://digitalretrograde.com/projects/wiim/): "a simple set of C++ classes that allow you to connect to your Wii remote through Windows' HID interface to send and receive commands. Right now you can receive button presses and motion data as well as set rumble and LED status. There's no support for IR or any extension devices yet."
  • RMX Automation (http://www.wiili.org/index.php/RMX_Automation): A Wii extension to RMX automation by mapping the Wii's buttons and IR pointing to mouse and keyboard equivalents. Does not appear to provide accelerometer data.
  • GlovePIE for the Wiimote (http://www.wiili.org/index.php/GlovePIE): Provides access to most Wii features, including pointing, buttons, LED, sound, and limited accelerometer functionality. Some documentation is available on this forum thread (http://www.wiili.org/forum/download-windows-driver-here-t294.html).
  • CWiimote (http://simulatedcomicproduct.com/2006/12/cwiimote-02.php): "Features: Read Accelerometer, button values from the wiimote; Read Accelerometer, stick, and button values from the nunchuck; Preliminary IR support"
  • Managed Library for Nintendo's Wiimote (http://msdn.microsoft.com/coding4fun/hardware/hacks/article.aspx?articleid=1879033&title=Managed%20Library%20for%20Nintendo#usage): "In this article, Brian Peek demonstrates how to connect to and use the Nintendo Wiimote from C# and VB.NET. The final output is an easy-to-use managed API for the Wiimote that can be used in any managed application."

Google wiimote-api

http://code.google.com/p/wiimote-api/

A library written in C to access the Wii Remote's abilities.

Currently able to toggle LEDs and rumble, as well as use the IR sensor to control the mouse pointer. Can also map wiimote core buttons to the keyboard.

A video of a gui using the API is here: http://www.youtube.com/watch?v=rOkhND0dbWE (long version) http://www.youtube.com/watch?v=IrN15FYRuRU (short version)

If you use any of the code in your project, let me know! I'd love to know how it's used.

Majority Desk - Wiimote 3D widget desktop - totally sick

http://redmonk.com/tv/2007/10/04/majority-desk-wiimote-3d-widget-desktop-totally-sick/

用Wiimote跟Flex實作模擬的3D桌面


2008年2月18日 星期一

就是這個光!!

有人告訴我,用相機可以看到紅外線的光?可是我試了好久卻看不到!!
原因是我被影片中的紅色的光給矇騙了,已為紅外線就是紅色的!!
某天夜晚,睡不著覺想說再試一試看看是不是早上太亮,所以看不到。
結果出現了上圖的亮光,才恍然大悟原來紅外線是白色的!!
此外,紅外線跟一般的LED一樣都會散光,
所以影片中的紅光是利用雷射筆所製造出來的效果,
各位組員,千萬別再被騙了唷!!

2008年2月17日 星期日

不用WiiFit也可以測量體重

原貼地址 http://www.forest.impress.co.jp/article/2008/01/18/wbhealthmeter.html


把" Wii平衡板"同電腦連接,便可測量體重的軟件 "WBHealthMeter"



特徵
o不必設定身高等麻煩參變數,立刻可以使用
o附帶模擬針測量儀器
o不用設定就可以知道自己的BMI大概值
o可以保存4個用戶的數據



[著作權者] 小笠原博之先生
[對應操作系統] Windows XP/Vista
[軟件類別] 免費
軟件[版本] 1.11(08/01/14)

用"Wii平衡板"在"Google Earth"裡散步&PC上測體重

原文地址 http://www.forest.impress.co.jp/article/2008/01/18/wbalancege.html
原文是日語,綠字部分為本人翻譯的內容。紅字部分為本人補充的部分。


使用" Wii平衡板",在"Google Earth"裡散步的軟件"WbalanceGE"
--能表示步數以及時速,走路的距離,還可以識別跑步、轉變方向


                      「WbalanceGE」v1.21

視頻地址:
http://www.forest.impress.co.jp/article/2008/01/18/wbalancege_1_mov.wmv


"WbalanceGE"v1.21於14日公開,是一款對應Windows XP/Vista的免費軟件,現在能從作者的主頁上下載。
與Wii平很板的連接需要Bluetooth接收器,在本在編輯部使用ELCOM製造的Bluetooth接收器"BT-UD1"已經確認了能使用。

電腦和Wii平衡板上通過Bluetooth連接後,在平衡板上「踏步」就可以通過本軟件,在 "Google Earth"裡走動。
把"Google Earth"的建築物3D表示功能打開以後,就可以體驗在實地散步的心情了。

使用方法是: 首先把電腦和Wii平衡板用Bluetooth連接好,再啟動"Google Earth",選擇想散步的地點。
之後啟動本軟件,點擊在[Earth]菜單裡的[開始位置設定]的項目,然後站在Wii平衡板上操作。

本軟件能識別走步,跑步、轉變方向。雙腳同時抬起時認識為跑步,移動距離為平時的2倍。本軟件的畫面裡能顯示步數以及時速,走的距離。
[Device]菜單設定裡可以更改步幅。改變[Earth]菜單裡[Camera視點變更]的項目,可以」空中散步「。

[著作權者]   小笠原博之先生
[對應操作系統] Windows XP/Vista
[軟件類別]  免費
軟件[版本]  1.21(08/01/14)

轉載:http://51mh.net/viewthread.php?tid=5409

引用http://forum.palmislife.com/thread-72057-1-5.html

在PC上使用Wiimote(成功使用IR Sensor定位)
驅動程式目前有兩種WiinRemote介面比較簡單GlovePIE介面複雜功能較強大目前我比較喜歡使用WiinRemote這一套配對方式很簡單
1.打開Wiimote電池蓋
2.按下紅色SYNC鈕,正面四顆藍燈會開始閃一分鐘
3.打開PC上的藍芽管理介面搜尋新裝置
4.遇到需輸入配對碼時要跳過
5.配對完成後會自動安裝驅動程式,新版本的藍芽驅動程式都有內建
6.配對過程中如果Wiimote上的四顆藍燈熄了,代表時間超過,只要再按一次紅色SYNC鈕即可,不需要重新進行配對過程
7.PC上的藍芽管理介面顯示已經連接裝置後,開啟WiinRemote或GlovePIE即可使用WiinRemote只要配對成功後開啟主程式,按下Wiimote上的B紐就能立刻使用自己動看看就可以知道怎操作不過沒有IR Sensor操作起來很不直覺所以我正在製作USB供電介面的IR Sensor目前進度為四顆接收用IR LED串接 = 失敗Wiimote偵測不到下一步改用四顆發射用IR LED串接 = 成功IR LED不管發射端或接收端都不會發光?我這次買的兩種LED都不會亮,所以也不知道是否真的動作中看遙控器或電視上的LED也是都不會亮可是看那些示範影片都是用會亮的LED不知道這些LED是否有什麼差別

2008年2月11日 星期一

Google Earth and Wiimote

有簡單的說明文件在信箱文件夾中

http://earth.google.com/download-earth.html - Download Google Earth
http://www.youtube.com/watch?v=PkPem-RU9XM - Google Earth and Wiimote

http://coulston.googlepages.com/WiiGoogleEarth.PIE - 程式碼

瀏覽bbs和web


[轉載]使用WiiRemote來做觸控式螢幕

[3C] 使用WiiRemote來做觸控式螢幕
前陣子在 Mobile01 上看到了有人使用 WiiRemote 搭配 IR Pen 來做類觸控螢幕的教學,馬上來做了個實驗,結果果然可以,但是因為我們一般用的紅光雷射筆的波長並沒有涵蓋 WiiRemote 的感應範圍(網路上查約 900nm 的波長),所以我們找了 -- 搖控器!! 我們使用 Projector 的搖控器來當光源,但是問題是,搖控器的光源非連續發光的,而是閃動的,所以並不是很好用。

來源:http://steveliao.blogspot.com/2007/12/3c-wiiremote.html

2008年2月2日 星期六

紅外線筆


所需材料:紅外線發射頭一個(約十五元)、兩條電線(約八元)、一個電池座(約七元)、一個開關(約七元)、一個筆身(免費)或是一個竹筷(跟7-11要、免費)。 PS.我買的有點貴,看到網路上有些只要半價!!

個人建議:不要用USB來當作電力來源。因為紅外線發射頭所需電力約1.2V,剛好等於ㄧ顆電池的電力。且只需要把電線接好,利用膠帶就可以完成了。
另外,影片中可見的紅色光點,應該是錄影的效果,實際上我們的看不到紅色的點,如果要的話,需加裝雷射發射頭。