Tuff SDK · v0.9 “walnut” · serial + wifi
Hey! Let’s get your robot moving.
Tuff is a friendly Python SDK for hobby robot arms and rovers. Plug in over USB serial or pair over wifi, and something on your desk is waving within ten minutes — promise.
Up and running in three moves
-
Install
pip install tuffOne package: the library, the drivers, and the
tuffcommand line. -
Connect
tuff devicesArms over USB serial, rovers over wifi — Tuff finds whatever is switched on.
-
Move
arm.wave()Every session starts with a wave. Tradition. Also an excellent smoke test.
The tutorial trail
All tutorials →-
Hello, Arm
Install the SDK, find your arm on a serial port, and make it wave — all before your tea goes cold.
-
Rover, Meet Wifi
Pair a Pebble rover over your home network, drive a square, and learn the one safety habit that matters.
-
Teach Mode and Poses
Program the arm with your hands: record poses in free-drive, replay them, and save a routine to disk.
-
Reading Sensors
Bumpers, the line sensor, and the telemetry stream: make the rover react to the world instead of just rolling through it.
-
Pick and Place
Gripper control, coordinate moves, and a calibrated workspace — the arm finally earns its keep.
-
The Mail Robot
The capstone: a rover courier and an arm that loads it, coordinated by one script into a two-robot delivery service.
Why Tuff?
Tuff is a small Python SDK with one job: get a hobby robot moving in the
first ten minutes, then stay out of your way. It speaks serial over USB to
desk-mounted arms and wifi to rolling rovers, using the same handful of
verbs for both. There is no IDE to install, no firmware toolchain to fight,
and no linear algebra prerequisite — pip install tuff, plug in, and the
first thing your robot does is wave at you.
The library ships with drivers for the boards hobby kits actually use, a
tuff command line for pairing and flashing, and a teach mode that lets you
program poses by moving the arm with your own hands. Everything in these
tutorials runs on a plain laptop — no cloud account, no telemetry phoning
home, no subscription. Just you, a robot, and a Saturday afternoon.