Skip to main content

Introduction

What's included - hardware

Stemi provides a couple of sensors and devices either on the board or as an addon.

These include:

What's included - software

Stemi provides a couple of libraries to make programming easier.

These include:

  • stemi.analogio
  • stemi.digitalio
  • stemi.pulseio
  • stemi.pwmio
  • stemi.barometer
  • stemi.display
  • stemi.mqtt
  • stemi.robot

Wrapper libraries

stemi.analogio, stemi.digitalio, stemi.pulseio and stemi.pwmio are small wrapper around analogio, digitalio, pulseio and pwmio that provide all functionality from their respective libraries in addition to providing hot reloading functionality. This is achieved by keeping track of used pins and releasing them between code runs.

Libraries overview

Barometer

This library exposes a simple class that can be used to read a pressure sensor that's on the Stemi Shield board.

Display

Provides a few utility functions to ease displaying information, such as outputting text and clearing the display. Along with a switch that controls automatic printing to the display.

Robot

Contains functionality that enables the Stemi Shield board to talk to Stemi Hexapod, and control the hexapod's movement, LEDs, etc.

MQTT

Used to communicate with the rest of Stemi infrastructure, eg. posting to Stemi Chat or saving sensor data to Stemi Datastore.