Skip to content

[ESP8266 - AdcRead()]: Read ADC delivers max. value of 1024 instead 1023 - BUG? #6064

@hasenradball

Description

@hasenradball

Basic Infos

  • [x ] This issue complies with the issue POLICY doc.
  • [x ] I have read the documentation at readthedocs and the issue is not addressed there.
  • [x ] I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • [x ] I have filled out all fields below.

Platform

  • Hardware: ESP-12
  • Core Version: 2.5.0
  • Development Env: Arduino IDE 1.8.9
  • Operating System: Windows/Ubuntu

Settings in IDE

  • Module: Wemos D1 mini / Nodemcu
  • Flash Mode: dio
  • Flash Size: 4MB
  • lwip Variant: not known
  • Reset Method: nodemcu
  • Flash Frequency: 40Mhz
  • CPU Frequency: 80Mhz
  • Upload Using: SERIAL
  • Upload Speed: 115200

Problem Description

If i read the adc pin on the ESP8266 or the Wemos D1 mini I get a max. value of 1024.
But the documentation says it ist a 10-bit adc with a range of 0...1023!
Why do the AdcRead() function deliver 1024!!??

Is this problem known?

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