8000 documentation example of measuring VCC voltage does not provide sensible data · Issue #1452 · esphome/issues · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
documentation example of measuring VCC voltage does not provide sensible data #1452
Closed
esphome/esphome-docs
#753
esphome/esphome-docs#753
@pille

Description

@pille

Operating environment/Installation (Hass.io/Docker/pip/etc.):

integrated with hass.io

ESP (ESP32/ESP8266, Board/Sonoff):

ESP8266/d1_mini & nodemcuv2

ESPHome version (latest production, beta, dev branch)

ESPHome v1.14.5

Affected component:

https://esphome.io/components/sensor/adc.html#adc-esp8266-vcc
https://github.com/esphome/esphome-docs/blob/current/components/sensor/adc.rst

Description of problem:
when configuring the sensor according to documentation, "meassures" 2.91V.
this value does not change over time and is even the same on different devices (including different power supplies like 6V or 5V via USB).

Problem-relevant YAML-configuration entries:

sensor:
  - platform: adc
    pin: VCC
    name: "VCC Voltage"

Logs (if applicable):

[D][adc:056]: 'VCC Voltage': Got voltage=2.91V

Additional information and things you've tried:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0