Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.42 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.42 KB

PowerShell.IoT.TMP102

PowerShell module for working with Texas Instruments TMP102 temp sensor.

Description

This repository contains a PowerShell function to read TI's TMP102 temp sensor on a Raspberry Pi. I chose this sensor because it is very cheap. This module is using the Microsoft PowerShell IOT module. The protocol used by the module is I2C.

Getting Started

You can install this module by copying the Powershell.IOT.TMP102 folder to your PowerShell Modules directory.

Pin Layout

Here is a blog post about how to wire the pins from the sensor to the board.

Functions

PowerShell.IoT.TMP102 Function Description
Get-TMP102Temp Gets the temperature in both celsius and fahrenheit.

Examples

Get-TMP102Temp

screenshot

Raspberry Pi Pictures

pi1

pi2