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

Interfacing HC-05 Bluetooth Module with Arduino Uno

In this tutorial, I will explain about Interfacing HC-05 Bluetooth Module with Arduino Uno. HC-05 uses bluetooth classic and can be configured in master or slave modes. It can be interfaced with a microcontroller using UART. Components Required Arduino UnoHC-05 Bluetooth ModuleLEDJumper WiresBread Board Software Required Arduino IDEAndroid App - Arduino Bluetooth Controller HC-05 Bluetooth Module HC-05 Bluetooth Module Operating Voltage : 4 V to 6V (have internal 3.3V regulator).Operating Current : 30mAIntegrated antenna and an edge connector.Range about 10 meters.Configurable in both master and slave...

Interfacing DHT11 Temperature and Humidity Sensor with Arduino Uno

In this tutorial we will learn about Interfacing DHT11 Temperature and Humidity sensor with Arduino Uno. The term DHT is an abbreviation of Digital Humidity and Temperature sensor. DHT11 consists of a resistive humidity sensor, NTC temperature sensor and an 8-bit microcontroller providing cost effectiveness, anti-interference ability, excellent quality and fast response. Components Required DHT11 SensorArduino Uno0.96 inch OLEDBread BoardJumper Wires DHT11 Temperature and Humidity Sensor DHT11 Temperature and Humidity Sensor Module - PIN Diagram Specifications Operating Voltage : 3V ~ 5.5VTemperature range :...

Interfacing L298N Motor Driver with Arduino Uno

In this tutorial we will learn how to interface L298N motror driver with Arduino Uno. You might be thinking why we need L298N for controlling a motor. The answer is very simple, Arduino board or a microcontroller IO pins don't have enough current/voltage driving capability to drive a motor. For driving the motor in both directions (clockwise and anti-clockwise) we need to use an H-Bridge. Please read our article H-Bridge - DC Motor Driving for more information. L298N is...

Interfacing Mercury Tilt Switch with Arduino Uno

In this tutorial we will learn how to interface Tilt Sensor with Arduino Uno. As the name suggests, it is an electronic device used to detect the orientation or tilting of an object and provides digital output based on the orientation. It behaves like a normal ON - OFF switch that is controlled by tilting. Tilt sensor consists of a mercury ball and two contacts in a sealed enclosure, in which the mercury ball will short the leads based...

Interfacing Servo Motor with Arduino Uno

In this tutorial we will learn how to interface servo motor with Arduino Uno. Servo Motor is an electrical linear or rotary actuator which enables precise control of linear or angular position, acceleration or velocity. Usually servo motor is a simple motor controlled by a servo mechanism, which consists of a positional sensor and a control circuit. Servo motor is commonly used in applications like robotics, testing automation, manufacturing automation, CNC machine etc. The main characteristics of servo motor...

Interfacing Ultrasonic Sensor with Arduino Uno

In this tutorial we will learn about integrating HC-SR04 ultrasonic distance sensor with Arduino Uno. Ultrasonic sensors are commonly used for obstacle detection and distance measuring applications. The sensor works on the same principles of a radar system, which converts electrical energy into acoustic waves and vice versa. The HC-SR04 ultrasonic sensor is based on the principle of SONAR, which is an abbreviation of Sound Navigation Ranging. This sensor is used in many hobby projects where there is a...

Blinking LED using LPC2148 – ARM Microcontroller Tutorial – Part 3

Hello World In this tutorial we will learn how to start programming an ARM microcontroller. This is a hello world project (blinking an LED) intended for beginners to ARM microcontroller programming. Here we are using LPC2148 ARM microcontroller and Keil IDE for programming. Components Required LPC2148 Development BoardLED220R Resistor Registers In this section we will learn about different registers used for configuring or controlling a pin of an ARM microcontroller. In microcontrollers, pins are divided in to different PORTS. Usually a 32-bit microcontroller will...

Flashing LPC2148 – ARM Microcontroller Tutorial – Part 2

In this tutorial we will learn how to flash an LPC2148 microcontroller using on-chip serial (UART) ISP bootloader with Flash Magic tool. Components Required LPC2148 ARM Microcontroller USB to UART converter with DTR and RTS outputs. You may also use ready to go boards like rhydoLABZ LPC2148 Stick. Connections LPC2148 ISP Serial UART Flashing Connections Circuit Diagram LPC2148 ISP Serial UART Flashing - Circuit Diagram Using Flash Magic Tool Above we seen how to make connections for serial ISP programming. In this section we will...

>