Wild Thumper Robot Controller: help with commands

Hi,

In order to start building a robot I ordered a Dagu 4WD Wild Thumper, the Dagu Wild Thumper Robot Controller and a raspberry pi.

The raspi should be the brain of the robot. Allowing to make it controllable via WLAN and internet.

I’ve assembled everything together using a 7,2V 4500mAh NIMH RC-racing battery pack.

The raspi is connected via USB to the controller.

Now I have two questions:

1.)   Is it possible to program the arduino on the motor controller directly by installing the arduino IDE on the raspberry pi? There is an arduino package for the raspberry pi but I’m heaving issues with the USB connection to the controller.

2.)   When I’m using the sample code for the robot controller the manual states ““HB” followed by 4 bytes of data sets the mode (0-2) and power (0-255) of each “H” bridge.

How would such a command look like when I want to send it via the serial monitor to the controller for let’s say half speed forward?

HB 1 128 1 128
or
HB11281128
or
HB01 128 01 128
or
HB
1
128
1
128
or HB 1 1 128 128
???

Some examples for some commands would be really helpful to start with.

Thanks!

Markus

 

1 Like