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


Calling API using ESP8266

The objective of this tutorial is to explain how to do HTTP JSON GET requests using an ESP8266 and Arduino IDE. Components RequiredESP8266 USB CableHardware Connect ESP8266 to Computer   Software Code #include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> #include <ArduinoJson.h>const char* ssid = "SERVER NAME"; const char* password = "SERVER PASSWORD";void setup() { Serial.begin(115200); WiFi.begin(ssid, password);while (WiFi.status() != WL_CONNECTED) { delay(1000); Serial.println("Connecting..."); } }void loop() { if (WiFi.status() == WL_CONNECTED) { HTTPClient http; [...]


Interfacing GPS with Arduino

GPS stands for Global Positioning System. GPS module find the location (latitude, longitude, altitude) by comparing the time taken for receiving signals from satellites in its vicinity. GPS offers a great accuracy and also provides other data besides position coordinates. Components RequiredArduino Uno GPS Breadboard Connecting WiresHardware Circuit Diagram Interfacing GPS with Arduino – Circuit Diagram ConnectionsConnect TX pin of GPS Module to pin number 4 of Arduino Uno. Connect RX pin of GPS Module to pin number 3 of Arduino Uno. Connect Red wire (5V pin) of GPS module to [...]

Interfacing PIR Sensor with Arduino - Practical Implementation

Interfacing PIR Motion Sensor with Arduino

A PIR sensor is generally known to the world as a motion sensor or motion detector. So in this project we are going to use the PIR motion sensor to detect motion. Here we are going to sense movement of human by using Passive infrared sensor (PIR sensor). Using the feedback from the sensor we will control an LED with the help of Arduino Uno. Components RequiredArduino Uno PIR Sensor 330Ω Resistor LED Breadboard Connecting WiresHardware Circuit Diagram Interfacing PIR Motion Sensor with Arduino – Circuit Diagram Circuit Explanation Connection between PIR Sensor [...]

Interfacing GSM Modem with Arduino - Practical Implementation

Interfacing GSM Module with Arduino

In this article, I am going to explain about interfacing of GSM Module with Arduino. Interfacing a GSM module to Arduino is pretty simple. We have to make only 3 connections between the GSM module and Arduino. For the working demonstration we will be sending an SMS to a particular number whenever a switch is pressed. Components RequiredArduino Uno GSM Modem Switch 1kΩ Resistor Breadboard Connecting WiresHardware Circuit Diagram Interfacing GSM Modem with Arduino – Circuit Diagram ConnectionsConnect TX pin of GSM Module to RX pin of Arduino Uno. Connect RX pin [...]

Interfacing Moisture Sensor with Arduino

Interfacing Soil Moisture Sensor with Arduino

Introduction In this article, we are going to interface a Soil Moisture Sensor with Arduino Uno. We will measure the moisture content of soil in pot or farming field and by using this we can pour water into field based on preset values. This sensor measures the volumetric content of water inside the soil (based on resistance/conductivity) and gives the moisture level as output. The sensor is equipped with both analog and digital output, so it can be used in both [...]


Interfacing Rain Sensor with Arduino

In this article we are going to explain about interfacing Rain Sensor with Arduino. The rain sensor module is an easy tool for rain detection. It operates as a switch when raindrop falls through the raining board and also it measures rainfall intensity. The module features, a rain sensing board and the control board that is separate for more convenience, power indicator LED and an adjustable sensitivity though a potentiometer. Rain Sensor Module Raindrop sensor is basically a board on which [...]

ESP8266 Operating in the Station + Soft Access Point Mode

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 ModeStation Mode: Connecting to one specific network: ST  – Station mode in which ESP acts as a device & connects to an [...]


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 ESP8266802.11 b/g/n protocol Wi-Fi Direct (P2P), soft-AP Integrated TCP/IP protocol stack Integrated TR switch, balun, LNA, power [...]