ESP8266 Internal ADC  - Page 1
Forum section: electronics / general

author: TJ232
author_rank: Frequent Contributor
timestamp: March 18, 2015, 09:27:39 am
content: It's anybody here that have a decent technical documentation about ESP8266 Internal ADC? The existing one is brilliant to noneI am running some tests for battery voltage monitoring purposes. Does not look bad at all but lack of technical documentation makes any performance tests quite hard to quantify.More about ESP8266 Internal ADC reading functions:http://www.esp8266-projects.com/2015/03/internal-adc-esp8266.html

author: neslekkim
author_rank: Super Contributor
timestamp: March 18, 2015, 01:32:04 pm
content: Did you check the various docs here?http://support.dooao.com/?/explore/Found another SDK there also, DooaoSDK package with sources and drivers for things, but not sure if that is the same as in the other sdk's. (probably is)

author: TJ232
author_rank: Frequent Contributor
timestamp: March 18, 2015, 02:23:55 pm
content: Quote from: neslekkim on March 18, 2015, 01:32:04 pmThanks.Unfortunately couldn't find anything about internal ADC

author: neslekkim
author_rank: Super Contributor
timestamp: March 18, 2015, 07:02:16 pm
content: This doc have an newer date than the one referenced on your blog:https://www.mikrocontroller.net/attachment/231858/0A-ESP8266_Specifications_v4.pdfBtw, the colors on your blog makes links unreadable, grey on black..

author: TJ232
author_rank: Frequent Contributor
timestamp: March 18, 2015, 08:24:29 pm
content: Quote from: neslekkim on March 18, 2015, 07:02:16 pmThank you, will take a look.

author: C222
author_rank: Contributor
timestamp: March 18, 2015, 08:40:26 pm
content: Hackaday just published:http://hackaday.com/2015/03/18/how-to-directly-program-an-inexpensive-esp8266-wifi-module/

author: TJ232
author_rank: Frequent Contributor
timestamp: March 18, 2015, 08:55:01 pm
content: Quote from: C222 on March 18, 2015, 08:40:26 pmAnd the detailed Internal ADC technical documentation is...where? What did they published about? Might be possible to miss something...

author: C222
author_rank: Contributor
timestamp: March 18, 2015, 10:23:56 pm
content: At the end they thankhttps://nurdspace.nl/ESP8266for their Chinese datasheet translation. All they revealed is that the non-rf ADC is on SPI_EN1.Then someone on reddit decapped it and found it's really a ESP8089. But I got less on that chip than the ESP8266.http://www.reddit.com/r/electronics/comments/2jq22l/esp8266_wifiserial_chip_decapped_its_actually/

author: TJ232
author_rank: Frequent Contributor
timestamp: March 19, 2015, 07:19:40 am
content: Quote from: C222 on March 18, 2015, 10:23:56 pmSo, if I translate the story in simple plain English, it's no detailed Internal ADC technical documentation out there. yet.Anybody else some good news about?

author: dannyf
author_rank: Super Contributor
timestamp: March 19, 2015, 11:30:15 am
content: If you could gain control of the adc, you could potentially make this a sdr.

author: neslekkim
author_rank: Super Contributor
timestamp: March 19, 2015, 11:47:47 am
content: Quote from: dannyf on March 19, 2015, 11:30:15 amI wonder how much one can to inside this chip, the docs very limited, but it's mentioned that the ADC are used for the WIFI part, so one cannot use ADC at the same time as sending/receiving data..

author: dannyf
author_rank: Super Contributor
timestamp: March 19, 2015, 01:37:05 pm
content: Without documentation, it is tough to figure it out. The SDK doesn't seem to provide any help in that regard as well.The chip seems to be an ARM, btw. So you may be able to disassemble the binary to gain some insight.

author: Laurynas
author_rank: Contributor
timestamp: March 19, 2015, 02:25:45 pm
content: It's not ARM, it's xtensa.i don't know much about ADC, but I'm using it for battery voltage monitoring on my battery powered dht22 test thingy:https://thingspeak.com/channels/28358

author: TJ232
author_rank: Frequent Contributor
timestamp: July 06, 2017, 05:01:47 pm
content: This is the new valid link for the Original Article:http://www.esp8266-projects.com/2015/03/internal-adc-esp8266/Added also a new example for a 0-5V input range with Voltage divider and LSB calculation, “the easy way”:ESP8266 internal ADC 2 – the easy way exampleFor a ADC Input Frontend with Auto-range capabilities in the 0-40V Input range take a look also at the newADC Input related article