Electronics tutorials including microcontroller, microprocessor, programing and circuits. Intended for beginners, electronics hobbyists, college students, professionals and educational purposes.

Connecting ESP8266 to WiFi Network – Beginners Guide

ESP8266 is the one of the most popular WiFi SoC (System on Chip) available today. It finds a lot of applications in IoT (Internet of Things), Home Automation fields. In this tutorial we will see how can we connect ESP8266 to a WiFi network. Modes of Operation ESP8266 has 3 operation modes. Those are: Station Mode Soft Access Point Mode Station + Access Point Mode Station Mode: Connecting to one specific network: ST  – Station mode in which ESP acts as a device & connects...

Getting Started with ESP8266 Programming – Arduino

Bring IoT to Arduino together! ESP8266 WiFi Module The ESP8266 WiFi Module is a self contained SOC with integrated TCP/IP protocol stack that can give any microcontroller access to your WiFi network. The ESP8266 is capable of either hosting an application or offloading all Wi-Fi networking functions from another application processor. The applications of ESP8266 are Smart power plugs,Home automation ,Wi-Fi location-aware devices,Industrial wireless control,Security ID tags. Features of ESP8266 802.11 b/g/n protocol Wi-Fi Direct (P2P), soft-AP Integrated TCP/IP protocol stack Integrated TR switch,...

SPI Communication with PIC Microcontroller – MPLAB XC8

SPI (Serial Peripheral Interface) is a full duplex synchronous serial communication interface used for short distance communications. It is usually used for communication between different modules in a same device or PCB. SPI devices communicates each other using a master slave architecture with a single master. SPI Communication SPI is called as a 4-wire bus as it requires four wires for its communication as shown above. In the case of single slave communications we need only 3 wires, as slave select (SS) is...

What is a Microprocessor ?

What is a Microprocessor ? A microprocessor is an integrated circuit (IC) which incorporates core functions of a computer's central processing unit (CPU). It is a programmable multipurpose silicon chip, clock driven, register based, accepts binary data as input and provides output after processing it as per the instructions stored in the memory. Block Diagram of a Computer Block Diagram of a Computer Why we need a Microprocessor ? Thank you "B B DWIVEDI" for asking this question in the comment. So I thought of...

ESP8266 – WiFi SoC

WiFi SoC (System on Chip) ESP8266 is the most popular and low cost WiFi SoC with TCP/IP stack and a low power 32 bit microcontroller manufactured by Espressif, a Shanghai based Chinese manufacturer. As you might already know, nowadays IoT (Internet of Things) is an emerging field. This is the one of the most popular and low cost solution for connecting 'Things' to internet via WiFi. ESP8266 - WiFi SoC   ESP8266 belongs to Espressif System's Smart Connectivity Platform (ESCP) which is a set of high...

EasyEDA – A Cloud based PCB Design Software

Cloud computing is an internet based computing which relies on sharing computer resources. It enables us to use computer resources or processing power as a utility similar to using electricity. So we don't need to make big computer infrastructure in our building, just use the cloud resources whenever there is a need. Nowadays everything become cloud computing, like cloud storage, word processing, business analytics etc. What is the role of cloud computing in electronics ? The question ends here, EasyEDA. It...

I²C Communication with PIC Microcontroller – MPLAB XC8

I2C or IIC or I2C stands for Inter-Integrated Circuit. It is a very popular multi-master, multi-slave serial communication interface developed by Philips. I2C uses two bidirectional open drain data lines, Serial Data (SDA) and Serial Clock (SCL) with pull up resistors as shown below. Unlike UART, you can connect and communicate to multiple devices using the same I2C bus. I2C Communication I2C is a master slave protocol. It means that devices connected to I2C bus will be either master or slave. The master is the...

Using ADC of PIC Microcontroller – MPLAB XC8

In this tutorial we will learn, how to use the ADC module of a PIC Microcontroller using MPLAB XC8 compiler. For demonstration we will use the commonly available PIC 16F877A microcontroller. Every physical quantity found in nature like temperature, humidity, pressure, force is analog. We need to convert these analog quantities to digital to process it using a digital computer or a microcontroller. This is done by using Analog to Digital Converters. An Analog to Digital Converter or ADC is a device...

>