Yearly Archives - 2013

Introduction to 2D Plotting in MATLAB

MATLAB not only helps us for calculation but also helps us in data analysis and visualization by plotting graphs and waveforms. It provides us with a 'big picture' of our data. Here I'm going to discuss about the 2D plotting in MATLAB. If you haven't yet started with MATLAB please goto our Matlab Tutorials. Plotting Using fplot() fplot() : It is used to plot between the specified limits. The function must be of the form y=f(x), where x is a vector whose specifies the...

Monostable Multivibrator using 555 Timer

Monostable Multivibrator is also known as One Short Multivibrator. As its name indicates it has one stable state and it switches to unstable state for a predetermined time period T when it is triggered. The time period T is determined by the RC time constant in the circuit. Monostable mode of 555 Timer is commonly used for generating Pulse Width Modulated (PWM) waves. Circuit Diagram Monostable Multivibrator using 555 Timer - Circuit Diagram This is the circuit diagram of 555 Timer wired in...

Generating PWM Using 555 Timer IC

In applications like Motor Speed Control, LED Brightness Control we may want to vary voltage given to it. Most often we use a variable resistor for that. The main problem with this control is the power dissipation across the variable resistor. This problem can be avoided by using Pulse Width Modulation (PWM). In this method the average voltage delivered to the load is controlled by varying the duty cycle of the rectangular wave.  Here I'm going to discuss one of the simple technique to generate...

Using Push Button Switch with Atmega32 and Atmel Studio

Push Button Switch This tutorial is meant for beginners in the field of Atmel AVR programming. I hope that you already read my first tutorial Blinking LED using Atmega32 and Atmel Studio. In most of the embedded electronic projects you may want to use a push button switch to give user inputs to the microcontroller. To use a push button switch with a microcontroller, first you should configure the corresponding...

Interfacing DC Motor with 8051 using L293D – AT89C51

In some of the electronics projects you may want to control a DC Motor with 8051 microcontroller. The maximum current that can be sourced or sunk from a 8051 microcontroller is 15 mA at 5v. But a DC Motor need currents very much more than that and it need voltages 6v, 12v, 24v etc, depending upon the type of motor used. Another problem is that the back emf produced by the motor may affect the proper functioning of the microcontroller. Due to these reasons we...

Introduction to Vectors and Matrices in Matlab

As you know Matlab is the short form of Matrix Laboratory. As its name indicates, Matlab makes matrix and vector operations very easy. I am writing this tutorial on the assumption that you are familiar with Matlab, if not please goto the first tutorial. Creating Row Matrix or Row Vector Let's start with a simple example for creating a row vector or row matrix with elements 1, 2, 3, 4, 5 and is assigned...

Variable Power Supply using LM317 Voltage Regulator

Until now we had discussed about different voltage regulator IC's including 7805,723 etc but what's to be noted was that these were all fixed voltage regulators.So now we shall see how design a simple variable voltage regulator using an LM317 IC. Block Diagram This circuit, like all voltage regulators  must  follow the same general block diagram Block Diagram of Power Supply Here, we have got an input high voltage AC going into a transformer which usually steps down the high voltage AC from...

Pulse Width Modulation : PWM using Arduino

PWM using Arduino Pulse Width Modulation or PWM is a method of Digital to Analog Conversion. It helps in delivering analog average voltage using digital pulses of variable pulse width. By controlling the on time and off time, we can generate an analog average voltage using the digital pulses. PWM has a wide range of application. It is used in DC motor speed control, Brightness control of LED lamps etc. Here in this simple experiment to understand the PWM working in ARDUINO,...

>