eldruin / tmp006-examples

Rust examples of using a TMP006 non-contact IR thermopile (temperature sensor) with the tmp006 crate in hardware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Archived. See driver-examples

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 https://github.com/eldruin/tmp006-examples
cd tmp006-examples
cargo run --example f3-display

License

Licensed under either of

Contributing

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.

About

Rust examples of using a TMP006 non-contact IR thermopile (temperature sensor) with the tmp006 crate in hardware

License:Apache License 2.0


Languages

Language:GDB 100.0%