Hi guys,
I'm trying to hookup the Wild Thumper Controller (WTC)to my Uno.
Initial test with a RC unit works great, with the WTC receiving 1500 signals when in neutral position.
The Uno is sending the signal using the "servo.write(90)" function.
However, the signals received on the WTC fluctuates between 1400 to 1600.
The result is a jumper 6x6 :(
Is there a way to send perfect, stable signals to the WTC from the arduino?
Next, I'm exploring the Serial Comm (SC) mode of the WTC.
According to instructions, I need to send the characters "HB" followed by 4 bytes of data indicating direction & speed.
Is this code correct?
byte D1, D2, D3, D4;
Serial.print("HB");
Serial.print(D1); Serial.print(D2); Serial.print(D3); Serial.print(D4);
My last attemp is to rewrite the Serial Comm code by combing the RC mode.
The idea is to send 2 bytes of data, 1 to indicate driving/steering, the other indicating value.
Can I achieve this by this code?
if (Serial.available)
{
do
{
int cmd = Serial.read();
} (while cmd != 'd' || cmd != 's')
int value = Serial.read();
value = map(value, 0, 255, 1000, 2000);
}