How to make Arduino Uno Wireless Web Server?

Programming, Tutorial, Coding, New Design, and/or any project for your Arduino and Raspberry Pi can post your topic /suggestion here.
User avatar
dondon pramis
Location: Philippines
Posts: 54
Joined: Sun Feb 12, 2017 8:28 am

How to make Arduino Uno Wireless Web Server?

Sun Dec 31, 2017 9:48 am

This ESP8266 based wireless web server project is built around an arduino. Currently, ESP8266 is gaining popularity in the field of electronics because it is low-cost, reliable and easily available in the market. Most documents related to this module are in Mandarin (Chinese language) and information provided in the data sheet is not sufficient enough for using ESP8266 for an application.

In order to fill the gap, people from various countries have formed an ESP8266 community forum, which gives necessary details about programming and other related issues concerning this module.
prototype of the ESP8266 based wireless web server.jpg
prototype of the ESP8266 based wireless web server.jpg (40.02 KiB) Viewed 964 times
ESP8266 contains a built-in 32-bit low-power CPU, ROM and RAM. It is a complete and self-contained Wi-Fi network solution that can carry software applications as a stand-alone device or connected with a microcontroller (MCU). The module has built-in AT Command firmware to be used with any MCU via COM port. Salient features of ESP8266 are:

802.11 b/g/n protocol
Direct (P2P), soft-AP
Integrated TCP/IP protocol stack
Integrated PLL, regulators and power-management units
+19.5dBm output power in 802.11b mode
Supports antenna diversity
Integrated low-power 32-bit MCU
Wireless SoC
Maximum frequency is 80MHz
64k bytes of instruction RAM
96k bytes of data RAM
64k bytes of boot RAM
RISC architecture
ESP8266 module.jpg
ESP8266 module.jpg (60.28 KiB) Viewed 964 times
We have used ESP8266 as a stand-alone device. Supply voltage for the Wi-Fi module is 3.3 volts. Child board is to be mounted on the main board.

CON2 is used for COM port interface for connecting the module to a PC and the module is programmed using a USB-to-serial converter. If physical COM port is available on the PC, USB-to-serial converter is not necessary.

ESP8266 module has 16 pins. Pin 1 (RESET) is connected to 3.3V through resistor R5 and push-button S2 is provided for manual reset. Programing mode pin 12 (GPIO0) is connected to 3.3V through R3, and S1 is used to bring the module to programing mode. Pin 3 (CH_PD) is connected to 3.3V through R8.

ESP8266 also integrates a general-purpose 10-bit resolution ADC (pin 2). It is typically used to measure voltage from the sensor or battery. It cannot be used when the chip is transmitting, otherwise, voltage may be inaccurate.
Fig.-4-Circuit-diagram-of-the-child-board-for-the-circuit.jpg (53.94 KiB) Viewed 964 times
All digital input/output (I/O) pins are protected from over-voltage with a snap-back circuit connected between the pad and the ground. Snap-back voltage is typically 6V and holding voltage is 5.8V. This provides protection from over-voltage and ESD. Output devices are also protected from reverse voltage with diodes. LED1 is connected to pin 11 (GPIO2). Pin 6 (GPIO12) is connected to 3.3V through R4 and provided with a push-button (S3) for debugging purposes.

Every supplier of Wi-Fi modules follows a different pattern for output pin arrangment. So no standard PCB pattern can be followed. Readers of EFY can design their own PCB. Authors of this article have purchased ESP8266 module (Sunrom model no. 4255) from Sunrom Technologies and the PCB is designed to suite their requirement.

An application has been implemented to measure room temperature using LM35 temperature sensor and an LED control (on/off) using a Web browser. LM35 is a calibrated temperature sensor, whose sensitivity is 10 milli-volt/1°C, but one can build customised projects also.
Preferences-window-of-Arduino-IDE-1.jpg (67.16 KiB) Viewed 964 times



In total there are 6 users online :: 1 registered, 0 hidden and 5 guests
Registered users: Bing [Bot]
Most users ever online was 19 on Mon May 20, 2019 11:06 pm
Total posts 527
Total topics 406
Total members 73
Our newest member Kelly
No birthdays today