ldr sensor simulation in proteus

Arduino LDR Sensor Sensor Simulation in Proteus 10

[otw_is sidebar=otw-sidebar-1]ldr sensor simulation in proteusIn this post I will discuss the simulation of the Light Dependent Resistor  in the Proteus. In the previous post I have discussed the simulation of the Ultrasonic sensor, Flame sensor and PIR sensor simulation in the Proteus. The Light Dependent Resistor is a commonly used sensor in most of the beginners’ projects and also Gas sensor is very useful for developing the embedded systems projects. I have also written other posts discussing the Printed circuit design in Proteus. Go through my posts on Laplace transform and Fourier Transform if you want to have the intuitive approach to these topics go through them anyhow they are worth reading.

[otw_is sidebar=otw-sidebar-2]
After reading these posts you will learn about the simulation in Proteus, importance of simulation models and simulation itself. You will also learn about how to interface the Arduino in Proteus and use the LDR sensor and Gas sensor for their simulation in Proteus. So sit back, keep reading and enjoy learning.

LDR Sensor:

[otw_is sidebar=otw-sidebar-3]

Before diving deep into the discussion on the main core of this post let us first have the brief introduction of the LDR sensor. The LDR sensor is the abbreviation of the Light Dependent Resistor and as the name implies the resistance of this sensor varies in relation to the intensity of light, greater the intensity of light lower will be resistance of the LDR sensor. The LDR sensors are based on the semiconductor technology which means that they are composed of the Silicon. As it is commonly known fact that resistance of the semiconductors varies due to change in the intensity of light so the Light dependent resistor exploit this property of the semiconductors. We will go into the detail of the Physics behind the LDR sensor in detail later here let us stick on how to use the LDR sensor simulate it in the Proteus. The schematic symbol of the Light Dependent Resistor and the light dependent resistor itself are as shown in the following figure:

What is LDR


LDR Sensor,ldr symbol,applications of ldr,Light Dependent Resistor)

LDR Simulation in Proteus:

Let us now see how to simulate the LDR sensor in the Proteus. In order to simulate the behavior of any circuit or any system in any of the simulation software it is important that the simulation models of all of the electronic components present in the circuit should be present in the library of the software. If the simulation model is not present then the software will be unable to simulate the whole circuit. The simulation models of most of the components are usually present in the library of the Proteus by default. If you want to learn about how to add the simulation model files of the components in the Proteus go through my post on Ultrasonic sensor. Fortunately the simulation model of the LDR sensor is already available in the Proteus by default.
Follow the following simple steps to simulate the LDR circuit using the Arduino Microcontroller Development Board.

[otw_is sidebar=otw-sidebar-2]




Add all the components in the workspace. The list of the components that will be utilized for this simulation are as follows:



Note here that the simulation model files for the Arduino board are not present in the library of the Proteus by default. So in order to simulate the behavior of the Arduino you need to download the simulation model files. My post on Ultrasonic sensor discuss in detail about how to download and add the simulation models files in Proteus. I am here assuming that you have downloaded the Arduino library for Proteus and place it in the library of the Proteus. Add the components in the workspace as shown in the following figure:

[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_btn title=”Download this File” style=”classic” color=”green” link=”url:http%3A%2F%2Fprojectiot123.com%2F2019%2F12%2F25%2Fdownload-proteus-library-of-components%2F|title:flex%20sensor%20library%20for%20proteus|target:%20_blank|”][/vc_column][/vc_row]



ldr sensor simulation in proteus







After placing all the components it is now time to draw the circuit as shown in the following figure:




[otw_is sidebar=otw-sidebar-3]

Now obtain the HEX file of your Arduino code and attach that file to the Arduino in  Proteus. The method of obtaining the HEX file in the Arduino IDE and attaching it to the Arduino has already been discussed in post on Ultrasonic sensor please go through to that post to learn the method. The HEX file is attached to the Arduino as shown in the following figure:



upload hex file to arduino









After attaching the HEX file the simulation is ready. Hit the simulation button and the animation.Arduino LDR Sensor Sensor Simulation in Proteus


Arduino interfacing with seven segment single digit display


Leave a Reply

Your email address will not be published. Required fields are marked *