Bonn, Germany
Offline
God Member
Karma: 0
Posts: 903
|
 |
« on: January 06, 2009, 05:08:35 pm » |
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 anyway.
|
|
|
|
Left Coast, CA (USA)
Online
Brattain Member
Karma: 279
Posts: 15315
Measurement changes behavior
|
 |
« Reply #1 on: January 06, 2009, 05:11:57 pm » |
Yes, copyright the design and start marketing it. It should sell like hotcakes  Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Bonn, Germany
Offline
God Member
Karma: 0
Posts: 903
|
 |
« Reply #2 on: January 06, 2009, 05:14:33 pm » |
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 anyway.
|
|
|
|
Bristol, UK
Offline
Edison Member
Karma: 0
Posts: 1197
Exhibitor at UK Maker Faire
|
 |
« Reply #3 on: January 06, 2009, 05:16:14 pm » |
Does your computer have any driver that might respond to a serial (RS-232) mouse? Or a graphics tablet, perhaps?
|
|
|
|
|
Logged
|
|
|
|
|
Bonn, Germany
Offline
God Member
Karma: 0
Posts: 903
|
 |
« Reply #4 on: January 06, 2009, 05:18:31 pm » |
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 anyway.
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 24
Arduino rocks
|
 |
« Reply #5 on: January 06, 2009, 05:20:48 pm » |
wow that must have been funny! Or even funnier to see the look on your face in that first moment!  In any case good luck!
|
|
|
|
« Last Edit: January 06, 2009, 05:20:58 pm by Nick_de »
|
Logged
|
|
|
|
|
Bonn, Germany
Offline
God Member
Karma: 0
Posts: 903
|
 |
« Reply #6 on: January 06, 2009, 05:24:11 pm » |
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 anyway.
|
|
|
|
Bonn, Germany
Offline
God Member
Karma: 0
Posts: 903
|
 |
« Reply #7 on: January 06, 2009, 05:27:53 pm » |
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 anyway.
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 147
Arduino rocks
|
 |
« Reply #8 on: January 07, 2009, 06:19:59 am » |
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
God Member
Karma: 0
Posts: 903
|
 |
« Reply #9 on: January 07, 2009, 10:48:53 am » |
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 anyway.
|
|
|
|
0
Offline
Sr. Member
Karma: 3
Posts: 318
Arduino rocks
|
 |
« Reply #10 on: January 07, 2009, 02:55:07 pm » |
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
Full Member
Karma: 0
Posts: 147
Arduino rocks
|
 |
« Reply #11 on: January 07, 2009, 03:05:37 pm » |
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
Full Member
Karma: 0
Posts: 221
|
 |
« Reply #12 on: January 07, 2009, 03:21:00 pm » |
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
God Member
Karma: 0
Posts: 903
|
 |
« Reply #13 on: January 07, 2009, 03:27:44 pm » |
Well.. that softserial idea sounds fun  ) I will try that one next time  ) 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 anyway.
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 221
|
 |
« Reply #14 on: January 07, 2009, 03:43:31 pm » |
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
|
|
|
|
|
|