Control of Tracked Mobile Tank (RB-Nex-34)

I can’t follow the documentation for the robot, and I’m asking so I can figure out what I need to buy with the robot kit RB-Nex-34 to control it.

In the manual,on Page 5 it talks about attaching an arduino (various boards) to the robot? What’s unclear is whether an ATMega328 chip is already incorporated in the control board. Is it as easy as simply plugging a USB cable into my computer and programming directly from Arduino IDE onto the control board provided? Or do I need to buy a separate Arduino and attach it the control board as a shield? Later examples in the manual suggest the you can program onto the control board directly though I want to make sure.

Second question…my ultimate goal is to use an off-the-shelf RC remote control to control this robot. Is there any suggestions on the easiest way to do that. Or am I better off using a mobile app like Arduino Bluetooth (play.google.com/store/apps/deta … ooth&hl=en) and send control commands that way.

[h1][/h1]

Hi,

Let’s look at each of your questions one by one:

The RB-Nex-32 product comes with an Arduino-based controller inside. This board is used to control the robot. It can programmed like any other Arduino-compatible board.

Yes, the board is Arduino-compatible. Just make sure nothing is connected to the pins that are also used for USB serial communication (typically digital pins 0/1).

You can program the board directly.

The simplest may be to start by making some simple code that controls the motor based on some other input type. Maybe use keyboard input (through the Serial Monitor). Once you have good control of the robot platform, you can switch that for RC pulses (what is sent by receiver RC modules).
You can check this example code for more details on converting an RC pulse signal into an integer value. You may also want to check out the code in this example. It has two functions that can be used to convert from pulse width to angle and vice versa.

This app would of course (as shown in the video) require the use of extra hardware. Please note you could always use the [RB-Nex-23]. It includes an XBee header that can be used with a Bluetooth Bee board, such as the RB-Dfr-546, which provides a Bluetooth 4.0 BLE connection (which can be used with modern smartphones and tablets).

We hope this helps.

Sincerely,