Icon Made in Austria

Simple & quick development

Microtronics Library

  • Jumpstart for the development of an individual application
  • Know-how from developers with years of experience
  • Continuously updated/new libraries
  • Use & development in the free Studio

Driver

Here you will find libraries that implement interfaces to easily communicate with electrical components (including sensors).

bmp280-microtronics

Library for interfacing Bosch Sensortec BMP280 pressure sensor

The BMP280 is an absolute barometric pressure sensor especially designed for mobile applications.

  • I2C interface with communication speed up to 3.4 MHz
  • Two user selectable addresses (chosen by chip pin)
  • Pressure range: 300 to 1100hPa (equiv. to +9000…-500 m above/below sea level)
  • Temperature range : -40 to 85°C

Technical documentation

bq2589x-microtronics

Library for interfacing Texas Instruments BQ25890/2 5-A switch-mode battery charge management and system power path management IC with I2C interface

The BQ25890 and BQ25892 are highly-integrated 5-A switch-mode battery charge management and system power path management device for single cell Li-Ion and Li-polymer battery.

  • I2C interface with communication speed up to 400 kHz
  • Single Input to Support USB Input and Adjustable High Voltage Adapters
  • Integrated ADC for System Monitor (Voltage, Temperature, Charge Current)
  • BATFET Control to Support Ship Mode, Wake Up, and Full System Reset

Technical documentation

eeprom24xx01x-mt

Library for interfacing NXP 24xx01x 1K I2C Serial EEPROM



This library supports up to four 24xx01x, each having to be connected to its own I2C interface.

The Microchip Technology Inc. 24xx01x is a 1 Kbit Electrically Erasable PROM. The device is organized as one block of 128 x 8-bit memory with a 2-wire serial interface.

  • I2C-Schnittstelle mit einer Kommunikationsgeschwindigkeit von bis zu 1 MHz
  • Page write time: maximum 5 ms
  • 8-Byte internal page write buffer

Technical documentation

ina233-microtronics

Library for interfacing Texas Instruments INA233 bidirectional Current and Power Monitor IC with I2C interface

The INA233 is a current, voltage, and power monitor with an I2C interface.

  • I2C interface with communication speed up to 400 kHz
  • 16 user selectable addresses (chosen by chip pins)
  • Integrated Power Accumulator for Energy and Average Power Monitoring
  • Configurable Averaging Options
  • Independent Alert Limits for Current, Bus Voltage, and Power

Technical documentation

lis2dh-microtronics

Library for interfacing STMicroelectronics LIS2DH three-axis accelerometer

The LIS2DH is an ultra-low-power high- performance three-axis linear accelerometer.

  • I2C interface with communication speed up to 400 kHz

Technical documentation

lis3dsh-microtronics

Library for interfacing STMicroelectronics LIS3DSH three-axis accelerometer.

The LIS3DSH is an ultra-low-power high- performance three-axis linear accelerometer with an embedded state machine that can be programmed to implement autonomous applications.

  • SPI interface with communication speed up to 10 MHz
  • I2C interface with communication speed up to 400 kHz
  • Programmable embedded state machines

Technical documentation

pca6408-microtronics

Library for interfacing NXP PCA6408A 8-bit I2C-bus I/O expander with interrupt output

The PCA6408A is a 8-bit general purpose I/O expander that provides remote I/O expansion for most microcontroller families via the I²C-bus interface.

  • I2C interface with communication speed up to 400 kHz
  • Zwei vom Benutzer wählbare Adressen (Auswahl über Chip-Pin)
  • Built-in level shiffter
  • Interrupt output for indicating that an input state has changed

Technical documentation

pca6416-microtronics

Library for interfacing NXP PCA6416A 16-bit I2C-bus I/O expander with interrupt output

The PCA6416A is a 16-bit general purpose I/O expander that provides remote I/O expansion for most microcontroller families via the I²C-bus interface.

  • I2C interface with communication speed up to 400 kHz
  • Zwei vom Benutzer wählbare Adressen (Auswahl über Chip-Pin)
  • Built-in level shiffter
  • Interrupt output for indicating that an input state has changed

Technical documentation

pca9632-microtronics

Library for interfacing NXP PCA9632 4-channel, 8-bit PWM controller for LED

The PCA9632 is an I2C-bus controlled 4-bit LED driver optimized for
Red/Green/Blue/Amber (RGBA) color mixing applications.

  • I2C interface with communication speed up to 1 MHz (I2C Fast Mode Plus)
  • Two hardware address pins allow up to 4 devices on the same bus (10-pin package option only)
  • 256 steps (8-bit PWM) of individual PWM (e.g. LED brightness) control

Technical documentation

pca9646-microtronics

Library for interfacing NXP PCA9646 Buffered
4-channel 2-wire bus switch

Note: The NXP PCA9546A 4-channel I2C-bus switch with reset is also supported by this library

The PCA9646 is a monolithic CMOS integrated circuit for 2-wire bus buffering and switching in applications including I2C-bus, SMBus, PMBus, and other systems based on similar principles.

  • I2C-Schnittstelle mit einer Kommunikationsgeschwindigkeit von bis zu 1 MHz
  • 8 user selectable addresses (chosen by chip pins)
  • Each I/O is impedance isolated from all others allowing maximum capacitance on all branches
  • 30 mA static sink capability on all ports
  • Hysteresis on I/O increases noise immunity

Technical documentation

sc16is741-mt

Library for interfacing NXPs SC16IS741 Single UART with I2C-bus/SPI interface

  • SPI interface with communication speed up to 4 MHz
  • I2C interface with communication speed up to 400 kHz
  • 64 bytes FIFO (transmitter and receiver)

Technical documentation

scd30-microtronics

Library for interfacing Sensirion SCD30 CO2, humidity and temperature sensor.

The SCD30 is an I2C-bus controlled CO2, humidity and temperature sensor.

  • I2C interface with communication speed up to 100kHz
  • Fixed I2C adress
  • CO2 measurement range 400 – 40000 ppm

Technical documentation

sht2x-microtronics

Library for interfacing Sensirion SHT2x family (SHT20, SHT21, SHT25) humidity and temperature sensors

The SHT2x is a fully calibrated temperature and humidity sensor.

  • I2C interface with communication speed up to 400 kHz
  • Temperature range: -40 to 125°C ±0.3°C (SHT25: ±0.2°C)
  • Relative humidity range: 0..100%rH (SHT20:±3%rH, SHT21:±2%rH, SHT25: ±1.8%rH)

Technical documentation

sht3x-microtronics

Library for SHT3x family (SHT30, SHT31, SHT33, SHT35) of I2C temperature and relative humidity sensors

Der SHT3x ist ein vollständig kalibrierter, linearisierter und temperaturkompensierter Temperatur- und Feuchtigkeitssensor.

  • I2C-Schnittstelle mit einer Kommunikationsgeschwindigkeit von bis zu 1 MHz
  • Zwei vom Benutzer wählbare Adressen (Auswahl über Chip-Pin)
  • Temperaturbereich: -40 bis 125°C ±0,2°C (SHT33: ±0,48°C, SHT35: ±0,1°C)
  • Bereich der relativen Luftfeuchtigkeit: 0..100%rH ±2%rH (SHT35: ±1,5%rH)

Technical documentation

tmp112x-microtronics

Library for interfacing Texas Instruments TMP112 family temperature sensors

The TMP112 family of devices are digital temperature sensors designed for high-accuracy, low-power, NTC/PTC thermistor replacements where high accuracy is required.

  • I2C interface with communication speed up to 2.85 MHz
  • Four user selectable addresses (chosen by chip pin)
  • Temperature range: -40 to 125°C
  • Resolution: 12 Bits (0.0625°C)

Technical documentation

veml7700-mt

Library for interfacing Vishay VEML7700 Ambient Light Sensor with I2C Interface

The VEML7700 is a high accuracy ambient light digital 16-bit resolution sensor.

  • I2C interface with communication speed up to 400 kHz
  • Includes a high sensitive photo diode
  • Includes a low noise amplifier
  • Includes an 16-bit A/D converter

Technical documentation

Interfaces

These libraries allow you to communicate easily via various interfaces.

ble-con-manager-mt

This library helps the user to handle multiple BLE peripheral connections at once

It requires the ble-scanner-app-mt library version 2 or higher.

The library introduces the concept of “peers”.
Peers are simply BLE peripheral devices which the BLE central wants to connect to.

The library provides high level functions which enable the user to configure how it should behave regarding scanning and connecting.

This implies following workflow:

  • Registering the peer to the Library
  • Connect to the peer
  • Read data from or write data to a specific characteristic of a peer
  • Receiving of notification regarding a changed content of a characteristic of a peer

Technical documentation

ble-scanner-app-mt

This library provides functions to access the BLE Scanner App.

The BLE Scanner App is a firmware developed by Microtronics that is installed on BLE modules integrated in Microtronics devices.
It provides a set of AT commands for BLE functionality (e.g. ‘at+scan’ to scan for BLE Peripherals).

Supported rapidM2M hardware platforms:

  • rapidM2M EasyIoT (i.e. myDatalogEASY IoT)
  • rapidM2M BLEGW (i.e. BLE & 3G Gateway, BLE Gateway)
  • rapidM2M M2 (BLE module is connected via UART)
  • rapidM2M M23 (BLE module is connected via UART)

Technical documentation

modbus-master-mt

Modbus Master Library for rapidM2M hardware platforms and devices.

The Modbus master library can be used universally and easily integrated into your own projects.

The functions and handling of the library are identical on all supported hardware platforms. The implementation of the hardware-specific features happens automatically in the background.

The library currently supports the master (=client) mode for serial interfaces (RS232 and RS485). The data transmission can optionally be in the more efficient Modbus-RTU or alternatively in Modbus-ASCII format.

Supported devices:

  • rapidM2M C3xx
  • myDatalogEASY IoT/IoTmini
  • rapidM2M M22x
  • rapidM2M M23x

Technical documentation

Little Helpers

These libraries are little helpers that support you in implementing a certain functionality.

alerts-microtronics

This library facilitates the handling of alarms and warnings and supports you in generating them.

It also generates the data records that must be sent to the server in order to subsequently inform users about the problem (e.g. via SMS).

It offers the following features:

  • Function to check whether an alarm or warning for a specific measured value needs to be triggered or reset
  • Function to reset all alarms and warnings for a specific measured value
  • Function to trigger or reset a technical fault warning for a specific measured value
  • Function to trigger or reset a technical fault alarm for a specific measured value

Technical documentation

gnss-microtronics

Library decodes NMEA frames received from an external GNSS receiver

This library can be used to handle received GNSS data based on NMEA format received from any external GNSS receiver module that is connected to one of the UART/RS232 peripheral interfaces.

Decoding of frames with Sentence ID “GGA”, “GLL”, “GSA”, “GSV”, “RMC” and “VTG” is supported, providing information about longitude, latitude, speed, course and many other GNSS data tokens.

In addition, checksum calculation is implemented as well as predefined structures and debugging functions

Technical documentation

led-signalling-mt

Library for easy integration of Microtronics standard LED signalling into IoT apps

This includes the display of operating states (e.g. connection establishment) and error codes via the status LED of the rapidM2M device.

In order to save energy, it is possible to specify the time after which the LED signalling should be deactivated. The library also offers to extend the Microtronics standard LED signalling by your own LED signalling.

Supported devices:

  • rapidM2M C3xx
  • myDatalogEASY
  • IoT/IoTmini
  • rapidM2M T32x
  • rapidM2M M22x
  • rapidM2M M23x

Technical documentation

Other

rapidm2m-c3xx-base

This library provides functions for the different interfaces of the rapidM2M C3xx device.

The library serves as a basis for IoT apps on rapidM2M C3xx devices and provides the necessary functions to use the individual interfaces (e.g. RS485) of the rapidM2M C3xx devices.

Furthermore, the library offers functions to control the rapidM2M C3e extension modules. This allows the basic rapidM2M C3xx device to be extended by more inputs or outputs (e.g. rapidM2M C3e 12UI/2Rel for additional inputs or rapidM2M C3e 3mA/6Rel for additional outputs).

Supported rapidM2M devices:

  • rapidM2M C32x (based on the rapidM2M M22x hardware platform)
  • rapidM2M C33x (based on the rapidM2M M23x-
  • hardware platform)

Technical documentation

mydataconc3-mt

Library with functionality of the myDataconC3 universal datalogger application

Supported rapidM2M devices:

  • rapidM2M C32x (based on rapidM2M M22x hardware platform)
  • rapidM2M C33x (based on rapidM2M M23x hardware platform)

Technical documentation

data-logger-4ch-mt

Library provides the functionality of the universal “4-Channel Data Logger” application

Supported rapidM2M devices:

  • myDatalogEASY IoT (based on rapidM2M EASY IoT hardware platform)
  • myDatalogEASY IoTmini (based on rapidM2M EASY IoT hardware platform)

Technical documentation

Start directly

The Studio is the ideal place to develop your own IoT application quickly and easily. Use the base of libraries, tutorials and sample codes for a quick start.