Categories

Tutorial

ADC on Wifi module ESP8266 using LUA

This tutorial of Robo India explains how to use analog to digital conversion (ADC) of ESP8266 wifi module.

Detailed Tutorial

1. Introduction:

This tutorial explains how to use analog to digital conversion of ESP8266 using LUA. ESP8266 has got single channel ADC that means it can read one ADC. That ADC is by default connected to 0.

2. Circuit / Connections:

make following connections -

adc-esp8266-roboindia

5. Programming

Open ESPlorer and run following command.

print(adc.read(0));

This command will print ADC value.

ADC_value = adc.read(0);

This command will store ADC value in variable ADC-value, later on you may use it.

Out put will look like -

ADC-on-esp8266-robo-india

If you have any query please write us at support@roboindia.com

Thanks and Regards
Content Development Team
Robo India
http://roboindia.com

Related Tutorials
ESP8266 Wiif Module Setup

Robo India presents tutorial how to setup ESP8266 wifi module. Hardware configuration to run ESP 8266 wifi module is explained in this tutorial.

ESP8266 Flash with NodeMCU firmware

Robo India presents tutorial how to flash ESP8266 wifi module with LUA firmware. NodeMCU firmware is used here.

Starting with LUA on ESP8266 Wifi module

Robo India presents tutorial on starting with LUA on ESP8266 wifi module and ESPLORER.

LED Blinking using ESP8266 by LUA

Robo India presents tutorial on LED blinking on ESP8266 wifi module by LUA.

ESP8266 Connecting to Internet

Robo India presents tutorial on connecting ESP8266 wifi module to internet.

NodeMCU Amica Installation - ESP8266 Based Development Board

Robo India presents tutorial on how to install NodeMCU Amica, ESP8266 wifi module based development board.

Robo India Tutorial portal

Illustrated tutorials and guides.

Feel free to contact us

© Robo India | http://roboindia.com