No motors detected
 
Notifications
Clear all

No motors detected

6 Posts
2 Users
0 Reactions
2,588 Views
(@rolofuentes)
Eminent Member
Joined: 4 years ago
Posts: 11
Topic starter  

Hello, hope someone could help me... 

The story.. i use to have a notebook with 3 motor shields and an arduino uno working without problems.

I build a PC, working for about a year without problems. I update my rig and now want to use my shaking motors... first, it didn't recognize the Arduino, had to download manually a driver, then Arduino, my hardware, configure, Arduino Uno and the com that was detected... 

After the compilation ok.. but it does not appear or show any motor... no motors detected.. they are all set up and installed like before.. but for some reason they are not detected...

I'm missing something???

 

Hope someone could help!

This topic was modified 4 years ago by RoloFuentes

   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

Hi !

If the Arduino shows as connected inside simhub but showing no motors I would simply think that you forgot to set it at the sketch setup state ?

Otherwise could you send the logs files while Arduino is connected ? it should give some additional clues.(they are stored inside the log folder inside simhub install directory


   
ReplyQuote
(@rolofuentes)
Eminent Member
Joined: 4 years ago
Posts: 11
Topic starter  

@admin5435

Hello!

Is there a chance the UNO or the Motor Shields have gone to another world? Can't figure any other thing... The main difference between my notebook and this PC is that the notebook detect the Arduino Uno without a problem, with this I had to download a driver manually (after 2 hours of trying to understand what happened - It was only detected as USB 2.0-Serial-)

They are 3 Motor Shield V2 connected, one interesting fact is if I press the reset button of any of those 3, all the Arduino system reset (It is no more detected by Sim Hub and then it came back, this makes me think that it is all connected)

 

Don't know how to attach the file, so here goes the log...I really don't understand much, but I think most of the first part is just initialization.. (I think I manage to upload the Log and a capture of what I see)

 

Thanks mate!!!

 

[2021-04-03 09:18:46,080] INFO - Starting SimHub v7.3.10 (build time : 16/03/2021 19:57:43)
[2021-04-03 09:18:46,087] INFO - Administrator privileges : True
[2021-04-03 09:18:46,091] INFO - OS version : Microsoft Windows NT 10.0.19041.0, Windows 10.0.19041
[2021-04-03 09:18:46,091] INFO - License status : Licensed
[2021-04-03 09:18:46,091] INFO - Process priority : Normal
[2021-04-03 09:18:47,836] INFO - (Re)Starting PCars2 Game Manager and plugin manager
[2021-04-03 09:18:47,840] INFO - Creating Project Cars 2 game manager (PCarsSharedMemory.PC2.PCars2Manager)
[2021-04-03 09:18:47,858] INFO - PCars2 game manager created
[2021-04-03 09:18:47,860] INFO - Creating plugin manager with plugins : SerialDashPlugin, AudioControlPlugin, JoystickPlugin, GraphicalDashPlugin, KeyboardEmulatorPlugin, NextionPlugin, ShakeITBSV3Plugin, ShakeITMotorsV3Plugin, LapHitoryPlugin, ThrustmastersPlugin
[2021-04-03 09:18:47,923] INFO - Creating SimHub.Plugins.AudioControl.AudioPlayPlugin plugin
[2021-04-03 09:18:47,925] INFO - Creating SimHub.Plugins.DataPlugins.SystemInfosProvider plugin
[2021-04-03 09:18:47,925] INFO - Creating SimHub.Plugins.DataPlugins.Shell.ShellPlugin plugin
[2021-04-03 09:18:47,925] INFO - Creating SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin
[2021-04-03 09:18:47,926] INFO - Creating SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin
[2021-04-03 09:18:47,929] INFO - Creating SimHub.Plugins.Web.WebPlugin plugin
[2021-04-03 09:18:47,929] INFO - Creating SimHub.Plugins.AudioControl.AudioControlPlugin plugin
[2021-04-03 09:18:47,996] INFO - Creating SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin plugin
[2021-04-03 09:18:47,997] INFO - Creating SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin
[2021-04-03 09:18:47,997] INFO - Creating SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin
[2021-04-03 09:18:47,998] INFO - Creating SimHub.Plugins.InputPlugins.JoystickPlugin plugin
[2021-04-03 09:18:47,998] INFO - Creating SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin plugin
[2021-04-03 09:18:47,998] INFO - Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin
[2021-04-03 09:18:47,999] INFO - Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin
[2021-04-03 09:18:47,999] INFO - Creating SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin plugin
[2021-04-03 09:18:47,999] INFO - Creating SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin plugin
[2021-04-03 09:18:47,999] INFO - Initialising SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin
[2021-04-03 09:18:48,510] INFO - Initialising SimHub.Plugins.DataPlugins.SystemInfosProvider plugin
[2021-04-03 09:18:48,937] INFO - Initialising SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin
[2021-04-03 09:18:48,939] INFO - Initialising SimHub.Plugins.AudioControl.AudioControlPlugin plugin
[2021-04-03 09:18:48,940] INFO - Initialising SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin plugin
[2021-04-03 09:18:49,068] INFO - Initialising SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin
[2021-04-03 09:18:49,543] INFO - Initialising SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin
[2021-04-03 09:18:49,569] INFO - Initialising SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin plugin
[2021-04-03 09:18:49,569] INFO - Initialising SimHub.Plugins.AudioControl.AudioPlayPlugin plugin
[2021-04-03 09:18:49,570] INFO - Initialising SimHub.Plugins.DataPlugins.Shell.ShellPlugin plugin
[2021-04-03 09:18:49,571] INFO - Initialising SimHub.Plugins.InputPlugins.JoystickPlugin plugin
[2021-04-03 09:18:49,654] INFO - Initialising SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin plugin
[2021-04-03 09:18:49,661] INFO - Initialising SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin plugin
[2021-04-03 09:18:49,697] INFO - JoystickManager : Starting game controllers detection
[2021-04-03 09:18:49,743] INFO - Initialising SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin
[2021-04-03 09:18:49,745] INFO - JoystickManager : End of detection
[2021-04-03 09:18:49,860] INFO - Loading font list
[2021-04-03 09:18:50,290] INFO - Initialising SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin
[2021-04-03 09:18:50,376] INFO - Font list loading successful
[2021-04-03 09:18:50,464] INFO - Starting Arduino in Multiple USB mode, devices configured :
{"CustomProtocol":{"Expression":null},"deviceName":"SimHub Dash","deviceUniqueId":"885f910b-64c1-45b6-a78b-6c9964c4d831","displayModules":0,"readButtons":true,"disabled":false,"RgbLeds":0,"Motors":0,"speedLevel":11}
[2021-04-03 09:18:50,487] INFO - Matrix custom font custommatrixfont8x8 loaded
[2021-04-03 09:18:50,488] INFO - Initialising SimHub.Plugins.Web.WebPlugin plugin
[2021-04-03 09:18:50,649] INFO - Web suggested IP :192.168.2.103
[2021-04-03 09:18:50,727] INFO - Web font-faces up to date
[2021-04-03 09:18:50,728] INFO - Plugin manager correctly initialised
[2021-04-03 09:18:50,728] INFO - Loading plugins controls
[2021-04-03 09:18:51,220] INFO - Game successfully loaded
[2021-04-03 09:18:51,249] INFO - Allocating FMOD output for Speakers (3- USB PnP Sound Device)
[2021-04-03 09:18:52,055] INFO - Allocating FMOD output for Speakers (USB Audio Device)
[2021-04-03 09:18:52,438] INFO - Allocating FMOD output for Speakers (USB PnP Sound Device)
[2021-04-03 09:19:11,970] INFO - Hardware settings changed, restarting arduino controller(s)
[2021-04-03 09:19:11,972] INFO - Starting Arduino in Multiple USB mode, devices configured :
{"CustomProtocol":{"Expression":null},"deviceName":"SimHub Dash","deviceUniqueId":"885f910b-64c1-45b6-a78b-6c9964c4d831","displayModules":0,"readButtons":true,"disabled":true,"RgbLeds":0,"Motors":0,"speedLevel":11}
[2021-04-03 09:19:55,614] INFO - Hardware settings changed, restarting arduino controller(s)
[2021-04-03 09:19:55,615] INFO - Starting Arduino in Multiple USB mode, devices configured :
{"CustomProtocol":{"Expression":null},"deviceName":"SimHub Dash","deviceUniqueId":"885f910b-64c1-45b6-a78b-6c9964c4d831","displayModules":0,"readButtons":true,"disabled":false,"RgbLeds":0,"Motors":0,"speedLevel":11}
[2021-04-03 09:19:58,699] INFO - Found one device on COM5 named {
"ConnectedModel": "j",
"Features": "GNIJPX",
"TM1638ModulesCount": 0,
"UniqueId": "6704ea34-906a-48c3-bfef-6c378947504a",
"DeviceName": "Motores",
"PortName": "COM5",
"HasBoost": 0,
"HasSpeedo": 0,
"IsBluetooth": false,
"HasTacho": 0,
"HasI2CLcd": false,
"HasRGBMatrix": false,
"ExpandedFeatures": [
"mcutype",
"keepalive",
"Gear"
],
"MaxAheadDatagrams": 0,
"DatagramMaxLength": 0,
"MCUModel": "ATmega328P",
"ReceivedDatagramsCount": 0
}
[2021-04-03 09:19:58,701] INFO - Connected to device on COM5 named Motores
[2021-04-03 09:19:58,706] INFO - Starting Arduino in Multiple USB mode, devices configured :
{"CustomProtocol":{"Expression":null},"deviceName":"Motores","deviceUniqueId":"6704ea34-906a-48c3-bfef-6c378947504a","displayModules":0,"readButtons":true,"disabled":false,"RgbLeds":0,"Motors":0,"speedLevel":11}
[2021-04-03 09:20:03,816] INFO - Found one device on COM5 named {
"ConnectedModel": "j",
"Features": "GNIJPX",
"TM1638ModulesCount": 0,
"UniqueId": "6704ea34-906a-48c3-bfef-6c378947504a",
"DeviceName": "Motores",
"PortName": "COM5",
"HasBoost": 0,
"HasSpeedo": 0,
"IsBluetooth": false,
"HasTacho": 0,
"HasI2CLcd": false,
"HasRGBMatrix": false,
"ExpandedFeatures": [
"mcutype",
"keepalive",
"Gear"
],
"MaxAheadDatagrams": 0,
"DatagramMaxLength": 0,
"MCUModel": "ATmega328P",
"ReceivedDatagramsCount": 0
}
[2021-04-03 09:20:03,816] INFO - Switching device named Motores to speed level 11 on COM5
[2021-04-03 09:20:03,816] INFO - Switching device on port COM5 to speed level 11, 115200 bauds
[2021-04-03 09:20:04,325] INFO - Connected to device on COM5 named Motores

This post was modified 4 years ago by RoloFuentes

   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

I confirm that the Arduino is still alive as it's detected, but you probably forgot to enable the motor shield during the sketch setup 😉 currently there is no motor shield enabled 😉 https://github.com/SHWotever/SimHub/wiki/Arduino--Setup

Also when you are using a single Arduino it's better than keep simhub running in single Arduino mode 😉

 


   
ReplyQuote
(@rolofuentes)
Eminent Member
Joined: 4 years ago
Posts: 11
Topic starter  

@admin5435

I have done that about 25 times... hahaha

-Multiple Arduinos

-Open arduino setup tool

-Board UNO

-COM5

-Check Box

-Upload

-OK

And what I see is the image I send you on the edit of the post...

 

I'm missing something??

 


   
ReplyQuote
(@rolofuentes)
Eminent Member
Joined: 4 years ago
Posts: 11
Topic starter  
Posted by: @rolofuentes

@admin5435

I have done that about 25 times... hahaha

-Multiple Arduinos

-Open arduino setup tool

-Board UNO

-COM5

-Check Box

-Upload

-OK

And what I see is the image I send you on the edit of the post...

 

I'm missing something??

 

YES... I DID MISS SOMETHING!!!!!!!

 

Please send me to the top one of the Hall of Shame... I didn't found the Motor Shield (that I had to add 3) at the left of the screen... so I guess I they were going to be automatically detected... so stupid!!

 

Shame on me... public apologies...


   
ReplyQuote
Share: