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
Posts: 27
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 415 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 415 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 415 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 415 times



In total there are 7 users online :: 0 registered, 0 hidden and 7 guests
Registered users: No registered users
Most users ever online was 138 on Tue Feb 13, 2018 6:29 pm
Total posts 371
Total topics 268
Total members 55
Our newest member bitcoinhours
No birthdays today