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

Interfacing LCD with 8051 using Keil C – AT89C51

Liquid Crystal Display (LCD) is very commonly used electronic display module and having a wide range of applications such as calculators, laptops, mobile phones etc. 16x2 character lcd display is very basic module which is commonly used in electronics devices and projects. It can display 2 lines of 16 characters. Each character is displayed using 5x7 or 5x10 pixel matrix. 16x2 Character LCD Interfacing 16x2 LCD with 8051 using Keil C is bit complex because there is no powerful libraries in...

Interfacing Relay with 8051 using Keil C – AT89C51

In some electronic applications we need to switch or control high voltages or high currents. In these cases we may use electromagnetic or solid state relays. For example, it can be used to control home appliances using low power electronic circuits. relay An electromagnetic relay is a switch which is used to switch High Voltage or Current using Low power circuits. It magnetically isolates low power circuits from high power circuits. It is activated by energizing a electromagnet, coil wounded on a soft iron core. For...

Blinking LED using Atmega32 Microcontroller and Atmel Studio

Similar to printing 'Hello World' in C or C++, the very first step towards programming a microcontroller is Blinking a LED with a delay. Atmega32 is a very popular high performance 8 bit AVR Microcontroller. For this example project we need to use two registers DDR and PORT. DDR stands for Data Direction Register, it determines the direction (Input/Output) of each pins on the microcontroller. HIGH at DDR register makes corresponding pin Output while LOW at DDR register makes corresponding...

Introduction to MATLAB – Beginners Tutorial

MATLAB (Matrix Laboratory) is a forth generation high level programming language and interactive environment for numerical computation developed by MathWorks. It allows data analysis and visualisation, matrix manipulations, function plotting, developing algorithms, creating models and applications, interfacing programs written in other languages such as C, C++, Java and FORTRAN. Applications of MATLAB includes Communication Systems, Embedded Systems, Computational Biology, Digital Signal Processing, Computational Finance, Control Systems, Mechatronics, FPGA Design and Co-design, Test and Measurement, Image and Video Processing and Technical Computing.

MATLAB as Calculator

In the very...

Using Push Button Switch with 8051 and Keil C – AT89C51

This tutorial is for beginners in the field of microcontroller. In this case the microcontroller is AT89C51, a reprogrammable derivative of 8051. This purpose of this tutorial is to familiarize with the use of push button switch with the microcontroller. It will be useful whenever a decision is to be made according to the press of a switch. If you are not yet started with 8051 with Keil C please refer this tutorial Blinking Led...

Getting Started with Proteus – Beginners Tutorial

Proteus is a design software developed by Labcenter Electronics for electronic circuit simulation, schematic capture and PCB design. Its simplicity and user friendly design made it popular among electronics hobbyists. Proteus is commonly used for digital simulations such as microcontrollers and microprocessors. It can simulate LED, LDR, USB Communication ... You can buy Proteus from Labcenter Electronics.

Switching LED using Push Button Switch

First we can start with very primitive circuit for switching an LED using a Push Button...

LED Blinking using 8051 Microcontroller and Keil C – AT89C51

8051 Microcontroller is a programmable device which is used for controlling purpose. Basically 8051 controller is Mask programmable means it will programmed at the time of manufacturing and will not programmed again, there is a derivative of 8051 microcontroller, 89c51 micro controller which is re-programmable. AT89C51 89c51 is 8-bit device means it is capable of doing 8-bit operations.  It have 4 ports which are used as input or output according to your need. This device also have Timer, Serial Port interface and Interrupt controlling you can use these according to your need. The datasheet may be downloaded...

PCB Designing using OrCad Layout 10.5

OrCad is a highly developed and complex software that provides affordable and high performance PCB designing tools for small and industrial PCB designers. But for an electronic hobbyist, OrCad may seems to be highly complicated and time consuming when compared to other PCB designing tools. OrCad 9.2 is the commonly used version but it is not compatible with 64 bit and the next best choice is OrCad 10.5 as higher versions of OrCad are highly complicated. Thus in this tutorial, we will show...

>