Go, Robot, Go!
Golang Powered Robotics

Next generation robotics/IoT framework with support for 27 different platforms

Start Now

Gobot is a framework for robots, drones, and the Internet of Things (IoT), written in the Go programming language

Meet The Code

Gobot makes controlling robots and devices incredibly simple and fun.

All you need to get started is to install Gobot:

$ go get -d -u gobot.io/x/gobot/...

The "Hello, World" Of Things

This program connects to an Arduino, and toggles an LED, every one second.

package main

import (


func main() {
  firmataAdaptor := firmata.NewAdaptor("/dev/ttyACM0")
  led := gpio.NewLedDriver(firmataAdaptor, "13")

  work := func() {
    gobot.Every(1*time.Second, func() {

  robot := gobot.NewRobot("bot",


We've got many more examples to help you get started on your next IoT project!

Platform Support

Gobot has a extensible system for connecting to hardware devices. The following robotics and physical computing platforms are currently supported:

27 Platforms

16 GPIO drivers

Support for many devices that use General Purpose Input/Output (GPIO) have a shared set of drivers provided using the gpio platform package:

5 Analog I/O (AIO) drivers

Support for many devices that use Analog Input/Output (AIO) have a shared set of drivers provided also using the gpio platform package:

17 I2C drivers

Support for devices that use Inter-Integrated Circuit (I2C) have a shared set of drivers provided using the i2c platform package:


Gobot includes a cppp.io compliant RESTful API to query the status of any connection, device or robot running in your swarm. It additionally has the ability to issue commands directly to your devices and robots.

It also comes with the robeaux React.JS interface baked right into its API server for quick and easy configuration.

You can check out more information on the Gobot API in the docs here


Gobot is designed to be using in conjunction with Gort, a Command Line Toolkit (CLI) for RobotOps. Gort provides tools to scan for connected devices, upload firmware, and it works perfectly with Gobot. Also included with Gobot is a CLI for generating new robots and adaptors.

Gobot also has it own CLI which you can learn more about here.

Be Part Of The Robot Evolution