DC Motor Direction Control with Arduino in Proteus
Hello friends, hope you all are fine and having fun with life. Today, I am going to share DC Motor Direction Control with Arduino. I have designed a complete simulation in Proteus, which will help you in understanding the controlling of DC motor. I would recommend you to first read How to Control relay in Proteus ISIS which will help you in understanding the functionality of relays because in today's tutorial, I have used relays to do the DC Motor Direction Control. I have already posted a tutorial on DC Motor Drive Circuit in Proteus ISIS.
So, for DC Motor Direction Control, I have used Arduino UNO baord, so you should also download this Arduino Library for Proteus so that you can use Arduino boards in Proteus software. I have also provide the simulation and the code for DC Motor Direction Control but I would recommend you to design it on your own so that you learn from it. If you have any problem then ask in comments and I will try to resolve them. In this project, I have used Serial Terminal. So, whenever someone, sends character "C" on serial terminal then the motor will move in Clockwise Direction and when someone sends character "A" then it will move in Anti-clockwise Direction and will stop on character "S". Anyways, lets get started with DC Motor Direction Control with Arduino in Proteus ISIS.
DC Motor Direction Control with Arduino in Proteus ISIS
- You can download the Proteus simulation for DC Motor Direction Control by clicking the below button:
Download Proteus Simulation for DC Motor
- So, now let's move on with designing it, first of all get the below components from Proteus and place them in your workspace:
- Now, design a circuit in Proteus software, as shown in below figure:
- You can see in the above figure that I have used two relays which I have used for DC Motor Direction Control.
- Moreover, there's a Virtual Terminal through which I am sending the commands.
- I have used Arduino UNO board for DC Motor Direction Control through Virtual Terminal. You should download the Arduino Library for Proteus so that you can use it in Proteus.
- Now upload the below code in your Arduino software and get the hex file. You should read how to get the Hex file from Arduino.
int Motor1 = 2;
int Motor2 = 3;
void setup() {
pinMode(Motor1, OUTPUT);
pinMode(Motor2, OUTPUT);
Serial.begin(9600);
}
void loop() {
if(Serial.available())
{
char data = Serial.read();
Serial.println(data);
if(data == 'C'){MotorClockwise();}
if(data == 'A'){MotorAntiClockwise();}
if(data == 'S'){MotorStop();}
}
}
void MotorAntiClockwise()
{
digitalWrite(Motor1, HIGH);
digitalWrite(Motor2, LOW);
}
void MotorClockwise()
{
digitalWrite(Motor1, LOW);
digitalWrite(Motor2, HIGH);
}
void MotorStop()
{
digitalWrite(Motor1, HIGH);
digitalWrite(Motor2, HIGH);
}
- In the above code, I have designed three functions which I am calling on Serial receive.
- The code is quite self explanatory but if you got problem then ask in comments and I will resolve them.
- Once everything's done then run your simulation and if you have done fine then it will start working as shown in below figure:
- Obviously, you can't see a moving DC motor in an image but you can get the idea from Relays position in above figure. :)
- The below video will give you the better idea of How it works.
So, that's all for today. Hopefully now you have got the idea of How to do DC Motor Direction Control with Arduino in Proteus ISIS. In the next tutorial, I am gonna add speed control of DC Motor. So, till then take care and have fun. :)
555 Timer Projects
Hello friends, hope you all are fine and having fun with your lives. Today I am gonna post 555 Timer projects list which are already posted on our blog. Actually, I have posted many 555 Timer Projects on my blog but we don't have a list of these tutorials and they are quite scattered. So, today I thought to arrange them in a proper list so that you can find all of them in one place. All these 555 timer projects are simulated in my favorite simulating software Proteus. I have also given their simulations for download in almost all tutorials. If you feel problem in any of them then ask in comments and I will resolve them.
All these 555 Timer Projects and tutorials are written and designed completely by our team so we hold the complete ownership for these projects. Other bloggers are welcome to share them on their blogs to spread knowledge but do mention our post link as we have done a lot of work and effort in designing these tutorials and projects. :)
I will keep on updating this list in future as I am gonna add more projects on 555 Timer, I will add their links below. So, enough with the talking, let's get started with 555 Timer projects.
555 Timer Projects
I have divided these projects and tutorials in different sections depending on their complexity. Follow all these tutorials step by step and you are gonna be expert in 555 Timer real soon. I will keep on updating this list in future, whenever I am gonna add new project on 555 Timer, I will post the link here.
Basics of 555 Timer
Below tutorials will give you the basics of 555 Timer IC. So these tutorials are kind of must because if you don't know the basics of any integrated chip then how can you use it in your ciruits. So must read them once and then move to next section:
555 Timer Projects - Basics
I hope you have read the basics of 555 Timer, so now here's time to get started with 555 Timer Projects. These projects are designed in Proteus simulating software and are working perfectly. Simulations are given for download in most of these tutorials. So, lets get started:
555 Timer Projects - Advanced
Now I think you are quite expert in 555 Timer and have done the basic projects so now its time to move to the next level and design advance level projects with 555 Timer. In these projects we are gonna interface difference electronic modules with 555 Timer.
Design a Buzzer in Proteus ISIS
Hello friends, hope you all are having fun and enjoying life. Today's post is quite a simple one and is about designing of circuit diagram of buzzer in Proteus ISIS. Buzzer is quite a common electrical component which is used in almost every Embedded Systems project. For example, you have seen a simple UPS, it gives a beep each time the light goes off or it has depleted its battery. Buzzer is normally used for given some indication and normally this indication is kind of a warning.
Proteus has a builtin component for buzzer and its an animated component means it gives a sound (beep) when its turned ON. So, I am gonna use that one and will give you an actual beep on it. So, it won't be much difficult and quite a simple procedure. In this post, I am not gonna interface it with any Microcontroller i.e. Arduino or PIC Microcontroller but if you want then you can quite easily control it using any of them. You simply need to give pulse to it and you can control it. If I get time then I will post the control of buzzer with Arduino. So, let's start with it.
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.
Circuit Diagram of IR Sensor using 555 Timer
Hello everyone, hope you all are fine and having fun with your lives. Today's tutorial is quite simple and we will have a look at circuit diagram of IR sensor using 555 Timer. There are different types of IR sensors available in the market. IR is abbreviation of infrared and so they use infrared ray for detection of objects. There are many types of IR sensors with different functionality, but in all of them infrared rays are omitted from transmitter and are received by the receiver. and using these ray we can say whether an object is placed in the path or not.
Today we are gonna see how to design your own IR sensor using 555 Timer. We can also interface these IR sensors quite easily with any microcontroller like PIC Microcontroller , Arduino etc. I was also thinking of designing it in Proteus but Proteus doesn't have the IR leds in it so I couldn't do it. IR sensors available in market are quite costly ranging from 10$ to 100$ obviously they are also excellent in efficiency but in engineering cost efficiency also plays an important role so today we are gonna have a look at circuit diagram of IR sensor using 555 timer which will cost you just $2. Before going into the details, lets first have a look at types of IR sensors.
Types of IR sensors
- There are normally two types of IR sensors available in market.
First Type of IR Sensors:
- First type is transceiver IR sensor which has both transmitter and receiver in it. This type of IR sensor is used to detect the distance of object from the sensor.
- In this type of IR sensors, rays are omitted from the transmitter and are reflected back after hitting some object and are captured by the receiver.
- On the basis of the time taken by these rays to reflected back, we calculate the distance of the object from the sensor.
Second Type of IR Sensors:
- In these types of IR sensors, transmitter and receiver are not on same chip but on seperate pieces.
- These types of IR sensors are used for detection of object.
- For example we need to count people entering in some room then we will place this IR sensor on the door of that room with transmitter on one end and receiver on the other.
- So, now when some one will enter through the door , he will cut the IR beam and thus the IR light wont be received by the receiver and thus the sensor will know that someone entered.
- These types of IR sensors are also used in electronic devices like TV remote etc.
In this tutorial we are gonna design this second type of IR sensor using 555 timer. so, lets get started.
Circuit Diagram of IR Sensor using 555 Timer
- So, here we are gonna design the second type of IR sensor using 555 timer.
- In this sensor we need to design both the transmitter and the receiver.
- So, lets get started the transmitter.
- Design the below circuit on some circuit board:
- In the above circuit diagram of IR sensor, I have clearly mentioned all the values of components so that you can easily design it. Moreover there are two leds used in it, these are not simple leds. There are IR leds which emits IR rays. the range of this sensor will depend roughly on the number of leds you are gonna use here, as I used two leds.
- So, now lets have a look at circuit diagram of receiver side.
- On this side we have use IR led but that one is receiving and will received that IR rays coming from the transmitter IR leds.
- These are quite simple in designing and you can design it without any trouble. Before going into PCB, its better if you first design them on some wero board or bread board.
- Here's a manufactured piece of the above given circuit diagrams. The one with two leds is the transmitter and the other one is receiver.
- The image is a bit blur, coz I was in a bit of hurry but they work perfectly fine. :)
- That's all for today, will see you guys in the next tutorial. Till then take care!!!
Traffic Signal Control using Arduino
Hello friends, hope you all are fine and having fun with your lives. Today, I am going to share a Traffic Signal Control using Arduino. Few days earlier, I have posted the same tutorial but it was Traffic Light Signal Using 555 Timer in Proteus ISIS and today we will do the same thing but using Arduino programming. Its quite a simple but good starting project on Arduino. So, if you are new to Arduino then must give it a try.
Traffic Signal Control is quite a usual thing. We see traffic signals daily on our roads and usually engineers are asked to design such projects in their initial semesters. If we look at the traffic signals then we can see they are simply turning ON and OFF lights at some fixed regular intervals. and the pattern is quite simple as well. so I have simply followed that pattern and design the code. You should also have a look at Arduino 3 Phase Inverter. So let's start with designing this project named as Traffic Signal Control using Arduino.
Traffic Signal Control using Arduino
- First of all, design a circuit in Proteus for Traffic Signal Control using Arduino as shown in the below figure:
- Its quite a simple project so the circuit is quite simple as well. You can see I have just placed an Arduino board and plugged three LEDs with it and obviously they are Green, Yellow and Red in color.
- These LEDs are attached to pins 2,3 and 4 of Arduino UNO.
- Now next step is to write the Arduino Code for Traffic Signal Control using Arduino, so I have written and it is shown below:
#define GreenLed 4
#define YellowLed 3
#define RedLed 2
void setup()
{
pinMode(GreenLed, OUTPUT);
pinMode(YellowLed, OUTPUT);
pinMode(RedLed, OUTPUT);
}
void loop()
{
digitalWrite(GreenLed, HIGH);
digitalWrite(YellowLed, LOW);
digitalWrite(RedLed, LOW);
delay(5000);delay(5000);
digitalWrite(GreenLed, LOW);
digitalWrite(YellowLed, LOW);
digitalWrite(RedLed, HIGH);
delay(5000);delay(5000);
digitalWrite(GreenLed, LOW);
digitalWrite(YellowLed, HIGH);
digitalWrite(RedLed, LOW);
delay(3000);
}
- That's the complete code for this project Traffic Signal Control using Arduino and I think its quite self explanatory plus I have also changed the color accordingly.
- First of all Green LED is ON and the rest are OFF which is shown in green color.
- Next Red LED is ON and the rest are OFF after around 10 seconds which you can change by changing these delays.
- Finally the Yellow LED will be ON and you can see it goes OFF just after 3 sec because it has short delay, you can change these delays quite easily.
- Below is the flow chart of above programming for Traffic Signal Control using Arduino which will clear the theme properly.
- Now compile your Arduino code and get the hex file.
Note:
- Now when you upload the hex file into your Arduino, it will give output as shown below:
- So that's how it will work, I hope you got this clearly as its quite simple, will meet you soon in the next tutorial. Till then take care!!! :)
What is 555 Timer?
Hello friends, i hope you all are fine and enjoying. Today i am going to share a new tutorial in which I am gonna explain What is 555 timer? We all know about 555 timer, which is an 8-pin IC (integrated circuit), most commonly used in electronic projects, built now a days. As you can see fron its name that it is a timer and designed to generate PWM.
In today's tutorial i am going to explain, what's hidden inside this 555 timer IC and what is 555 timer. A 555 timer is a much compatible electronic device and the biggest feature of this IC is that it able to work on both analogue and digital techniques. Now if we simply consider the output of the 555 timer then, at any particular time, this timer has only 1 definite state. Which means at any time, it will be either ON or OFF. It is not possible that its output is ON and OFF simultaneously. A new invention of 555 timer has also been discovered which is named as 556 timer. 556 is in fact a Dual version of 555 timer and it contains 2 555 timers in a single IC. 556 is a 14 pin IC. Now you will think that 555 timer is a pin IC and as i said that 556 contains two 555 timers then, it should have 16 pins. The answer to this question is that, when two 555 timers are connected to each other then the VCC and GND of both ICs is made common so, we have 14 pins instead of 16. Now let's move towards the basic theme of our tutorial. In this tutorial i will be explain the steps, the pin configuration of 555 timer, It's different modes and project applications.
Internal Design of 555 Timer
Before going into details of what is 555 timer, let's first come to the internal design of a 555 timer. The outer shape of the 555 timer may look like very simple but there is a complex mechanism hidden inside that small IC. A 555 timer contains 25 transistors, 15 resistors and 2 diodes, which are connected to each other in a very complex manner. An interesting thing to know here is that all these components are embedded on a single small silicon chip. Some other series of 555 timers are also available in market like NE555 timer, which we commonly use in our engineering or electronic projects. And the second series is SE555. SE555 series was designed for military purposes. These operating temperature ranges of both NE555 ans SE555 are given below as:
- NE555 is mostly used for basic level projects and such high level accuracy is not demanded in it so it is capable to operate from 0 ~ 70 degree Celsius.
- SE555 was designed for military applications and it is used in those projects where high precision is required. The operating temperature of this IC is -55 ~ +125 degree Celsius.
Pin configuration of 555 Timer
Let's have a look at pin configuration to know what is 555 timer. As I described earlier that 555 timer has total 8 pins. As i described that 555 timer is a multipurpose IC and it is capable to perform variable function. So through some proper arrangement of connections, we can made this IC to do different tasks. Now i will explain the every pin no. and its purpose so that we know the answer to our main question what is 555 Timer ??? :)
- The pin designated as pin#1 is GND pin. This pin is used to provide reference voltage or ground to 555 timer.
- The pin designated as pin#2 is TR pin. It is used for triggering of 555 timer. The operating voltages of 555 timer is 4.5V ~ 15V. When the operating voltages exceeds 5V then, the 555 timer triggers and it generated output or we can say that now it has crossed that limit above which it will generate output.
- The pin designated as pin#3 is the output pin of 555 timer. Through this pin, the output of 555 timer goes to the external circuit. The output depends on the purpose for which you are using 555 timer. For example if you are using your 555 timer to generate PWM then its output will vary. Sometimes it will go High and some time it will go Low.
- The pin designated as pin#4 is Reset pin of 555 timer. If you look closely on the first feature image of the tutorial then, you yourself will understand that it is a NOT function. Which means that in order to reset the 555 timer you will have to give '0' at that pin and after the compliment it will become High and 555 timer will 'Reset' .
- The pin#5 of 555 is 'CTRL' pin. It is in fact a control pin of 555 timer. This pin gives us the direct access to the internal voltage divider of the 555 timer, which is fabricated inside that small silicon chip. We can divide the voltages according to our output requirements.
- The pin#6 is named as 'THR' pin of the 555 timer. For the supply voltages, 555 timer has kept a reference value for them. For example when the supply voltages exceeds 5 volts then, the this pin becomes activated and the 555 timer starts to generate output or it sends data to its output pins.
- Pin#7 is named as 'DIS' of the 555 timer. This pin is in fact the discharge pin of 555 timer and used to discharge the capacitors between intervals. This pin has the biggest advantage when, we are generating PWM through 555 timer.
- The last pin is pin#8 and it is designated as 'VCC' . This is the supply pin of 555 timer. Source is connected at this pin and as i have already explained that the supply voltages range for 555 timer is 4.5V ~ 15V, but generally it triggers above 5 volts.
Modes of Operation - What is 555 Timer ???
In order to know what is 555 Timer, we should have a look at its modes of operation. 555 timer has 3 major modes of operations. All these modes have there own applications and advantages. All the 3 modes are explained in below:
Astable Mode of 555 timer:
From the name of this mode 'astable mode', you can understand that, in this mode, we don't have any stable output of 555 timer. While operating in this mode, the output will be continuously fluctuating and we will be obtaining a square wave form on the output pin of the 555 timer. To operate the 555 timer in Astable mode, you will have to draw the following circuit, which is shown in the image below:
- Astable mode is also used to flash lamps and leds. A very similar project named as Sequential LED blinking using 555 timer has also been uploaded by our team. In that project 555 timer was again being used in astable mode.
Monostable Mode of 555 timer:
In this mode of operation the 555 timer gives only one output pulse in addition to the intentional trigger input. For example if you will press the button then, 555 timer will produce a output pulse and its length remains constant until you again press the button and the 555 timer will generate another pulse. The circuit to use 555 timer in monostable mode is shown in the image given below:
- Monostable mode of 555 timer has wast application. In this state it is used as a timer, touch switches.
- The biggest example of this mode is to generate PWM. If you recall one of my previous tutorial which was Angle control of servo motor using 555 timer, then at that stage we were using a 555 timer to generate a PWM and through this PWM, we were controlling the angle of micro servo motor.
- This mode is also used for capacitive measurement and also for missing pulse detection.
Bistable Mode of 555 timer:
The third and the last mode of operation of 555 timer is to use it in bistable mode. This thing is understood from its name 'Bistable' which means this circuit will have 2 stable states, which we are going to control. The circuit diagram to operate a 555 timer in bistable state is shown in the image given below:
- The above shown circuit is of bistable mode of 555 timer.
- As you can see in the above figure, we have 2 push buttons. One is connected to 'THR' pin and the other is connected to 'TRIG' pin of 555 timer.
- When we will press the 'TRIG' button, which means that we have connected the trigger state to ground and its state has become LOW. By doing that the output of 555 timer will become High.
- On the other hand, when i will press the 'RESET' button then 'THR' pin of 555 timer will be grounded and the output of 555 timer will become LOW.
- In this way we have made the 555 timer to work in 2 different states and that's why it is called Bistable mode of operation of 555 timer.
If you wanna read more about 555 Timer then you must check below simulations on 555 Timer:
Alright friends, that was all from today's post. I hope you have learned something new today and have got your answer for our first question what is 555 timer and if you have any questions then please ask in comments and i will try my best to resolve the issue. Till next tutorial Take Care !!! :)
Traffic Signal Control using 555 Timer in Proteus ISIS
Hello Friends, i hope you all are fine and enjoying. Now i am going to share my new project tutorial which is Traffic Signal Control using 555 Timer. Up till now i have uploaded a no. of projects using 555 timer and i have got much appreciation from my friends, for some 555 timer based projects like How to use Capacitive Touch Sensor in Proteus ISIS, Sequential LED Blinking using 555 Timer and many more.
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:
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 !!! :)
Relay Control Using 555 Timer in Proteus ISIS
Hello friends, I hope you all are fine and enjoying yourself. Today I am going to share my new project tutorial which is Relay Control Using 555 Timer in Proteus ISIS. We all know about relays that are used for automatic switching and are magnetically connected while electrically insulated. If you don't know much about relays then I think you should first read What is a Relay? in which I have given a detailed overview of relays and where are relays used? After reading this post you will have a good grip over relay and today's post will be piece of cake for you. Relays are mostly used with some microcontrollers like Arduino or PIC Microcontroller. You might also wanna have a look at traffic Signal Control using 555 Timer, which is good if you are interested in learning 555 Timer.
Now in today's project, it can be understood from its name (Relay Control Using 555 Timer in Proteus ISIS), that we are going to operate and control a Relay through 555 Timer. First of all, if we define the relay, then we can say that 'Relay is an Electrical switch which operates Mechanically'. You should also check this Relay Simulation in Proteus to know how it works. Although some relays operate automatically but since we are working on a very basic project and we will be controlling the relay from an external mean and for this, we will use a mechanical switch. The mechanical switch is in fact a button and we can turn it ON or OFF according to our own choice. It is a very simple and easy project and most of its contents have been described in the earlier tutorials. So, I am not going into much detail and without wasting any time, let's move towards the Hardware of the circuit. But it's my personal advice, try to do design this relay control using the 555 timer project yourself and get to know the practical applications of the 555 Timer in person. You can also download the complete simulation of above described tutorial by simply clicking on the button given below:
Download Project Files
Where To Buy? |
---|
No. | Components | Distributor | Link To Buy |
1 | 555 Timer | Amazon | Buy Now |
2 | LEDs | Amazon | Buy Now |
3 | Resistor | Amazon | Buy Now |
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 the 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 you 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 the voltage source is applied across one end of the Relay and the other end is connected to the ground, then the 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 the button is kept in the OFF state then, the 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. This can be seen in the image given below:
- As you can see in the above image, when the switch was in an ON state, the relay gets no signal and doesn't operate. As we move the switch from ON state to OFF state, the 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 a microcontroller is that now you can control your relay any way you want.
- Other exciting tutorials on 555 Timer include 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 a 555 timer. I hope, I have conveyed something new today. If you have any questions, then don't hesitate to ask in the comments and I will try my best to resolve them. Follow us through email to get the tutorial straight in your inbox. Till the next tutorial, Take care and Be Safe !!! :)
Seven Segment Display Using 555 Timer in Proteus ISIS
Hello friends, hope you all are fine and enjoying. Yesterday I got a mail from a friend, and he requested me to explain a tutorial about Seven Segment Display. So today, I am going to share my new project tutorial which is Seven Segment Display using 555 Timer in Proteus ISIS. It is a very simple project to understand Modern Digital Electronics.
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 Using 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:
- Digital Clocks.
- Electronic Meters.
- Basic Calculators.
- 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, I hope I have conveyed some knowledge and helped you people in some way. If you have some queries, then ask in comments. Subscribe us via email to get these tutorials straight in your inbox. Till next tutorial, take care and be safe !!! :)
Design a 5V Power Supply in Proteus
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:
Design a 5V Power Supply in Proteus
- Voltage Regulating IC 7805 has 3 pins.
- 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.
- Pin # 2 is called common or ground pin. It is marked as (GND). The whole circuit's common is applied to this pin.
- 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.