Pages: [1] 2   Go Down
Author Topic: My Arduino is a mouse?!  (Read 1495 times)
0 Members and 1 Guest are viewing this topic.
Bonn, Germany
Offline Offline
God Member
*****
Karma: 2
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
There seems to be some sort of error here.. each time i plug in the arduino now to my usb port it is recognized as Mouse and it moves the cursor arround (i attached a GPS receiver)..
That is indeed quite strange i think.. any suggestions?
Logged

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17303
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, copyright the design and start marketing it. It should sell like hotcakes  smiley-wink

Lefty
Logged

Bonn, Germany
Offline Offline
God Member
*****
Karma: 2
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

satellite steered mouse... yes, that could do it.. unfortunately there is this 5m error margin - even on the desktio ;0)
Logged

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

Bristol, UK
Offline Offline
Edison Member
*
Karma: 1
Posts: 1197
Exhibitor at UK Maker Faire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Does your computer have any driver that might respond to a serial (RS-232) mouse?  Or a graphics tablet, perhaps?
Logged

Bonn, Germany
Offline Offline
God Member
*****
Karma: 2
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No... not really. interesteringly this only happens (now - after about a hundred tries before) when i have powered the GPS Receiver on the board 0o
Logged

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

wow that must have been funny! Or even funnier to see the look on your face in that first moment! smiley-wink

In any case good luck!
« Last Edit: January 06, 2009, 05:20:58 pm by Nick_de » Logged

Bonn, Germany
Offline Offline
God Member
*****
Karma: 2
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ok.. symotoms are as follows:

Everything is fine except when i plug in the board with the GPS powered up at start... would be nice if someone could verify - but well....... dont think so..

Anyway, i still love the idea about that gps mouse ;0)
Logged

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

Bonn, Germany
Offline Offline
God Member
*****
Karma: 2
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

additional: Uploading a sketch is impossible: Out of Sync or the IDE crashes ;0)

Need to let the power off of the GPS Receiver
Logged

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

0
Offline Offline
Full Member
***
Karma: 0
Posts: 147
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
additional: Uploading a sketch is impossible: Out of Sync or the IDE crashes ;0)

Need to let the power off of the GPS Receiver

Let me guess - the GPS receiver is connected to the Arduino via the serial port (pin 0 and 1)?
Logged

Bonn, Germany
Offline Offline
God Member
*****
Karma: 2
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

yes, that is right. I already thought that this was the problem, but than again i did doubt it because i anticipated that the arduino designers would have taken such a thing in account when designing it - so i gave up the thought on this being the problem.
Logged

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

0
Offline Offline
Sr. Member
****
Karma: 4
Posts: 323
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
yes, that is right. I already thought that this was the problem, but than again i did doubt it because i anticipated that the arduino designers would have taken such a thing in account when designing it - so i gave up the thought on this being the problem.

... I wouldn't give up on that just yet...  =)

!c
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 147
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
yes, that is right. I already thought that this was the problem, but than again i did doubt it because i anticipated that the arduino designers would have taken such a thing in account when designing it - so i gave up the thought on this being the problem.

You have both the GPS and PC connected to the same serial port, which means that the GPS is interfering with the PC<->Arduino communication. If you need to communicate with both the PC and GPS at the same time you must use SoftSerial for one of them.
Logged

0
Offline Offline
Full Member
***
Karma: 1
Posts: 223
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had similar problems before. I think Windows has some legacy RS232 mouse driver that automatically activate when certain serial baud rate is used. Can't remember how I got rid of it now... Have you looked in device manager and see if there's new mouse detected? Maybe try disabling it?
Logged

Bonn, Germany
Offline Offline
God Member
*****
Karma: 2
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well.. that softserial idea sounds fun smiley-mad)

I will try that one next time smiley-mad)

Disabling that mouse didnt work ;0)
Logged

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

0
Offline Offline
Full Member
***
Karma: 1
Posts: 223
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, found it.

Go to regedit,

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sermouse

Find entry "Start", set value to HEX 3 (manual) or 4 (disabled). Restart.
Logged

Pages: [1] 2   Go Up
Jump to: