The strange work of...
 
Notifications
Clear all

The strange work of arduino

1 Posts
1 Users
0 Reactions
1,542 Views
KAPTOXA SIM
(@kaptoxa-sim)
Active Member
Joined: 3 years ago
Posts: 5
Topic starter  

The essence of the problem: Arduino restarts randomly. I found only one pattern: if you turn off the power supply of the arduino power supply, the same error will occur.
2 years ago in assetto corsa I had a similar problem, only once. Then there was only the dashboard and MAX7219 LED Matrix. By 2021, everything else was already installed (there were no problems, everything was working normally)
And at the end of 2021, the problem began to torment me. The entire wiring was checked/redone, the arduino board was replaced with another, the lcd 2004 display (it came with a defect) and MAX7219 LED Matrix ( I broke it ) were changed . I attach logs and a list of all components. I use a translator, so please specify what I translated incorrectly or incorrectly. I will clarify.

[2022-03-17 08:46:19,032] INFO - Starting SimHub v7.4.21 (build time : 10/02/2022 16:28:00)
[2022-03-17 08:46:19,046] INFO - Administrator privileges : True
[2022-03-17 08:46:19,047] INFO - OS version : Microsoft Windows NT 10.0.19044.0, Windows 10.0.19044
[2022-03-17 08:46:19,047] INFO - License status : Licensed
[2022-03-17 08:46:19,047] INFO - Process priority : Normal
[2022-03-17 08:46:21,777] INFO - (Re)Starting AssettoCorsa Game Manager and plugin manager
[2022-03-17 08:46:21,783] INFO - Creating Assetto Corsa game manager (ACSharedMemory.ACManager)
[2022-03-17 08:46:21,847] INFO - AssettoCorsa game manager created
[2022-03-17 08:46:21,870] INFO - Checking configuration status for AssettoCorsa
[2022-03-17 08:46:21,997] INFO - Configuration status for AssettoCorsa: GameConfigured
[2022-03-17 08:46:21,998] INFO - Creating plugin manager with plugins : SerialDashPlugin, GraphicalDashPlugin, ShakeITBSV3Plugin, ShakeITMotorsV3Plugin, LapHitoryPlugin, JoystickPlugin, NextionPlugin, ThrustmastersPlugin, AudioControlPlugin, KeyboardEmulatorPlugin
[2022-03-17 08:46:22,054] INFO - Creating SimHub.Plugins.AudioControl.AudioPlayPlugin plugin
[2022-03-17 08:46:22,056] INFO - Creating SimHub.Plugins.DataPlugins.SystemInfosProvider plugin
[2022-03-17 08:46:22,057] INFO - Creating SimHub.Plugins.DataPlugins.Shell.ShellPlugin plugin
[2022-03-17 08:46:22,067] INFO - Creating SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin
[2022-03-17 08:46:22,087] INFO - Creating SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin
[2022-03-17 08:46:22,094] INFO - Creating SimHub.Plugins.Web.WebPlugin plugin
[2022-03-17 08:46:22,095] INFO - Creating SimHub.Plugins.AudioControl.AudioControlPlugin plugin
[2022-03-17 08:46:22,118] INFO - Creating SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin plugin
[2022-03-17 08:46:22,120] INFO - Creating SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin
[2022-03-17 08:46:22,121] INFO - Creating SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin
[2022-03-17 08:46:22,123] INFO - Creating SimHub.Plugins.InputPlugins.JoystickPlugin plugin
[2022-03-17 08:46:22,125] INFO - Creating SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin plugin
[2022-03-17 08:46:22,125] INFO - Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin
[2022-03-17 08:46:22,129] INFO - Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin
[2022-03-17 08:46:22,129] INFO - Creating SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin plugin
[2022-03-17 08:46:22,130] INFO - Creating SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin plugin
[2022-03-17 08:46:22,131] INFO - Initialising SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin
[2022-03-17 08:46:23,297] INFO - Initialising SimHub.Plugins.DataPlugins.SystemInfosProvider plugin
[2022-03-17 08:46:23,369] INFO - Initialising SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin
[2022-03-17 08:46:23,375] INFO - Initialising SimHub.Plugins.AudioControl.AudioControlPlugin plugin
[2022-03-17 08:46:23,376] INFO - Initialising SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin plugin
[2022-03-17 08:46:23,716] INFO - Initialising SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin
[2022-03-17 08:46:24,959] INFO - Initialising SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin
[2022-03-17 08:46:25,054] INFO - Initialising SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin plugin
[2022-03-17 08:46:25,055] INFO - Initialising SimHub.Plugins.AudioControl.AudioPlayPlugin plugin
[2022-03-17 08:46:25,057] INFO - Initialising SimHub.Plugins.DataPlugins.Shell.ShellPlugin plugin
[2022-03-17 08:46:25,059] INFO - Initialising SimHub.Plugins.InputPlugins.JoystickPlugin plugin
[2022-03-17 08:46:25,142] INFO - Initialising SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin plugin
[2022-03-17 08:46:25,159] INFO - Initialising SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin plugin
[2022-03-17 08:46:25,311] INFO - Initialising SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin
[2022-03-17 08:46:25,358] INFO - JoystickManager : Starting game controllers detection
[2022-03-17 08:46:25,483] INFO - JoystickManager : Found G27_Racing_Wheel
[2022-03-17 08:46:25,505] INFO - JoystickManager : Found Generic___USB__Joystick__
[2022-03-17 08:46:25,508] INFO - JoystickManager : End of detection
[2022-03-17 08:46:25,693] INFO - Loading font list
[2022-03-17 08:46:25,957] INFO - Font list loading successful
[2022-03-17 08:46:32,346] INFO - Initialising SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin
[2022-03-17 08:46:32,693] INFO - Starting Arduino in Single USB mode
[2022-03-17 08:46:32,723] INFO - Matrix custom font TRAD-LARGE8x6 loaded
[2022-03-17 08:46:32,725] INFO - Initialising SimHub.Plugins.Web.WebPlugin plugin
[2022-03-17 08:46:32,934] INFO - Web suggested IP :172.20.10.8
[2022-03-17 08:46:33,186] INFO - Web available IPs :26.133.106.75,172.20.10.8
[2022-03-17 08:46:33,192] INFO - Web font-faces up to date
[2022-03-17 08:46:33,273] INFO - Plugin manager correctly initialised
[2022-03-17 08:46:33,276] INFO - Loading plugins controls
[2022-03-17 08:46:34,510] INFO - Game successfully loaded
[2022-03-17 08:46:34,678] INFO - Starting VOCORE 1 remote USB display process
[2022-03-17 08:46:38,301] INFO - Found one device on COM7 named {
"ConnectedModel": "j",
"Features": "MLGNIJPX",
"TM1638ModulesCount": 0,
"RGBLedsCount": 23,
"UniqueId": "4984a77c-67dd-4e52-b74e-0f8fac69b6c5",
"AdditionalButtonsCount": 2,
"DeviceName": "SimHub Dash",
"PortName": "COM7",
"RotaryEncodersCount": 1,
"HasBoost": 0,
"HasSpeedo": 1,
"IsBluetooth": false,
"HasTacho": 1,
"HasGearMatrix": 1,
"HasI2CLcd": true,
"HasRGBMatrix": false,
"ExpandedFeatures": [
"speedo",
"tachometer",
"encoders",
"mcutype",
"keepalive",
"Gear",
"GearMatrix"
],
"MaxAheadDatagrams": 0,
"DatagramMaxLength": 0,
"MCUModel": "ATmega328P",
"ReceivedDatagramsCount": 0
}
[2022-03-17 08:46:38,309] INFO - Switching device named SimHub Dash to speed level 11 on COM7
[2022-03-17 08:46:38,310] INFO - Switching device on port COM7 to speed level 11, 115200 bauds
[2022-03-17 08:46:38,823] INFO - Connected to device on COM7 named SimHub Dash
[2022-03-17 09:30:08,057] INFO - Arduino update is currently very late, check for parasites/EMI causes, USB cable, USB HUB, USB port, external power
[2022-03-17 09:30:14,265] ERROR - Closing arduino SimHub Dash@COM7 : reason System.TimeoutException: The operation has timed out.
at ArqSerialLib.ArqSerial.SynchronizeUpTo(Int32 aheadDatagrams)
at ArqSerialLib.ArqSerial.FlushOutcoming(Boolean all)
at SerialDash.SerialDashController.Write(Byte[] bytes)
[2022-03-17 09:30:14,266] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 77279, FailedCount = 3, ReemitedCount = 130, ReemitedDuetoWait = 128, Current ahead = 1
[2022-03-17 09:30:14,266] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 77279, FailedCount = 3, ReemitedCount = 130, ReemitedDuetoWait = 128, Current ahead = 1
[2022-03-17 09:30:17,723] INFO - Found one device on COM7 named {
"ConnectedModel": "j",
"Features": "MLGNIJPX",
"TM1638ModulesCount": 0,
"RGBLedsCount": 23,
"UniqueId": "4984a77c-67dd-4e52-b74e-0f8fac69b6c5",
"AdditionalButtonsCount": 2,
"DeviceName": "SimHub Dash",
"PortName": "COM7",
"RotaryEncodersCount": 1,
"HasBoost": 0,
"HasSpeedo": 1,
"IsBluetooth": false,
"HasTacho": 1,
"HasGearMatrix": 1,
"HasI2CLcd": true,
"HasRGBMatrix": false,
"ExpandedFeatures": [
"speedo",
"tachometer",
"encoders",
"mcutype",
"keepalive",
"Gear",
"GearMatrix"
],
"MaxAheadDatagrams": 0,
"DatagramMaxLength": 0,
"MCUModel": "ATmega328P",
"ReceivedDatagramsCount": 0
}
[2022-03-17 09:30:17,723] INFO - Switching device named SimHub Dash to speed level 11 on COM7
[2022-03-17 09:30:17,723] INFO - Switching device on port COM7 to speed level 11, 115200 bauds
[2022-03-17 09:30:18,234] INFO - Connected to device on COM7 named SimHub Dash
[2022-03-17 09:30:57,524] INFO - Arduino update is currently very late, check for parasites/EMI causes, USB cable, USB HUB, USB port, external power
[2022-03-17 09:31:03,530] ERROR - Closing arduino SimHub Dash@COM7 : reason System.TimeoutException: The operation has timed out.
at ArqSerialLib.ArqSerial.SynchronizeUpTo(Int32 aheadDatagrams)
at ArqSerialLib.ArqSerial.FlushOutcoming(Boolean all)
at SerialDash.SerialDashController.Send(Byte[] customMessage, Boolean capture)
[2022-03-17 09:31:03,530] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 1172, FailedCount = 0, ReemitedCount = 68, ReemitedDuetoWait = 68, Current ahead = 1
[2022-03-17 09:31:03,531] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 1172, FailedCount = 0, ReemitedCount = 68, ReemitedDuetoWait = 68, Current ahead = 1
[2022-03-17 09:31:06,969] INFO - Found one device on COM7 named {
"ConnectedModel": "j",
"Features": "MLGNIJPX",
"TM1638ModulesCount": 0,
"RGBLedsCount": 23,
"UniqueId": "4984a77c-67dd-4e52-b74e-0f8fac69b6c5",
"AdditionalButtonsCount": 2,
"DeviceName": "SimHub Dash",
"PortName": "COM7",
"RotaryEncodersCount": 1,
"HasBoost": 0,
"HasSpeedo": 1,
"IsBluetooth": false,
"HasTacho": 1,
"HasGearMatrix": 1,
"HasI2CLcd": true,
"HasRGBMatrix": false,
"ExpandedFeatures": [
"speedo",
"tachometer",
"encoders",
"mcutype",
"keepalive",
"Gear",
"GearMatrix"
],
"MaxAheadDatagrams": 0,
"DatagramMaxLength": 0,
"MCUModel": "ATmega328P",
"ReceivedDatagramsCount": 0
}
[2022-03-17 09:31:06,969] INFO - Switching device named SimHub Dash to speed level 11 on COM7
[2022-03-17 09:31:06,969] INFO - Switching device on port COM7 to speed level 11, 115200 bauds
[2022-03-17 09:31:07,482] INFO - Connected to device on COM7 named SimHub Dash
[2022-03-17 09:35:28,093] INFO - Arduino update is currently very late, check for parasites/EMI causes, USB cable, USB HUB, USB port, external power
[2022-03-17 09:47:02,524] INFO - Arduino update is currently very late, check for parasites/EMI causes, USB cable, USB HUB, USB port, external power
[2022-03-17 09:47:08,523] ERROR - Closing arduino SimHub Dash@COM7 : reason System.TimeoutException: The operation has timed out.
at ArqSerialLib.ArqSerial.SynchronizeUpTo(Int32 aheadDatagrams)
at ArqSerialLib.ArqSerial.FlushOutcoming(Boolean all)
at SerialDash.SerialDashController.Send(Byte[] customMessage, Boolean capture)
[2022-03-17 09:47:08,523] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 28260, FailedCount = 3, ReemitedCount = 206, ReemitedDuetoWait = 204, Current ahead = 1
[2022-03-17 09:47:08,523] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 28260, FailedCount = 3, ReemitedCount = 206, ReemitedDuetoWait = 204, Current ahead = 1
[2022-03-17 09:47:11,923] INFO - Found one device on COM7 named {
"ConnectedModel": "j",
"Features": "MLGNIJPX",
"TM1638ModulesCount": 0,
"RGBLedsCount": 23,
"UniqueId": "4984a77c-67dd-4e52-b74e-0f8fac69b6c5",
"AdditionalButtonsCount": 2,
"DeviceName": "SimHub Dash",
"PortName": "COM7",
"RotaryEncodersCount": 1,
"HasBoost": 0,
"HasSpeedo": 1,
"IsBluetooth": false,
"HasTacho": 1,
"HasGearMatrix": 1,
"HasI2CLcd": true,
"HasRGBMatrix": false,
"ExpandedFeatures": [
"speedo",
"tachometer",
"encoders",
"mcutype",
"keepalive",
"Gear",
"GearMatrix"
],
"MaxAheadDatagrams": 0,
"DatagramMaxLength": 0,
"MCUModel": "ATmega328P",
"ReceivedDatagramsCount": 0
}
[2022-03-17 09:47:11,923] INFO - Switching device named SimHub Dash to speed level 11 on COM7
[2022-03-17 09:47:11,923] INFO - Switching device on port COM7 to speed level 11, 115200 bauds
[2022-03-17 09:47:12,435] INFO - Connected to device on COM7 named SimHub Dash
[2022-03-17 09:50:18,908] INFO - Arduino update is currently very late, check for parasites/EMI causes, USB cable, USB HUB, USB port, external power
[2022-03-17 09:50:24,897] ERROR - Closing arduino SimHub Dash@COM7 : reason System.TimeoutException: The operation has timed out.
at ArqSerialLib.ArqSerial.SynchronizeUpTo(Int32 aheadDatagrams)
at ArqSerialLib.ArqSerial.FlushOutcoming(Boolean all)
at SerialDash.SerialDashController.Write(Byte[] bytes)
[2022-03-17 09:50:24,898] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 5557, FailedCount = 0, ReemitedCount = 79, ReemitedDuetoWait = 79, Current ahead = 1
[2022-03-17 09:50:24,898] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 5557, FailedCount = 0, ReemitedCount = 79, ReemitedDuetoWait = 79, Current ahead = 1
[2022-03-17 09:50:28,336] INFO - Found one device on COM7 named {
"ConnectedModel": "j",
"Features": "MLGNIJPX",
"TM1638ModulesCount": 0,
"RGBLedsCount": 23,
"UniqueId": "4984a77c-67dd-4e52-b74e-0f8fac69b6c5",
"AdditionalButtonsCount": 2,
"DeviceName": "SimHub Dash",
"PortName": "COM7",
"RotaryEncodersCount": 1,
"HasBoost": 0,
"HasSpeedo": 1,
"IsBluetooth": false,
"HasTacho": 1,
"HasGearMatrix": 1,
"HasI2CLcd": true,
"HasRGBMatrix": false,
"ExpandedFeatures": [
"speedo",
"tachometer",
"encoders",
"mcutype",
"keepalive",
"Gear",
"GearMatrix"
],
"MaxAheadDatagrams": 0,
"DatagramMaxLength": 0,
"MCUModel": "ATmega328P",
"ReceivedDatagramsCount": 0
}
[2022-03-17 09:50:28,336] INFO - Switching device named SimHub Dash to speed level 11 on COM7
[2022-03-17 09:50:28,336] INFO - Switching device on port COM7 to speed level 11, 115200 bauds
[2022-03-17 09:50:28,847] INFO - Connected to device on COM7 named SimHub Dash
[2022-03-17 09:54:30,124] INFO - Arduino update is currently very late, check for parasites/EMI causes, USB cable, USB HUB, USB port, external power
[2022-03-17 09:54:36,123] ERROR - Closing arduino SimHub Dash@COM7 : reason System.TimeoutException: The operation has timed out.
at ArqSerialLib.ArqSerial.SynchronizeUpTo(Int32 aheadDatagrams)
at ArqSerialLib.ArqSerial.FlushOutcoming(Boolean all)
at SerialDash.SerialDashController.Send(Byte[] customMessage, Boolean capture)
[2022-03-17 09:54:36,123] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 7234, FailedCount = 0, ReemitedCount = 65, ReemitedDuetoWait = 65, Current ahead = 1
[2022-03-17 09:54:36,123] INFO - Arduino performance report for SimHub Dash@COM7 : Packetsize= 16, Packetbuffer = 1, SentDatagramsCount = 7234, FailedCount = 0, ReemitedCount = 65, ReemitedDuetoWait = 65, Current ahead = 1
[2022-03-17 09:54:39,544] INFO - Found one device on COM7 named {
"ConnectedModel": "j",
"Features": "MLGNIJPX",
"TM1638ModulesCount": 0,
"RGBLedsCount": 23,
"UniqueId": "4984a77c-67dd-4e52-b74e-0f8fac69b6c5",
"AdditionalButtonsCount": 2,
"DeviceName": "SimHub Dash",
"PortName": "COM7",
"RotaryEncodersCount": 1,
"HasBoost": 0,
"HasSpeedo": 1,
"IsBluetooth": false,
"HasTacho": 1,
"HasGearMatrix": 1,
"HasI2CLcd": true,
"HasRGBMatrix": false,
"ExpandedFeatures": [
"speedo",
"tachometer",
"encoders",
"mcutype",
"keepalive",
"Gear",
"GearMatrix"
],
"MaxAheadDatagrams": 0,
"DatagramMaxLength": 0,
"MCUModel": "ATmega328P",
"ReceivedDatagramsCount": 0
}
[2022-03-17 09:54:39,544] INFO - Switching device named SimHub Dash to speed level 11 on COM7
[2022-03-17 09:54:39,544] INFO - Switching device on port COM7 to speed level 11, 115200 bauds
[2022-03-17 09:54:40,055] INFO - Connected to device on COM7 named SimHub Dash

Equipment list:

- Arduino UNO ( China UNO R3 CH340G + MEGA328 SMD )

- addressable LEDs 23 pieces (WS2812B)

- MAX7219 LED Matrix

- I2C LCD Display LCD 2004

- Opel Omega VDO Dashboard

- WAVGAT encoder

- 2 backlit buttons

- PC power supply 300 watts

I really ask for help. All the ideas have already run out (

This topic was modified 3 years ago 2 times by KAPTOXA SIM

   
Quote
Share: