Rust examples of using a TMP006 non-contact IR thermopile (temperature sensor) with the tmp006 crate in hardware
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Additional example programs for the tmp006 crate Build Status

This repository contains additional example programs using the TMP006 I2C non-contact infrared (IR) thermopile temperature sensor with an STM32F3Discovery board.

These examples expect that you connect the TMP006 device to the pins PB6 (SCL) and PB7 (SDA) of the discovery board.

For example, to run the f3-display example: First, connect your discovery board per USB, then connect OpenOCD in a terminal with:

openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg

Then on another terminal run:

git clone
cd tmp006-examples
cargo run --example f3-display


Licensed under either of


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.