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 ofConvertingReceiveris used for events.
- converting_high_ level_ callback_ receiver 
- A wrapper for Receiver, which converts received byte vectors to structured data. This variant ofConvertingReceiveris 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.