Sponsors of Wiimoteproject.com
IR Pens for Wiimote Whiteboard
Wiimote Project » Hardware Support » Bluetooth & Connectivity Knowledge Center » WiimoteConnect 0.6 (support for autoconnect)
Pages: [1] 2 3 ... 6
  Print  
Author Topic: WiimoteConnect 0.6 (support for autoconnect)  (Read 172845 times)
0 Members and 1 Guest are viewing this topic.
*
Karma: +8/-0
Posts: 83
Offline Offline
View Profile
« on: February 17, 2009, 12:33:06 AM »

Hello,
new thread new version.

Works with MS BT-stack and Windows Vista/XP

if you don't have the XP stack follow this tutorial to use it.

http://www.shootingsoftware.com/Widcomm.htm

done:
- start app on connect
- glove pie starter
- automatic removal from known devices list
- tray icon (startup send to tray now in settings)
- autoconnect on startup
- multiple wiimote detection
- autoconnect to wiimotes
- autokill started programms
- some bugs fixed

todo:
- other BT stacks

download it here:

http://2style-graphics.de/wiiconnect/WiimoteConnect-0.6.zip

constructive critics welcome

thex
Logged

Please donate via paypal to the WiimoteConnect project

project thread!
*
Karma: +0/-0
Posts: 3
Offline Offline
View Profile
« Reply #1 on: February 17, 2009, 01:00:36 AM »

Ouahh ! Felicitation, it seems to work super well (automation in the ignition) As said it "dsgclan", damage for the first message of connection, but it's a great job :-)


EDIT : Configuration: I chose every 2 seconds: super

I was continuiing testing adn of course 2s is too short
For memory : between 12000 and 15000
my configuration doesn't suffer from apps



PS : I am always OK for a translation in French
« Last Edit: February 17, 2009, 01:30:54 AM by fs » Logged
*
Karma: +8/-0
Posts: 83
Offline Offline
View Profile
« Reply #2 on: February 17, 2009, 01:11:06 AM »

Nice to hear that it is working Smiley

2 seconds my be a bit short because the process takes some time but it should work as i placed the discovery processes in different threads. Take a look if the app eats to much memory or so.

thex
Logged

Please donate via paypal to the WiimoteConnect project

project thread!
*
Karma: +0/-0
Posts: 15
Offline Offline
View Profile Email
« Reply #3 on: February 17, 2009, 03:06:54 PM »

Hi thex,

Any change that you will publish the code under an open source license?

If not, we have a peace of hardware that would finalize the automatic connection...see http://www.wiimoteproject.com/bluetooth-and-connectivity-knowledge-center/wiiscan-version-0-8-trayicon-and-hardware-spec/msg8614/#msg8614. The hardware here is currently in the final test phase, but as the source is open you could easily integrate it you self in you code later...but what I am suggesting is some sort of collaboration.

Regards
.carsten
Logged
*
Karma: +8/-0
Posts: 83
Offline Offline
View Profile
« Reply #4 on: February 17, 2009, 03:16:37 PM »

Hi, I don't know yet if I'll release it as open source.

I read the post you pointed out but I don't get what your "Device" does...
is it for BT connectivity? why properitary hardware if any dongle fits?

Or does it "press" the sync button over an usb io card?

Or what does it??
Logged

Please donate via paypal to the WiimoteConnect project

project thread!
*
Karma: +0/-0
Posts: 15
Offline Offline
View Profile Email
« Reply #5 on: February 18, 2009, 12:08:28 PM »

Hi thex,

Quote
Or does it "press" the sync button over an usb io card?

Well, I was maybe a little unclear in the post, but what the "device" does is to automatically powering the wiimote on (and off). Yes, this will be like "pressing the sync button" using a software function call, so that the last part of the connection sequence can be made fully automatic.

The wiimote in my setup gets power from the computer USB line and currently I support two methods for autopowering on:

  • USB hub mode (turning the entire PC USB hub system off and on!)
  • using a USB io card for external powerswitching.

The first mode is not so nice, in the sense that all devices on the USB gets powered off and on---this includes the BT dongle, and leads to some Windows Plug-and-Play problems. Hence the need for the second solution.

But I guess you know all about the troublesome MS BT stack and the annoying interference from the MS "Plug-and-Play" system?

Regards
.carsten


Logged
*
Karma: +0/-0
Posts: 1
Offline Offline
View Profile
« Reply #6 on: February 20, 2009, 01:16:31 AM »

Great job, any chance of a 64-bit build of this project and a link to download it?  Thanks.
Logged
*
Karma: +0/-0
Posts: 14
Offline Offline
View Profile Email
« Reply #7 on: February 20, 2009, 12:53:43 PM »

I can translate it into German
Logged
*
Karma: +8/-0
Posts: 83
Offline Offline
View Profile
« Reply #8 on: February 20, 2009, 02:57:53 PM »

It isn't thought to be translated yet. And by the way I'm from germany myself Wink

thex
Logged

Please donate via paypal to the WiimoteConnect project

project thread!
*
Karma: +0/-0
Posts: 2
Offline Offline
View Profile Email
« Reply #9 on: February 21, 2009, 12:53:25 PM »

Hello,thex!
Your software is so good to use!
But,i have some problems:
A、
when connecting, what measures can be taken so that i don't necessary to press the wiimote keys 1 and 2,so the software can be automatically connected to the wiimote?
B、
In your software, it have a learn mode,it tell me:when i use this mode,wiimote which are already listest in the bluetooth settings dialog will be learned even if not in discovery mode.
but when i use this mode,i must press wiimote key 1&2 to let wiimote go to discovery mode,if i haven't do this,the software can not connect the wiimote.

Please give me a answer,thanks!
Logged
*
Karma: +8/-0
Posts: 83
Offline Offline
View Profile
« Reply #10 on: February 23, 2009, 10:44:28 AM »

concerning A:
The only other way to put the Wiimote in discovery mode is the red button in the battery tray. You can put a little block there to press it continously. If you then use an external powersource to power the wiimote, the wiimote will enter discoverymode as soon as power is connected.

See: http://www.wiimoteproject.com/wiimote-whiteboard/ceiling-mounting-and-remote-syncing/

concerning B:
I don't really get the problem.

When learning a Wiimote it has to be in discovery mode or it has to be listed in the Bluetooth devices list to get recognized.

Thats how it works, there is no other way except you could enter the Bluetooth MAC address by hand Wink


thex
Logged

Please donate via paypal to the WiimoteConnect project

project thread!
*
Karma: +0/-0
Posts: 2
Offline Offline
View Profile
« Reply #11 on: February 23, 2009, 05:52:50 PM »

Hi,

I am having problem with WiiMoteConnect working with WiinRemote.

In WiiMoteConnect -> Settings, I have:
- search for WiiMotes and connect them all
- 10 interval seconds
- start autoconnect on startup
- autokill prog
- connect on startup
- clear wiimote on connect

I press 1&2 on my WiiMote.
Windows Vista says "Your devices are ready to use". Then a window pops up and says "You must restart your computer to apply these changes".

WiiMote Connect says "1 WiiMote/s successfully connected"

But the blue light on the WiMote is still flashing.

And in WiinRemote the title bar says "Error(2) The system cannot find the file spe ..."

By the way, I have managed to connect my WiiMote before using the old way of clicking Bluetooth Devices and adding manually.

If anyone can let me know what I am doing wrong, I am all ears.

Thanks!
Logged
*
Karma: +1/-0
Posts: 28
Offline Offline
View Profile
« Reply #12 on: February 23, 2009, 06:58:28 PM »

hi Thex, I got time this weekend to test your new V0.6, it works nearly perfect! when I have my wiimote learned by the software it connects to PC very fast and it never fails (in the last version occassionally it fails on the first 1 or 2 attemps to connect).

Now I can see only 2 improvements it can use, I believe you already know them and hopefully working on them already?
1) the software does not start with windows:
If I press down 1 and 2 permanently and have you software start with windows and auto-connect, the wiimote can be connected fully automatically.
2) the pop up message to ask user to turn on the sync mode of wiimote.

I have a question, you said "The only other way to put the Wiimote in discovery mode is the red button in the battery tray." and you refered to the post of "cumings" on pressing down the red sync button, but why do we have to press down the red button to enter sync mode for only 15 seconds, while we can press down the 1 and 2 buttons to enter sync mode forever? "cumings said in the post that the problem of pressing down 1 and 2 buttons permanently is they could be picked up by another PC, that's maybe the case for a building with multiple wiimotes installed, but for individual user like me, it is not a problem at all, right?



Logged
*
Karma: +8/-0
Posts: 83
Offline Offline
View Profile
« Reply #13 on: February 23, 2009, 07:35:31 PM »

@iceman321

The autoconnect feature requires to have the Wiimotes learned.

If the LEDs on your wiimote keep flashing after 20 seconds your Wiimote is definitely connected. I would recomend not to test with the WiinRemote software, you better use the tool provided with the WiimoteLib (see it attached).

@dsgclan

I will add the "autostart with windows" option, it's not a big thing. I don't know why you want that message go away as it is helpfull if you only got that 20 seconds to sync. Maybe I'll add an option to disable it.

thex
Logged

Please donate via paypal to the WiimoteConnect project

project thread!
*
Karma: +0/-0
Posts: 2
Offline Offline
View Profile
« Reply #14 on: February 24, 2009, 05:22:07 AM »

Hi Thex,

I installed BlueSoleil 3.xx, but it didn't work. So I uninstalled it.

In my frustration last night, I installed the WidComm bluetooth drivers using MSI StarKey. I got the WiiMote to connect by using the bluetooth setup wizard as described in http://www.wiili.org/index.php/How_To:_Widcomm

If I want to use WiiMoteConnect 0.6 should I uninstall the WidComm driver and hope that the Windows Vista bluetooth driver gets reinstalled. Then I can use WiiMoteConnect 0.6 again?

I remember before that when I used WiiMoteConnect 0.6 previously it said "4 WiiMote/s connected" but I only had 1 WiiMote on sync mode.

Can you let me know if WiinRemote does not work with WiiMoteConnect 0.6 ?

Thanks!
Logged
Pages: [1] 2 3 ... 6
  Print  
 
Jump to:  

Clicky Web Analytics