Author Topic: ESP8266 Internal ADC  (Read 9006 times)

0 Members and 1 Guest are viewing this topic.

Offline TJ232Topic starter

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: 00
  • www.esp8266-projects.org
    • ESP8266 Projects
ESP8266 Internal ADC
« on: March 18, 2015, 09:27:39 am »
It's anybody here that have a decent technical documentation about ESP8266 Internal ADC? The existing one is brilliant to none  :-//

I 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



ESP8266 Projects - www.esp8266-projects.org
MPDMv4 Dimmer Board available on Tindie: https://www.tindie.com/stores/next_evo1/
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: ESP8266 Internal ADC
« Reply #1 on: March 18, 2015, 01:32:04 pm »
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)
 

Offline TJ232Topic starter

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: 00
  • www.esp8266-projects.org
    • ESP8266 Projects
Re: ESP8266 Internal ADC
« Reply #2 on: March 18, 2015, 02:23:55 pm »
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)

Thanks.

Unfortunately couldn't find anything about internal ADC :(
ESP8266 Projects - www.esp8266-projects.org
MPDMv4 Dimmer Board available on Tindie: https://www.tindie.com/stores/next_evo1/
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: ESP8266 Internal ADC
« Reply #3 on: March 18, 2015, 07:02:16 pm »
This doc have an newer date than the one referenced on your blog:
https://www.mikrocontroller.net/attachment/231858/0A-ESP8266_Specifications_v4.pdf

Btw, the colors on your blog makes links unreadable, grey on black..
 

Offline TJ232Topic starter

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: 00
  • www.esp8266-projects.org
    • ESP8266 Projects
Re: ESP8266 Internal ADC
« Reply #4 on: March 18, 2015, 08:24:29 pm »
This doc have an newer date than the one referenced on your blog:
https://www.mikrocontroller.net/attachment/231858/0A-ESP8266_Specifications_v4.pdf

Btw, the colors on your blog makes links unreadable, grey on black..

Thank you, will take a look.
ESP8266 Projects - www.esp8266-projects.org
MPDMv4 Dimmer Board available on Tindie: https://www.tindie.com/stores/next_evo1/
 

Offline C222

  • Contributor
  • Posts: 13
 

Offline TJ232Topic starter

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: 00
  • www.esp8266-projects.org
    • ESP8266 Projects
Re: ESP8266 Internal ADC
« Reply #6 on: March 18, 2015, 08:55:01 pm »
Hackaday just published:
http://hackaday.com/2015/03/18/how-to-directly-program-an-inexpensive-esp8266-wifi-module/

And the detailed Internal ADC technical documentation is...where? What did they published about? Might be possible to miss something...
ESP8266 Projects - www.esp8266-projects.org
MPDMv4 Dimmer Board available on Tindie: https://www.tindie.com/stores/next_evo1/
 

Offline C222

  • Contributor
  • Posts: 13
Re: ESP8266 Internal ADC
« Reply #7 on: March 18, 2015, 10:23:56 pm »
At the end they thank https://nurdspace.nl/ESP8266 for 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/
 

Offline TJ232Topic starter

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: 00
  • www.esp8266-projects.org
    • ESP8266 Projects
Re: ESP8266 Internal ADC
« Reply #8 on: March 19, 2015, 07:19:40 am »
At the end they thank https://nurdspace.nl/ESP8266 for 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/

So, 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?
ESP8266 Projects - www.esp8266-projects.org
MPDMv4 Dimmer Board available on Tindie: https://www.tindie.com/stores/next_evo1/
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: ESP8266 Internal ADC
« Reply #9 on: March 19, 2015, 11:30:15 am »
If you could gain control of the adc, you could potentially make this a sdr.
================================
https://dannyelectronics.wordpress.com/
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: ESP8266 Internal ADC
« Reply #10 on: March 19, 2015, 11:47:47 am »
If you could gain control of the adc, you could potentially make this a sdr.

I 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..
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: ESP8266 Internal ADC
« Reply #11 on: March 19, 2015, 01:37:05 pm »
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.
================================
https://dannyelectronics.wordpress.com/
 

Offline Laurynas

  • Contributor
  • Posts: 47
  • Country: lt
Re: ESP8266 Internal ADC
« Reply #12 on: March 19, 2015, 02:25:45 pm »
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
 

Offline TJ232Topic starter

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: 00
  • www.esp8266-projects.org
    • ESP8266 Projects
Re: ESP8266 Internal ADC
« Reply #13 on: July 06, 2017, 05:01:47 pm »
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 example

For a ADC Input Frontend with Auto-range capabilities in the 0-40V Input range take a look also at the new ADC Input related article
ESP8266 Projects - www.esp8266-projects.org
MPDMv4 Dimmer Board available on Tindie: https://www.tindie.com/stores/next_evo1/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf