Sabertooth Tricks

posted in: Rover 3, Sabertooth | 0
Roby on Rover 3
Roby riding on yet-to-be-formally-introduced Rover 3

Last time we spoke at length about the Sabertooth controller and mentioned it’s ability to record flight data. Here is a sample recording from a run of a big rover (specifically, the big robot pictured above):

Sabertooth Big Rover Raw Data
Sabertooth raw data

It turns out this data is quite useful. For instance, you can create a chart of the amp draw for both motors, i.e.:

Rover 3 Loaded Amp Draw
Big robot amp draw over ~15 minute (900 second) run

Monitor Sabertooth Wirelessly with VirtualHere

Perhaps you think that amp draw chart is great, but how do you connect a computer to your rover’s Sabertooth when your rover is running a mission 200 meters away? I’ve had good luck with the help of a Raspberry Pi 3 with a little software app called VirtualHere1 that allows you to connect to USB devices over the internet.

Here are the steps to get going:

  1. Install the VirtualHere server on your Raspberry Pi
  2. Install the VirtualHere client on your PC
  3. Connect the Sabertooth to the Raspberry Pi via a USB cable
  4. Start VirtualHere server on Raspberry Pi via:
    sudo /usr/sbin/vhusbdarm -b
  5. Open the VirtualHere client on your PC. You should see the server (called “Raspberry Hub” in the image below) (you may have to specify the server’s IP if it doesn’t automatically populate). You should see a list of USB devices connected to your Raspberry Pi — notice below that Sabertooth 2×32 is the only device connected to the Raspberry Pi. So we click on the Sabertooth 2×32 and select “Use”.
    VirtualHere Windows Sabertooth
    VirtualHere Windows client screen
  6. Next open up DEScribe, click “Connect and Download Settings” and you should see an option for “Serial Port” like “COM3”:
    DESCribe Connect screen -- note that COM3 is the virtual Sabertooth device on my machine
    DESCribe connect screen — note that COM3 is the virtual Sabertooth device on my machine
  7. Now click “OK” and DEScribe should connect to the Sabertooth. Voila! You’re wirelessly connected to a remote Sabertooth controller!
    Sabertooth Live Data with VirtualHere
    Monitoring live Sabertooth data on remote robot

Let’s wrap up this brief post on that note. Next time we’ll present a few tricks to hopefully keep your shins healthy while building these big robots. Here’s looking forward to seeing you again soon!

Sincerely,
Roby

 

Notes

  1. VirtualHere is free to connect to 1 device. For more devices, you’ll need to purchase a license.
Follow Roby:

Latest posts from

Leave a Reply