Expand description
Rust API bindings for Tinkerforge bricks and bricklets. See also the additional documentation and examples here
Modules§
- accelerometer_
bricklet - Measures acceleration in three axis.
- accelerometer_
v2_ bricklet - Measures acceleration in three axis.
- air_
quality_ bricklet - Measures IAQ index, temperature, humidity and air pressure.
- ambient_
light_ bricklet - Measures ambient light up to 900lux.
- ambient_
light_ v2_ bricklet - Measures ambient light up to 64000lux.
- ambient_
light_ v3_ bricklet - Measures ambient light up to 64000lux.
- analog_
in_ bricklet - Measures DC voltage between 0V and 45V.
- analog_
in_ v2_ bricklet - Measures DC voltage between 0V and 42V.
- analog_
in_ v3_ bricklet - Measures DC voltage between 0V and 42V.
- analog_
out_ bricklet - Generates configurable DC voltage between 0V and 5V.
- analog_
out_ v2_ bricklet - Generates configurable DC voltage between 0V and 12V.
- analog_
out_ v3_ bricklet - Generates configurable DC voltage between 0V and 12V.
- barometer_
bricklet - Measures air pressure and altitude changes.
- barometer_
v2_ bricklet - Measures air pressure and altitude changes.
- base58
- Parses Base58 encoded brick and bricklet uids.
- byte_
converter - Traits for (de)serialization of structs to byte vectors.
- can_
bricklet - Communicates with CAN bus devices.
- can_
v2_ bricklet - Communicates with CAN bus devices.
- co2_
bricklet - Measures CO2 concentration in ppm.
- co2_
v2_ bricklet - Measures CO2 concentration, temperature and humidity.
- color_
bricklet - Measures color (RGB value), illuminance and color temperature.
- color_
v2_ bricklet - Measures color (RGB value), illuminance and color temperature.
- compass_
bricklet - 3-axis compass with 10 nanotesla and 0.1° resolution.
- converting_
callback_ receiver - A wrapper for
Receiver
, which converts received byte vectors to structured data. This variant ofConvertingReceiver
is used for events. - converting_
high_ level_ callback_ receiver - A wrapper for
Receiver
, which converts received byte vectors to structured data. This variant ofConvertingReceiver
is used for high level events, for use cases such as streaming. - converting_
receiver - A wrapper for
Receiver
, which converts received byte vectors to structured data. - current12_
bricklet - Measures AC/DC current between -12.5A and +12.5A.
- current25_
bricklet - Measures AC/DC current between -25A and +25A.
- dc_
brick - Drives one brushed DC motor with up to 28V and 5A (peak).
- dc_
v2_ bricklet - Drives one brushed DC motor with up to 28V and 5A (peak).
- device
- Generic device functionality which is used by all bricks and bricklets.
- distance_
ir_ bricklet - Measures distance up to 150cm with infrared light.
- distance_
ir_ v2_ bricklet - Measures distance up to 150cm with infrared light.
- distance_
us_ bricklet - Measures distance between 2cm and 400cm with ultrasound.
- distance_
us_ v2_ bricklet - Measures distance between 30cm and 500cm with ultrasound.
- dmx_
bricklet - DMX master and slave.
- dual_
button_ bricklet - Two tactile buttons with built-in blue LEDs.
- dual_
button_ v2_ bricklet - Two tactile buttons with built-in blue LEDs.
- dual_
relay_ bricklet - Two relays to switch AC/DC devices.
- dust_
detector_ bricklet - Measures dust density.
- e_
paper_ 296x128_ bricklet - Three color 296x128 e-paper display.
- energy_
monitor_ bricklet - Measures Voltage, Current, Energy, Real/Apparent/Reactive Power, Power Factor and Frequency.
- esp32_
brick - ESP32 microcontroller based Brick with 6 Bricklet ports.
- esp32_
ethernet_ brick - ESP32 microcontroller based Brick with Ethernet and 6 Bricklet ports.
- gps_
bricklet - Determine position, velocity and altitude using GPS.
- gps_
v2_ bricklet - Determine position, velocity and altitude using GPS.
- gps_
v3_ bricklet - Determine position, velocity and altitude using GPS.
- hall_
effect_ bricklet - Detects presence of magnetic field.
- hall_
effect_ v2_ bricklet - Measures magnetic flux density between -7mT and +7mT.
- hat_
brick - HAT for Raspberry Pi with 8 Bricklets ports and real-time clock.
- hat_
zero_ brick - HAT for Raspberry Pi Zero with 4 Bricklets ports.
- humidity_
bricklet - Measures relative humidity.
- humidity_
v2_ bricklet - Measures relative humidity.
- imu_
brick - Full fledged AHRS with 9 degrees of freedom.
- imu_
v2_ brick - Full fledged AHRS with 9 degrees of freedom.
- imu_
v3_ bricklet - Full fledged AHRS with 9 degrees of freedom.
- industrial_
analog_ out_ bricklet - Generates configurable DC voltage and current, 0V to 10V and 4mA to 20mA.
- industrial_
analog_ out_ v2_ bricklet - Generates configurable DC voltage and current, 0V to 10V and 4mA to 20mA.
- industrial_
counter_ bricklet - 4 channel counter up to 4MHz.
- industrial_
digital_ in_ 4_ bricklet - 4 galvanically isolated digital inputs.
- industrial_
digital_ in_ 4_ v2_ bricklet - 4 galvanically isolated digital inputs.
- industrial_
digital_ out_ 4_ bricklet - 4 galvanically isolated digital outputs.
- industrial_
digital_ out_ 4_ v2_ bricklet - 4 galvanically isolated digital outputs.
- industrial_
dual_ 0_ 20ma_ bricklet - Measures two DC currents between 0mA and 20mA (IEC 60381-1).
- industrial_
dual_ 0_ 20ma_ v2_ bricklet - Measures two DC currents between 0mA and 20mA (IEC 60381-1).
- industrial_
dual_ ac_ in_ bricklet - 2 inputs that can detect AC voltages of up to 230V.
- industrial_
dual_ ac_ relay_ bricklet - Two relays to switch AC devices.
- industrial_
dual_ analog_ in_ bricklet - Measures two DC voltages between -35V and +35V with 24bit resolution each.
- industrial_
dual_ analog_ in_ v2_ bricklet - Measures two DC voltages between -35V and +35V with 24bit resolution each.
- industrial_
dual_ relay_ bricklet - Two relays to switch AC/DC devices.
- industrial_
ptc_ bricklet - Reads temperatures from Pt100 und Pt1000 sensors.
- industrial_
quad_ relay_ bricklet - 4 galvanically isolated solid state relays.
- industrial_
quad_ relay_ v2_ bricklet - 4 galvanically isolated solid state relays.
- io4_
bricklet - 4-channel digital input/output.
- io4_
v2_ bricklet - 4-channel digital input/output.
- io16_
bricklet - 16-channel digital input/output.
- io16_
v2_ bricklet - 16-channel digital input/output.
- ip_
connection - The IP Connection manages the communication between the API bindings and the Brick Daemon or a WIFI/Ethernet Extension.
- isolator_
bricklet - Galvanically isolates any Bricklet from any Brick.
- joystick_
bricklet - 2-axis joystick with push-button.
- joystick_
v2_ bricklet - 2-axis joystick with push-button.
- laser_
range_ finder_ bricklet - Measures distance up to 40m with laser light.
- laser_
range_ finder_ v2_ bricklet - Measures distance up to 40m with laser light.
- lcd_
16x2_ bricklet - 16x2 character alphanumeric display with blue backlight.
- lcd_
20x4_ bricklet - 20x4 character alphanumeric display with blue backlight.
- lcd_
128x64_ bricklet - 7.1cm (2.8“) display with 128x64 pixel and touch screen.
- led_
strip_ bricklet - Controls up to 320 RGB LEDs.
- led_
strip_ v2_ bricklet - Controls up to 2048 RGB(W) LEDs.
- line_
bricklet - Measures reflectivity of a surface.
- linear_
poti_ bricklet - 59mm linear potentiometer.
- linear_
poti_ v2_ bricklet - 59mm linear potentiometer.
- load_
cell_ bricklet - Measures weight with a load cell.
- load_
cell_ v2_ bricklet - Measures weight with a load cell.
- low_
level_ traits - master_
brick - Basis to build stacks and has 4 Bricklet ports.
- moisture_
bricklet - Measures soil moisture.
- motion_
detector_ bricklet - Passive infrared (PIR) motion sensor with 7m range.
- motion_
detector_ v2_ bricklet - Passive infrared (PIR) motion sensor with 12m range and dimmable backlight.
- motorized_
linear_ poti_ bricklet - Motorized Linear Potentiometer.
- multi_
touch_ bricklet - Capacitive touch sensor for 12 electrodes.
- multi_
touch_ v2_ bricklet - Capacitive touch sensor for 12 electrodes.
- nfc_
bricklet - NFC tag read/write, NFC P2P and Card Emulation.
- nfc_
rfid_ bricklet - Reads and writes NFC and RFID tags.
- oled_
64x48_ bricklet - 1.68cm (0.66“) OLED display with 64x48 pixels.
- oled_
128x64_ bricklet - 3.3cm (1.3“) OLED display with 128x64 pixels.
- oled_
128x64_ v2_ bricklet - 3.3cm (1.3“) OLED display with 128x64 pixels.
- one_
wire_ bricklet - Communicates with up 64 1-Wire devices.
- outdoor_
weather_ bricklet - 433MHz receiver for outdoor weather station.
- particulate_
matter_ bricklet - Measures Particulate Matter concentration (PM1.0, PM2.5 and PM10).
- performance_
dc_ bricklet - Drives one brushed DC motor with up to 36V and 10A.
- piezo_
buzzer_ bricklet - Creates 1kHz beep.
- piezo_
speaker_ bricklet - Creates beep with configurable frequency.
- piezo_
speaker_ v2_ bricklet - Creates beep and alarm with configurable volume and frequency.
- ptc_
bricklet - Reads temperatures from Pt100 und Pt1000 sensors.
- ptc_
v2_ bricklet - Reads temperatures from Pt100 und Pt1000 sensors.
- real_
time_ clock_ bricklet - Battery-backed real-time clock.
- real_
time_ clock_ v2_ bricklet - Battery-backed real-time clock.
- red_
brick - Executes user programs and controls other Bricks/Bricklets standalone.
- remote_
switch_ bricklet - Controls remote mains switches.
- remote_
switch_ v2_ bricklet - Controls remote mains switches and receives signals from remotes.
- rgb_
led_ bricklet - Controls one RGB LED.
- rgb_
led_ button_ bricklet - Push button with built-in RGB LED.
- rgb_
led_ matrix_ bricklet - RGB LED Matrix with 8x8 pixel.
- rgb_
led_ v2_ bricklet - Controls one RGB LED.
- rotary_
encoder_ bricklet - 360° rotary encoder with push-button.
- rotary_
encoder_ v2_ bricklet - 360° rotary encoder with push-button.
- rotary_
poti_ bricklet - 300° rotary potentiometer.
- rotary_
poti_ v2_ bricklet - 300° rotary potentiometer.
- rs232_
bricklet - Communicates with RS232 devices.
- rs232_
v2_ bricklet - Communicates with RS232 devices.
- rs485_
bricklet - Communicates with RS485/Modbus devices with full- or half-duplex.
- segment_
display_ 4x7_ bricklet - Four 7-segment displays with switchable colon.
- segment_
display_ 4x7_ v2_ bricklet - Four 7-segment displays with switchable dots.
- servo_
brick - Drives up to 7 RC Servos with up to 3A.
- servo_
v2_ bricklet - Drives up to 10 RC Servos.
- silent_
stepper_ brick - Silently drives one bipolar stepper motor with up to 46V and 1.6A per phase.
- silent_
stepper_ v2_ bricklet - Silently drives one bipolar stepper motor with up to 46V and 1.6A per phase.
- solid_
state_ relay_ bricklet - Controls AC and DC Solid State Relays.
- solid_
state_ relay_ v2_ bricklet - Controls AC and DC Solid State Relays.
- sound_
intensity_ bricklet - Measures sound intensity.
- sound_
pressure_ level_ bricklet - Measures Sound Pressure Level in dB(A/B/C/D/Z).
- stepper_
brick - Drives one bipolar stepper motor with up to 38V and 2.5A per phase.
- temperature_
bricklet - Measures ambient temperature with 0.5°C accuracy.
- temperature_
ir_ bricklet - Measures contactless object temperature between -70°C and +380°C.
- temperature_
ir_ v2_ bricklet - Measures contactless object temperature between -70°C and +380°C.
- temperature_
v2_ bricklet - Measures ambient temperature with 0.2°C accuracy.
- thermal_
imaging_ bricklet - 80x60 pixel thermal imaging camera.
- thermocouple_
bricklet - Measures temperature with thermocouples.
- thermocouple_
v2_ bricklet - Measures temperature with thermocouples.
- tilt_
bricklet - Detects inclination of Bricklet (tilt switch open/closed).
- uv_
light_ bricklet - Measures UV light.
- uv_
light_ v2_ bricklet - Measures UV-A, UV-B and UV index.
- voltage_
bricklet - Measures DC voltage between 0V and 50V.
- voltage_
current_ bricklet - Measures power, DC voltage and DC current up to 720W/36V/20A.
- voltage_
current_ v2_ bricklet - Measures power, DC voltage and DC current up to 720W/36V/20A.
- xmc1400_
breakout_ bricklet - Breakout for Infineon XMC1400 microcontroller.