Skip to content

Read digital temperature at fixed frequency with TI Tiva uC

Notifications You must be signed in to change notification settings

IEAv-EFO/temperature-sensor

Repository files navigation

Read temperature sensor

  • Temperature sensor: MCP9808. Resolution +0.5°C, +0.25°C, +0.125°C, +0.0625°C.
  • Microprocessor model: Tiva C series Launchpad tm4c123.

i2c Pins:

  • SCL -> PA6
  • SDA -> PA7
SCL SDA
I2C0 PB2 PB3
I2C1 PA6 PA7
I2C2 PE4 PE5
I2C3 PD0 PD1
  • Vcc -> 2.7 to 5.5 V
  • Gnd

image

Note: When the i2c is working all the disconnected sensors return -0.06 celsius measurement. When communication fails all values are 0.00, and when it fails stronger it shows the initialization value.

About

Read digital temperature at fixed frequency with TI Tiva uC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published