AVR, Timer Circuits

How to Work With 32K crystal and AVR Microcontroller

This article teaches you how to add 32K external crystal source to  AVR micro controller (Atmega8 ) with circuit diagram & C program. Introduction Timing-is one of the basic function, performed by the micro controllers. Every microcontroller has at least one timer/counter module in its architecture.  However if the counter is clocked internally a few […]

C Programming

How to use Turbo C/C++ to run your first C program

There is no one in this world who is born as a programmer 😉 To write efficient programs using any languages you have to learn it by doing! You have to write as many different programs using as many different algorithms. You have to break codes, make errors, debug errors and sometimes you have to

C Programming

Download and Install Turbo C/C++ for Windows 7 (32 bit and 64 bit)

There are many compilers available for C language for different platforms, of which Turbo C is the one used commonly for Windows operating systems. You may all know that Turbo C/C++ is a 16 bit compiler which was originally developed for Windows versions up to XP. Nowadays most people uses latest versions of Windows like

Embedded Systems

Languages Used for Embedded Firmware Development

Introduction                 Every digital device that is driven by a CPU core processes some sort of digital information. Not all of them are digital data. In fact, major portion of them are some kind of instruction to the CPU. As we all know, they are patterns of zeros and ones. In groups, those zeros and

8051

Interfacing DC motor to 8051

This article shows how to interface a DC motor to an 8051 microcontroller. Interfacing DC motor to 8051 forms an essential part in designing embedded robotic projects. A well designed 8051-DC motor  system  has essentially two parts. Firstly an 8051 with the required software to control the motor and secondly a suitable driver circuit. Most of

C Programming

Operators-Expressions and Escape Sequences in C -Chapter 3

We are into third chapter of C programming in which we will discuss operators, operands, expressions and escape sequences. I assume that you have already gone through Chapter 1 – Data Types in C and Chapter 2 – Variables and Keywords in C. Operator – An operator is usually a symbolic representation of a particular

C Programming

Variables and Keywords in C-Chapter 2

In this chapter, I would like to explain variables and keywords in C language. I hope you have already gone through Chapter 1 – Data Types and Constants in C. Image Courtesy Variables A variable can be defined in many ways. At the basic level, a variable can be defined as a memory location declared

8051

Interfacing Seven segment display to 8051

A Note about 7 segment LED display. This article is about how to interface a seven segment LED display to an 8051 microcontroller. 7 segment LED display is  very popular and it can display digits from 0 to 9 and quite a few characters like A, b, C, ., H, E, e, F, n, o,t,u,y,

C Programming

Data Types and Constants in C-Chapter 1

To use any language in communication (to write/to speak), we need to understand it’s grammar first.  In the case of a programming language like C, the scenario is same as in the case of a communication language. We need to understand the grammar of C programming language first. So here begins:- In this article we

8051

External Interrupts handling in 8051

In this article, I would like to introduce you to the concept of interrupts, how interrupts work, vector address, interrupt priority and how to write an ISR (interrupt service routine). “Interruption” in English language means a deviation from the normal routine. We know the processor is always busy executing some kind of instructions. What if

RTOS

GPOS versus RTOS for an Embedded System

Difference between a GPOS (Normal General Purpose Operating System) and an RTOS (Real  Time Operating System) The whole purpose of this article is to outline the basic differences between a GPOS (General Purpose Operating System) or a Normal OS as many people call it and an RTOS (Real Time Operating System). Let’s have a look.

101-Announcements

The Facebook Wall Caption Contest – Winner Announced

WINNER ANNOUNCED Hi friends, The winner is – Indrajit Biswas (http://www.facebook.com/indrajit45) We have contacted him over Facebook. Now awaiting his reply. Here is the screen shot of winning selection. Hello friends,  We are back with a cool contest using Facebook. This contest is open for any one with a Facebook account.  You only need to

8051

Interfacing LED and push button switch to 8051

This article is all about how to interface push button switches to an 8051 microcontroller. Push button switches are widely used in embedded system projects and the knowledge about  interfacing them to  8051 is very essential in designing such projects. A typical push button switch has two active terminals that are normally open and these

Education & Training, Embedded Systems

Embedded Systems Career-An Outline

Many students are not aware of the lucrative opportunities available in the field of Embedded Systems. Most graduates go after the popular “IT” industry to seek a good career. I think there are 2 reasons for this 1)lack of awareness 2) entry barrier. While studying most students may come across the name “Embedded Systems”. Apart

History

The story of Fibonacci series

All of you must have heard about the term “Fibonacci series”. Many of you (including me) might have written programs in different programming languages to generate a “Fibonacci series”. It is quite interesting to see that tutorials of all programming languages would contain a problem to generate fibonacci series upto “N” terms.  Well, this made

8051

8051 Programming Tutorial-Chapter 1

This article series is developed to teach you 8051 micro controller programming. I have divided this programming tutorial into a series of chapters as shown below. So you can start with Chapter 1 and then move to chapter 2 and chapter 3 and so on. So let’s begin the journey right now!  Note: Next chapters

8051

Interfacing 16×2 LCD with 8051

LCD display is an inevitable part in almost all embedded projects and this article is about interfacing a 16×2 LCD with 8051 microcontroller. Many guys find it hard to interface LCD module with the 8051 but the fact is that if you learn it properly, its a very easy job and by knowing it you

555 Timer IC, Education & Training, Electronics Books

3 Great Books to Learn 555 Timer Circuits and Projects

Any one who is interested in electronics would have come across this IC – 555. It is the one component that is used in many wide range of applications. 555 Timer is used in a variety of applications including monostable and astable multivibrators, dc-dc converters, digital logic probes, waveform generators, analog frequency meters and tachometers, temperature measurement and control devices, voltage regulators etc. So

8051

8 channel light chaser using 8051

6 function 8 channel light chaser using 8051. A 6 function 8 channel light chaser using 8051 is shown here. The hardware and software of this circuit are very simple and the light functions gets repeated one after another  automatically. P1.0 to P1.7  of the microcontroller (AT89S51) are assigned as the output pins. Corresponding LEDs

8051

Blinking LED using 8051

Blinking 1 LED using 8051 This is the first project regarding 8051 and of course one of the simplest, blinking LED using 8051. The microcontroller used here is AT89S51 In the circuit, push button switch S1, capacitor C3 and resistor R3 forms the reset circuitry. When S1 is pressed, voltage at the reset pin (pin9)

8051, Electronics Books

4 Books to Learn 8051 Microcontroller

Hello friends, it has been a while since I published here. This article is for students and hobbyists who are interested in playing with microcontrollers. I thought of introducing you to a handful of cool and really useful books on 8051 micro controller. The books suggested have been provided with links to shopping sites to

Tutorials

Push pull amplifier

In this guide, let’s learn in detail about Push Pull Amplifiers. We’ve covered theory and applications behind a push pull amplifier. We’ve also demonstrated different types of push pull amplifiers, like Class A, Class B and Class AB push pull amplifier models. A push pull amplifier is an amplifier which has an output stage that

Peripheral Interface Controller (PIC)

Working with MPLAB IDE

Introduction to MPLAB IDE – What is it and how to install it? The above link takes you to the article about introduction to MPLAB IDE, in case if you have missed it. Having installed MPLAB IDE and one or more compiler suite, this article describes how to compile a program and extract the .hex

Scroll to Top