WOLFRAM SYSTEM MODELER

ThermometerI2C

Reading a temperature sensor I2C device

Diagram

Wolfram Language

In[1]:=
SystemModel["ModelPlug.Examples.ThermometerI2C"]
Out[1]:=

Information

Hardware Components Used

  • BMP180 temperature sensor
  • 1 Resistors of 1k
  • 1 1 LED of 1k

Description

This example uses an I2C temperature sensor. It will turn on a LED when the temperature is over 28 degrees celsius.

Components (5)

arduino1

Type: Arduino

sensor

Type: BMP180

overheating

Type: Greater

const

Type: Constant

digitalOutput1

Type: DigitalOutput