-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADC receiving 1024 #2864
Comments
As your example is working with at least latest master branch (as of 2019 08 12), you should consider checking hardware part. |
BTW note that max voltage shown by ADC is 1.0 V
|
IMO, this is not a firmware issue nor is it an application developer issue...
|
Actually, after a carefull read, I realized that the nodemcu and wemos board uses internal voltage dividers (resistors), and I created my own module without including those, so, my mistake, after creating my own voltage divider I could see the values |
Make sure you read and understand http://nodemcu.readthedocs.io/en/dev/en/support/.
Use one of the two templates below and DELETE THE REST.
8<------------------------ BUG REPORT -----------------------------------------
Expected behavior
Get readings of a voltage devider with GND and 3.3
Actual behavior
ADC reading shows only 1024
Test code
Provide a Minimal, Complete, and Verifiable example which will reproduce the problem.
NodeMCU version
Which branch are you on? If you know the Git revision then add it here as well.
branch: master
commit: 68c425c
SSL: false
modules: adc,bit,cron,file,gpio,mdns,net,node,pwm,sjson,spi,tmr,uart,wifi
Hardware
Describe which ESP8266 device you use and document any special hardware setup
required to reproduce the problem.
ESP12E single module
The text was updated successfully, but these errors were encountered: