mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-10-31 08:31:29 +01:00
56 lines
2.0 KiB
ReStructuredText
56 lines
2.0 KiB
ReStructuredText
MAX6675 K-Type Thermocouple Temperature Sensor
|
|
==============================================
|
|
|
|
The ``max6675`` temperature sensor allows you to use your max6675 thermocouple
|
|
temperature sensor (`datasheet <https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf>`__, `sainsmart`_) with esphomelib
|
|
|
|
.. figure:: /esphomeyaml/images/max6675.jpg
|
|
:align: center
|
|
:target: `sainsmart`_
|
|
:width: 60.0%
|
|
|
|
MAX6675 K-Type Thermocouple Temperature Sensor. Image by `sainsmart`_.
|
|
|
|
.. _sainsmart: https://www.sainsmart.com/products/max6675-module-k-type-thermocouple-thermocouple-sensor-temperature-0-1024-for-arduino
|
|
|
|
Connect ``GND`` to ``GND``, ``VCC`` to ``3.3V`` and the other three ``MISO`` (or ``SO`` for short),
|
|
``CS`` and ``CLOCK`` (or ``SCK``) to free GPIO pins.
|
|
|
|
.. figure:: images/temperature.png
|
|
:align: center
|
|
:width: 80.0%
|
|
|
|
.. code:: yaml
|
|
|
|
# Example configuration entry
|
|
sensor:
|
|
- platform: max6675
|
|
name: "Living Room Temperature"
|
|
pin_cs: D0
|
|
pin_clock: D1
|
|
pin_miso: D2
|
|
update_interval: 15s
|
|
|
|
Configuration variables:
|
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
- **name** (**Required**): The name for the temperature sensor.
|
|
- **pin_cs** (**Required**): The Chip Select pin of the SPI interface.
|
|
- **pin_clock** (**Required**): The Clock pin of the SPI interface.
|
|
- **pin_miso** (**Required**): The Master-In/Slave-Out pin of the SPI interface.
|
|
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``15s``.
|
|
See :ref:`sensor-default_filter`.
|
|
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for codegeneration.
|
|
- All other options from :ref:`Sensor <config-sensor>` and :ref:`MQTT Component <config-mqtt-component>`.
|
|
|
|
See Also
|
|
^^^^^^^^
|
|
|
|
- :ref:`sensor-filters`
|
|
- :doc:`dallas`
|
|
- :doc:`dht`
|
|
- :doc:`adc`
|
|
- :doc:`sht3xd`
|
|
- :doc:`API Reference </api/sensor/max6675>`
|
|
- `Edit this page on GitHub <https://github.com/OttoWinter/esphomedocs/blob/current/esphomeyaml/components/sensor/max6675.rst>`__
|