SimHub and game con...
 
Notifications
Clear all

SimHub and game controllers freeze when try to use arduino pro micro

4 Posts
1 Users
0 Reactions
1,865 Views
(@gerisoft)
Active Member
Joined: 3 years ago
Posts: 7
Topic starter  

Hi, I have 3 arduino devices actually, but want to use only one for SimHub RPM led display.

I have an Arduino Leonardo handbrake, an Arduino Pro Micro called to GeriSoft Buttonbox, and one Arduino Pro Micro called to GeriSoft GT Wheel, the last one is programmed as RGB led and game controller with rotary and buttons too.

If all 3 connected, and use only the game controller part, no problem for hours. The problem ocurs only if I turned on the Arduino hardware in simhub to use the RPM LEDs. From this, even if use single or multiple arduinos, the simhub starts to scan all COM ports, and freeze out the gam controller task, also freeze the rundll32.dll subtask. I can not set anything in game controllers, and simhub not recognize the hardware. If am patient enough, after 8-10-12minutes, sometimes a new hardver with the right com port detected, and can use the RPM led in the editor, the game controller task still freeze.

From this point it is not possible to restart windows, because it can't close the task controller, and freeze in black screen.

After reset, the pro micro boards getting new com port numbers, so I can't fix which port the simsub should scan.

If turning off the simhub arduino module, all work fine again. Please advise what to do now?

Here are screenshots: https://www.dropbox.com/sh/is5819p3zgwp5r9/AAC7ROmylQhRSU7TJrK-D_Fda?dl=0


   
Quote
(@gerisoft)
Active Member
Joined: 3 years ago
Posts: 7
Topic starter  

It looks like I found the problem (I hope so)

After testing on another PC, and works fine, I went back to my sim PC, and test again, individually the Arduino board works fine, even if the arduino support turned on in simhub. Strange, after plugging all unit to the hub, it is not working, hmm, plug all device to another port, it works well.

It looks like, the hub can not power 3 arduino and a sound card and all boards start to reboot as of power loss, and it may cause the continous scan and freeze of the controller app

 


   
ReplyQuote
(@gerisoft)
Active Member
Joined: 3 years ago
Posts: 7
Topic starter  

Well, not works anymore, it worked for a few minutes, now it is enough to turn in the arduino support without plugging in the usb port of arduino. The app freeze, the dash screen (hdmi) stop working, rundll32 stop working


   
ReplyQuote
(@gerisoft)
Active Member
Joined: 3 years ago
Posts: 7
Topic starter  

Ok, yesterday I figured out something. If I plug the arduino with RGB bar (only one that use in simhub) and start simhub, wait for connect. After that connect the other two that I do not use in simhub, all works fine 🙂


   
ReplyQuote
Share: