Re: ADC ??
Posted: Tue Dec 08, 2015 6:16 pm
pvvx wrote:hreintke wrote:ADC uses 14 bits. The maximum sampling frequency 45..50us (20..22kHz).
Hi pvvx,
Are you using an external ADC or one on the ESP8266?
Thank you, J.
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
pvvx wrote:hreintke wrote:ADC uses 14 bits. The maximum sampling frequency 45..50us (20..22kHz).
int sensor = A0;
int sensor_value = 0;
sensor_value = analogRead(sensor);
Serial.println(sensor_value);
delay(1000);
martinayotte wrote:ESP8266 itself is really 0-1V for 0-1023 data.I have a Gizwits ESF12 module re-flashed with NodeMCU.
For example, on Wemos D1 Mini, there is already a voltage divider, so it is already handling 0-3V and lower it to 0-1V accordingly, so maybe NodeMCU is actually doing the same.