Crate tinkerforge

Source
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 of ConvertingReceiver is used for events.
converting_high_level_callback_receiver
A wrapper for Receiver, which converts received byte vectors to structured data. This variant of ConvertingReceiver 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.