Introduction to Diodes
A diode is a two-terminal electronic component that conducts current primarily in one direction (asymmetric conductance); it has low (ideally zero) resistance in one direction, and high (ideally infinite) resistance in the other.
A semiconductor diode, the most commonly used type today, is a crystalline piece of semiconductor material with a p–n junction connected to two electrical terminals. Semiconductor diodes were the first semiconductor electronic devices .

p – n junction diode
A p–n junction is a boundary or interface between two types of semiconductor materials, p-type and n-type, inside a single crystal of semiconductor. The "p" (positive) side contains an excess of holes, while the "n" (negative) side contains an excess of electrons in the outer shells of the electrically neutral atoms there. This allows electrical current to pass through the junction only in one direction. The p-n junction is created by doping, for example by ion implantation, diffusion of dopants, or by epitaxy (growing a layer of crystal doped with one type of dopant on top of a layer of crystal doped with another type of dopant). If two separate pieces of material were used, this would introduce a grain boundary between the semiconductors that would severely inhibit its utility by scattering the electrons and holes.

Recent Posts
See AllLet us now understand basics of Relay and then will move on to the interfacing part of Relay with Arduino Uno. Relay A relay is an electrically operated switch. It consists of a set of input terminals
Firstly will look into the introduction of servo motor and it's working. Then we will study how to interface this servo motor with Arduino Uno. Description of Servo motor Positional rotation servo mot
Let us first understand what is Ultrasonic sensor and why, where it is used? Then will move to interfacing part. Ultrasonic sensor As shown below the HC-SR04 Ultrasonic (US) sensor is a 4 pin module,