Proteus

Magnetic Reed Switch Library for Proteus

Hello friends, I hope you all are doing great. In today's tutorial, I am going to share new Magnetic Reed Switch Library for Proteus. We are quite proud to share it as its not been designed before. Our TEP Team has designed it and I think they need a little appreciation. :P You can interface it with any Microcontroller like Arduino, PIC or 8051 Microcontroller etc. As Proteus is a simulation software so we can't produce magnetic field in it. That's why, we have placed a TestPin and when you provide HIGH Signal to that TestPin then it will act as it has magnet around. Similarly, if you provide LOW Signal to that TestPin then it will behave normal and will sense no magnet around. Rite now, we have just designed two Magnetic Reed Switches but soon we will design other Reed Switches as well. So, let's get started with How to download and use Magnetic Reed Switch Library for Proteus.

Magnetic Reed Switch Library for Proteus

  • First of all, download this Magnetic Reed Switch Library for Proteus by clicking the below button:
Download Proteus Library Files
  • You will get a .rar file so unzip it using winrar.
  • Inside this .rar file, you will find three Proteus Library files, named as:
    • MagneticReedSwitchesLibraryTEP.IDX
    • MagneticReedSwitchesLibraryTEP.DLL
    • MagneticReedSwitchesLibraryTEP.HEX
  • Place all these three files in the Library folder of your Proteus 7 or 8 Professional.
Note:
  • Here are the images of these real Magnetic Reed Switch Modules along with our designed modules in Proteus:
  • We have designed these two modules, both of these modules give digital output only in Proteus but in real the reed module with red color also gives analog output.
  • We are not yet able to produce analog output in Proteus, so that's why we have only digital output. :)
  • Now I hope that you have placed all those three Proteus Library files in the Library folder of your Proteus software, so open your Proteus software or restart it.
  • In Proteus software, go to your components search box and make a search for Magnetic Reed Switch as shown in below figure:
  • Now place both of these modules in your Proteus software and they will look something, as shown in below figure:
  • Double click any of these modules and its Properties panel will open up.
  • Now in the Program File section, browse to our downloaded Library file MagneticReedSwitchesLibraryTEP.HEX as shown in below figure:
  • Now click OK to close this Properties window.
  • You can see we have four pins in total attached to our Magnetic Reed Switch, which are:
    • Vcc: We have to provide +5V at this pin.
    • GND: We have to provide Ground (0V) at this pin.
    • D0: That's the Output Pin, it will be HIGH when some magnet is around otherwise remain LOW.
    • TestPin: As Proteus a simulation so we can't provide magnetic field, that's why we have palced this TestPin. If TestPin is HIGH then it means magnetic field is around and if its LOW then there's no magnet around.
  • I hope you have understood the pinout of this Reed Switch, so now let's design a simple simulation to test them out.
  • So, design a simple circuit in Proteus as shown in below figure:
  • Now run your simulation, and change the Logic State from 0 to 1, which is connected at TestPin.
  • If everything goes fine then you will get such results:
  • As you can see in the above figure that D0 Pin is HIGH when I changed the Logic State from 0 to 1 and that's why LED attached at D0 Pin is now ON.
  • I have also designed a similar simulation for the other Magnetic Reed Switch and its ON state is shown in below figure:
  • I have already added both of these simulations in the above download file.
  • So, first add your Library and then run these simulations.
  • I will soon interface this sensor with different Microcontrollers like Arduino, 8051 Microcontroller, PIC Microcontroller etc.
So, that's was all for today. I hope you will enjoy this Magnetic Reed Switch Library for Proteus and will use it in your Engineering Projects. Thanks for reading & have fun !!! :)


JLCPCB – Prototype 10 PCBs for $2 (For Any Color)

China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w

Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (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. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir