Hello friends, I hope you all are doing great. In today's tutorial, I am going to share a new Infrared Sensor Library for Proteus. This IR sensor is not available in Proteus and we are sharing this library for the first time. I hope it will help in your Embedded Systems Projects particularly related to robotics and automation. So, if you want to work on this IR Sensor then I would suggest you to first design its simulation and then try your luck with hardware.
There are different types of Infrared Sensors & modules available in the market. Some of these modules have transmitter & receiver on separate chips and are mostly get activated when someone interrupts the light. The one we have designed has a transmitter & receiver on a single chip. The IR signal transmits from the IR transmitter and if it has some obstacle in front of it then it bounces back and received by the IR receiver. You should also have a look at this list of New Proteus Libraries for Engineering Students. So, let's have a look at How to use this Infrared Sensor Library for Proteus:
Once you have added the files in the Library folder, then restart your Proteus software.
In the components section, make a search for Infrared Sensor, as shown in below figure:
Now place this IR Obstacle Sensor in your Proteus and if everything goes fine then you will get something as shown in below figure:
As you can see in above figure that we have four pins on our Infrared sensor, which are:
Vcc => You need to provide +5V to this pin.
GND => It should be grounded.
OUT => That's output pin and it will get HIGH when this sensor will find some obstacle in front and will remain LOW in normal condition.
TestPin => As Proteus is a simulation software so we can't actually place something in front of this sensor. That's why I have used this TestPin. If this Pin is LOW, then sensor will remain normal and if it's HIGH then sensor will behave as it has something in front of it.
Now double click this Infrared Sensor and its Properties Panel will open up.
In the Program File section, browse to the file InfraredSensorTEP.HEX which you have already downloaded and placed in the Library folder of Proteus.
Here's the screenshot of Properties Panel for this Infrared Sensor:
I have encircled the Program File in above figure and you can see I have selected the InfraredSensorsTEP.HEX.
So, now let's design a simple circuit and have a look at how to use this Infrared Sensor in Proteus.
Here's the screenshot of Infrared Sensor Simulation in Proteus:
So, now let's run our Proteus simulation and if everything goes fine then you will get results, as shown in the below figure:
I will interface this sensor with different Microcontrollers e.g. Arduino, PIC Microcontroller etc. in my coming tutorial.
As you can see in the above figure that when TestPin is LOW then OUT Pin is also LOW means there's no obstacle and when TestPin gets 1 then OUT Pin will go HIGH and that means we have some obstacle.
So, that's all for Infrared Sensor Library for Proteus. I hope it will help you guys in your engineering projects. Let me know if you have any suggestions. Take care & have fun !!! :)
I am Syed Zain Nasir, the founder of The Engineering Projects (TEP). I am a
programmer since 2009 before that I just search things, make small projects and now I am sharing my
knowledge through this platform. I also work as a freelancer and did many projects related to
programming and electrical circuitry. My Google Profile+Follow