mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-04-15 20:18:58 +02:00
parent
99127ce40d
commit
c9a03a99f5
@ -72,11 +72,15 @@ To measure voltages higher than 1.1V, set ``attenuation`` to one of the `followi
|
||||
ESP8266 Measuring VCC
|
||||
---------------------
|
||||
|
||||
On the ESP8266 you can even measure the voltage the chip is getting. This can be useful in situations
|
||||
On the ESP8266 you can even measure the voltage the *chip is getting*. This can be useful in situations
|
||||
where you want to shut down the chip if the voltage is low when using a battery.
|
||||
|
||||
To measure the VCC voltage, set ``pin:`` to ``VCC`` and make sure nothing is connected to the ``A0`` pin.
|
||||
|
||||
.. note::
|
||||
|
||||
To avoid confusion: It measures the voltage at the chip, and not at the VCC pin of the board. It should usually be around 3.3V.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
sensor:
|
||||
|
Loading…
Reference in New Issue
Block a user