Magnetic Hall Effect Sensor Library for Proteus, magnetic hall effect sensor, Magnetic Hall Effect Sensor in Proteus, proteus simulation of hall effect, hall effect in proteus, hall effect sensor in proteus, ky024 in proteus, ky-024 proteus simulation
Hello friends, I hope you all are doing fine. Today, I am going to share a new Magnetic Hall Effect Sensor Library for Proteus. We are sharing this library for the first time and we hope it will help students in their final year & semester projects. In this library, you will find 4 models of the KY-024 Magnetic Hall Effect Sensor. First, we will have a look at the brief overview of Magnetic Hall Effect Sensor, then will add its Library in proteus and will simulate it. So, let's get started:
Where To Buy?
No.ComponentsDistributorLink To Buy
1Arduino UnoAmazonBuy Now

What is Magnetic Hall Effect Sensor?

  • Magnetic Hall Effect Sensor is used to measure the density of magnetic field in the surroundings using Hall Effect Principle.
  • KY-024 is the sensor's model used for measuring magnetic density.
  • There are many different breakout boards available but they all are using the same sensor i.e. KY-024.
So, let's install its Proteus Library and simulate it:

Magnetic Hall Effect Sensor Library(Ky-024) for Proteus

  • First of all, download the Proteus Library zip file for Magnetic Hall Effect Sensor, by clicking the below button:
Proteus Library Files
  • In this zip file, we need to open the folder titled Proteus Library Files.
  • In this folder, you will find three Proteus Library files, named:
    • MagneticHallEffectSensorTEP.IDX
    • MagneticHallEffectSensorTEP.LIB
    • MagneticHallEffectSensorTEP.HEX
  • We need to place these files in the Library folder of our Proteus software.
Note:
  • Now, open Proteus ISIS and if you are already working on it, restart it.
  • In the components search box, make a search for "Magnetic Hall" and you will get four results, as shown in the below figure:
Magnetic Hall Effect Sensor Library for Proteus, magnetic hall effect sensor, Magnetic Hall Effect Sensor in Proteus, proteus simulation of hall effect, hall effect in proteus, hall effect sensor in proteus, ky024 in proteus, ky-024 proteus simulation
  • Let's place these four Hall Effect sensors' models in our Proteus workspace.
Magnetic Hall Effect Sensor Library for Proteus, magnetic hall effect sensor, Magnetic Hall Effect Sensor in Proteus, proteus simulation of hall effect, hall effect in proteus, hall effect sensor in proteus
So, we have successfully added these sensors to our Proteus software. Let's design a simple simulation to have a look at its working:

KY-024 Proteus Simulation

  • As we have seen this simulated model of KY-024 has five pins in total:
    1. A0: Analog output.
    2. G: Ground.
    3. V: Vcc (Power).
    4. D0: Digital output.
    5. Test: For testing purposes.

Why Test Pin is used?

  • As it's stimulation, so we can't actually create a magnetic field around the sensor, that's why we have placed this Test Pin.
  • As the voltage at Test Pin will increase, the sensor will consider it as magnetic density is increasing around.
    • If Test Pin is at 0V, the sensor will feel no magnetic field.
    • If Test Pin is 5V, the sensor will feel a maximum magnetic field.
  • We will attach a potentiometer to the Test Pin, for variable voltage levels.

Adding Hex File to the sensor

  • In order to operate the magnetic Hall Effect sensor, we need to add a hex file in its properties panel.(We have placed the hex file in the Library folder)
  • So, double click on your sensor to open its properties panel.
  • In the Upload Hex File section, browse to your sensor's hex file, as shown in below figure:
Magnetic Hall Effect Sensor Library for Proteus, magnetic hall effect sensor, Magnetic Hall Effect Sensor in Proteus, proteus simulation of hall effect, hall effect in proteus, hall effect sensor in proteus
  • After adding the hex file to the sensor, click on the Ok button to close the properties panel.
Now our sensor is fully operational, so let's design its simulation:

Proteus Simulation of Magnetic Hall Effect Sensor

  • Now, let's design a simulation in Proteus software, as shown in the below figure:
Magnetic Hall Effect Sensor Library for Proteus, magnetic hall effect sensor, Magnetic Hall Effect Sensor in Proteus, proteus simulation of hall effect, hall effect in proteus, hall effect sensor in proteus, ky024 in proteus, ky-024 proteus simulation
  • I have attached an LED with the digital output of the sensor and a voltmeter with analog output.
  • I have also placed a simple LC filter at the analog output. This filter is not required in real hardware implementation.
  • We are using it in Proteus simulation, as Proteus gives the peak to peak value and we have to convert that PP value into Vrms.
  • If you are working on a real sensor then you don’t need to add this LC circuit.
  • Now, let's run our simulation and if everything's configured correctly, you will get results as shown in the below figure:
Magnetic Hall Effect Sensor Library for Proteus, magnetic hall effect sensor, Magnetic Hall Effect Sensor in Proteus, proteus simulation of hall effect, hall effect in proteus, hall effect sensor in proteus, ky024 in proteus, ky-024 proteus simulation
  • As you can see in the above figure, our sensors are working perfectly, now if you change the value of the potentiometer, their output will change accordingly.
So, that was all for today. I hope this sensor will help you guys in your final year and semester projects. If you have any questions, please ask in the comments. Thanks for reading. Take care !!! :)