Difference between revisions of "Temperature & Humidity S2 (use with mDesigner)"

From Microduino Wiki
Jump to: navigation, search
(Connectivity)
 
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
'''Note:'''<br><br> Several sensors may be similar, but this page only covers the '''TEM&HUM-S2''' sensor.
 
'''Note:'''<br><br> Several sensors may be similar, but this page only covers the '''TEM&HUM-S2''' sensor.
 
|}
 
|}
 +
 +
=Compatible Pins=
 +
The following pins on the '''Hub''' or '''mCenter+'s Hub''' support this module:
 +
<div style="width: 80%;">
 +
<div style="float: left;">[[File:Hub_I2C_Pins.png|thumb|600px]]</div>
 +
<div style="float: left;">
 +
{| class="wikitable" style="text-align: left;"
 +
|-
 +
! scope="col"| Pin Name
 +
! scope="col"| Compatibility
 +
! scope="col"| Notes
 +
|-
 +
| '''Pin 0'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 1'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 2'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 3'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 4'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 5'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 6'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 7'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 8'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 9'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 10'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 11'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 12'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin 13'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A0'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A1'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A2'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A3'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A6'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin A7'''
 +
| style='background: #FDEDEC' | No
 +
|
 +
|-
 +
| '''Pin I2C'''
 +
| style='background: #EAFAF1' | Yes
 +
| Any I2C / IIC pin.
 +
|}
 +
 +
</div>
 +
<br style="clear: left;" />
 +
</div>
 +
 +
=Block=
 +
==Temperature/Humidity Read==
 +
This block reads either the '''temperature (in Celsius)''' or '''humidity (percentage)''' from the sensor and returns the value.
 +
{| class="wikitable" style="background-color:#FEF9E7;"
 +
|'''Note:''' This block looks very similar to the '''Temperature Read''' block used with the '''Temperature D1''' sensor. '''Ensure you are using the correct block!'''
 +
|}
 +
 +
::[[File:MDesigner_Temperature_and_Humidity_S2_Read.png]]
 +
:*'''Temperature / Humidity''' - select either Temperature of Humidity to read.
 +
::*'''Temperature''' - reads the current temperature (in Celsius) from the sensor.
 +
::*'''Humidity''' - reads the current humidity percentage from the sensor.

Latest revision as of 23:13, 11 July 2018

The Temperature & Humidity (S2) sensor is a capable of measuring the current temperature and humidity near the sensor. Support for this sensor is found in mDesigner.

Microduino-Temp&Hum.jpg

Note:

Several sensors may be similar, but this page only covers the TEM&HUM-S2 sensor.

Compatible Pins

The following pins on the Hub or mCenter+'s Hub support this module:

Hub I2C Pins.png
Pin Name Compatibility Notes
Pin 0 No
Pin 1 No
Pin 2 No
Pin 3 No
Pin 4 No
Pin 5 No
Pin 6 No
Pin 7 No
Pin 8 No
Pin 9 No
Pin 10 No
Pin 11 No
Pin 12 No
Pin 13 No
Pin A0 No
Pin A1 No
Pin A2 No
Pin A3 No
Pin A6 No
Pin A7 No
Pin I2C Yes Any I2C / IIC pin.


Block

Temperature/Humidity Read

This block reads either the temperature (in Celsius) or humidity (percentage) from the sensor and returns the value.

Note: This block looks very similar to the Temperature Read block used with the Temperature D1 sensor. Ensure you are using the correct block!
MDesigner Temperature and Humidity S2 Read.png
  • Temperature / Humidity - select either Temperature of Humidity to read.
  • Temperature - reads the current temperature (in Celsius) from the sensor.
  • Humidity - reads the current humidity percentage from the sensor.