Soil Moisture Sensor Library for Proteus V2.0
Hello friends, I hope you all are doing fine. In today's tutorial, I am going to share a new Soil Moisture Sensor Library for Proteus V2.0. You should also have a look at its previous version i.e. Soil Moisture Sensor Library for Proteus V1.0. If you have worked on the previous version, it has only one soil moisture sensor in it, while in this library, we have added three soil moisture sensors.
First, we will have a brief introduction of the Soil Moisture sensor, then we will download the zip file containing Proteus Library files of Soil Moisture Sensor and finally, we will design a small simulation using these new sensors. So, let's get started:
Where To Buy? |
---|
No. | Components | Distributor | Link To Buy |
1 | Arduino Uno | Amazon | Buy Now |
What is Soil Moisture Sensor?
- Soil Moisture sensor is an embedded sensor, used to measure the moisture level of the soil.
- It is normally used in agricultural automation projects, i.e. controlling the water flow based on the moisture level of the soil.
- Soil Moisture sensors are available with both analog and digital outputs.
- They normally have a potentiometer embedded in them, for controlling the sensitivity of the sensor.
Before downloading the sensor's library file, let's first have a look at what's new in version 2.
Difference b/w V1.0 & V2.0
- We received many complaints about the big size of the Soil Moisture sensor(V1.0), so we have reduced their sizes in this new library(V2.0).
- The first version contains only 1 soil moisture sensor, while in V2.0 we have added three soil moisture sensors.
- The output of V1.0 was quite smooth, while in V2.0 we have made the output a bit fluctuating to make it more realistic.
Now, let's download the Proteus Library zip file for this sensor and simulate it in Proteus:
Soil Moisture Sensor Library for Proteus V2.0
- First, we need to download the Proteus Library zip file, by clicking the below button:
Soil Moisture Sensor Library for Proteus V2.0
- After downloading the zip file, extract it and open the folder named Proteus Library Files.
- You will find three files in this folder, named as:
- SoilMoistureSensor2TEP.IDX
- SoilMoistureSensor2TEP.LIB
- SoilMoistureSensor2TEP.HEX
- Place these files in the library folder of your Proteus software.
Note:
- Now, open Proteus ISIS, and if you are already working on it, then restart it.
- In the components library, make a search for Soil Moisture Sensor, and you will get results as shown in the below figure:
- Let's place these three soil moisture sensors in the Proteus workspace:
- Quite pretty, aren't they? :)
Now let's design a small simulation, to have a look at its working:
Proteus Simulation of Soil Moisture Sensor
- As you can see in the above figure, each of these sensors has 4 pins in total, which are:
- Vcc: We need to provide +5V here.
- GND: We need to connect it to Ground.
- A0: It's the analog output pin, its value will increase as the moisture level of the soil will increase.
- TestPin: The voltage level of TestPin will decide the moisture level of the soil.
Why Test Pin is used?
- As it's a simulation, so we can't actually probe the sensor in real soil, so we are using this TestPin for testing purposes.
- The value of Test Pin can vary from 0 to 5V, so as the value of this Test Pin will increase, the sensor will consider the moisture level of the soil in increasing and thus its output will also increase. In simple words:
- If TestPin is HIGH: Soil has maximum moisture level.
- If TestPin is LOW: Soil is completely dry.
- We will place a potentiometer at TestPin to provide variable voltage for testing.
Adding Hex File to the sensor
- We have placed three library files of soil moisture sensor in the Library folder of Proteus, and if you have noticed, one of them is the .hex file.
- In order to operate this sensor, we need to add that hex file to our sensor.
- So, double click on the Soil Moisture sensor to open its Properties Panel.
- In the properties panel, we have a section named "Program File", here upload the hex file which we have downloaded, as shown in the below figure:
- After adding the hex file, click Ok to close the properties panel.
- Now, design a small simulation, as shown in the below figure:(I have added this simulation in the Proteus Library zip file)
- I have added the hex file in both of these soil moisture sensors.
- Now, let's run the Proteus Simulation and have a look at the output:
- As we change the value of the potentiometer(attached to Test Pin), the output of the sensor will change accordingly.
So, that was all for today. I hope this library will help embedded students in their engineering projects. If you have any suggestions/comments, please use the below comment form. Thanks for reading. Take care. Bye !!! :)
Home Security System using Arduino UNO in Proteus
Hello friends, I hope you all are doing well. In today's tutorial, we are going to design a Home Security System using Arduino UNO in Proteus software. It's the most commonly designed engineering project, especially in electrical, electronics and mechatronics engineering. Normally engineering students design it as a semester project during their engineering course.
So, today we will design a home security system from scratch in Proteus software. I have given the complete project below to download but I would suggest you to design it on your own so that you could understand it better. So, let's get started:
Home Security System: Project Description
- Before going into the detail, let's first download the complete Proteus Simulation with Arduino Code, by clicking the below button:
Home Security System using Arduino UNO in Proteus
Let me first give you a detailed project description i.e. what we actually want to design? We want to build a Home Security Project, which should follow these security protocols:
- Fire alarm: It should be able to detect the fire and sound an alarm to alert everyone at home.
- Smoke alarm: It should detect the gas(smoke) and turn on the alarm(if detected).
The above-mentioned security protocols will be followed 24/7. Moreover, there will be two security modes in the project, named:
- Secure Mode.
- Normal Mode.
Let's have a look at both of these modes, one by one:
1. Secure Mode
- This mode should be selected, when owners want to completely secure their home i.e. they are leaving home or while sleeping at night.
- If the Secure Mode is selected, the project should follow the following security protocols:
- Intruder Detection Alarm: It should detect the presence of any human being in the occupied premises.
- Windows Security Alarm: If someone tries to break through the windows, the project should sound an alarm.
- Door Security Alarm: If any intruder tries to break through the main door, it should again sound the alarm to alert everyone.
2. Normal Mode
- This mode should be selected, when owners are at home and just want to take the basic security measures.
- In this mode, only the Fire Alarm & Gas Alarm will work, while all other alarms will remain on standby.
Other Features
- There should be an LCD, to display values of all parameters.
- It should have a buzzer to generate an alarm, in case of emergency.
- There should a Push Button to make switches between these security modes.
Here's the final simulation, which we are going to design in today's lecture:
So, these are our requirements, which we want to achieve in this Home Security Project. Now let's have a look at the components selected for this project:
Home Security System: Components Selected
Now let's have a look at the list of components, which I have selected for this Home Security Project. I will also briefly explain the purpose of using each component.
1. Arduino UNO
- As clearly it's an Embedded Systems Project, so first of all we need to select a Microcontroller for our project.
- As I have mentioned earlier, we will use the Arduino UNO Microcontroller board for designing this project.
- Arduino UNO will act as the brain of the project and will control all sensors and modules.
2. Flame Sensor:
- A flame sensor is used to detects the presence of fire.
- The sensor basically consists of a photo-diode that detects the Infrared rays that emit from the fire. When it detects a fire, its output goes HIGH.
3. Gas Sensor (MQ-6)
- MQ-6 Gas Sensor is used to detect the concentration of gases in the environment.
- The sensor produces a potential difference proportional to the concentration of the particular gases.
- The type of gas that it detects depends upon the material used in the sensor.
- There are many gas sensors available in the market i.e. MQ-2, MQ-3, MQ-4 etc.
- These sensors are available as ready-made modules for easy interfacing with the microcontroller.
4. PIR Sensor(HC-SR501)
- HC-SR501 PIR sensor is used to detect any human being(intruder) in the Secure Mode.
- It detects the IR radiations from the human movement & generates a pulse on its output.
- The time period of the pulse could be varied by using the potentiometer on the sensor.
5. Vibration sensor(SW-420)
- The SW-420 vibration sensor is used to detect any forced entry through windows.
- In Secure Mode, if someone tries to open the window, the sensor will detect vibrations and will send a HIGH signal to the microcontroller.
6. Infrared Sensor
- An infrared sensor will be placed at the door and someone tried to enter through that door, the sensor will detect it.
- It consists of an IR transmitter and a photo-diode that are placed close to each other.
- If any object movement occurs in front of the sensor, the IR rays hit the object and return back with a particular angle called incident angle.
- This pulls the comparator output to ground or logic LOW.
7. LCD 20x4
- LCD 20x4 will be used for displaying the values of all these sensors.
- It will also display useful information i.e. which mode is selected.
8. Buzzer
- A small 5V Buzzer is used to sound the alarm.
9. LM7805
- LM7805 is a voltage regulator and is used to convert voltage from 12V to 5V.
- Power sources(i.e. battery, adapter etc.) available are normally 12V, as it has become a standard.
- Moreover, many components also operate at 12V like a buzzer or DC motor.
- While microcontrollers and sensors work on 5V, so in Embedded projects, it's quite necessary to design a voltage regulator from 12V to 5V and in some cases 3.3V.
- I normally prefer LM7805 for converting voltage from 12V to 5V.
10. Resistances(1kohm)
- We need to use a few resistances of 1kohm.
11. Small LED
- We will also use a small LED for power indication.
12. Capacitors(100uF)
- We will also use few capacitors of 100uF, as it removes any noise/ripples.
So, these are the components, we are going to use for designing Home Security System. Now let's get started with designing the Proteus Simulation:
Proteus Simulation of Home Security System
As I have told you earlier, I am going to use Proteus software for designing this project. Proteus is an excellent simulation tool, where we will not only design the circuit of this project but will also test its output. I always design my programming algorithms on simulations as working on real hardware is too time-consuming. You should remove all your programming bugs in simulation and once confirmed then design your project in real hardware. So, let's start:
Install Proteus Libraries
- Arduino boards & sensors' modules are not available in the Proteus components list.
- So, first of all, we need to install these Proteus libraries:
- Adding these libraries is quite simple, you just need to place their files in the library folder of Proteus software.
- If you got any issues, then read this guide on How to add a Library in Proteus 8.
Once you added all the libraries, now open your Proteus software.
Designing Circuit Diagram in Proteus
- Now we need to design a circuit for our project, so select these components from Proteus Components Search Box.
- First of all, let's design the voltage regulator circuit using LM7805, which will be simply converting the voltage from 12V to 5V.
- As you can see in the above figure, I have used 12V Battery, while the output of LM7805 is showing 5V and I have also placed an LED for power indication.
LCD Interfacing with Arduino:
- Next, we need to interface 20x4 LCD with Arduino UNO, so design the circuit as shown in the below figure:
Next, we need to interface five sensors with Arduino UNO, so let's add them to our Proteus simulation:
Sensors Interfacing with Arduino:
- These are simple digital & analog sensors and are all powered up at 5V.
- So, simply connect them as shown in the below figure:
- The Flame Sensor is connected to pin A0 of Arduino UNO.
- Gas Sensor is connected to pin A1 of Arduino UNO.
- PIR Sensor is connected to pin A2 of Arduino UNO.
- The Vibration Sensor is connected to pin A3 of Arduino UNO.
- The Infrared Sensor is connected to pin A4 of Arduino UNO.
For simulation, ensure all hex files are uploaded to each sensor for proper working. You can upload the source code hex file to the Arduino, by pressing Ctrl+E or by right click --> Edit properties.
Buzzer & Push Button:
- Finally, we need to add the Buzzer to sound the alarm in emergency cases, I have connected it to Pin A5 of Arduino UNO.
- I have also connected a push-button for switching the modes, connected to Pin 7 of Arduino UNO, as shown in the below figure:
- Here's the image of the complete Proteus Simulation for Home Security System:
Now let's design the Arduino programming code for Home Security Project:
Arduino Code for Home Security System
In the previous section, we have designed the Proteus simulation of the project, now let's design its Arduino Code to make it alive. Let's get started:
Initialization LCD Arduino Code
- First of all, we need to define all our variables, as you can see in the code shown in the right figure.
- I have included the Liquid Crystal Library, which is used to operate LCD.
- Next, I have defined all my sensors to the respective pins and then initialized boolean variables for storing the output of sensors.
- In the Setup loop, I have made the sensors' pins input pullup using the pinMode Arduino command.
- Finally, displayed an initialization message on the LCD screen i.e. "Home Security System using Arduino UNO By TEP".
- The message will display for around 1 second and then LCD will be cleared and the SensorDisplay function will be called, which will simply write sensors' names on the LCD screen.
- Now compile your code and add the hex file in Arduino UNO and run your PRoteus simulation.
- If everything goes fine, you will get results as shown in the below figure:
So far, we have just displayed the sensor's names, now let's read the sensors' data in the loop section:
Reading Sensors' Data
- In the loop section, first of all, we need to read the sensors' data using the digitalRead command, as shown in the code.
- After reading the sensor's data, I have called the SensorValues function, in which I have placed a check on each sensor's value and updated it on LCD.
- It's quite straightforward code, if the sensor is giving HIGH output, I am displaying Yes on LCD and if it's LOW, I am simply printing No.
- We haven't yet defined the modes, so the project will keep on reading the sensors and will display their respective value in the LCD.
- As you can see in the below figure, if the TestPin of the sensor is HIGH, its respective value on LCD is showing "Yes" and if it's LOW then "No" is written.
- Now, if you change any sensor's value, its respective value on LCD will be updated.
So, we have successfully interfaced our sensors with Arduino UNO and now it's time to add operational modes to our project.
Two Operational Modes
- As I mentioned earlier, we need to add two operational modes in our project, and the push button will be used for conversion from one mode to another.
- So, I have simply added an If loop in my code, as shown in the figure on the right side.
- In normal mode, I have simply displayed the name of the mode at the first line of LCD.
- While in secure mode, I am checking if either of the sensors goes HIGH, simply turn ON the Buzzer.
- Although, you won't be able to hear the Buzzer sound in the below figure, but you can see Buzzer's Pin is HIGH because two of the sensors are giving a response. Check the video for Buzzer working.
- We normally need to use an optocoupler or relay driver in between the buzzer and microcontroller as buzzers normally operate at 12V, but 5V buzzers are also available.
- Here's the complete Arduino Code:
/*
* All rights reserved to TEP www.TheEngineeringProjects.com
*/
#include
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
#define Flame A0
#define Gas A1
#define Pir A2
#define Vib A3
#define Ir A4
#define Buzzer A5
#define Switch 7
boolean Fire, Smoke, Intruder, Window, Door;
boolean Mode = false;
void setup() {
pinMode(Flame,INPUT_PULLUP);
pinMode(Gas,INPUT_PULLUP);
pinMode(Pir,INPUT_PULLUP);
pinMode(Vib,INPUT_PULLUP);
pinMode(Ir,INPUT_PULLUP);
pinMode(Switch,INPUT_PULLUP);
pinMode(Buzzer,OUTPUT);
lcd.begin(20,4);
pinMode(Buzzer, OUTPUT);
lcd.setCursor(0,1);
lcd.print("HOME SECURITY SYSTEM");
lcd.setCursor(0,2);
lcd.print(" USING ARDUINO UNO ");
lcd.setCursor(7,3);
lcd.print("By TEP ");
//delay(700);
lcd.clear();
SensorDisplay();
}
void loop()
{
Fire = digitalRead(Flame);
Smoke = digitalRead(Gas);
Intruder = digitalRead(Pir);
Window = digitalRead(Vib);
Door = digitalRead(Ir);
Mode = digitalRead(Switch);
SensorValues();
if(Mode==false) // Normal mode
{
lcd.setCursor(4,0);
lcd.print("Normal Mode");
}
else // Secure Mode
{
lcd.setCursor(4,0);
lcd.print("Secure Mode");
if((Fire == HIGH) || (Smoke == HIGH) || (Intruder == HIGH) || (Window == HIGH) || (Door == HIGH)){
digitalWrite(Buzzer, HIGH);
}else{
digitalWrite(Buzzer, LOW);
}
}
}
void SensorDisplay()
{
lcd.setCursor(0,1);
lcd.print("Fire:");
lcd.setCursor(10,1);
lcd.print("Smoke:");
lcd.setCursor(0,2);
lcd.print("Door:");
lcd.setCursor(10,2);
lcd.print("Window:");
lcd.setCursor(0,3);
lcd.print("Intruder:");
}
void SensorValues()
{
if(Fire == true){ lcd.setCursor(6,1); lcd.print("Yes");}
else{ lcd.setCursor(6,1); lcd.print("No ");}
if(Smoke == true){lcd.setCursor(17,1); lcd.print("Yes");}
else{lcd.setCursor(17,1); lcd.print("No ");}
if(Intruder == true){lcd.setCursor(11,3); lcd.print("Yes");}
else{lcd.setCursor(11,3); lcd.print("No ");}
if(Window == true){lcd.setCursor(17,2); lcd.print("Yes");}
else{lcd.setCursor(17,2); lcd.print("No ");}
if(Door == true){lcd.setCursor(6,2); lcd.print("Yes");}
else{lcd.setCursor(6,2); lcd.print("No ");}
}
Future Scope of Home Security System
- Embedded has taken over the whole world because of its user-friendliness and low cost.
- Instead of hiring security guards(which is quite expensive), now smart homes in modern societies are equipped with such home security systems.
- Modern Home Security systems are even linked with local police or security agencies for emergency help.
- Moreover, these security systems are not bound to homes only, nowadays offices, banks, shopping malls etc. are all equipped with such smart security systems.
Future Work on Home Security System
- Today, we have designed a very simple Home Security System, where we interfaced few sensors and have only placed a Buzzer.
- We will continue this project and will add smart features to it.
- Let's have a look at few features, which we can add to this project:
- We can interface the GSM module to send messages, in case of emergency.
- We can add more sensors i.e. ultrasonic sensors, different types of Gas sensors in it.
- We can also improve our code by using interrupts instead of polling.
- We can also add a camera for facial recognition.
- To improve the security, we can add a keypad and only authorized persons will have the access to enter.
- The fingerprint sensor can also be used for identification purposes.
No matter what happens, you should put safety first. Even a great security system won’t ensure full protection, which is why you might want to consider secondary measures. Hiring fire watch security will assist you on a daily basis, performing tasks that machines cannot. These veterans will protect your home or office, addressing potential hazards as they appear.
So, that was all for today. I hope you guys have enjoyed today's project. If you have any questions/queries, please ask in the comments and I will try my best to resolve them asap. Thanks for reading, take care. Bye :)
Traffic Light Simulation with D Flip Flop in Proteus
Hi Mentees! we hope you are doing great. Welcome to a super easy yet useful project based upon the simulation in Proteus. We are working on the Traffic Lights project that will work with the help of
D Flip Flop. In this simple tutorial, you will be aware of the following concepts:
- What are the Traffic Lights using D Flip Flop?
- What is the role of D Flip Flop?
- How does the circuit of D Flip Flop work in the Traffic Lights?
- How can you simulate the circuit of Traffic Lights with D Flip Flop in Proteus?
In addition, you will find some important information about the Traffic Lights circuit in the
DID YOU KNOW Sections. Let's start learning.
Traffic Lights with D Flip Flop
Who is not aware of the traffic lights? we all observe and use the Traffic lights on the road every day. But for the sake of the concepts, let's see the traffic lights technically.
"The Traffic Lights are the signaling devices that has an electronic circuit designed to control the flow of traffic at the roads by a specialized pattern of lights."
These traffic lights are positioned at road intersections ad pedestrian crossing and other positions where the traffic flow has to maintain.
The Traffic Lights depends on an array of three lights with different colors that are connected electrically The whole system is packed into a metallic structure. The LEDs turn on and off with a special pattern that depends upon the circuit.
Before moving forward, refresh the concepts of Traffic Light with the logical point of view. There are three lights in the Traffic Light Signals. These are:
- Red
- Amber
- Green
The red light stays last for some moments. The circuit is designed so, we get the output from the Amber color light that coordinates with the red and green light and lasts for some time. In the end, we get only Green light. All these lights are formed as a result of the sequential logic of D Flip Flop and at the end, the output of two D Flip Flops are inserted into AND Gate. The output of the Green light depends upon the AND Gate and we found the light of green LED only when the output of both the D Flip Flops are HIGH.
Role of D Flip Flop in Traffic Lights
Have you ever thought about how does the traffic light blink at a specific time? We all follow the Traffic lights but today we'll learn that what does traffic light follows. The D Flip Flops are the logical circuits and we define the D Flip Flop as:
"The D Flip Flops a dual input is Flip Flop circuit that is designed to have the input at its D Terminal, regulates the signal with the clock edge pulses and shows the output at its two output terminals."
In the Traffic Lights, we use two D Flip Flops that are responsible for the switching of the lights in on or off conditions. The D Flip Flop is the combination of the S and R Flip Flops with an inverter with one terminal. but for simplicity, we'll use the Integrated Circuit of D Flip Flop. Hence our circuit has only four components and we get a clean, easy and useful circuit that works automatically.
The input Terminals are called
CLK and
D terminals whereas output terminals are denoted by
Q and
Q'. The Truth Table for the D Flip Flop is given next:
Inputs |
Output |
CLK |
D |
Q |
Q’ |
0 |
X |
No Change |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
The X is called the don't care condition which means in this situation, the value of D does not matters. You can learn more about D Flip Flop in
https://www.theengineeringprojects.com/2021/01/d-type-flip-flop-circuit-diagrams-in-proteus.html section.
The output of the D Flip Flop is connected with each LED in the Traffic lights and hence we observe the on/off situations of Traffic Lights.
Working of Traffic Lights circuit with D Flip Flop
The working of the Traffic Light starts with the change in the pulse of the clock.
- The Q' output of the D Flip Flop 2 gives the power to the Red Light of the Traffic Light.
- When the clock is low, there is no change in the Q' terminal of the 1st Flip Flop then the Amber light is off.
- With the clock pulses, the Amber light of the Traffic Light turns on.
- When the clock is high, we get the output inverse of the D Flip Flop.
- The output Q of the D Flip Flop1 and the Q' of the D Flip Flop 2 is fed into AND Gate.
- We know the AND Gate is HIGH only when both of its terminals are HIGH.
- This output of the AND Gate is connected with the Green Light of the Traffic Light.
Circuit Simulation of Traffic Lights in Proteus ISIS
For the simulation of Traffic Light in Proteus, simply follow the easy steps coming next.
Devices required for the Traffic Lights
- D Flip Flop - DTFF
- Traffic Lights
- AND Gate
- Clock pulses - DClock
- Connecting wires
- Power up your Proteus software.
- Click the "P" button.
- Write the names of 1st three devices given above one by one and choose them.
- Get D Flip Flop twice, And Gate and Traffic Lights from the pick library and arrange them on the working area.
- Go to Generation mode(from the sidebar) >DClock and set it just on left side of the 1st D Flip Flop.
- Connect all the components with the help of connecting wires.
- Connect the Traffic Light's red light with the output of 1st D Flip Flop, the amber light with the D Flip Flop 2 and the green light with the output of AND Gate.
Does your Traffic Lights are working well? great! if not, then check the connection again. if you face any problem then share with us.
Consequently, today we learned about the logic behind the Traffic Lights. We learned that with the help of D Flip Flop, one can easily design a circuit just using four simple devices. We saw the working of the sequential on/off condition of the Traffic Lights. Stay with us for more interesting circuits.
H-Bridge Circuit with 2N2222 Transistor in Proteus
Hey Learners! Welcome to The Engineering Projects. We hope you are doing great. Our team is working on transistors and today, we'll design a circuit for using the 2N2222 Transistor. In this chapter you will learn:
- What is H Bridge with 2N2222 Transistor?
- How do the 2N2222 Transistor works?
- What is the working of H Bridge?
- How can we run the circuit of H Bridge in Proteus using 2N2222 Transistor?
By the same token, you will also learn important information about the topic in DID YOU KNOW Sections.
Introduction to H-Bridge
In electronic circuits, the direction of quantities like the flow of current, EMF, Electric field lines matter a lot. The H Bridge is used to control such motors through its specialized circuitry. The H Bridge is defined as:
"The H Bridge is an elementary circuit that ends the Motors to rotate in forward or backward direction according to the will of the user."
In this way, there is no need for the two motors in many cases. Only one motor can be used to accomplish the task instead of two.
DID YOU KNOW???
The most common, easy and interesting application of the H Bridge is in the robotics. The H Bridge is used to run the motors of the robots that are required to move the robot in the forward and backward direction.
The circuit of the 2N2222 H Bridge allows the current from the Direct Current source to flow from the required direction only and hinders the flow from the other direction.
Why we need the H Bridge
The direction of the moving of a motor paly a vital role in the output of that motor. The reason behind this is, most electric motors operate due to torque produced as the combined effect of magnetic field and electric current through a wire winding. Hence, We always need some means through which we can control the direction of the Motor to get the output that is suitable for our present requirement.
Performance of 2N2222 Transistor in H Bridge
The 2N2222 Transistor works as a backbone in the circuit of the H Bridge. We use four 2N2222 Transistors in the circuit and they work as a couple. The diagonal Transistors work together as a couple and allow the flow of current through them. By the same token, the non-diagonal 2N2222 Transistors work as a couple. Let's have a look at what is 2N2222 Transistor:
"The 2N2222 Transistor is a type of Bipolar Junction Transistors or BJTs that is designed to be used in the low power amplifying or switching applications."
DID YO KNOW???
Motorola made many semiconductor companies and the 2N2222 is part of a huge family of Devices and Transistors that were discussed in IRE Conventions in Motorola company.
Being a BJT Transistor, the 2N2222 allows the flow of current in only one direction. Thus, it is responsible for the rotation of the Motor as per requirement of the user.
The 2N2222 transistor (just as other JTs) has three pins. These pins are called Emitter, Base and Collector. The arrow symbol just at the transistor symbolizes the Emitter.
Being an NPN Transistor, the collector and emitter terminals of 2N2222 Transistor in H Bridge act reverse biased or are said to be left open when the base pin is held to the ground or when there is no current flow from the base.
On the other hand, when the base gets the flow of current from the battery or other components of the circuit in the H Bridge, the circuit is said to be forward-biased. The gain of the 2N2222 Transistor in the H Bridge ranges from 110 to 800. The value of gain is responsible for the determination of the 2N2222 Transistor's amplification capacity in the H Bridge.
Working of H Bridge Circuit
When we look at the circuit of H Bridge we get the following points:
- The Direct Current from the battery originates from the positive terminal of the battery (considering the conventional current) and passes through the switch.
- The switch allows the current to pass through the pair of the 2N2222 Transistor that is to be used.
- The resistors just before the Transistors perform the regulation of the current through the transistors.
- In our case, the H Bridge works according to the table given below:
Switch |
Flow of Current |
Direction of Motor |
Connected to A |
From T4 to Motor then Motor to T1 |
Anti-Clockwise |
Connected to B |
From T2 to Motor then Motor to T3 |
ClockWise |
Let's have a look at the working of the H Bridge in action in Proteus ISIS.
Circuit of H Bridge in Proteus ISIS
We are going to design the circuit of the H Bridge in the Proteus ISIS. But before this, let's have a look at the required devices for the circuit.
Required Devices for H Bridge
- 2N2222 Transistor
- Resistor
- Motor
- Cell
- Switch
- Connecting Wires
Now, just follow these simple steps:
- Start your Proteus Software.
- Click at the "P" button and choose the required devices except for connecting wires one by one.
- Arrange for 2N2222 Transistors, four Resistors, motor, switch and cell on the working area.
- Change the orientation of two of these Transistors before setting on the screen by clicking the arrow sign given just above the "P" button.
- Left Click the motor>Rotate clock-wise to change the direction of the motor according to the image given next:
- Change the value of Cell and Motor to 6v by double taping them one after the other.
- Connect all the components according to the circuit given next:
- Double click at all the resistors and transistors one after the other and label them to identify them as different devices.
- Pop the simulation button.
- Change the orientation of switch and check the output.
Task
Change the value of the transistors around the motor and observe the rotation speed of the motor.
Truss today we saw, what is H Bridge, what is the role of 2N2222 Transistor in the circuit of H Bridge, How does the circuit of H Bridge works and we implemented the H Bridge circuit using 2N2222 Transistor in Proteus ISIS. Stay with us with more tutorials.
12V to 220V Step Up Inverter using transformer in Proteus
Hey learners! Welcome to another exciting electrical experiment in Proteus. At the present day, we'll perform the inversion of voltage. For this purpose, we will use the implementation of Transformer as Step-up Transformer. Prior to start, let's have the basic information about the 12V to 220V Step up inverter using Transformer in Proteus. In this tutorial, we'll learn:
- What is a 12V to 220V inverter?
- What is the function of the transformer in the 12V to 220V inverter?
- How can we implement the Step up inverter using a Transformer in Proteus?
- What are some applications of the 12V to 220V inverter?
Moreover, there will be some useful pieces of information in DID YOU KNOW sections.;
12V to 220V inverter
In electronic appliances, the circuitry is designed so, that the appliance can work in a specific range of Voltage, Frequency and power etc. If these quantities are not supplied using these parameters, then the Appliance does not work ideally. For example, if the given voltage to a bulb is less than its voltage range it may be lightened dim. or if the voltage is given more than the range of the bulb, the circuitry of the bulb may be damaged or even it may burst.
In such a case, the invertors are used that inverts the voltage (or other electrical quantities according to type) into the suitable range is used. Therefore, the 12V to 220V inverter can be defined as:
"An invertor is the electrical circuit that converts the 12V Direct current into 220V Alternating current and alters supplied voltage range into required range."
By using the 12V to 220V inverter the electrical or electronic circuits, we can use the electrical circuits that work on the 220V even when the supply from the source is 12V.
DID YOU KNOW??????????????
"The Inverters play a life saving role in the appliances that have a sensitive circuit to voltage and current. Even the High voltage more than the range of the device can burn the circuit so badly that it may require to change the whole circuitry or the motherboard of the device."
Working of 12V to 220V invertor
in the process of 12V to 220V inversion, three major process takes place:
- Supply
- Conversion
- Transformation
We use simple circuitry to perform each task. Based upon the functionality, we use three devices in the circuit of 12V to 220V inverter. These are:
- Battery
- Transistor
- Transformer
Role of Battery in 12V to 220V Transformer
It is obvious that every circuit requires some sort of energy to perform the required function. In 12V to 220V Inverter, we use a 12V battery that will be supplied to whole components. The 12V battery performs the "Supply" process in the 12V to 220V Inverter.
Role of Transistor in 12V to 220V Inverter
The process of conversion of direct current into alternating current requires a mechanism that allows just the positive side of the sinusoidal wave of the Alternating current to pass through it and hence one can get only one side of the output wave of current.
In the case of low and medium applications, power Transistors are used. The reason behind this logic is, the Transistors:
- are Less in cost.
- have low output Impedance.
- Allow most of the power to pass through it.
We know that the Transistor work as a switch. the two type regions of the characteristic graph of the Transistor are used in this experiment.
Saturation region: In this region the transistor is biased. The collector-Emitter and the Collector-base junctions are forward biased. The collector has the minimum voltage and the collector current is maximum.
Cut-off Region: In this region, the Transistor does not allow the current to pass through it.
Role of Transformer in 12V to 220V Inverter
The Transformer is the mechanical device used o transform the voltages from its input to its output. It has two sides that have coils around them. In our experiment, we use the Step-up Transformer that is introduced as:
"The type of Transformer that is used to convert the low voltage and high current supplied to its input to the high voltage and low current at its output is called the step up Transformer."
Hence the voltage from the Transistor that is rectified and has the direction only on one side is fed at its input. The Transformer transforms the low voltage into the high voltage. In this way, we get a high voltage. The ability of the transform to amplify the voltage depends upon the number of turns of the coil on its terminals.
DID YOU KNOW???
"If you get a transformer that have the same mechanical structure but it has the numbers of turns in primary coil grater than the secondary coil then it is called the step down Transformer. "
Implementation of 12V to 220V inverter using Transformer
At the present moment, we'll use all our concepts given above to design the circuit for the 12V to 220V Inverter. Just follow the simple steps given next.
- Power up your Proteus circuit.
- Choose the material given below.
Material Required
- 3WATT68R (This resistor works at the 68R resistance automatically.)
- Battery
- Lamp
- MJ-2925
- Trans-2P3S (Step-up Transformer)
- Click at the components one after the other and arrange the components one after the other at the working area.
- Left-click at the Battery and choose "Rotate 180 degree".
- The screen should look like this:
- Change the values of some of the components by following the table given next:
Devices |
Values |
Battery |
12V |
Bulb |
240V |
Bulb Resistance |
100k |
Transformer Primary Inductance |
100H |
Transformer Total Secondary Inductance |
1.1H |
- Connect the elements with the help of the diagram given below:
- Simulate the circuit by clicking at "Play" button given on the lower-left corner of the screen.
You will observe that the bulb is light although it is set as a 220V device and the supplied voltage is just 12V.
Applications of 12V to 220V Inverter using Transformer
- To charge the small batteries of vehicles such as cars.
- Low power Alternating Current Motors.
- Solar Power system.
- Uninterrupted Power Supplies (UPS).
- Reaction power controllers.
- Adapted power Filters.
Adjustable speed Alternating Current Motor Drivers.
Consequently, we saw about an electrical circuit today that converts the 12V from its input to 220V at its output using the Transformer. This experiment has many interesting applications. Stay with us for more experiments.
Pulse Width Modulation using 555 Timer in Proteus
Hello Engineers! Welcome to the board. We hope you are having a good day. In this tutorial, we teach you about Pulse Width Modulation. We'll discuss some important points about the topic. Let's have a look at the Topics of the tutorial:
- What is Pulse Width Modulation?
- What is 555 Timer?
- how does 555 Timer is used in the Pulse Width modulation circuit?
- How do we design the circuit of Pulse Width Modulation in Proteus ISIS?
In addition, you will have some useful information bout Pulse Width Modulator in
DID YOU KNOW section.
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 |
Pulse Width Modulation
Pulse width Modulation is a useful technique in the world of Modern Electronics. Let's have a look at the information about Pulse Width Modulation.
Abbreviation of Pulse Width Modulation
The Abbreviation of the Pulse Width Modulation technique is PWM.
Definition of Pulse Width Modulation
We define the pulse Width Modulation as:
"The Pulse Width Modulation is the technique in the electronics to control the power given to the analogue devices through which the average power delivered by the electrical signal is reduced due to division of the signals into discrete parts."
The Pulse Width Modulation is important to the inertial load devices such as motors because in these devices the change is slow due to their inertial ability and the Pulse Width Modulator has enough time to control the device.
Example of PWM
We know that in the bulb that we use in our daily life, the AC Power changes its direction from positive to negative cycle and vise versa. The frequency through which the cycle change decides the brightness of the bulb.
Consider the example of the circuit in which the LED is connected to the power. The Power connection lightens the LED. When the switch between the power source and the bulb is close, the power is transmitted to the bulb and the brightness is observed.
The opening and the closing of the switch can be controlled through the Pulse Width Modulation. The more is the duty cycle of the Pulse width, the more rapidly it opens and closes the switch and hence the brightness of the bulb is more and vise versa. hence we can conclude that
by controlling the pulse width we are controlling the opening and closing of the switch and through which we are controlling the brightness of the bulb.
DID YOU KNOW????????????
"The Pulse Width Modulation technique is also called as the Pulse Duration Modulation or PDM. It is because this technique works with the duration of the cycle of the circuit. "
555 Timer in Pulse Width Modulation
Prior to start the work of 555 Timer in Pulse Width Modulator, we must clear some important concepts about the 555 Timer device. Let's have a glance on the points.
Definition of 555 Timer
The 555 Timer was termed as the SE NE555 Timers. Another Type of the 555 Timer is SE555 Timer. These were first invented by "Signetic Corporation" . We define the 555 Timer as:
"The 555 Timer is an 8 pin Integrated Circuit that generates accurate timing pulse. The designing of the 555 timer is done by collectively arranging the electrical and electronic components such as resistors, transistors, diodes and Flip Flops."
These are monolithic Timing circuits that are designed to provide stable time delay and oscillations. These are highly reliable and low in cost.
Pin out of 555 Timer
There are 8 pins of 555 Timer and each pin has its own function and operation. For the best concept, we have designed a table for each pin given below:
Pin Number |
Pin Name |
Description |
1 |
Ground |
This pin is labeled as GND and used to supply the 0 voltage. |
2 |
Trigger |
When the Time interval starts, the output remains low when this pin is high and vise versa. |
3 |
Output |
This is the output pin. |
4 |
Reset |
This pin overrides the Trigger pin and that overrides the Threshold. It is connected with Vcc if not used. |
5 |
Control |
It controls the Pulse Width and the level of threshold and Trigger. |
6 |
Threshold |
Hen the voltage is applied at this pin, it acts in the contrast to the voltage. |
7 |
Discharge |
This pin is an open-collector output. During the intervals, this pin is used to discharge the capacitor. |
8 |
Supply |
This is the power supply pin. The input of power is taken against the Ground pin. |
DID YOU KNWO???????????
"We use the counter instrument in the Proteus to count the Pulse Width Modulation of the circuit using 555 Timer."
Implementation of PWM using 555 Timer in Proteus ISIS
To implement the Pulse Width Modulation using 555 Timer, we are using the simulation in Proteus ISIS. To Implement the 555 Timer PWM just follow the simple steps given next:
- Fire up your Proteus Software.
- Choose the following components:
- 555 Timer
- 1N4148 Diode
- 3005P-1-502 Variable Resistor
- DC Power Supply
- Resistor
- Counter
- Oscilloscope
- Fix first five components from the "Pick Library" at the working area.
- Change the values of Resistor, Capacitors and variable Resistors according to the table given below:
Component |
Values |
Resistor |
1k ohm |
Variable Resistor |
50k ohm |
Capacitor 1 |
10nf |
Capacitor? |
1uF |
DC Power source |
10V |
- Go to Terminal mode>Ground and set it at the end of the circuit.
- Connect the components through the connecting wires according to the image given next:
- To get the counting of the output, go to virtual Instrument Mode and choose the counter.
- Go to Virtual instrument Mode and select the Oscilloscope.
- Connect the counter with any terminal of the Oscilloscope.
- Join both the instruments with pin 3 of 555 Timer.
- Pop the play button and simulate the circuit.
- Change the values of voltages and the frequency according to need.
- We observe that the Oscilloscope shows us the width as:
Thus, Today we saw what is the pule Width Modulation, learned some important concepts about the 555 Timer, got some important concepts about Pulse Width Modulation using the 555 Timer and saw the simulation by the mean of Proteus ISIS.
If you found it useful, give us your important feedback in the comment section.
Metal Detector using 555 Timer in Proteus
Hello Pupils! I welcome you to the board. I hope you are fine. In today's tutorial, we will design a project Metal Detector using 555 Timer in Proteus ISIS. All of us perceive the situations when at the public places such as on airports or in shopping malls where sharp metallic objects such as a knife or illegal guns or even a nail cutter are not allowed, there are walkthrough gates at every entrance so that any person with the forbidden material when passes through the gate, the alarming buzzer automatically switched on. This happened because the walkthrough gates have the Metal Detector circuit in them that works immediately when such a situation occurs.
In this session, we'll learn:
- What are Metal Detectors?
- How does the 555 Timer collaborate with the circuit of Metal Detector?
- How does the circuit of the 555 Timer Metal Detector works?
- How can we implement the circuit of 555 Timer Metal Detector in Proteus?
In addition, you will also have some useful pieces of information in
DID YOU KNOW Sections.
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 |
NE555 Timer Metal Detectors
Metal Detectors became the one of the necessary devices for many public Places either it is park or bank, airport or any supermarket. It is because they play a vital role in the maintenance of security. Most of the metal detectors We define the Metal Detector as:
"The Metal detectors are the specialized NE555 Timer gadgets that detect the presence of the metals when the metals enters in the range of Metal Detector Circuits."
The NE555 Timer Metal Detectors does not only have the application i the field of security but they are also used in a variety of situations. The NE555 Timer Metal Detector can be categorized into three basic Families:
- Very Low Frequency Detectors.
- Pulse Induction Detectors.
- Metal Detectors for specific Purpose.
DID YOU KNOW??????????????????????
"1960 was the year in which the 1st Metal Detector was established using simple devices in industrial and Mineral Prospecting. "
There are many kinds of NE555 Timer Metal Detectors that are used for different operations some of them are listed below:
- Diagnostic Purposes.
- Detecting myriad of foreign objects.
- Finding the presence of bullets.
- Detecting the intraocular metallic fragments.
- Finding Swallowed coins.
Working of NE555 Timer Metal Detector
When we talk about the working of the NE555 Timer Metal Detector, we must have a clear idea about the following concepts:
- Inductance
- NE555 Timer operational system
Inductance in NE555 Timer Metal Detector
Let's recall the idea of Inductance that we are learning from our physics class:
"The Inductance, in electromagnetism and electronics, is the ability of a conductor of electricity to negate the change in the electric current that is flowing through it. This flow of electric current produces a magnetic field around that electrical conductor."
In the NE555 Timer Metal Detector circuit, we use an inductor that senses the presence of the Metal near to it. More close a Metal Detector to it, the more electric field lines are produced and hence the speaker gives the sound more loudly indicating the distance between the NE555 Timer Metal Detector and the metal's distance.
We denote the Inductance through
"L". Hence the formula to find the Inductance through any Conductor can be find through:
Inductance= Magnetic Flux of Current/Current.
DID YOU KNOW ???
"There are some Metal Detectors that are used to find the treasure or ancient metals underground. They are so powerful that they can detect the Metal many feet away. Thus, many people have a life changing search due to these useful instruments."
NE555 Timer
NE555 Timers belongs to the Family of 555 Timers Integrated Circuits. These are highly utilitarian circuits that are considered as one of the most used Integrated Circuits in the world of Electronics. We introduce the NE555 Timer as:
"NE555 Timer Circuit is the widely used Integrated Circuit having 8 pins and used to have the output that have a uniform pulses that can be set according to need."
The 555 Timers are used to have a variety of pulses that depends upon the arrangement of the devices connected to their Pins. There are three kinds of NE555 Timer modes:
- Monostable Mode.
- Astable Mode.
- Bistable Mode.
Operations in the NE555 Timer Metal Detector Circuit
- When we examine the Circuit of NE555 Timer Metal Detector, we find these operations:
- The power of all the components is the Direct current that is provided by the battery.
- This power enters the NE555 Timer circuit that produces the uniform Timer-based Pulse at its output pin.
- This Pulse enters the resistor that controls the flow of current through the main Metal Detector circuit.
- The Resistor passes this current to the Inductor. The Inductance of the inductor is the basic criteria of distance measurement.
- As in Proteus, it is not possible to show the Movement of a Metal, so the value of the inductance represents the number of electric field lines around the NE555 Timer Metal Detector circuit. More is the Inductance, more numbers of lines passing through the inductor and hence it is assumed that metal is more near to the circuit.
- The DC current then passes through the speaker according to the strength of the electric field lines and hence we found the faint or hard sound.
[PostWiidget4]
Circuit design of 555 Timer Metal Detector in Proteus
- Power up your Proteus Software.
- Choose the following components from the Pick Library button "P".
Components Required
- NE555 Timer
- Inductor
- Capacitor
- Resistor
- Speaker
- Take all the Components from the left section and arrange all of them on working screen according to the diagram given below:
- Now, Change the values of some of the components one after the other by double clicking the components.
- Inductor= 150mH, Capacitor 1=2.2uF,Capacitor 2=2.2uF,Capacitor 3 10uF, Resistor= 47k Ohm, Battery=9V.
- Connect the circuit components with the help of connecting wire so our circuit look like this:
- As soon as the Circuit is simulated by hitting the Play button, the user sense a sound or buzzer from the circuit.
- If you heard it then cool, otherwise look at your circuit once again.
Task
Change the value of inductor to 300micro Farad and more to hear the louder sound.
Hence today, we saw what are NE555 Timer Metal Detector, How do they are classified, how does the circuit of 555 Metal detector works and how can we design its circuit using simple devices in Proteus ISIS. Stay with us for more projects.
Police Siren Project using 555 Timer in Proteus
Hey Geeks! Welcome to
The Engineering Projects. We hope you are having a reproductive day. We know that sirens are the special sounds that are the symbol that something unusual is occurring or about to occur. You may have experienced the Siren of the Walkthrough Gates at the airport when a person having the knife or other forbidden material pass through it. Or you have heard the Siren of the ambulance and seen that all the traffic gives the way to the ambulance when they hear the special Siren of the Ambulance. The same is the case with the police Siren.
The Police sirens are the special sound and it is set with the help of 555 Timer Integrated Circuit. You will learn how can one design a Police siren using the 555 Timer circuit in this tutorial. Let's have a quick list of the topics that will be clear in our tutorial.
- What is the 555 Timer Police Siren?
- What are the 555 Timer and its modes?
- How does the circuit of 555 Timer police Timer Circuit works?
- How can you design the circuit of 555 Timer Police Siren in Proteus?
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 |
555 Timer Police Siren
The Police Siren we have seen many times in real life as well as in Television shows and Movies are made of the special arrangement of the 555 Timer. The Siren has a loud voice that can be heard at a distance of many feet. This Project has a very simple yet amazing arrangement of some basic electronic devices.
The heart of Police Siren is the 555 Timer integrated circuit. In the police siren, two 555 timers are used. This is a Multi-functional chip that is widely used in different types of the industrial as well as household applications.
If we look at the configuration of 555 Timer Integrated Circuit then we can generate a table just as shown next:
Pin Number |
Attachments |
1 |
Ground |
2 |
Trigger |
3 |
Output |
4 |
Reset |
5 |
Control |
6 |
Threshold |
7 |
Discharge |
8 |
Vcc |
Technically, The 555 Timer works in 3 modes:
- Monostable Mode
- Astable Mode
- Multistable Mode
Monostable Multivibrator Mode in 555 Timer
This mode of the 555 Timer contains a single stable state that can be used to get only one single output pulse of a specific width that may be high or low by applying an external trigger pulse. In this circuit, the 555 Timer uses only one resistor but two capacitors.
Astable Mode in 555 Timer
As the name shows, the Astable mode does not have any stable state. The Astable mode of 555 Timer has 2 quasi-steady states that change from one state to another one after the other. In this way, the 555 Timer in this state, alters the output from high to low and vise versa after the time settled by the user.
It uses two capacitors and two resistors connected with the specific pins in a specific manner.
Bistable Mode of 555 Timer
In this mode of 555 Timer, the pins are connected with two resistors, one capacitor and two switches. The switches turn the state of 555 Timer to high and low and thus we obtained the high and low output waves at a time.
Working of the 555 Timer Police Siren
The working of the 555 Timer Police Siren starts from the Direct Current power supply that is supplied to pins 8 of the 555 Timer.
- Both of these 555 Timers are in the Astable mode that means their pulse output changes continuously.
- The 555 Timer at the left produces a pulse that is fed into the right 555 Timer as an input.
- The values of Resistors control the width of the pulses.
- The capacitors connected with the 555 Timers charge and discharge without any interval.
- At the end, this DC power supply enters the speaker with a continuously varying pulses of the current and produces a special sound.
- If you want to change the output voice, you can change the values of Resistors and capacitors.
Circuit design of 555 Timer Police Siren in Proteus
To design this circuit, simply follow these step given next as it is.
- Start the Proteus Software.
- Choose the required devices from the pick library by clicking the "P" button and writing the names of the devices.
Required Components fpr 555 Timer Police Siren:
- NE555 Timer (We'll use 2 ICs)
- Diode
- Resistor
- Direct current power supply
- Speaker
- Capacitor
- Get the 555 Timer from the library and arrange it at the working area.
- Repeat the step above.
- Choose Resistor, capacitor, Diode and speaker and arrange them on the screen.
- Change the alignment of 4 resistors and diode by left click on screen> Rotate Clockwise and set the whole circuit as shown in the figure:
- Go to Generation Mode>DC and fix it at above the working area.
DID YOU KNOW ???
"If you have the Proteus 8 software, then you can have a real time Siren sound by choosing the Speaker and a piano symbol with it."
- Label the Components by double-clicking it because Proteus throws an error for the duplicate devices.
- Double click the components mentioned below and change their values according to the table given next:
Device |
Value |
R2 |
68k Ohm |
R3 |
68K Ohm |
R4 |
8.2K Ohm |
R5 |
8.2K Ohm |
C1 |
100uF |
C2 |
100nF |
C3 |
0.01uF |
C4 |
10uF |
Vcc |
4V |
-
Go to Terminal Mode>Ground and Set the Ground terminal just below the circuit.
- Join the 555 Timer's pins with the components as described above in the 555 Timer section.
- Pop the Play button and simulate the circuit.
Task
Now, change the values of capacitor and resistor in different sequence to have the different voices as an output.
Have you heard the siren? If yes then cool. Yet, if no, then look at the circuit deeply and fix the mistake.
Truss, today we saw that what is the Police Siren, how does the 555 Timer circuit works, what is the working mechanism of the 555 Timer Police Siren, how does we design the circuit of 555 Timer Police Siren in the Proteus.
If you found it useful, give us feedback. If you faced any difficulty, share with us i the comment section. Stay with us with more Proteus Projects.
Digital Counter using 4026 IC in Proteus ISIS.
Hello Mentees! Welcome to the board. We hope you are doing great. We are working on another interesting yet easy Project in the Proteus ISIS and that is Digital Counter using 4026 IC in the Proteus. Counters are used in thousands of electronic experiments as well as in our daily life. Who is not5 familiar with Digital Watches and calculators. At the same token, the counters are used in the digital display microwave ovens and many household appliances as well.
In this session you will find the answers to the following questions:
- What is 4026 IC?
- What are Digital counters using 4026 IC?
- How does Digital Counter using 4026 IC works?
- How does we design the circuit of the Digital Counter circuit using 4026 IC in Proteus ISIS?
- How can you convert this Circuit from 1 digit counter to many Digit Counter using 4026 IC?
In addition, you will also have some interesting chunks of information about the topic in
DID YOU KNOW sections.
What is 4026 IC in Digital Counters
Integrated Circuits play a vital role in the field of circuits and electronics. These are the combination of different fundamental devices in very specific yet functional ways. The 4026 belongs to the family of the Integrated Circuits in the series of 4000. The 4026 IC is introduced as:
"The 4026 is CMOS seven Segment counter integrated Circuit that is the designed in decade Based and counts in the decimal digits and consist of total 16 pins."
The output of the 4026 digital counter is usually fed into a 7 segment display Light Emitting Diode that shows the counter output of the 4026 IC Counter.
Being an IC, the pins of the 4026 Digital counter IC are very specific. By looking at the block diagram of 4026 IC Counter, we can generate a table that shows us the proper configuration of the 4026 IC.
Pin Number |
Pin Name |
Description of the Pin |
1 |
Clock (CLK) |
With each positive clock Pulse, it increments the counter. |
2 |
CI (Clock Inhibit) |
It is the Active high. When high, the counter freezes. When low, the clock pulse increments 7 segments. |
3 |
DE (Display Enable) |
Chip will ON when this is high and vise versa. |
4 |
DEO (Display Enable Out) |
Chaining 4026s. |
5 |
CO (Carry Out) |
It completes a single cycle after every 10 clock input cycles. It is used to change the clock manner of 1 counter into a multi counter. |
6 |
F |
This Pin is connected to ‘f’ of the 7 segment. |
7 |
G |
This pin is connected to ‘g’ of the 7 segment. |
8 |
VSS |
It is the Ground PIN |
9 |
D |
It is Connected to ‘d’ of the 7 segment. |
10 |
A |
It connects with the ‘a’ Pin of the 7 segment. |
11 |
E |
It Connects the ‘e’ of the 7 segment with it. |
12 |
B |
It Connects to the ‘b’ of the 7 segment. |
13 |
C |
It is Connected to ‘c’ of the 7 segment. |
14 |
UCS ( Un-gated C-Segment) |
It is an output for the seven-segment's C input that is not affected by the input of DE . When the count is 2, it is high. |
15 |
RST (Reset) |
Reset the counter to 0 when HIGH. Hence it is Active High. |
16 |
VDD |
Power supply PIN |
In out experiment, we'll set all these pins according to our requirements to get the desired output. but some of the points here are pending to discuss. You may noticed the functioning of 6, 7, 9 to 13 pins of 4026 IC Counter. Let's have a look what does we mean by the description.
Seven Segment Display with 4026 IC Counter
This is the electronic device that is used to show the output of the counters such as 4026 IC. We define the Seven Segment Display as:
"The Seven Segment Display is a collection of 8 Light Emitting Diodes in a rectangular fashion that is an output device used to display the outcomes of different counters."
For the convenience of connections, each LED of the Seven Segment Display is named i alphabetically and hence each pin of Seven Segment Display is connected with pins of 4026 IC Counter.
Working of 4026 IC Digital Counter
- The Simulation of the circuit starts with the pulse generation at the Clock Pulse. These Pulses enters the BC547 MOSFET that regulates the pulses.
- The LED Connected to the BC547 MOSFET blink and we get the idea about the speed of the Pulse Generation.
- The Pulse enters the 4026 IC Counter and the counter Passes these pulses to the seven segment Display device.
- Each pulse from the 4026 IC power ups the respected LED of the seven segment display in a specific manner that we always get the digit as a result.
- The power is then Grounded connected to the seven segment display terminal.
- The output can be reset to the initial state with the button. This button is connected to the reset terminal of 4026 IC.
DID YOU KNOW ???
"You may skip the part of MOSFET and LED in the circuit but in some cases, when the error of the pulse occure, it may be difficult to examine whether the Pulses speed is low or there is another issue with the circuit."
Circuit Design of Digital Counter using 4026 IC in Proteus
- Fire up your Proteus Software.
- Choose the first five devices given next from the Pick Library.
Material Required:
- Seven Segment Cathod LED
- Resistors
- 4026 IC Counter
- MOSFET BC547
- Button
- Clock Pulse
- Led
- Ground Terminal
- Power Terminal
- Arrange the material taken from the Pick Library at the working screen with the help of following image:
- Go to generation mode and choose "Clock Pulse" then arrange it just after the left most resistor at the screen.
- Go to Terminal Mode and get "Power" terminal. You will use three Power Terminals.
- Attach power Terminal with pin 3 of 4026 IC Counter, with the MOSFET.
- Get a ground terminal from terminal mode and attach it with the lower pin of seven segment display.
Repeat the above step for the pin 2 of the 4026 IC Counter.Tip of circuit
"Why don't you try different colors of the seven Segment Display from the Proteus Pick Library of your choice?
You have to change the names of the components by double clicking it and changing the label because Proteus does not recognize the components with the same names and through an error."
- Change the values of the Components by double tapping them with the cursor.
Component |
Value |
Resistor 1 to 8 |
220 Ohms |
Resistor 9 |
10k |
Frequency of Clock Pulse |
1 Hz |
- Connect all the components with the help of connecting wires. Be careful with connection and follow the image below:
- Hit the play button to simulate the circuit.
Two Digit Counter using 4026 IC
If you want to make a two Digit counter, simply select the 4026 IC and Seven Segment Display>left click>click "block copy".
- Paste this block at the screen.
- Manage both the Seven Segment Displays side by side.
- Change the names of the Resistors and 4026 IC to resist the duplication.
- Connect the Pin 5 of 1st 4026 IC with the Pin 1 of the 2nd 4026 IC.
- Connect Pin 15 of 2nd 4026 IC with the button given above.
- Pop the Play button again and observe the result.
Result
- When the Frequency of the Clock Pulse is 1. The Digital counter 4026 IC shows us the value from zero to one in normal speed.
- Clicking the button resets the 4026 IC Digital Counter to the initial value, i.e, zero and starts the cycle.
- Changing the value of clock pulse to 10 will increase the digits changing the speed of the seven segment Display output.
- In two digits 4024 IC Counter, we can count the values till 99.
- One can make the 3, 4 and so on digit counter using the same method.
Consequently, we learned an Interesting Circuit today, we saw what are the 4026 IC counter and with the combination of Seven Segment display and Transistor , how can we design a Digital counter circuit in the Proteus. Stay connected for other interesting circuits on The Engineering Projects.
Automatic Light Detector using LDR in Proteus
Hello Learners! We hope you are fine. Welcome to The Engineering Projects. The Automatic Light Detector is the device that automatically senses the light incident on it. Let's have a glance about the main points of discussion:
- What is Automatic Light Detector?
- What are different components and their functions in the Automatic Light Detector?
- How does the circuit of Automatic Light Detector works?
- How can we implement the circuit of Automatic Light Detector in Proteus ISIS?
Moreover, you'll have some chunks of interesting information in
DID YOU KNOW sections.
Automatic Light Detector
Automatic Light detectors or automatic Light sensors are interesting devices. They have special mechanism in their circuit that senses the density of the light and after that, the mechanism automatically changes the condition of the Light detector according to the need. Thus an Automatic Light Detector is defines as:
"An Automatic Light Detector are the photoelectrical devices that works with the principle of flow of current and turn the circuit components on/off automatically when the light incidents on its circuit."
The Automatic Light Sensor is an elementary electrical component Which is usually used to handle the electrical Appliances such as coolers, fans, lights etc. without any manual efforts. In this way the manually switching of the electrical components can be controlled more easily. Their working depends upon the intensity of light around them.
DID YOU KNOW????????????
A very simple and usual application of the Automatic Light Detector is the Automatic Street Lights system. Have you ever noticed that there are hundreds of street lights around you when you go for a ride. If someone had a duty to turn them on and off manually, even they have a combine circuit. But it would be a time taking job. Moreover, there will be more chance of energy wastage. But all the street light have the Automatic Light Detector system so that they turn on and off automatically.
Components of Automatic Light Detector
Prior to start the construction of the circuit, Let's have some brief about the components of the circuit for Automatic Light Detector. The circuit that we'll use depends upon the following components:
- LDR
- n-p-n Transistor
- Simple
- Variable resistor
- Battery
- LED
LDR in Automatic Light Detector
LDR or Light Dependent Resistor is the heart of Automatic Light Detector. These are the electronic components, made up of high resistance semi-conductor material, that detect the light and alter the operation of the whole circuit according to the type of the circuit. The LDR is passive and it does not produces any electrical energy. LDR are used in many cases because of their rugged nature. They are not sensitive to dirt and rough environment and therefore have a long life and can be used in outdoor lights.
Other different types of Light Sensors are:
- Photodiode
- Photo-voltaic cells
- Photo-multiplier tubes
- Charged Couple Devices.
n-p-n Transistor BC647 in automatic Light Detector
The full form of n-p-n Transistor is the negative positive negative Transistor. In this type of It is designed to pass electrons from emitter to collector. so the emitter "Emits" the electrons to the base. Obviously, in case of conventional current the current flows from the collector to the emitter. In this Circuit the base of the n-p-n Transistor is connected with the one end of variable resistor and the LRD, emitter is connected with the battery and the variable resistor and the collector is joined with the LED directly.
Resistors in Automatic Light Detector
Resistors are the passive devices consist of two terminals and the body. These are the electric components that are widely use to resist the sudden flow of electricity through a circuit. In many case, they are life saving for the components of the circuits. Other uses of resistors includes:
- Bias active elements
- Terminate Transmission lines
- Adjust signal level to device voltage.
The Automatic Light Detector uses two types of resistors:
- Simple Resistor
- Variable Resistor
The key difference between them in the circuit of Automatic Light Detector is, the resistance (Resisting ability) of variable resistor may be change according to the need of time.
Battery in ALD
A battery is the Lead-acid type cell that consists of the collection of four 1.5V D battery cells. It gives the energy to the components of the circuit for their functioning. The Battery will give the power to the circuit so that the flow of the current will illuminate the light or pass through the LDR.
LED ALD
The full form of LED is the Light Emitting Diode. It is a simple device used in our daily life as well that illuminates when the energy in the form of current or voltage is applied to it. In our circuit, the main function is the turning the on/off of this LED.
Working of the Automatic Light Detector Circuit
When we look at the circuit of Automatic Light Detector, we found that the whole working start from a 6v DC Battery. This battery give the energy to the circuits.
At the day-time the LDR has a low resistance of about 100 ohms. In this case, the resistance of the LDR is less than the other devices of the circuits and we all know that:
The current passes through the path that shows the less resistive path.
The power from the battery passes through it and then from the variable resistor easily.
At the Night-time when the light, incidents on the LRD is less , the resistance of LDR increases to a high level of approximately 20 mega ohm. Due to this high resistance, the LDR act as an open circuit and does not allow the flow of current through it. For this condition, the current will flow from other components of the circuit and hence the current enters o the base of the n-p-n Transistor BC545. This allows the current to pass from the LED and hence it illuminates.
Automatic Light Detector in Proteus
Before any practical implementation, one should always check it in the simulation for practice. Luckily, for our experiment, the Proteus contain all the components through which we can check the functionality of Automatic Light Detector.
Fire up you Proteus software and Choose the components one after the other. Once selected, design a circuit of Automatic Light Detector by following these simple steps.
- Get the Components from the Pick Library and arrange them according to the Circuit diagram.
- Double tap the each components except n-p-n transistor and change their values according to the table given below:
Component |
Value |
Resistor |
470 ohms |
Variable Resistor |
10k ohms (At the start) |
Battery |
6 volts |
- Connect all the components by the mean of connecting wires.
- Simulate the circuit.
- Check the working of circuit by changing the values of the Light Detector Resistor.
- Above 5.1 value of the LDR, the LED illuminates because of high resistance, the current flows through the LED.
- Below 5.1, the LED remains off.
Applications of Automatic Light Detector
Some of the practical applications of Automatic Light Detector are given below;
- Automatic Light system.
- Light measuring instruments.
- Relative distance devices.
- Alarm system.
- Security Systems.
Truss today we learned about the Automatic Light Detector/sensor. we saw what components are present in its circuit, how the system works and how can we implement it in the Proteus software. We hope you had an interesting piece of study through our article.