Drivers

TinyGo has driver support for 44 different sensors and devices such as digital accelerometers and multicolor LEDs.

All of the drivers code is in the TinyGo Drivers repository located at https://github.com/tinygo-org/drivers/.

The following 44 devices are supported.

Device NameInterface Type
ADT7410 I2C Temperature SensorI2C
ADXL345 accelerometerI2C
APA102 RGB LEDSPI
AT24CX 2-wire serial EEPROMI2C
BH1750 ambient light sensorI2C
BlinkM RGB LEDI2C
BME280 humidity/pressure sensorI2C
BMP180 barometerI2C
BuzzerGPIO
DS1307 real time clockI2C
DS3231 real time clockI2C
“Easystepper” stepper motor controllerGPIO
ESP32 as WiFi Coprocessor with Arduino nina-fwSPI
ESP8266/ESP32 AT Command set for WiFi/TCP/UDPUART
GPS moduleI2C/UART
HD44780 LCD controllerGPIO
HUB75 RGB led matrixSPI
ILI9341 TFT color displaySPI
L293x motor driverGPIO/PWM
L9110x motor driverGPIO/PWM
LIS3DH accelerometerI2C
LSM6DS3 accelerometerI2C
MAG3110 magnetometerI2C
MCP3008 analog to digital converter (ADC)SPI
BBC micro:bit LED matrixGPIO
Microphone - PDMI2S/PDM
MMA8653 accelerometerI2C
MPU6050 accelerometer/gyroscopeI2C
PCD8544 displaySPI
Resistive Touchscreen (4-wire)GPIO
SemihostingDebug
Shift register)GPIO
SHT3x Digital Humidity SensorI2C
SSD1306 OLED displayI2C / SPI
SSD1331 TFT color displaySPI
ST7735 TFT color displaySPI
ST7789 TFT color displaySPI
ThermistorADC
VEML6070 UV light sensorI2C
VL53L1X time-of-flight distance sensorI2C
Waveshare 2.13” e-paper displaySPI
Waveshare 2.13” (B & C) e-paper displaySPI
WS2812 RGB LEDGPIO

We also give you the ability to add new drivers. If your device isn’t listed here, please raise an issue in the issue tracker.