Sie sind auf Seite 1von 101

Author: Syed Zain Nasir

I am Syed Zain Nasir, the founder of The Engineering Projects (TEP). I am a programmer since 2009 before that
I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as
a freelancer and did many projects related to programming and electrical circuitry

Course Content of This Tutorial


I have divided this tutorial in few sections. Its a quite lengthy tutorial in which we will start
from the basics of Proteus and then will go into deeper and finally we will go some pro. Here
are few of the sections of this tutorial:
• In today’s part, we will just have a look at the complete course which we will cover in this
tutorial. I am calling this a chapter zero of this tutorial.
• In first part of this tutorial, I will introduce few features of Proteus which are very essential
for a beginner to know.
• In second part, we will design a complete circuit using Proteus. I will design a LCD circuit
using PIC microcontroller and then I will show you how you can test your PIC code in
Proteus.
• In third part, we will discuss the various components available in Proteus. I know there’s
countless components in its database and we can’t discuss them all but we will discuss
which are commonly in use by the students like motors,serial port, microcontrollers etc.
• After that, we will see how to design a component in Proteus if it’s not already in its
database. Its important when you need to design a PCB in Proteus.
• After that, we will finally design our PCB in Proteus, both single layered and multi-layered.
• In the end we will see how to design a package for a component, if its not already in
Proteus. May be some guys don’t know about it but sooner you will get it.
• In the last part, I will post on request if something’s left in the tutorial.
So, that’s the whole course for this tutorial. Now, I am writing the names of the parts below
and as soon as I post the chapters I will update the links here. All of them available now, you
can click them below or can also get access to them from the above table.

Projects Designed in Proteus


I have started this thread as a simple tutoriaal on Proteus but because of the readers’
responses I have extended it to next level. Below are mentioned, all the projects designed
by TEP team in Proteus.
Basics of Proteus
Below mentioned are the basic tutorials on Proteus. If you are new to Proteus then these
articles will be a good starting point for you. Read all of them carefully step by step andalso
implement them one by one. They will really enhance your knowledge about Proteus.
• A Complete Tutorial on How To Use Proteus ISIS & ARES
• How to Install and Download Proteus Software ?
• Getting Started With Proteus
• Knowing About Components Available in Proteus ISIS
• Component Designing in Proteus ISIS
• How to Increase work area in Proteus ???
• Top 10 PCB Design Software
Components Available in Proteus:
Proteus has a wide range of components in its database. USing these components you can
design almost any kind of circuit and can test and debug it. Below tutorials mention few of
these components, which are most commonly used while working on Proteus.
• How To Use Virtual Terminal in Proteus ISIS
• How To Use Oscilloscope in Proteus ISIS
• How to Design a DC Power Supply in Proteus ?
• Variable Voltage Modulation Using LM317 in Proteus ISIS
• DC Motor Drive Circuit in Proteus ISIS
• Stepper Motor Drive Circuit in Proteus ISIS
• Servo Motor Drive Circuit in Proteus ISIS
• Relay simulation in Proteus ISIS
• Design a Buzzer in Proteus

Components Libraries for Proteus


Proteus has a wide range of components available in its database. But it happens quite a lot
that you search for some component in Proteus but you can’t find it in Proteus database. For
such cases, Proteus has given a method using which you can design your component in
Proteus and can add all of its features in it. Its quite a lengthy process and needs a lot of
effort as it involves creation of DLL files using C++ and VSM. We have designed few
components libraries for Proteus, using which you can simulate that component or module
in Proteus. Here’s the list:
• Arduino Library for Proteus
• Genuino Library for Proteus
• GPS Library for Proteus
• GSM Library for Proteus
• XBee Library for Proteus
• Arduino UNO Library for Proteus
• Arduino Mega Library for Proteus
• Arduino Nano Library for Proteus
• Arduino Pro Mini Library for Proteus
• Ultrasonic Sensor Library for Proteus
• PIR Sensor Library for Proteus
• Bluetooth Library for Proteus
• DS1307 Library for Proteus
• Gas Sensor Library for Proteus
Arduino Projects in Proteus
Arduino is most widely used Microcontroller board these days, which is famous for its
flexibilty and ease of use. Arduino board is not available in Proteus but we have provided
with Arduino libraries using which you can quite easily use Arduino in Proteus and can test
your circuits in Proteus before implementing them in hardware. Below are the tutorials and
projects in which we have used Arduino in Proteus.
• Arduino Library For Proteus
• Arduino Lilypad / Nano Library For Proteus
• Arduino Lilypad Simulation in Proteus
• Circuit Designing of LCD with Arduino in Proteus ISIS
• Interfacing of Seven Segment Display with Arduino in Proteus
• Display ADC value on LCD using Arduino in Proteus ISIS
• Control Servo Motor with Arduino in Proteus
• Traffic Signal Control Project using Arduino in Proteus
• Intelligent Energy Saving System
• Power Factor Measurement Using Microcontroller in Proteus
• DS1307 Arduino based Digital Clock in Proteus
• Interfacing of Multiple Temperature Sensor with Arduino
• DC Motor Direction Control with Arduino in Proteus ISIS
• DC Motor Speed Control with Arduino in Proteus ISIS
• Arduino Bluetooth Communication using HC05
PIC Microcontroller Projects in Proteus
PIC Microcontroller is another microcontroller which is used by engineers in engineering
projects. This microcontroller is available in Proteus so we have designed few projects on it
which are mentioned below:
• Circuit Designing of LCD with PIC on Proteus ISIS
• Display ADC value on LCD using PIC Microcontroller in Proteus ISIS
• Electronic Door Lock using PIC Microcontroller

8051 Microcontroller Projects in Proteus


8051 Microcontroller is another microcontroller series which is quite popular and is used in
engineering projects quite a lot. 8051 Microcontrollers are also available in Proteus and most
normally used 8051 Microcontrollers are AT89C51 and AT89C52. I have shared many
projects on 8051 Microcontroller, which are as follows:

• LED Blinking Project using 8051 Microcontroller


• Serial Communication with 8051 Microcontroller
• Interfacing of LCD with 8051 Microcontroller
• Interfacing of Keypad with 8051 Microcontroller
• Design a Simple Calculator with 8051 Microcontroller
Sensors simulation in Proteus

Proteus has a wide range of sensors available in its database. We have designed
simulations of few of these sensors which are mentioned below. Ultrasonic sensor is not
available in Proteus so we have provided its library so thaat students can easily interface
and test it in Proteus. These sensors’ simulations are mentioned below:
• Ultrasonic Sensor Library for Proteus
• Ultrasonic Sensor Simulation in Proteus
• How to Use LDR Sensor in Proteus
• Capacitive Touch Sensor in Proteus
• LM35 Sensor in Proteus
• 18B20 Sensor in Proteus ISIS
• Send SMS with SIM900D Module in Proteus ISIS
555 Timer Projects in Proteus

555 Timer is known as the king of electronics projects after microcontrollers. 555 timer is
used in a lot of electronics projects where you need to ddo control or generate some timing
or PWM pulse. 555 Timer is available in Proteus and have designed a lot of tutorials on it,
which are mentioned below:
• LED Flashing Project with 555 Timer in Proteus ISIS
• Multiple LED Flasher Project using 555 Timer in Proteus ISIS
• LED Dimming Project Using 555 Timer in Proteus ISIS
• Angle Control of Servo Motor using 555 Timer in Proteus ISIS
• Sequential LED Blinking using 555 Timer in Proteus ISIS
• Seven Segment Display Using 555 Timer in Proteus ISIS
• Relay Control Using 555 Timer in Proteus ISIS
• Traffic Signal Control using 555 Timer in Proteus ISIS
PCB Designing Tutorials in Proteus ARES

Proteus not only provide the capability of circuit designing and testing but also provide the
facility of designing a PCB. Proteus comes with two packages one is named as Proteus
ISIS in which we design our circuits and the other one is Proteus ARES which is used for
PCB designing. Here we have post tutorials on How to design PCBs in Proteus.
• PCB Designing in Proteus ARES
• Arduino UNO PCB Design for Proteus ARES
So these are the tutorial on which I have written. If you guys stuck at any point, feel free to
ask in comments and I will try my best to satisfy you as much as I can. Moreover subscribe
to our mailing list so that you get these tutorials rite into your mail box. Stay blessed & take
care.

Hello readers, today’s post is the first regular post on Proteus tutorial. In today’s tutorial, I
am gonna share Getting Started with Proteus. Today’s tutorial is for beginners who don’t
have much knowledge of Proteusbut wants to start working with it. We don’t design any
circuit in today’s post instead we will check the different functions of Proteus which provides
ease in circuit designing. Proteus has different functions in it and in order to design a circuit,
one must have sound knowledge of each of them.
I have divided this tutorial in ten parts and today we will discuss the first part of this tutorial.
Even if you know the know how of Proteus but still I will suggest you to read this tutorial for
once, so that you could understand what is Proteus and what is its best use? So, let’s have
a look at Getting Started with Proteus:
Actual Use of Proteus

Usually, I got many such questions from the students that our circuit is working perfectly on
proteus but when we have implemented it on hardware, it’s not working. That’s why I am first
explaining the use of Proteus here.
• Never trust the circuit you design on Proteus. Proteus is very lenient in circuits designing
and it works on ideal conditions like if you don’t add pull up resistors etc in the proteus
then it wont bother at all and runs the circuit.
So, as the circuit designing is concerned you must have sound knowledge of components,
only then you can design a working circuit. So, now the question arises what’s the use of
proteus then ???
• The main and foremost use of Proteus is the PCB designing.
In normal practice, I myself first design the circuit on either the wero board or the bread
board and then when I got sure that my circuit is fully working then I design its PCB in the
proteus.
• Second use of Proteus is the Code Checking.
When you are designing some code like writing some strings on the LCD then its quite
annoying to burn the microcontroller several times. Instead, design a circuit in your Proteus
and after that simply design your PIC code and then run it on Proteus and get your best
result and now when you are sure you are getting perfect output then burn your PIC and test
it on your hardware. Quite easy and handy. In the coming classes, I will show you how to
burn code in microcontrollers in Proteus.
Note: In testing of code, there’s again a possibility that your output on hardware doesn’t
match with that of Proteus but its quite rare and mostly happens in delays.
Getting Started With Proteus

So now let’s have a look at different features Proteus offers. I have a full registered version
of Proteus but I can’t post it here as its not allowed so if someone need it then Subscribe to
our mailing list and post your subscribed emails in the comments below and I will send it to
you. So now I suppose you have installed Proteus and ready to work on it.
• Click on Proteus ISIS and it will be appear as shown in image below. Right click the image
and open in new tab to get a better look of the image. In the central area, we design our
circuit i.e. place the components and then join them.

• In the below image, I have divided the Proteus in several sections. Section 1 is a toolbar
which you have seen on many software, it has simple functionality like first icon on the
toolbar is to create a new layout, second is to open an existing layout, next one is to save
your layout, then there comes few zooming options and also some tools which we will
further discuss in next tutorials and at the end of section 1, you can see ARES icon and
we will also see its use when we will design the PCB layout.
• Let’s come to section 2, it has two buttons on it, one is P and other is E. P changes with
the selection change of section 3 mostly it is used for opening the part list i.e component
list and E is used for editing purposes, like you want to edit the properties of any
component then simply click on that component and then click on E and it will open the
properties of that component and you can easily edit it.
• Section 3 is most commonly used section of proteus. It has a lot of functions on it. We will
check them today one by one in complete detail.
• Now finally the section 4, this section shows different buttons like play, stop etc. When
you design some circuit in Proteus, then you want to run it in order to check whether its
working or not. So in order to run the circuit, you have to click on this play button. So when
you click on play button the circuit starts to run, now click on Pause button and it will pause
and Stop to stop the circuit running.

• Now let’s discuss the section 3, one by one. In the below image you can see the icon on
which I have written Click # 1.When you click on this icon, your Proteus goes in the
component state. We select components by clicking this icon. Suppose I want to
use PIC16F877A in my circuit so what will I do, I will click on this Component Mode Icon
and then Click on the P button and a new window will open up as shown in the below
figure.
• In this new window there’s a textbox on which Keyword is written, this text box is used for
the component search. Proteus database has unlimited components in it so now in order
to get your desired component, you have to search for it as I did.
• I have search PIC16F877A and proteus automatically show me that component as you
can see below and not only the component name but also its preview in the top right
corner and then the PCB preview as well. Unfortunately my Proteus doesn’t have the PCB
preview of PIC16F877A that’s why it is showing blank.
• So after you are sure that you have selected the right component, either double click on
it or click on the OK button as shown in figure below.
• If I just want to search one component then I will click OK but its not mostly the case as in
circuit design, as we will see in our next classes, we have to add a lot of components so
what we do is we simply search our component in text box and double click on it and then
search the next component and so on.
• Now move to next icon as shown in figure below. This is also another most commonly
used icon in Proteus. As you can see when you click on it the white are shows few
options. In circuit designing, there are lot of components which are getting with ground
or power up, so if we are gonna add wires for each of them then it got quite messy.
• Proteus provide a very easy way of doing it. Ground and Power , as shown below, are
treated as component so wherever we need GND we simply pick the Ground from here
and place it there and same for the Power. Default value of this Power is +5V.
• The icon shown in the below figure also used quite often. It has many components which
are very useful and this section is used for visualization. Like there’s an oscilloscope, we
use it for viewing the behavior of different signals generated. Its as same as an
oscialloscope you found in your lab.
• Another important component of this mode is the Virtual Terminal, it is shown on the fourth
number. This Virtual Terminal is used for checking data coming through Serial Port. Its
just like the hyper terminal we have in our windows.
• Then there’s Signal Generator, it is used to generate signal like sine wave of desired
frequency.
• You can test them by yourself to get a better idea.
• Now, let check few of them quickly, the icon which I have shown by A is the Graph mode.
Like in some circuit you want to analyze the graphs of voltage and current then you can
do this using the graph mode, it has different style of graphs. We will also add a tutorial in
which we will see how to make graphs.
• B and C in the below figure are the voltage and current probes respectively. Suppose you
have designed some circuit in Proteus and now you want to check the value of voltage at
any point in the circuit. In order to do so, simply select this voltage probe and place it there
and when you run your circuit, the probe will show the value of voltage above it and same
for current probe.
• D has lots of functionality, it is used when we want to design our own component
in Proteus.
• E in the below figure is simply text section, like you want to add some text indication you
use this one.

• So today, we have checked the Getting started with Proteus, hope you find this post
informative. If you have any question feel free to ask in comments and also subscribe
through email to our mailing list so that you don’t miss any part of this tutorial. Stay
blessed. Take care.
Hello friends, hope you all are having fun in your life. Today’s tutorial is about the
component designing in Proteus ISIS. This tutorial actually deals with the presentation of
your project. Usually when students give presentation of their projects, then it is asked that
add the circuit diagram of their project. Now when students open Proteus in order to design
their circuit, they found out that the components they have used in their project are not
available in the Proteus Directory. Now what to do ? In that case, there’s a need to design
your own component in Proteus and place it in the circuit. Although, this new designed
component won’t work as the real component but for presenting the circuit, it will be enough.
ofr example, we don’t have Arduino boards in Proteus software. so, I have designed some
of the Arduino baords myself for Proteus which you can download from Arduino Library for
Proteus.
Similarly, it usually happens to me during my freelancing work to design some circuit and
when I don’t find the required component in the Proteus library then I simply design it on my
own and then create its PCB. We will check the PCB designing of such components in the
coming posts of this tutorial. So, now let’s get started with component designing in Proteus
ISIS.
Component Designing in Proteus ISIS

• Now I am going to design a simple component having 4 pins.


• First of all select the 2D Graphics Box Mode as shown in the below figure.

• Now click on the workspace and drag the cursor to create a box, as shown in the below
figure.
• We have created the body of our component, now there’s a need to add pins in it.
• For this, click on the Device Pins Mode as shown in the below figure and click on the
workspace.
• It will add a small pin, attach this pin with the box as I did in the below figure.

Note:
• The pin has a small green bubble on it. Make sure that this end is not connected with
the box as this bubble end is for the wire.

• I have added four pins with the box. Now there’s a need to name these pins. For this
purpose, double click any of the attached pin and the properties box will open up as
shown in the below figure.
• Mention the Pin Name and the Default Pin Number, it will appear on the component
and then click on Next.

• When you click Next, it will ask for the same things for the second pin and so on.
• When you fill these info for all the four pins then click OK.
• Now when you click the ok button, your component will now look as shown in the below
figure.

• I have given my pins the names as Vcc, GND, Output, Signal.


• We have completed all the info of our product, now there’s a need to add this
component in our library.
• For this purpose, select the whole component and then right click and select Make
Device.

• When you click on this option a new dialog box will open up as shown in below figure.
• In this dialog box, you just need to give info of your new component so that you can
search it easily in your Proteus library.
• Just fill the Device Name in it and click Next. I have given the name Test Device to my
component.
• Now click Next and go on clicking Next, unless you reach at the below page.
• Here you need to place your component in the category. Choose the appropriate
category for your product and click on OK.
• That’s it. Now your component has been added to the library. Open your part list and
search for the component like in my case I search for Test Device and the below
component appeared in my list.
That’s all for today. If you have any questions regarding this tutorial, ask in comments and I
will reply them. Take care.
How to Increase work area in Proteus ???

• First of all, if you are working on some project in Proteus then simply don’t increase the
area because when you increase the area then the components get very small and its too
difficult to arrange or connect them with each other.
• So, my suggestion is to go on in the default window when your circuit got messy and you
need more space then increase work area in Proteus.
• Let’s open Proteus software and place few components in it, as an example I am just
placing PIC Microcontroller to cover the available space as shown in below figure:

• Now you can see in the above figure that I have just randomly placed 8 PIC
Microcontrollers just to fill the space and in the center a big text to fill the width.
• Now suppose I want to add four more microcontroller in this Proteus file then there’s no
place to add them.
• Now in order to add more components which in many case are four more PIC
Microcontroller, I have to increase the size of available work area in Proteus.
• In order to do so click on Systems in the above menu bar and then click on Set Sheet
Sizes as shown in below figure:

• Now when you click it a new pop up window will open up as shown in below figure:
• Now you can see in the above figure, there are six sizes available for the user, among
them the first five are fixed sizes while the fifth one is changeable and you can set it to
any size you want.
• The default size of available work area in Proteus is A4 size which is the first option 10inch
by 7 inch.
• So, now let’s increase it a little and check the effect. So I am selecting the fifth option in
above figure and I am giving 15inch by 10 inch and now the result is as follows:

• Now its quite obvious from the above figure that the area has increased now.
• We have the same 8 PIC Microcontrollers but now we have space for more components
in both directions.
So, that’s how you can quite easily increase work area in Proteus ISIS. That’s all for today,
it was quite easy but still as always if you are having any problems, then ask in comments

and I will resolve them. Till next tutorial, take care !!!
Hello friends, first of all I wanna give a good news to all the readers that I have added a
Google search engine in TEP, which was missing for quite a long time. I was receiving a lot
of complaints regarding this issue that we are unable to search the topic in the blog so now
you can quite easily search any topic in the blog using this search engine which is on the top
right corner. Write any topic you wanna search and hit button and your search result will
show up just above the blog posts. Must give your feedback and suggestions about this
newly added feature. Hope it provide a comfort to many readers.
Let’s come to today’s topic, as the name suggests, today I will show you how to use a virtual
terminal in Proteus and what is its use. I will first explain the virtual terminal and then we will
look at its uses and how to use virtual terminal in Proteus ISIS. Its a beginner level tutorial
and if you are already familiar with Proteus then I think you must have already known with
Virtual Terminal in Proteus. But still I recommend to read this tutorial once and then move
on to next one. Anyways, let’s get started with Virtual Terminal in Proteus.

What is Virtual Terminal ?

Virtual Terminal is a tool in Proteus, which is used to view data coming from Serial Port (DB9)
and also used to send the data to Serial Port. In windows XP, there’s a built in tool named
Hyper Terminal, which is also used for the same purpose but in windows 7 there’s no such
tool so for windows 7 users this virtual terminal is quite a great comfort. If you guys don’t
know about serial port then I would suggest you to read this tutorial to get the better idea of
serial port:
• What is Serial Port?
I have posted many tutorials on my blog in which I have communicated over Serial port using
different software. For example, you can check this Serial communication in MATLAB and
can also have a look at Serial Communication in Visual Studio 2010. As serial
communication is quite common so almost all of the microcontrollers these days, supports
Serial communication. Arduino UNO has builtin single serial port at its pins 0 and 1, while
the Arduino Mega 2560 has built in four Serial ports in it. Similarly, PIC Microcontroller also
supports Serial port and it is also available in 8051 Microcontroller.
Uses of Virtual Terminal

Virtual Terminal in Proteus, as I explained above, is used to send or receive data to or from
the serial port. Serial port is a 9 pin port which is mostly find on the computers and is normally
used in Embedded System Projects. In most of the projects, the data is sent from the
hardware to computer via this serial port and then user design some application on the
computer to view that data in some representable form.
Now, in projects there are some testing steps which are quite helpful, if we use them properly,
and these testing steps require some tools in order to test the process. Like, suppose some
student have designed the hardware to send the data to the computer and have also design
its application to receive it and now when he tests it he didn’t receive any data. At that point
student got tensed and don’t know where’s the error so at that point there’s may be some
error in the hardware or may be in the software.

Now, in order to be sure he need to test both of them separately and here is the point where
virtual terminal is used. First connect your hardware with the computer and then run the
hardware and check whether you are receiving data on the virtual terminal or not. If you are
receiving it, means your hardware is okay and the problem is in software side and if you are
not means your hardware is not so good.

Whenever I start working on some projects, I always make sure that I am going in right
direction like if I have to made this project then after completing my hardware, I will first check
it via this virtual terminal and once I got sure that my hardware is okay then I will move to the
software part. If you are gonna design the hardware then I think you must check Serial
communication with 8051 Microcontroller, which is also designed in Proteus ISIS software
and the data is displayed using the same virtual terminal.
There are also many other applications of this terminal like suppose you wanna design some
circuit in Proteus which involves serial port then you can add this terminal on your circuit and
can test it before going to the hardware, which we will shortly see below. So, now let’s get
started with Virtual Terminal in Proteus.

How to Use Virtual Terminal in Proteus ISIS?

• First of all open the Proteus ISIS and click on the P button to search for the components,
as we seen in the previous tutorial and also shown in the below figure:
• Now in the search box type “COMPIM” , when you search this a result will show up as
shown in the below figure:
• After Selecting this, click OK to add this component in the database.
• COMPIM is the serial port in Proteus and using its properties we can assign any COM pin
of our computer to it and it will behave like that pin. We will change the properties shortly.
• Now, click on the Virtual Instrument Mode and then on the Virtual Terminal as shown
in the below figure and add it in the Proteus workspace.

• Now join the TXD pin of COMPIM with the TXD pin of Virtual Terminal and RXD with RXD
as shown in the figure below:
• Now, double click on the COMPIM to open the Properties menu and set the properties as
shown below:
• I have selected COM1 and my baud rate is 9600, you can set it whatever you want like if
you are using the COM3 then set the port to COM3 and baud rate of your own choice.
• Similarly open the properties of the virtual terminal and make sure that the baud rate is
same in both the cases.
• Now connect your hardware with the computer and play the simulation. Again make sure
that the port which you have selected for the COMPIM is same port with which you have
attached your hardware.
• After you play the simulation a black window will open up which will show the data
coming from your hardware to the COM1 pin as shown below:
• This black box is actually the Virtual Terminal which is showing data coming from my
hardware.
• If you play the simulation and this Virtual Terminal doesn’t pop up then right click on the
Virtual Terminal Component and then click on Virtual Terminal which will be at the end in
the options and this black window will open up.
I think you guys have got much of the idea of this Virtual Terminal in Proteus ISIS. If you
have any problem anywhere, ask in comments and also subscribe to our newsletter via
email to get these amazing tutorials right into your mailbox. In the next tutorial, I have
explained How to use Oscilloscope in Proteus ISIS. Thanks, take care.
Hello friends, today I am going to post the next lecture of Proteus Tutorial. I am receiving
quite a positive response about this Proteus tutorial. In the previous post, we have seen How
to use Virtual Terminal in Proteus and today I am going to explain How to use Oscilloscope
in Proteus ISIS. This oscilloscope is just the same which you have seen in your electronic or
electrical labs. Oscilloscope is basically used to monitor signals or waveforms. Particularly
when you are not much aware of the circuit and you need a little debugging then you use
oscilloscope.
In oscilloscopes, we can visualize the electrical properties of waveforms, like we can check
whats the frequency of electrical signal, what’s its voltage or current. Digital oscilloscopes
have vast range of features in it like RMS value calculation etc. So, in short when you want
to visualize or research your available signal then oscilloscope is the first and right most
option for you. In today’s tutorial, first of all, I am gonna design a simple Pure sine wave
circuit and then we will visualize its properties using oscilloscope in Proteus ISIS.

Pure Sine Wave Circuit Design

• First of all, design a circuit as shown in the below figure.


• This circuit is a simple pure sine wave inverter which is inverting the DC Signal into AC
signal.
• I have also encircled the components so first of all, find these components in the Proteus
database and then design the circuit as shown in the figure. (Right click on the image and
then open it in new tab to get the clear view).
• When I was designing my Pure Sine Wave Inverter Simulation in Proteus then I have to
use oscilloscope quite a lot.
How to use Oscilloscope in Proteus ISIS ???

• Now in order to add the oscilloscope in the circuit, first click on the Virtual Instruments
Mode as shown in the below figure.
• In that mode the first option will be the Oscilloscope which I highlighted as Click # 2 in the
below figure.
• Now drag that oscilloscope and place it in the workspace, as you can see below this
component has total four legs means you can view total four different types of signals
using this oscilloscope and cal also compare them, if you need to.
• Now what I want to check in my circuit is, whether I am getting the pure sine wave at the
output or not.
• So in order to check that I have attached the two ends of the bulb which is acting as a
load with the two probes of oscilloscope i.e A & B as shown in the below figure.
How to Monitor Oscilloscope

• Now in order to monitor the oscilloscope, run / play the Proteus circuit and then double
click on the oscilloscope and a new window will open up as shown in the below figure.
• As you can see in the below image there are total two curves are showing i.e. Channel A
& B.

• Now, if you check the right side of the above figure, you can see there are total four
channels, each channel represent each probe.
• Like we have attached our curves with A & B now I can change settings of A & B channel
and the output curves will be changed.
• Play with this tool and you will how easy it is to use. Change the position of circular know
and the amplitude unit will be changed, then change the linear know of each channel and
the dc offset will be added in the curve.

VIDEO TUTORIAL : https://dai.ly/x10nvw3


Hello friends, hope you all are fine and
enjoying in your life. In the previous post, we have seen How to use Oscilloscope in Proteus
ISIS, today I am going share a new and a very important Tutorial which is How to Design a
5V Power Supply in Proteus? This project is very simple and of basic level but importance
of this project is that it is used as a base in almost all large electronics project, designed now-
a-days. When I start working on any project then the first thing, I need to design is this DC

power supply, because without powering up the components, we can’t use them.
While designing a 5V Power Supply in Proteus ISIS, we will be using Voltage Regulator IC,
which is commonly known as 7805. This voltage regulator is used to regulate or change the
voltage level of supply voltage. As we all know, most of the batteries available in market are
of 12 volts. For example, if you have UPS at your homes then check its battery, it will be of
12V. Similarly, the battery of car or motorcycle is also of 12V. So, 12V has become the
standard of electrical batteries. Now, we have known that all batteries are of 12V but the
problem comes when we are dealing with sensitive electronic components because they are
all designed to operate on 5 volts. Now, as I described earlier that, voltage source available
is 12 volts and the operating equipment needs 5 volts to operate. So, we need an
intermediate source or such type of DC Power Supply, which can convert the source voltage
(12 volts) to operating voltage (5 volts). This problem is eliminated by using 7805 IC, and
that’s why it is called Voltage Regulating IC.
So dear Friends, today we will design a 5V power supply, which will be able to change
Voltage Level and will provide us our desired voltage. But as I always say, that practice
makes a man perfect. Try to design it yourself so that, you also get to know the real
application of Voltage Regulator IC. So, let’s get started with designing of 5V power supply
in Proteus ISIS.
How to Design a 5V Power Supply in Proteus

• You can download the complete simulation of 5V Power Supply in Proteus by clicking the
below button:
Download Proteus Simulation

• Voltage Regulating IC 7805 has 3 pins.


o Pin # 1 is used as input pin and it is connected to supply voltages. It is marked as (VI).
DC +12 volts are applied to this pin.
o Pin # 2 is called common or ground pin. It is marked as (GND). The whole circuit’s
common is applied to this pin.
o Pin # 3 is the output pin of 7805. If 12 volts are applied to its input than it automatically
generates 5 volts on this pin. This pin is marked as (VO).
• Now, moving towards the designing of the hardware, first of all place all the components
in Proteus workspace, as shown in image below:
• In Hardware implementation, first off all apply source voltage (12 volts) to the input pin of
7805 IC. 2 capacitors are also connected in parallel with the source voltage and their
ratings are 1000 uf and 100pf respectively.
• On the other side of IC, we also connect 2 capacitors parallel to the gained output voltage
(5 volts), and their ratings are 100pf and 100uf respectively. And a LED is also connected
in parallel on the load side.
• If you have placed all the components in their perfect place and all the connections are
OK, then the resultant proteus simulation will look like as shown in the below image:

• Now if you closely observe the above image then you will notice that Capacitors connected
across the 12 volts are of HIGH rating while the Capacitors connected across LED are of
LOW rating. The purpose of applying capacitors is to remove noise from our DC voltages.
As, we all know that DC voltage source available in market is not that much pure. So, to
get pure DC wave Capacitors are connected across it.
• Now when you will run the final simulation then it will look like, as shown in the image
given below:
• As you can see that when i ran the simulation, the LED started to glow. Now here is an
important thing to note that i have applied a resistance in series with LED. The value of
resistance is very low, and very low voltages appear across this resistor. This resistor
limits the current and if we directly connect the LED then, their will be chances that the
LED may burn out.
• We can justify it as: From ohms law : V=IR, and by rearranging it, we get : I=V/R .
• Now if we remove resistor then R=0, which means: I=V/0 and it lead us to conclude that:
I= infinity or maximum in this case. So the only purpose of the resistor is to limit current.
Alright friends, that’s all for today, I hope now you can design a 5V power supply quite easily
in Proteus. If you have some queries, then ask in comments. Subscribe us via email to get
these tutorials straight in your inbox. In the next tutorial, I have discussed Variable Voltage
Modulation using LM317 in Proteus ISIS.

VIDEO: https://youtu.be/ds2dABpREw8
Hello friends, hope you all are fine and having fun. In
today’s post we are gonna have a look at LM317 Voltage Regulator in Proteus. In the
previous post, we have seen how to design a 5V Power Supply in Proteus ISIS, which I have
designed using IC regulator 7805. Today I am going to share How to design LM317 Voltage
Regulator Circuit in Proteus. This DC power supply is a variable one means you can set its
output voltage to any level you want. In order to change its output value we have used a
variable resistor and by changing its value you can change the output value. It is a basic
level project and very simple but used as a base to design large industrial projects. In this
project, we are going to control the speed of a DC Motor and the corresponding voltages,
appearing across it. The reason for designing this variable DC power supply is that, when
you are working on some engineering project then each electronic module has its own power
level i.e. xbee module works on 3.3V while Arduino board works on 5V. So, there’s a need
to design such power supply which can provide variable voltages and we can set them
according to our demand. So, for all Microcontrollers like Arduino or PIC Microcontroller or
8051 Microcontroller, I designed 5V Power supply using 7805but for 3.3V modules like
XBee, NRF24L01 etc I design this variable DC power supply using LM317. I hope now you
got the importance of this LM317 Voltage Regulator.
To design this, we will be using LM317k. Basically, it is a Voltage Regulator IC. It has 3 pins.
Pin # 2 is for input voltages, marked as VI. Pin # 3 is for output voltages, marked as VO, and
pin # 1 is used for Regulating Voltages and it is marked as ADJ. Further, if you notice the
circuit diagram, which is given in the figure, then you will see that pin # 1 is connected to a
Potentiometer. Potentiometer is a Variable Resistor device and it is also known as Voltage
Divider. The feature of this electronic device is that, we can adjust the voltage through it
according to our own choice. It operates on 12 Volts and it gives us ease that, we can adjust
its voltages from 0 to MAXIMUM (which is 12 volts in most cases). Further if we notice the
circuit, then we will see that a LED is connected in parallel with a simple DC motor and a
voltmeter is also connected in parallel with Motor to monitor the voltages appearing across
it. Above information was a little demo about the individual components of the circuit, now
let’s be practical and move towards Hardware and see how actually Electronic components
respond. You should also have a look at Introduction to LM317, if you wanna read all the
basics about it. So let’s get started with LM317 Voltage Regulator in Proteus:
LM317 Voltage Regulator in Proteus ISIS

• You can download this complete LM317 Voltage Regulator simulation by clicking the
below button but I recommend you to design it on your own so that you learn most from
it.

Download Proteus Simulation


• First of all, place all the components in Proteus workspace, as shown in image:

• A 12-Volt DC supply is provided to input pin (# 2) of LM317 and potentiometer is connected


to Adjustable pin of LM317, which is, pin # 1.

• At output pin we have connected DC Motor and a Voltmeter is also connected in parallel
with Motor.
• The complete circuit, ready for simulation is shown below in image:
Stage # 1
• Set the potentiometer at 0% and run the simulation, you will notice that Motor will rotate
very slowly in clock-wise direction and 1.25 volts will appear on the voltmeter across it. If
all the connections are OK, and when you will run the simulation, LM317 Voltage
Regulator simulation will look like as shown in the image below:

Note:
• If you don’t want to use the variable resistance, then you should use this LM317
Calculator to get value of your second resistance.
Stage # 2
• Now, set the potentiometer value to 11% and you will see that, Motor will start to rotate
with a faster rate and on voltmeter scale, we will see 6.40 volts. In this setting, the
interesting thing is, LED will start to Flash and it will turn ON & OFF automatically. This
phenomenon can be seen in images below:
• Stage # 2 is our transient stage. When the potentiometers setting is below 11%, voltage
appears across the motor and it also rotates but LED doesn’t glow. On the other hand,
when potentiometers setting is above 11%, then LED glows continuously while motor also
rotates as before, and voltmeter also gives some particular values of voltages appearing
across the motor.
Stage # 3
• Now at final stage, set potentiometer to 100% and you will observe that motor is rotating
with full speed and voltmeter reading will be 10.6 volts while LED is glowing continuously.
This stage of the simulation can be seen in the image below:
Now, we can conclude that, LM317 is the monitoring device of this circuit. We can set the
value of potentiometer according to our own choice and by this, the speed of motor can be
controlled and also the corresponding voltages, appearing across it.
Here’s the video in which I have given the detailed introduction of LM317 and have also run
its simulation:

Alright friends, that’s all for today and I hope now you can easily design this LM317 Voltage
Regulator. In the next post, I have discussed DC Motor Drive circuit in Proteus ISIS . Till than

take care and be safe !!!


Simple Control Relay Circuit in Proteus ISIS

• First of all, we are gonna simulate a simple control relay circuit in which we will manually
turn on or off the relay.
• Open Proteus ISIS and select the below components, as shown in below figure, from the
components library of Proteus, if you don’t know how to do it then check our earlier posts
on Proteus.

• Now, design a circuit as shown in below figure:


• The circuit is self explanatory, first we have used a simple 12V battery to power up the
simulation, after that there’s a small led attached, which will indicate that whether proper
power is supplied to the system or not. Next is our relay, which is named as RL1 in the
above figure.
• After the relay, we have placed a simple 12V lamp, so now when the relay will be
energized, this lamp will glow up and when the relay is de-energized, the lamp will remain
off. As in the above figure, the simulation is off, that’s why the lamp isn’t glowing.
• After designing the circuit, now click on the run button and if everything goes fine, then
the lamp will glow as shown in below figure:

• So, now you can see the small led is also ON, I have used green that’s why its showing
green color indicating that power supply is working.
• If you compare the off state and on state simulation then you will see that the Relay is now
connected with second terminal and thus completing the circuit for lamp and lamp is also
now glowing.

Complex Relay simulation in Proteus ISIS

• Now, we are gonna design a bit more complex control relay simulation in Proteus ISIS,
it’s not much complicated but needs a bit more care while simulating.
• In previous section, we have seen a simple circuit which is operated manually means in
order to turn it on or off you have to turn on or off the power supply but normally, it is
required that the relay must be controlled by some microcontroller automatically.
• As the microcontrollers normally work on 5V so in order to control a 12V relay using 5V
microcontroller, we need to use transistor. In that case, when you give +5V the relay got
actuated and when you give GND then relay get turned off.
• So, first of all get these components from the Arduino components library.

• Now, design the circuit as shown in the below figure:


• As this tutorial is about relays so I haven’t used microcontroller here, instead I used this
logic state, it will work same as microcontroller. So the above circuit is quite similar to the
simple circuit we have seen in the above section. The only difference here is the NPN
transistor.
• Now, we are not providing the supply directly to the relay, instead we are providing it via
this transistor. So, when the logid state is zero means ground, the transistor won’t work
and the supply cant reached to the relay and when we make the logic 1 means +5V on
the base of transostor, then the relay circuit will complete and the relay will be energized.
• Now run the simulation, the off state is shown below:

• In the above figure, you can see that the led goes on because the power is supplied to
the circuit but the lamp is still OFF and the relay is also not energized because the logic
state is a low level i.e. 0.
• Now click on the logic state to make it on high level i.e. +5V, the on state is shown in below
figure:
• Now you can see that as we make the logic state high, now relay got connected and the
lamp is also ON. So by comparing both ON and OFF states, you can easily get the idea
how the relay is operating.
Note:
• If you are planning on using the relay with microcontroller, then simply remove this logic
state and connect the base of transistor with the output pin of microcontroller and when
you low the microcontroller pin relay will get de energized and and when you make the
pin high, it will get energized.
Design a Buzzer in Proteus ISIS

• First of all, get components from the Proteus library as shown in below figure:

• Now after selecting these components, design a circuit diagram in Proteus as shown in
below figure:
• In the above circuit, I have used an optocoupler PC817 in order to control the buzzer.
• The optocoupler is controlled by a simple logic operator, now when you change the logic
operator from 1 to 0 the buzzer will turn on.
Note:
• Optocoupler is working here on inverse logic i.e. when we send 1 then its OFF and when
we send 0 then its ON.
• If you are designing it on hardware then you can use PC817 Optocoupler.

• So now if everything’s fine then simply run the simulation and then click on the logic
operator and you will get the below results:
• You can see in the above figure, there are two states.
• In the Buzzer ON state LED is OFF but the buzzer will be ON and you will hear a beep

like sound, which obviously can’t be heard here in the image.


• While in the OFF state LED is ON but the buzzer will be OFF and you wont hear anything.
That’s quite a simple tutorial and quite easy to understand but still if you have any problem,
then ask in comments. Till next tutorial, take care and have fun.
Simple DC Motor Drive Circuit in Proteus ISIS PIC

Control with pic


First of all I will show you the simple control of DC Motor in Proteus so that you get an
idea how this motor works.
• Add these two components from the Proteus library:
1. Motor
2. Logic State
• Logic State has two states 1 and 0. When its 0 means 0V and when at 1 means 5V.
• Now design the circuit as shown in the below figure:
• Now I have added two Logic State on both the sides of motor. Direction of motor will
depend on these logic. So, their will be total four states:
1. When both states are at 0, motor will not move and remain stationary.
2. When both states are at 1, still the motor will not move and remain stationary.
3. The motor will move Clockwise when upper state is at 1 and lower at 0.
4. The motor will move Anti-Clockwise when upper state is at 0 and lower at 1.

DC Motor Drive Circuit Using PIC Microcontroller

• Now we will drive our motor using PIC Microcontroller, add below components from the
Proteus library.
• Join these components and make a circuit as shown in the below figure:

• Now create a new project in the MikroC Pro For PIC and add the below code into it.
/* Code provided by www.TheEngineeringProjects.com */
#define M1 PORTB.F7
#define M2 PORTB.F6
#define B1 PORTD.F0
#define B2 PORTD.F1
void main() {
TRISB=0;
TRISD=0xFF;
PORTB = 0;
while(1){
if(B1 == 0){PortB=0xAA;}
if(B2 == 0){PortB=0x55;}
}
}

• Now burn the hex file of this project in the microcontroller of the Proteus file.
• If everything goes well, then when you click one button the motor will move clockwise
and when you click other button the motor will move anti-clockwise.
Stepper Motor Drive Circuit in Proteus ISIS

• First of all, add the below two components from the Proteus library in the workspace.

• Now design the circuit as shown in the below figure:

• This circuit is just for understanding purposes. Now I have added four states in the
circuit, when I make any state one that stator got magnetize and the motor rotor will
attract towards that stator and start moving.
• In the below series of images, I have shown the clockwise movement of motor.
• Now, as you can see from the above sequence of images, the motor is moving in the
clockwise direction as I am supplying voltage in the clockwise direction.
• Now, if I reverse the order of applied voltage the motor will also reverse its direction and
will move in the counter clockwise direction.
• The speed of the motor will depend on the speed of this sequenced voltages. If you
apply these voltages with delay, the motor will move slow and if you apply them fast and
continuously, the motor will rotate quite fast i.e. rpm of motor will increase.

Stepper Motor Control with Microcontroller

• Now, in order to control this motor using stepper motor, simply connect these wires with
four pins of microcontroller and apply a sequenced voltage in programming and the
motor will run quite smoothy.
DC motor speed control using PIC16F84A mikroC code:

unsigned short duty = 0;


void Interrupt(){
if (TMR0IF_bit){
if( PORTA.F0 ){
TMR0 = duty;
PORTA.F0 = 0;}
else {
TMR0 = (255 - duty) ;
PORTA.F0 = 1;
}
TMR0IF_bit = 0;
}
}
void main() {
TRISA.F0 = 0;
TRISB = 3;
PORTA = 0;
PORTB = 0;
OPTION_REG = 2;
TMR0 = 0;
INTCON = 0xA0;
while(1){
while(!PORTB.F0){
if(duty > 254){
duty = 254;
PORTB.F2 =1;}
duty++;
delay_ms(100);
}
while(!PORTB.F1){
if(duty < 1)
duty = 1;
duty--;
PORTB.F2 =0;
delay_ms(100);
}
}
}

https://youtu.be/rYChWhZwB6k
Single LED Flashing Project with 555 Timer in Proteus
ISIS

• First of all, copy these components from the Proteus components library:

• After selecting these components, now design a circuit in Proteus as shown in the below
figure:
• Now when you click on RUN button in PRoteus ISIS, the LED will kep on flashing,it will
go ON for 1 sec and then go OFF as shown in below figures.
• State # 1 is showing the OFF state of LED while the State # 2 is showing the ON state of
LED.
• So, it will keep on flashing unless you Stop the Proteus ISIS simulation.
• You can download this simulation by clicking on the below button.
Double LED Flashing Project with 555 Timer in Proteus
ISIS

• In the above portion, we have seen how to flash a single LED with 555 Timer in Proteus
ISIS, now let’s flash two LEDs with 555 Timer in Proteus ISIS.
• First of all design a circuit as shown in below figure:
• As you can see its quite similar to the above project for single LED flashing with 555 timer
in Proteus ISIS but has small changes in thhe values of resistor.
• So, now when you hit RUN button on Proteus ISIS then these LEDs will start flashing one
after another, means when first LED is ON then the second one will be OFF and vice
versa.
• Below figures are showing their ON OFF states:

• State # 1 is showing the OFF state for both the LEDs, while State # 2 is showing the ON
state for first LED and OFF state for second and in third State first LED is OFF while the
second LED is ON.
• So, this simulation will work in this way, if first LED is ON then the second one will be OFF
and vice versa.
Multiple LED Flasher Project using 555 Timer in Proteus
ISIS

• 555 Timer is well known IC used in timing projects and its the most widely used IC before
microcontrollers.
• In our previous project we have flashed one and two LEDs using 555 Timer which was
quite simple and easy and today we are gonna go a little advance and will flash multiple
LEDs using 555 Timer.
• So first of all, open your Proteus software and include the below components into its
workspace.

• After adding these components, now we need to design the circuit diagram.
• So, design a circuit diagram of Multiple LED FLasher Project using 555 Timer as shown
below:
• If you have a look at the above figure closely and compare it with the previous project of 2
LED Flasher with 555 Timer in Protes ISIS then you can have the idea that its simple an
extended version of that project.
• I haven’t done anything but simply added LEDs in parallel to those 2 LEDs and give it a
beutiful form so that it look attractive.
• These kinds of projects are normally used for decoration where you need to set some
pattern for LEDs and make them blink.
• So, now we are done with the designing of our project so let’s run the PRoteus Simulation.
• When you run the Proteus Simulation, and if everything’s gone fine then these LEDs will
start flashing as shown in the below figure:
• The above figure shows the three states of this project.
• State # 1 shows the OFF state of this project while State # 2 and 3 are the ON states,
these LEDs will keep on flashing as long as the simulation is running.
It is a quick and very simple tutorial and it elaborates how to control the Intensity of LED
using 555 Timer in Proteus ISIS. It’s a very simple project and the complete project is given
at the end for download but again as i always say try to design it by yourself so that you get
some knowledge out of it. It’s a very simple project and these type of projects are designed
by Engineering students in their First semester and are really a good start in learning
electronics. If you have any queries regarding this project then feel free to ask and i will try
me best to resolve them. So, let’s get started with implementation of LED Dimming Project
using 555 Timer in Proteus ISIS.
LED Dimming Project Using 555 Timer in Proteus ISIS

• 555 timer is a well known IC used in timing Projects and it is the most widely used IC
before micro controllers.
• In our previous projects we have seen how to flash a single or multiple LED’s but today
we are going one step ahead and we are gonna learn How to Control the Intensity of LED
using 555 timer in Proteus ISIS.
• So. first of all, open your Proteus software and include the below components into its
work space.

• After adding these components, now we need to design the circuit diagram.
• So, design a circuit diagram of LED Dimming Project using 555 Timer as shown below:
• If you look closely at the project then you will see that it is similar to one of our project
titled Sequential LED Blinking Project with 555 Timer in Proteus ISIS.
• In this project we will control the intensity of LED through 555 timer.
• These kind of projects are also used for Decoration purpose and the beauty of this system
is that we can change the Dimming rate of LED and we can control it our self.
• Now we are done with the Designing of the project and let’s run its Proteus simulation.
• When you run the Proteus simulation and if everything is alright then the LED pattern will
be like:
• The above figure shown the three states of the project.
• State # 1 shows the OFF state of LED, State # 2 shows that LED has started to glow and
State # 3 shows that LED is glowing with full intensity.
• After that the loop starts again from State #1 to State # 3, unless you keep running the
Proteus Simulation.
SERVO

Angle Control of Servo Motor using 555 Timer in Proteus


ISIS

• First of all, place the components in your Proteus workspace, as shown below in image.

• A 555 timer is an 8 pin IC. Pin # 6 is called threshold pin and for 555 timer threshold level
is 5 volts.

• So, 555 timer will trigger above 5 volts and it will generate output which can be collected
from pin # 3 represented as ‘Q’ which is output pin of 555 timer.
• After that the output pulse is sent to servo motor through a Transistor which is BC547.
• BC547 is basically a NPN transistor and the pulse signal is sent to servo motor through
its Emitter.
• The full angle deflection of servo motor is from -180 degrees to +180 degrees. It can’t
rotate through full 360 degrees. Now it’s your own choice that either you want to rotate
the motor at one particular angle or at multiple angles or to get full rotation.
• Since in this tutorial (Angle Control of Servo Motor using 555 Timer), we are going to get
full deflection of motor so, we have inserted 2 switches in the circuit. The complete circuit
will look like:

• Switch # 1 will rotate the servo motor to 180 degrees in anti-clockwise direction. We will
press the button only once and when the motor completes its rotation, it will automatically
stop.

• After that if we press the switch # 2, then it will rotate the servo motor in clockwise direction
and again after completing the angle, motor will again stop.
• If you have connected the components in correct order and when you will run it, the exact
simulation will look like as shown:
• Sonow, if you have a close look on the above two iages then you can see in theState # 1
image I have pressed the left button and the servo motor is moved to -90 degree, this -90
is also mentioned in the green LEDbox just below servo motor.
• And in State # 2, I have pressed the right button and thus the motor is moved to +90
degrees. That’s how it will work.

Sequential LED Blinking using 555 Timer in Proteus ISIS

• Weare gonna design a Project named LED Blinking using 555 Timer so let’s first have a
look at its block diagram.

• Threshold voltage for 555 Timer is 5 volts, and when voltages exceeds this level, 555
timer triggers and it generates a output pulse at its output pin which is ‘Q’ pin.

• While designing the circuit, First of all 555 Timer will come, secondly Shift Register (4017)
will be connected with it and at the end we will plug LED’s. The complete circuit flow
diagram is shown in figure below:
• Now coming towards the designing of the project, first of all, place the components in your
Proteus workspace, as shown below in image:

• Now Output pulse from 555 Timer is connected to input ‘CLK’ pin of Shift Register.
• Since the register being used is 10-bit, and its outputs are Q0~Q9. The pins Q0~Q5 are
connected to LED’s D6~D1 respectively.
• After that Register output pin Q6 is also connected to LED (D2) and it becomes parallel
with Q4. Now LED, (D2) has 2 parallel inputs and it becomes HIGH (turns ON) if any of
the two Inputs is HIGH.
• Next we connect the Register output pin Q7 to LED (D3) and then it becomes in parallel
with Q3. After doing that LED, (D3) has 2 parallel inputs and it becomes HIGH, if any of
the 2 inputs is HIGH.
• After doing that, now we connect register’s output pin (Q8) to LED (D4) and then it also
becomes in parallel with Q2, and LED will start glowing if any of the 2 inputs will be HIGH.
• Now at the end, we connect Q9 to LED (D5), and then it becomes in parallel with Q1. Now
D5 has 2 inputs (Q9 &Q1) and LED will glow if any of the 2 inputs will be HIGH.
• Now at the end, If you have connected all the components in exact order, and all the
connections are OK then, the exact simulation will look like as shown below:

• Now if we run the Proteus simulation and observe it closely, then we will see that, 555
Timer is continuously generating PWM and the Shift Register set’s its output ports HIGH
from Q0~Q9 respectively.
• First of all Register’s output pin # Q0 becomes HIGH and it send signal to LED (D6) and
LED will start glowing. You can also observe this phenomenon in the image given below:
• Then pin # Q1 becomes HIGH and it send signal to LED (D5) and D5 starts glowing. This
can be observed in the figure given below:

• Then register’s output pin Q2 becomes HIGH and sends signal to LED (D4) and D4 starts
glowing. This can also be observed in the figure given below:
• Then Register’s output pin Q3 becomes HIGH and send signal to LED (D3) and this LED
starts glowing. This stage can be seen in the figure given below:

• Then Register’s pin Q4 becomes HIGH and sends signal to LED (D2) and this LED (D2)
starts glowing. This process is shown in the image given below:
• And in the next step, Register gets its pin # Q5 HIGH and send signal to LED (D1) starts
to glow. This process can be seen in this figure:

• This process keeps on going and when the Register;s next pin becomes HIGH, which is
Q6, then it again sends signal to LED (D2) and it starts to glow, and so D3,D4,D5 will glow
respectively, and this sequence of LED’s blinking will continue, until you stop it manually
or by yourself.
• In the beginning, when LED’s Started to blink from Left to Right which was (D6 to D1) ,
this sequence is called Forward Sequence.
• After that, LED’s started to blink from Right to Left which was (D1 to D6), this sequence is
called Reverse or Backward Sequence.
• We can summarize this whole sequence into a tabular shape, and this table is given in
the figure below:
• This process keeps on going and LED’s keeps on glowing in a beautiful sequence. These
type of projects are generally used for decoration purposes.

• So, that’s all about Sequential LED Blinking Using 555 timer.

As you all know, now a days all the Digital Display’s uses Seven Segment Display. So first
of all let’s have a little introduction about Seven Segment Display. How they are fabricated
and how their LED’s glow in such a beautiful manner? Seven Segment Display (SSD) is the
form of electronic device, used to display decimal numbers. Seven Segment Displays are
commonly designed in Hexagonal shape but according to our project’s requirement we can
also design them in some other shapes like rectangle, triangle, trapezoid etc. Seven
Segment Displays may uses LIQUID CRYSTAL DISPLAY (LCD) or LIGHT EMITTING
DIODE (LED) for each display segment. In Seven Segment Display all the positive terminals
(Anode) or all the negative terminals (Cathode) are brought together to a common pin and
such arrangements are known as “Common Anode” or “Common Cathode” arrangement. In
this project we will be using Common Cathode arrangement and Hexagonal shape of Seven
Segment Display. A simplest form of Seven Segment Display is shown in the image below:

From the above shown image, we can see that we have total 7 LEDs and we will make them
glow in such a scheme that the final image will look like a Numerical number. Now if you
recall one of our previous project tutorial which was Sequential LED Blinking using 555
Timer, In that project, we are using a 555 Timer in collaboration with a Shift Register. 555
timer continuously provides clock to the Shift Register and Shift Register gives data to its
output pins in parallel manner. In today’s project, we are also going to use the same concept.
We will use a 555 Timer which will continuously provide clock to Shift Register it will enable
it’s pin accordingly. We can gather this whole information into a single table and also the
sequence in which LED’s will blink. Such table is called TRUTH TABLE and it is shown in
the image given below:
In the above image, ‘1’ means ON state and ‘0’ means OFF state of a particular LED of
Seven Segment Display. Above was a little introduction of Seven Segment Display and now,
lets move towards Hardware and see How this beautiful display is actually formed.

You can download the complete simulation of above project by simply clicking on the image
given below:

Download Seven Segment Display Project U


sing 555 Timer

Seven Segment Display Using 555 Timer

• First of all place all the components in your proteus workspace, as shown in the image
given below:

• First of all 555 Timer is installed, after that a Shift Register is added. 555 Timer will give
clock to the Shift Register. Since we are using common cathode arrangement. So, the 7
input pin of SSD are connected to the output pins of Shift Register and the common
cathode pin is connected to circuit’s main cathode. If you have placed all the components
in their exact positions and all the connections are OK. then, the resultant simulation will
look like as shown in the image below:
• Now if you look closely at the upper portion of the image then, you will notice that i have
added 2 buttons in the circuit. Left Button in Button # 1 and Right Button is Button # 2.
• If both the Buttons are kept open and when you will run the simulation then, numerical
values will start to come on seven segment display. you can also see it in the below image:
• Now the switching of button # 1 includes a very interesting feature. First of all play the
simulation and Digits will start to run on Seven Segment Display and at any stage when
you will press Button # 1 then Seven segment display will vanish but counting will keep
on going in the back. And when you will open the Button#1 again then it will show that
digit, up-to which counting have reached. Below is a very interesting feature included:
• During State#1 when Seven Segment Display was showing digit no.2 , we pressed
button#1 then, display vanished which can be seen in the state#2. After that when we re-
opened the switch#1 then, Seven segment display didn’t show the digit no.3 but it shows
digit # 8. and this thing can be seen at state#3.
• Now moving forward, the function of switch # 2 is very simple and easy. During simulation
running, when we will press the Button # 2 at any instant then, display will immediately
stop at that point. So, we can say that this project can also be used as stop watch and
button # 2 controls the stop watch. It can also be seen in the image below:
Seven Segments Displays have a large no of applications. Some of them are listed below:

1. Digital Clocks.
2. Electronic Meters.
3. Basic Calculators.
4. Electronic Devices to Display Numerical Values. (Generally 14-segments or 16-
segments display is used to display full alphanumeric values).
Alright friends, that’s all for today,

Relay Control Using 555 Timer in Proteus ISIS

• First of all place all the components in your Proteus workspace as shown in the image
given below:
• Now connect supply voltage (+5 volts) to Vcc pin of 555 Timer.
• At output pin of 555 Timer, which is pin # 3, we will connect our load. By load we mean a
5 volts relay and a simple DC motor is connected next to the relay.
• As i told earlier that we are using a manual relay, so a simple push Button is also
connected between pin # 3 and relay.
• If you have connected all the electronic components in their exact place, then the final
simulation will look like as shown in the image given below:

• If you notice the image closely, then you will observe that a Diode is also connected in
parallel with the relay coil.
• A Relay contains a coil. When voltage source is applied across one end of the Relay and
the other end is connected to the ground, then relay gets energized. And when we remove
the source voltages then, it still remains energized and the stored charge tends to flow the
reverse current.
• The reason to connect the Diode is that it blocks the reverse current and only allows the
forward current to pass through it.
• Now run the simulation, if button is kept in OFF state then, voltage will appear across the
Relay but it will not operate. To run the load,which is Motor in this case, we will have to
turn the switch ON. Which can be seen in the image given below:
• As you can see in the above image, when the switch was in ON state, then relay gets no
signal and doesn’t operate. As we move the switch from ON state to OFF state, then relay
gets the signal and it starts to operate the load.
• Now after reading today’s post, you must have a look at Relay Interfacing with
Microcontroller which is an advanced tutorial and the benefit of microcontroller is that now
you can control your relay any way you want.
• Other exciting tutorials on 555 Timer includes Seven segment Control using 555
timer and Servo Motor Control using 555 Timer.
• I have created a small video for this tutorial in which I have shown how to do relay control
using 555 Timer, I hope you are gonna like it:

Alright Friends that was all for today’s tutorial about relay control using 555 timer.
Now i am going to share another application of 555 Timer and here we will be using a shift
register (4017) next to 555 timer to implement Traffic Signal Control circuit. 4017 is a SERIAL
IN PARALLEL OUT shift register. Data enters in a serial manner into register and it leaves
the register in parallel manner. 4017 is a 10-bit shift register and it needs a clock pulse to
shift data from serial input pin to parallel output pins. Now we need a device which can
provide continuous clock pulse to Shift Register. Clock pulse is generated either from Micro-
controllers or some sort of timers. Here we will be using 555 Timer to generate clock pulse.
It is a very easy project to understand and also very simple to implement. These type of
projects are generally designed by the Engineering students in their First or Second
semester. Now i am done with the theory of the circuit and now lets move towards the
designing of the project.

You can also download the complete simulation of the above described project by simply
clicking on the button given below:
Download Traffic Signal Control Project using 555 Timer

Traffic Signal Control using 555 Timer in Proteus ISIS

• First of all place all the components in your proteus workspace,as shown in the image
below:

• Threshold voltage for 555 Timer is 5 volts, and when voltages exceeds this level, 555
timer triggers and it generates a output pulse at its output pin which is ‘Q’ pin.
• In this project, we will be using a battery of 12 volts as supply voltages.Positive pin (+) of
source is connected to Vcc pin of 555 Timer and the Negative pin (-) is connected to GND
pin of 555 timer.
• Pin#3 of 555 timer is connected to CLK pin of shift register and this pin is the data input
pin of shift register. Through this pin, 555 timer send data to shift register.
• At output pins of shift register we have connected 3 Leds, RED, YELLOW and GREEN.
Same colors which are used in Traffic Signals.
• RED led is connected to output pin#12. YELLOW LED has 2 parallel inputs that are pined
at pin#10 and pin#11 respectively. Diodes are connected the way of inputs to block
reverse currents. YELLOW led will glow if any of the input will be HIGH.
• GREEN led has 4 parallel inputs connected at pin# 1,5,6,9 respectively. GREEN led has
to blink for longer time, that’s why we have connected multiple inputs to it. GREEN led will
keep on glowing as along as any of the input will be HIGH.
• If you connected all the components in their exact position and all the connections are
OK, then the final circuit will look like as shown in the image below:

• Now if you look the above circuit closely then, you will observe that we have connected
high valued capacitor (47uf) in the way of trigger pin of 555 timer.
• The purpose of capacitor is to produce lag in the clock generated by 555 Timer.
• Now when you will play the simulation then LED will start to glow in periodic manner. First
RED led will blink, then YELLOW led will glow and in the end GREEN led will start to glow.
• All these stages are shown in the image given below:
• As you can see that state#1 represents the “STOP” state, which means that traffic has to
stop.
• State#2 represents “GET READY” state and it means get ready to GO but you are not
allowed to go yet.
• State#3 represents “GO” state, in which traffic is allowed to Go.
Alright friends that was all for today’s project. It was a very simple tutorial and most of its
portion have been explained in previous tutorials. So i haven’t explain it in much detail. But
still if you have any problem then, don’t feel shy to ask in the comments. Till next tutorial

Take Care !!!

Das könnte Ihnen auch gefallen