Hi,
I need some help with the telemetry-plugin.
I've built a system with nine DC-Vibration-Motors in my racing seat (it works similar to the iVibe-System). The nine Motors should give some additional feedback of the tires and the chassis.
The Vibration-Motors are connected via Arduino-Mega over serial port to the PC.
The Arduino-code works as it should. But there is a problem with the data-stream between the telemetry-plugin and the arduino, that I couldn't fix for three month now.
In practical it means: Motors are starting and stopping randomly without a reason. Sometimes the motors will start running while I'm in the garage-screen and the telemetry-plugin shouldn't be loaded anyway at this stage.
I built a small tool in Visual Basic to start and stop the motors at different speeds. It does what it should do: Awaiting a Ten-Byte-Stream which starts with a Start-Byte („255“) at first, and then nine Bytes between „0“ and „254“for the nine Motors. Is the 10-Byte-Package processed, the Arduino ist awaiting the next Package. On this side everything should work properly.
What I really need is a snippet for the rFactor2-telemetry-plugin, which will send the 10 Bytes continously to the Arduino on com3. It will be enough for my future work when the data stream is fixed like „255,100,100,100,100,100,100,100,100,100“.
Thanx in advance
tommy
I need some help with the telemetry-plugin.
I've built a system with nine DC-Vibration-Motors in my racing seat (it works similar to the iVibe-System). The nine Motors should give some additional feedback of the tires and the chassis.
The Vibration-Motors are connected via Arduino-Mega over serial port to the PC.
The Arduino-code works as it should. But there is a problem with the data-stream between the telemetry-plugin and the arduino, that I couldn't fix for three month now.
In practical it means: Motors are starting and stopping randomly without a reason. Sometimes the motors will start running while I'm in the garage-screen and the telemetry-plugin shouldn't be loaded anyway at this stage.
I built a small tool in Visual Basic to start and stop the motors at different speeds. It does what it should do: Awaiting a Ten-Byte-Stream which starts with a Start-Byte („255“) at first, and then nine Bytes between „0“ and „254“for the nine Motors. Is the 10-Byte-Package processed, the Arduino ist awaiting the next Package. On this side everything should work properly.
What I really need is a snippet for the rFactor2-telemetry-plugin, which will send the 10 Bytes continously to the Arduino on com3. It will be enough for my future work when the data stream is fixed like „255,100,100,100,100,100,100,100,100,100“.
Thanx in advance
tommy