Top Embedded Proteus Libraries V1.0 for Engineering Students

Hi readers! I hope you are having a creative day. Today, I am sharing the list of the top embedded proteus libraries in V1.0 especially designed for engineering students. Till now, you have seen blogs on different projects, components, libraries, and simulations. Yet, I am sharing the list of the first versions of these embedded libraries that will help the students throughout multiple projects. These libraries are highly useful in multiple domains of engineering, and if you don’t know how to download the new libraries , then you must see the link provided. 

This is the list of all new proteus libraries for engineering students . The zip files are present in the link to the related manual, which has details on how to download, install, and use these libraries. Now, let’s start learning about these libraries. 

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2ResistorAmazonBuy Now
3LCD 20x4AmazonBuy Now
4DHT11AmazonBuy Now
5DHT22AmazonBuy Now
6Flame SensorsAmazonBuy Now
7HC-SR04AmazonBuy Now
8Arduino NanoAmazonBuy Now
9Arduino Pro MiniAmazonBuy Now
10Arduino UnoAmazonBuy Now

Arduino Libraries V1.0

The involvement of microcontrollers like Arduino makes the embedded system more versatile and easy to use. Users can now install the Arduino library for Proteus and design multiple types of embedded system projects. The zip file of the Arduino library contains multiple Arduino versions. Here is the list of Arduino boards designed by TEP:


Geniuno Boards

The Arduino has developed another class of microcontroller named Geniuno that is sold under the umbrella of Genuino Labs. These are Arduino-compatible microcontrollers and have more affordable working mechanisms. These can be used with the Arduino software and hardware platforms and have a variety of models, as you can see in the below link:

Genuino Library for Proteus

Once installed successfully, you can access the following boards:

  • Genuino UNO
  • Genuino Mega 2560
  • Genuino Mega 1280
  • Genuino Mini
  • Genuino Pro Mini
  • Genuino Nano

Embedded Module Libraries

The embedded system libraries are highly useful for engineering students for projects related to the actuation, display, sensing, and communication of data. These libraries act like real components and help the students design real-time projects easily. Here is a list of the embedded libraries that you can download instantly:

LCD Library

There are multiple options to present the output of a circuit in an embedded system, but among these, an LCD is the most presentable and easy to understand. Proteus has multiple built-in libraries, but this LCD library provides the users with the best experience because it is easy to use and its pinouts are clean and easy to design. In the zip file, there are two versions of LCDs:

  1. LCD display (16x2)
  2. LCD display (20x4)

Both of these are extensively used in embedded circuits. Here is the download link for the new LCD:

New LCD Library for Proteus

This library can be easily programmed with Arduino code and hardware for embedded system projects. It is an alphanumeric LCD; therefore, it can show the numbers and alphabets based on the programming in the Arduino software. 

GPS Library

The Global Positioning System library is a useful component that provides versatility in embedded systems. Real-time GPS systems use satellites in space to provide information about the position of a particular object. In Proteus, the GPS allows the user to design projects, such as testing the performance of real GPS-based projects or simulating projects where the position of an object like a vehicle or a person is to be identified. Here is the link to download and install the GPS library:

GPS Library for Proteus

The design of this GPS system resembles the real GPS module. This library provides the system with two pins:

  1. TX pin
  2. RX pin

When the circuit is designed and the simulation starts, the module starts sending the NMEA data to the TX pin. At this moment, this data can be seen in the virtual environment connected to the GPS module. This is just a simulation module, so it does not provide clear longitude and latitude values. Therefore, there are some dummy values, but these are helpful to test the simulations. 

GSM Library

The GSM module is used for communication between the devices within the GSM network. This library allows users to work on projects related to the positioning and communication between the devices. The working of this GSM module is controlled with the help of Arduino software, where it can be programmed according to the requirements. The Arduino has the IDE manager library to be programmed with this module. Here is the download link for this:

GSM Library for Proteus

This library is designed in three colors and the user can choose any one or more than one according to the complexity of the project. 

XBee Library

It is another communication module that is used for wireless communication and configuration. This is a trending topic for engineering projects; therefore, I have designed it. This does not work exactly like the real XBee, but it helps a lot to provide the basic functioning in the simulation. Here is the link to download this library:

XBee Library for Proteus

This has two pins, TX and RX, and these are used to send and receive the data within XBee. The RX is usually connected to the output device, or Arduino, according to the circuit.

Bluetooth Library

The Bluetooth library has been one of the most demanding components of embedded systems for years; therefore, I have designed this to make it easy for students to use in Proteus. These modules are used for Bluetooth connectivity. This is the zip file for the module:

Bluetooth Library for Proteus

This has two modules of Bluetooth, which are:

  1. HC-05
  2. HC-06

Both of these have a similar structure, but their work is a little bit different. These modules have a limited range; therefore, they do not work well where communication is required for long distances. 

DS1307 Library 

This library provides the functionality of a real-time clock (RTC). it is used in projects where the current time is required, so it is a clock in the circuit that can be programmed once and used throughout the project implementation. This is the download link for the zip file in this library:

DS1307 Library for Proteus

Proteus has such libraries by default, but I have designed this library because it is more suitable for embedded projects and has different ways of working. The design is very similar to the real DS1307 library as it has a total of seven pins and a bright red colour with details on it. Out of these seven pins, X1 and X2 are used to add the crystal oscillator. This is used with devices like Arduino and PIC controllers. 

L298 Motor Driver Library

The L298 motor driver is designed to accept standard TTL logic levels and to drive the inductive loads. It is a dual full bridge driver that can bear high voltage and high current. It can drive relays, solenoids, stepping motors, etc. 

The module has been designed with bright colours and has small details just like the real driver. It is designed to control two motors at a time just like the real module. The link to download the zip file is given here:

 L298 Motor Driver Library for Proteus

Two sets of output pins are on the left and right sides used to connect the motors, while the input pins are at the lower right corner. Some other pins are also there to connect this module to the power source. 


SIM900D in Proteus

The main purpose of the SIM900D module is to control the GSM module with the help of a microcontroller so make sure you install all of these. This library has multiple functions that help provide the functionality of sending and receiving SMS messages, setting up the calls, and managing the GPRS data. Here is the link to install and use the SIM900D:

SIM900D in Proteus

It is relatively more complex than other experiments and requires more information about the component to work properly. 

C945 Library for Proteus

The C945 is a transistor library and as you expect, it has three legs named emitter, collector, and base. The first letters of these pins are mentioned on the module, and one must know it is an NPN transistor. It is a general-purpose transistor and is the main component of several electronic components. The installation of this module can be done through the following link:

C945 Library for Proteus

The simplest way to see the workings of this transistor is through the simplest output devices, such as an oscilloscope or LED.  

PC817 Library for Proteus

It is a safety component used with the microcontrollers and prevents the burning of the microcontroller because of the back EMF. It is an optocoupler/optoisolator that is used for the isolation of signals in electronic circuits. It is an important safety component of multiple embedded systems. Here is the download source for this library:

PC817 Library for Proteus

Just like the real PC817, the library has four pins, but to indicate the difference and directions of the pins, I have shown the symbols, so you will see the design is different from the real PC817. 

Embedded Sensors Libraries

Embedded sensors are devices that are used to interact with the physical world by sensing changes in the environment. The students can download multiple types of proteus sensors that are useful for creative engineering projects. These libraries have multiple pins; one is a TestPin through which the user can stimulate the sensor. Some of these are digital sensors, and some are analogue. We have made digital and analogue versions of sensors to provide more versatility in the student’s projects. These are the Version 1.0 of all the sensors:

Ultrasonic Sensor

The ultrasonic sensor is a device that measures distance with the help of sound waves. These send the sound waves in a particular direction and then measure the time it takes for them to strike any object, which is then reflected. The module is designed on the same principles. It is an analogue sensor, and usually, it is controlled with the help of a microcontroller. Here is the download and installation process:

Ultrasonic Sensor Library

This library allows the students to create more creative projects because it can be used for projects like proximity detection, distance measurement, liquid level measurements, etc. 

Flame Sensor Library

Now we are moving towards the specialized sensors particularly important for the Internet of Things (IoT) projects. The flame sensor is a basic need for almost every project of home automation. This sensor provides the signal at the output when it senses the flame. As a result, it can alarm the users, and it may be lifesaving. With the help of this library, it is now possible to test the simulation of such projects in Proteus. Here is the link to download it:

Flame Sensor Library

During the simulation of the project, the indication of flame is done with the testPin and the sensor responds according to the signals at this testPin. 

Vibration Sensor

This sensor detects the vibration and is useful in projects like security management because any vibration in a particular object can be sensed well. These are also used with mechanical products such as heavy machines because the continuous vibration can cause errors in performance or create other issues. This is the link to get this library:

Vibration Sensor Library

It is a digital sensor, and as soon as the input of this sensor is turned HIGH, it indicates the presence of the sensor. 

Capacitive Touch Sensor

The capacitive touch sensor is named so because it can detect the presence of the human finger on an object by sensing the change in the capacitance of the sensor. We know that capacitance is the measure of the ability to save charges, and when the finger touches the sensor, the values of the capacitance change, and as a result, the sensor indicates this change. Here is the link to get this library:

Capacitive Touch Sensor Library

I have made this digital sensor because, in real time, the capacitive sensor is very sensitive and can detect a slight change in the capacitance when the user touches it. 

HeartBeat Sensor

The purpose of these libraries is to enhance creativity and allow students to reach more domains. This is an important sensor in medical science because it counts the heartbeat of humans and provides the results. The starting and ending points of the heartbeat testing are controlled with the help of digital input. Here is the download and install link:

Heartbeat Sensor

The output of this heartbeat sensor can be shown with the help of an LCD or other suitable output devices. Students can use this output in different components of the projects. As a result, the output of the sensor may be used to stimulate other components such as when the heartbeat is high. The results are sent to the user or a document that displays the preventive measures. 

Gas Sensor Library

This is another ideal sensor library for projects like the automation of places. This module senses the presence of harmful gases in the surroundings and is one of the most important sensors for safe living standards. These are used in homes, offices, industries, and other places where there is a risk of gas leakage so they may indicate the danger. This library has a simple structure with all the basic pinouts. Here is the way to download and install the library. 

Gas Sensor Library

I have designed eight sensors for gases ranging from MQ2 to MQ9 because I have followed real gas sensors. The design and working of each of them resemble those of real sensors, as you can see the colour and components are the same. 

Magnetic Reed Switch

This library is particularly suitable for engineering students who have to create projects related to the magnetic field. This library is used to detect the presence of magnetic fields in the surrounding area. Magnetic fields affect the working of sensitive components; therefore, this library can save the whole circuit in some cases. To install this library, follow the link below:

Magnetic Reed Switch Library

Just like the real magnetic reed switch, it has two versions with red and blue colours. The real magnetic reeds have a difference in the number of pins, but I have designed them to work perfectly in the simulation and provided all the necessary features. 

Infrared Sensor Library

The working principle of an infrared sensor is similar to that of an ultrasonic sensor, but here, infrared waves are used to detect any obstacle or object in the way of these waves. A transmitter and a receiver are used in the structure of these sensors. This is a digital library; therefore, there is no need to attach the Arduino to test the basic workings of this library. Check the details of the infrared library through the link given below:

Infrared Sensor Library

This sensor can be used in various projects with a microcontroller because the coding process allows the student to use the output of this sensor for multiple processes. 

IR Proximity Sensor

This is another sensor that uses the waves to measure the distance to the presence of the object at a particular distance. The transmitter sends the infrared radiations to a certain direction and when these strike an object, these reflect to the receiver and it measures the distance between the object and itself through multiple calculations. Here is the link to approach this sensor:

IR Proximity Sensor

I have designed the same sensor in two colours and tried to make it easy to use. This is the digital sensor; therefore, the emission of infrared rays and their receiving time are controlled by the TestPin. 

Infrared Tracker Sensor

This is another infrared sensor that does not simply sense the distance; it measures the movement. The infrared waves are emitted from the sensor when it touches the object; it remembers the values and emits the waves again. In this way, the multiple emissions of the waves and their reflected angles are measured and compared. As a result, it can measure the change in the position of the same objects. Here is the download and install process:

Infrared Tracker Sensor

This is an important sensor that can be used in robotic line followers, security systems, gesture recognition, etc. 

Rain Sensor

The automation of places like homes, agriculture, and security systems are important Internet of Things( IoT) projects, and this is one of the most basic sensors in all the projects related to the same princess. This is a digital sensor and can detect the presence or absence of rain. Here is the link to fetch this sensor:

Rain Sensor Library

The process to use this sensor in the projects is simple and easy, and students wanted to use it in their projects; therefore, I created this to provide them with more options in the Proteus simulation. 

Sound Sensor Library

The sound sensor is one of the most basic sensors in embedded systems and other branches of engineering that catches sound signals and converts them into electrical signals. As a result, these electrical signals are then presented as the output of the sensor. Here is the link to download and install this library:

Sound Sensor Library

This sensor may be part of many interesting and trending engineering projects such as voice recognition, sound level measurement, robotics, etc. 

Soil Moisture Sensor

This is the most basic sensor of the IoT projects related to agriculture, landscape, and related fields. This sensor measures the amount of water in the soil and indicates the values. The basic principle of working with this sensor is to measure the electrical conductivity of the soil because water is the best electrical conductor. As a result, it provides information about the amount of water in the soil. Here is the link to get this sensor:

Soil Moisture Sensor

There are multiple types of such sensors, and the one I designed has the exact design of a soil resistance measurement. It has two probes and is an analogue sensor; therefore, it provides the exact amount of moisture in the soil. 

Analog Vibration Sensor

Just like the digital vibration sensor, this version also measures the vibration in an object, but I have tried to provide a more versatile working method; therefore, I made this analogue vibration sensor. The working of an analog vibration sensor is a little bit complex but it can be used with great versatility. Have a look at the installation process for this sensor:

Analog Vibration Sensor

Projects like musical systems, game controllers, robotics, and other such projects influence vibration. Students can easily design the limits of values using the microcontroller. 

Water Sensor Library

The water sensor is the basic sensor in different engineering projects. Water has the best electrical conductivity, and this sensor works by measuring the electrical conductivity of the water. As a result, it provides the amount of water in a tank or any other container. 

Water Sensor Library

Students are using this sensor in different creative projects such as water leakage detection, pool level monitoring, automatic irrigation systems, etc. 

Analogue PIR Sensor

It is the passive infrared sensor that detects the infrared radiation around it. The main job of this sensor is to sense the IR and then convert these signals into voltage. I have designed the digital PIR sensor as well, but this sensor has more functionalities. The following is the link to download and install this library:

Analog PIR Sensor Library

It has applications in different fields and projects like security systems, motion detection systems, and multiple medical devices. 

Flex Sensor

The flex sensor is used to measure the bend of an object and is useful in multiple fields of mechanical engineering. Another use of this sensor is in the field of robotics where it is used with multiple components and provides basic information about the bend. You can download and install it from the link below:

Flex Sensor Library

This is a digital library, and it simply checks for the presence of a bend in an object containing this sensor. The checking of the basic workings of this sensor does not require a microcontroller, but a simple LED is enough.  

Analogue Flex Sensor

The analogue flex sensor is the second version I have just discussed. This can measure the values of a bend of the component, and it is important information in multiple projects. As a result, this sensor has great scope in multiple fields. Download and install this through the link below:

Analog Flex Sensor Library

Just like other analogue sensors, students can provide the limits of the flex values and automate the project to work on a particular value of flex. 

Magnetic Hall Effect Sensor

This sensor is used to measure the magnetic fields around the sensor. For this, it uses the Hall effect and successfully measures the density of the magnetic field. The basic sensor in this regard is KY-024 and it is used in multiple types of sensors related to the detection and measurement of the magnetic field. I have used the same sensor in this design; you can see it in the link given below:

Magnetic Hall Effect Sensor(KY-024) Library

This library is present in four different colors but the design and other specifications are the same. 

Current Sensor 

This library is particularly useful for embedded systems and robotic projects that measure the total current flowing through the circuit. The electrical and electronic circuits use this module in their projects but require the module in Proteus to test the possibilities. Therefore, I have designed this library, and here is the link to use it in the Proteus simulations:

Current Sensor Library

The drift linear hall sensor in the real current sensor WCS1600 allows it to provide precise and accurate results. In this sensor, I have used the same design and worked to provide the best output. 

pH Sensor Library

The chemical properties of the liquid are important to know when dealing with liquid experiments. Therefore, I decided to create a pH level sensor in Proteus to provide the chance to enhance the domain of projects for engineering students. As it is a simulation, the input will be provided by the user, but this can be designed as a project to show the results on the output device. Here is the download and installation process for this library:

pH Sensor Library

This file has four versions of the pH levels with different colours. A potentiometer has to be connected to the pH sensor, and the programming through the microcontroller will allow you to set the range between 0 and 14 pH levels. This library works the same as the real pH meter and can be used to create a simulation of checking the pH of any liquid project. 

Power Module Libraries

The power electronic systems use multiple power modules to complete their circuits, and we have designed these sensors to complete and test the simulations. All the basic features of real-time power modules and their connection with other components are possible with these libraries. Here is the introduction to each module and their download manuals:

Solar Panel Library

The solar panel is one of the most trending sensors because students are moving towards renewable energy sources, and the solar panel is the need of the time. This library can provide the chance to convert the electrical generation components into solar panels and make the project modern. The download and installation process is mentioned in the link below:

Solar Panel Library

Just like the revolution made in the electrical industry with solar panels, this module has changed the trends in electrical and electronic projects for engineers. 

Lipo Battery Library

Lipo stands for lithium polymer battery, and it has the same workings as the batteries in Porteus but has a different basic structure. The real-time lip batteries are made with lithium-ion technology using a polymer electrolyte and are different from the liquid electrolyte batteries. Click the below link to download and install this library

Lipo Battery Library

Real-time lipo batteries have multiple advantages over normal batteries, such as high specific energy, low self-discharge rate, etc. 

Single Cell Battery

Single-cell batteries are one of the most common sources of portable batteries, and they are used for small electronic projects. Proteus has multiple types of batteries, but these libraries have a better representation of the cells and a better output. Here is the link to check out these batteries:

Single-Cell Battery Library

These designs make the circuit more presentable. The default setting allows these batteries to run on 3.7V, but students can change the voltage level through the properties of these batteries. 

CR2023 Lithium Coin Library

It is a lithium coin battery, and we have seen it in several small electronic projects, such as watches, calculators, and several wearable devices. The real CR2023 comes in different shades of silver. I have created three versions of this battery. You can see these at the link given next:

CR2032 Lithium Coin Library

It has a simple cell, a cell with silver casting and lead, and a cell with golden casting and leads. This provides the students with a chance to enhance the attraction of the project and get to know the workings of the cell at the same time. 

Conclusion

The embedded system requires a lot of components, and we have designed the basic and useful libraries for the engineering students so that they may design and practice real-time simulations of their circuits. These are the first versions of all the sensors, but the team is working on more improvements and functions according to feedback and trying to bring more libraries for you. We will discuss these soon; till then, happy learning.

Top Embedded Proteus Libraries V2.0 for Engineering Students

Hi readers! I hope you are doing great. Today, I am going to share the second version of the top embedded libraries designed for the proteus. Before this, we shared the first version of many libraries that engineering students are using in their projects. The interest of the students in these libraries has motivated us to design even better versions of them. These versions have a more realistic design and error-free working and are ideal for engineering students to use in their simulation in Proteus. 

If you don’t know how to download and use these libraries, then you must learn how to add a new library in Proteus . Moreover, if you are interested in learning the details of all the libraries, you must see the new proteus libraries for engineering students . The installation and application process of these libraries is simple, and we will share all the details through links in this article. So let's know about the first library. 

Where To Buy?
No.ComponentsDistributorLink To Buy
1Battery 12VAmazonBuy Now
2ResistorAmazonBuy Now
3LCD 20x4AmazonBuy Now
4DHT11AmazonBuy Now
5DHT22AmazonBuy Now
6Flame SensorsAmazonBuy Now
7HC-SR04AmazonBuy Now
8Arduino NanoAmazonBuy Now
9Arduino Pro MiniAmazonBuy Now
10Arduino UnoAmazonBuy Now

Arduino Libraries V2.0 for Proteus

Arduino is one of the most important microcontrollers that makes embedded systems more versatile and interesting. Installation of the Arduino board provides the facility to use these boards in multiple types of projects in proteus simulations. Here is the list of the Arduino libraries  V2.0.

Download the zip file and follow the procedure mentioned in these articles to use Arduino in the simulations. 

Sensors Libraries V2.0 in Proteus 

Sensors are the most important components to make the embedded project versatile. Real-time sensors are used to detect changes in the environment and provide the output in different forms. Just like the first version of these sensors, there are multiple pins to connect the sensor to the circuit. The most important one is the TestPin which is used to make changes to the sensors. Here is a list of some sensors with a brief description of each:

Sound Detector Sensor

The sound detector is used to detect any kind of sound frequency and then convert it into electricity. The real-time sound detector has a mic that converts the vibrations of the sound into electrical signals. These signals go through the amplification process, and as a result, these sounds are detected. In proteus, the presence of the sound or the change in the surrounding frequency is indicated by changing the values on the input pin of the detector. Following is the link to download the sound detector library:

Sound Detector Library for Proteus V2.0

Heartbeat Sensor

Embedded systems have applications in all fields, and those who want to create projects in the medical field can use the heartbeat sensor in the simulation to provide versatility and uniqueness to their projects. This sensor is a little bit difficult to deal with as compared to the other sensors on the list, but when the circuit is designed carefully, it can be used in multiple projects. This is an analogue sensor; therefore, the student can set the limits of the heartbeat to indicate any emergencies or alerts. Here is the download link for this:

Heart Beat Sensor Library V2.0 for Proteus

Soil Moisture Sensors

Students seem interested in emerging fields like the Internet of Things (IoT); therefore, we have designed one of the most important sensors for Porteus that will give them chances to work on agricultural automation projects. This is a versatile sensor that can be used in several projects related to agriculture and related fields. The zip file for this sensor has three types of sensors, and version 2.0 has a little bit of a fluctuating design to make it more realistic.

Soil Moisture Sensor Library for Proteus V2.0

These are the analogue sensors, and the design of these sensors is very similar to the real-time moisture detectors. We have chosen the best colours and details for each component to make it more user-friendly. 

PIR Sensor Library

The first version of the PIR sensor was digital; therefore, to provide more room for creativity, here is the second version, which has an analogue sensor with relatively better working. This sensor library has four sensors that are the same in functionality but have different colours to make them attractive. 

Analog PIR Sensor Library for Proteus

The properties of all these sensors can be changed through the property panel. Just like all other analogue sensors, the variable resistor is used at the input pin to change the values of the sensor and get the required output. 

Vibration Sensor Library

The vibration sensor detects the vibration of an object by sensing the change in mechanical energy. The real-time vibration sensors convert the change in mechanical energy into electrical energy that is fed into any type of indicator, such as light or sound. The sensor in the proteus is an analogue sensor that closely resembles, in design, the real vibration sensor. In vibration sensor V2.0, there are four types of designs available for the students. Here is the download link for the zip file:

Vibration Sensor Library for Proteus V2.0

The components in each sensor are the same, but the base and capacitor colours are changed.

LCD Library for Proteus V2.0

There are multiple ways to display the results, and Proteus and the LCDs are the easiest and most effective ways to do so. This version of LCD resembles the real LCD used in embedded projects. The pinouts are more clean, and the size and display are better than any other LCD libraries in Proteus. This version has two sizes of LCD, which are:

  1. LCD 16X2 V2.0
  2. LCD 20X4 V2.0

As a result, when students use it in their simulation, they are able to get the required output with minimum effort. Here is the link to the description for downloading and using the LCD V2.0 in Proteus. 

LCD Library for Proteus V2.0

The installation process for this library is the same as it was for the LCD library V1.0. 

Solar Panel Library for Proteus V2.0

Next on the list is the solar panel library, which helps the students work on more creative projects with renewable energy sources. The solar panel V2.0 has a better design and is easier to design. The students have to simply download the zip file, follow the instructions given in the following link, and connect it to the project. 

Solar Panel Library for Proteus V2.0

There are two designs for the solar panel in this version. Both of these work alike, but students can choose the best design according to their circuit. By default, both of these work on 12V because it is standard, but the user can change the voltage values from the properties panel. 

Conclusion

The embedded system is an important field in engineering, and we have designed the second version of some proteus libraries. These libraries are extremely useful in testing the designed simulations related to multiple fields. The Arduino, solar panel, LCS, and different sensors are loved by the students, and we have made these versions with better design and results. I hope you like it. Stay with us for more useful libraries.

Latest Proteus Libraries for Engineering Students V2.0

Hi Friends! Hope you’re well today. Happy to see you around. In this post today, I’ll walk you through Latest Proteus Libraries for Engineering Students V2.0.

We have been designing proteus libraries for our blog readers for quite a while now. You might have visited our Arduino Libraries for Proteus V2.0 and Analog Sensors Libraries for Proteus V2.0. We keep working on those libraries and make sure the bugs are removed and you always get the updated version of those libraries.

We are going to share the most advanced and upgraded version of Proteus Libraries V2.0 we have designed for our readers. These libraries are more robust, fast, and efficient than previous versions. Moreover, we have converted some digital sensors to analog sensors, helping you pick from a wide range of libraries for your projects. If you think some sensors or modules are missing in the Proteus database that should be included, leave your valuable suggestion in the section below. We’ll try our best to design and simulate those in proteus.

Before further ado, let’s jump right in.

Where To Buy?
No.ComponentsDistributorLink To Buy
1LEDsAmazonBuy Now
2ResistorAmazonBuy Now
3ACS712AmazonBuy Now
4DHT11AmazonBuy Now
5DHT22AmazonBuy Now
6DS18B20AmazonBuy Now
7Flame SensorsAmazonBuy Now
8Arduino Mega 2560AmazonBuy Now
9Arduino NanoAmazonBuy Now
10Arduino UnoAmazonBuy Now

Latest Proteus Libraries for Engineering Students V2.0

We’ll be covering both Arduino Libraries for Proteus V2.0 and Analog Sensors Libraries for Proteus V2.0.

Arduino Libraries for Proteus V2.0

Arduino boards are open-source electronic development boards that you can use in your projects. Arduino Libraries for Proteus V2.0 contain the following Arduino boards.

1. Arduino UNO Library for Proteus V2.0

Arduino UNO is a microcontroller board based on the Atmega328 microcontroller. We have designed Arduino UNO Library for Proteus V2.0 which you can download from the link given below. We’ve previously designed the Proteus Library for the Arduino UNO V1.0 board and the below figure shows the comparison of both V1 and V2 Arduino boards. You can see the V2 board is more compact and small-sized compared to the V1 Arduino UNO board.

In this library, we’ve also interfaced LCD with the Arduino UNO. If you find any difficulty in interfacing the board with the LCD, you can approach me in the section below. I’d love to help you the best way I can.

Download the Arduino UNO Library for Proteus V2.0 by clicking the link below:

Download Arduino UNO Library for Proteus V2.0

2. Arduino Mega 1280 Library for Proteus V2.0

Arduino Mega is an electronic board that features an Atmega1280 microcontroller. You can use this board to develop stand-alone electronic projects or you can also incorporate it into embedded projects. Again, the following figure shows a comparison between Arduino Mega 1280 V1 and V2. The V2 board is compact and small-sized compared to the V1 board.

We have developed the Arduino Mega 1280 library for proteus V2.0 which you can download to simulate Arduino Mega 1280 in proteus.

Download the Arduino Mega 1280 Library for Proteus V2.0 by clicking the link below:

Download Arduino Mega 1280 Library for Proteus V2.0

3. Arduino Mega 2560 Library for Proteus V2.0

Arduino Mega 2560 is a sophisticated, application-type microcontroller board that features an Atmega2560 microcontroller. This board comes in handy when you require more input and output pins and more memory space to store the code for your electronic project. We have developed Arduino Mega 2560 Library for Proteus V2.0 to help you simulate this board in the proteus. Moreover, we’ve also interfaced LCD with this board so if you have any questions about it, you can ask me in the section below:

]TEPImg6]

Click the link below and download the Arduino Mega 2560 Library for Proteus V2.0.

Download Arduino Mega 2560 Library for Proteus V2.0

4. Arduino Mini Library for Proteus V2.0

Arduino Mini is a small-sized, powerful open-source microcontroller board based on the Atmega328 microcontroller. The board is 1/6th of the size of the Arduino UNO board and can easily rest on hard-to-reach places. We have designed Arduino Mini Library for Proteus V2.0 that you can download to simulate Arduino Mini in Proteus.

Click the link below and download the Arduino Mini Library for Proteus V2.0:

Download Arduino Mini Library for Proteus V2.0

5. Arduino Pro Mini Library for Proteus V2.0

Arduino Pro Mini is a small-sized microcontroller board that includes an Atmega328 microcontroller. The Proteus library V2.0 is designed for Arduino Pro Mini, moreover, we have also interfaced the board with the LCD 20x4.

Click the link below and download the Arduino Pro Mini Library for Proteus V2.0.

Download Arduino Pro Mini Library for Proteus V2.0

6. Arduino Nano Library for Proteus V2.0

Arduino Nano is a powerful and bread-board-friendly microcontroller board based on ATmega328p/Atmega168 microcontroller. We have developed the Arduino Nano Library for Proteus V2.0 which you can download to simulate Arduino Nano in the Proteus workspace.

Click the link below and download the Arduino Nano Library for Proteus V2.0:

Download Arduino Nano Library for Proteus V2.0

Analog Sensors Libraries for Proteus V2.0

Analog Sensors Libraries for Proteus V2.0 contain the following Analog Sensors.

Vibration Sensor Library for Proteus V2.0

An analog vibration sensor, also known as a piezoelectric, is mainly employed to detect the vibration of industrial machinery. The sensor gets activated if the vibration of the machines goes above the standard value. Vibration sensors are used to monitor the small changes in temperature, acceleration, pressure, and force.

We have done a little work and designed Analog Vibration Sensor Library for Proteus V2.0. Earlier we designed the proteus library for V1 version analog vibration sensors. The V2 version is more robust, compact, and advanced compared to the V1 version. Four vibration sensors are included in the proteus library and they have both digital and analog output pins which you can interface with Arduino boards or microcontrollers.

You can download the analog vibration sensor library for proteus V2.0 by clicking the link below:

Download Vibration Sensor Library for Proteus V2.0

Sound Detector Sensor Library for Proteus V2.0

A sound detector sensor is used to detect the sound in the environment. This sensor is only used for sound detection, not for sound recognition.

We have designed the Sound Detector Sensor Library for Proteus V2.0 that you can download to simulate this sensor in proteus. An LC filter is used on the analog output of the sensor since we need to convert the peak to peak voltage into Vrms. Know that you don’t require this LC filter in the real sensor circuit. We have simulated two sound detector sensors in proteus as they have different outputs because of different voltages on the test pin.

Click the link below and download the Sound Detector Sensor Library for Proteus V2.0:

Download Sound Detector Library for Proteus V2.0

Analog Flex Sensor Library for Proteus

An Analog flex sensor, also known as a bend sensor, is a special type of sensor used to detect the value of bend in the application. This sensor is mainly employed indoor sensors, robot whisker sensors, and stuffed animal toys.

We have developed an analog flex sensor library for proteus that you can download to simulate this sensor in Proteus. Know that Test Pin is included in the pinout of this sensor in proteus only, you won’t find this pin in the real sensor. This pin will determine the value of the bend. The HIGH value at this pin will give the value of bend and the LOW value at this pin will indicate there is no bend. We have also interfaced the Arduino board with the sensor where the analog input pin of the board is connected with the voltage appearing across the voltmeter.

Click the link below and download the Analog Flex Sensor Library for Proteus:

Download Flex Sensor Library for Proteus

Analog PIR Sensor Library for Proteus

PIR (Passive Infrared) sensor is a small, inexpensive, low-power sensor used to detect heat energy in the surrounding. The sensor monitors if the human body has come in or out of the sensor’s range.

We have designed Analog PIR Sensor Library for Proteus that you can download to simulate this sensor in Proteus. Moreover, we’ve also developed a simulation of this PIR sensor with an Arduino board. Know that, besides Arduino boards, you can also interface this sensor with PIC or Atmel microcontrollers. We’ve added four PIR sensors file in the proteus that are the same in terms of working but they come in a different color. Again, a test pin is added in the pinout of this sensor in proteus only, you won’t find this pin in real. This pin is added to sense the motion in the proteus workspace.

Click the link below and download the Analog PIR Sensor Library for Proteus:

Download PIR Sensor Library for Proteus

Water Sensor Library for Proteus

A water sensor is a sensor used to sense the presence of water. The water’s electrical conductivity is measured using this sensor to sense the presence of water. This sensor is widely used in applications where we need to monitor rainfall, water level, and water leakage.

We have designed the water sensor library for proteus which you can download to simulate this sensor in proteus. The Test pin is added to detect the water in the proteus simulation. We’ve also interfaced this sensor with the Arduino board where we have connected the analog input pin of the Arduino board with the output of the water sensor appearing across the voltmeter.

You can download the water sensor library for Proteus by clicking the link below:

Download Water Sensor Library for Proteus

Soil Moisture Sensor Library for Proteus

A soil moisture sensor is employed to analyze the water content in the soil. The sensor uses capacitance to monitor the dielectric permittivity of the soil which defines the function of the water content.

We have designed the Soil Moisture Sensor Library for Proteus where we have connected the test pin with the variable resistor. This resistor is used to define the soil moisture content in the proteus simulation. The maximum resistance on the test pin shows zero volts across the voltmeter, referring to the zero moisture value of the water content. The sensor is also interfaced with the Arduino board as shown below.

Click the link below and download the Soil Moisture Sensor Library for Proteus:

Download Soil Moisture Library for Proteus

IR Proximity Sensor Library for Proteus

The IR proximity sensor is used in robots to detect obstacles. This sensor is widely used for path navigation and obstacle avoidance in electronic projects.

We have designed the IR Proximity Sensor Library for Proteus which you can download to simulate this sensor in Proteus. The Test pin is used for hurdle detection. HIGH value on this pin means there is an obstacle in front and LOW value on this pin means there is no hurdle.

LC filter is included in the simulation which you don’t require in real. This filter is used to convert the Peak to Peak value we get on Proteus into the Vrms value.

[TEPImg16]

You can download the IR proximity sensor library for proteus by clicking the link below:

Download IR Proximity Sensor Library for Proteus

That’s all for today. Hope you find this article helpful. If you have any questions, you can approach me in the section below. I’d love to help you the best way I can. Thank you for reading this article.

Interfacing Temperature & Humidity Sensor with Arduino

Hello everyone! I hope you all will be absolutely fine and having fun. In the tutorial Interfacing Temperature & Humidity Sensor with Arduino I will tell you that how can you interface temperature and humidity sensor named as DHT11 with Arduino and how can you observe the temperature and humidity level using this sensor. This sensor has usually three pins but some of its types has four pins but only the three pins are of importance for us e.g. VCC, GND and the third pin for reading the data from the sensor. In the tutorial Interfacing Temperature & Humidity Sensor with Arduino, I will make a simple Arduino program which will estimate the level of temperature and humidity continuously and will display the value of both temperature and humidity on the serial monitor. You will see that the sensor will give different readings for the different environments.
Where To Buy?
No.ComponentsDistributorLink To Buy
1LCD 16x2AmazonBuy Now
2DHT11AmazonBuy Now
3Arduino UnoAmazonBuy Now

Temperature & Humidity Sensor with Arduino

I will tell you the step by step procedure that how can you interface DHT11 sensor with Arduino and how to make a simple program in Arduino software to read the data continuously from the sensor and how to display the obtained data on the serial monitor. You can also display this data on Liquid Crystal Display (LCD) as I have discussed in detail in my previous tutorial DC Motor Direction Control using Arduino, DC Motor Speed Control using Arduino, Stepper Motor Direction Control in Arduino and Stepper Motor Speed Control using Arduino.
  • You can download the complete source code here by clicking on the button below.
  • Download .rar file, extract this file and enjoy the complete simulation code.

Block Diagram

  • First of all, I would like to explain you the algorithm with the help of a block diagram.
  • It will help in better understanding of an algorithm.
  • The block diagram for interfacing of temperature and humidity sensor with Arduino is given in the figure below.
  • Power supply in necessary to turn the whole system ON.
  • DHT11 is connected with the Arduino UNO.
  • Arduino UNO reads the data from the DHT11 sensor and displays the obtained data on the serial monitor.
  • That data will also be displayed on the LCD.

Circuit Diagram

  • The complete wiring diagram for this project is shown in the figure below.
  • You can run this project properly, by making the circuit first, identical to the circuit diagram shown in the figure above.
  • The analog pin A3 of the Arduino UNO will help us in reading the data from the sensor.
  • The other two pins of the sensor are connected to the supply of 5V and ground respectively as you can see from the above figure.

Flow Chart

  • The flow chart will help you to understand the flow of the program while executing.
  • The flow chart for this project is shown in the figure below.
  • The data from the sensor can be estimated on the serial monitor only after opening the serial port
  • Then data will be displayed on the LCD and at end serial port must be closed in order to avoid the exchange of unwanted commands.

Source Code Description

  • The source code for this project is given below.
  • You have to just copy and paste the code given below in your Arduino software after properly interfacing DHT11 with the Arduino.
  • After uploading the code onto your Arduino board you will be able to observe the humidity and temperature and humidity level on serial monitor.
#include<dht.h>// DHT11 humidity sensor library
#include<LiquidCrystal.h> //LCD library
dht DHT; //Creating sensor object
#define DHT11_PIN A3 // Sensor is connected to Arduino pin 3
LiquidCrystal lcd(8, 9, 10, 11, 12, 13);// LCD connected with Arduino on these pins
void setup()
{
  Serial.begin(9600); //setting baud rate
  Serial.println("   =====================================================");
  Serial.println("   ||   Welcome to Temperarue and Humidity Detector   ||");
  Serial.println("   =====================================================");
  Serial.println("");
  lcd.begin(20, 4); // initialinzing the LCD order
  lcd.setCursor(4,1); //Setting the cursor on LCD
  lcd.print("Welcome to");//printing on LCD
  lcd.setCursor(2,2);
  lcd.print("Humidity detector");
  delay(2000);//adding delay of 2 secons or 2000 msec
  }
void loop()//method used to run the code repeatedly
{
  int chk = DHT.read11(DHT11_PIN); //Reading data from sensor
  Serial.print(" Humidity = ");//prints on the serial monitor
  Serial.print(DHT.humidity);// prints obtained humidity on serial port
  Serial.print(" g/m^3");

  lcd.clear();//clears all the data on LCD
  delay(1000);//adding delay of 1 second
  lcd.display(); //starting the display of LCD after clearing
  lcd.setCursor(0,0);
  lcd.print("Humidity=");
  lcd.print(DHT.humidity);
  lcd.print(" g/m^3");
  
  Serial.print("    \tTemperature = ");//prints on the serial monitor
  Serial.print(DHT.temperature, 1);//prints obtained temperature on serial port
  Serial.println(" degrees");

  lcd.setCursor(0,1);
  lcd.print("Temperature=");//prints on LCD
  lcd.print(DHT.temperature, 1);//prints the obtained temperature on LCD
  lcd.print(" deg");

  lcd.setCursor(1,2);
  lcd.print("www.TheEngineering");
  lcd.setCursor(4,3);
  lcd.print("Projects.com");

  delay(2000);//adding the delay of 2 seconds
  }  
  • I am going to explain you that how this code is working!
  • First of all I have added the library in the libraries folder at the destination where the Arduino software is installed.
  • I have defined DHT11’s library in the source code then.
  • Then I have defined the library for LCD.
  • I have defined the pin at which DHT11 is attached with the Arduino board.
  • Then I have defined the Arduino pins at which the LCD in interface.
  • Then by opening the serial port I have started to print the level of temperature and humidity on the serial monitor as well as on the 20×4 LCD.
  • At the end, I have added the delay of 2 seconds so that the speed of the data to be printed on the serial monitor can be reduced to some extent in order to observe properly.
  • This was the brief description of the source code.
That is all from the tutorial Interfacing Temperature & Humidity Sensor with Arduino. I hope you enjoyed this tutorial. If you are facing any problem regarding any of my tutorials, you can ask me freely in the comments without even feeling any kind of hesitation, I will try my level best to solve you issues in a better way, if possible. I will explore Arduino by making further projects and will share them with you as well. So, till then, Take Care :)

Introduction to DHT11

Hello Friends, I hope you all are fine and will be doing well in your life. In today's tutorial, I am going to give you a detailed Introduction to DHT11. It is an embedded sensor used to measure temperature & humidity in the surroundings and gives calibrated digital output. It can measure temperature in the range of 0°C to 50°C with ±2°C accuracy. Its humidity range is from 20% to 80% with ±5% accuracy. It is a small, low cost and easy-to-interface embedded sensor.

In this tutorial, I will explain its working, pinout, protocol and interfacing with other microcontrollers in detail.

  • Here are a few important features of DHT11, given in the below table:
DHT11 Features & Specs
No. Parameter Value
1 Measures Humidity & Temperature
2 Sensors Included Capacitive Humidity Sensor & Thermistor
3 Humidity Range 20% to 80% with ±5% accuracy
4 Temperature Range 0°C to 50°C with ±2°C accuracy
5 Package 4 Pins in a single row
6 Operating Voltage 3.0V to 5.5V
7 Operating Current 0.3mA(measuring), 60uA(idle)
8 Resolution 1°C, 1%RH (8-Bit)
9 Response Time 6s-15s
10 Repeatability ±1°C, ±1%RH
11 Sampling Frequency 1Hz
12 Dimensions 27mm x 59mm x 13.5mm (1.05" x 2.32" x 0.53")

So, let's start with the Introduction to DHT11:

Where To Buy?
No.ComponentsDistributorLink To Buy
1DHT11AmazonBuy Now

Introduction to DHT11

  • DHT11 is a low-cost, small-sized & easy-to-operate embedded sensor, consisting of 4 pins, used to measure Temperature(0°C to 50°C with ±2°C accuracy ) & Relative Humidity (20% to 80% with ±5% accuracy ) and provides calibrated digital output.
  • DHT11 Pinout consists of 4 Pins in total, listed below from left to right:
    1. Vcc: Need to provide +5V at this pinout.
    2. Data: It's the digital output pin, that gives either 0V or 5V.
    3. NC: Not Connected. (It's left open for future design)
    4. GND: Need to provide Ground at this pinout.


  • DHT11 has a Capacitive Sensor for measuring humidity & NTC Thermistor for temperature sensing. (We will cover them in detail below)
  • It comes in a single package comprising of 4 pins with 0.1" spacing between them and a special package can be provided according to user demand.
  • DHT11 updates the output value once every 2 seconds.
  • Small-size, low-cost, precise & calibrated output and up to 20 meters signal transmission stand it out from other sensors.
  • DHT11 uses a single-wire serial interface for data processing.
  • It calibrates the humidity using humidity coefficients, which are stored in the OTP program memory of the built-in controller.
  • Its operating voltage is 3V to 5.5V, so it works with both 3.3V and 5V microcontroller systems.
  • It has a sampling frequency of 1Hz, so it samples the data after every 1sec.
  • DHT11 has a dimension of 27mm x 59mm x 13.5mm (1.05" x 2.32" x 0.53"), so it is very small and can easily be placed in autonomous embedded projects.
  • It is quite accurate & precise in its readings as compared to other expensive sensors i.e. SHT10, DS18B20 etc.

We have discussed the basic features of our Moisture sensor DHT11. Now, let's have a look at DHT11 Pinout and description:

DHT11 Pinout & Description

  • DHT11 Pinout consists of 4 Pins in total, which are shown in the below table:
Pin# Type                                         Parameters
Pin#1 Vcc Provide 3.3V to 5V at this pin.
Pin#2 Data This pin provides a digital output.
Pin#3 N/C  Not Connected.
Pin#4 Ground This pin is used for Ground ( Connected to 0V or GND ).
  • For better understanding let's check its picture, given below:

Now, we will discuss the DHT11 working principle in detail:

DHT11 Working Principle

  • Now, let's understand the working principle of the DHT11 temperature & humidity sensor.
  • As we have discussed earlier, it has two sensors inside it, so let's have a look at both of them separately:

DHT11 Temperature Sensing

  • For temperature sensing, it has an NTC(Negative Temperature Coefficient) temperature sensor (also called a thermistor ) mounted on the surface inside the plastic casing.
  • NTC temperature sensors are variable resistive sensors and their resistance decreases with an increase in the surrounding temperature.
  • Thermistors are designed with the sintering of semiconductor materials, such as ceramic or polymers and they provide a large change in resistor with a small temperature change.
  • Here's the graph showing the relation between temperature and resistance for the DHT11 sensor:

Now, let's discuss the Humidity Measurement of DHT11:

DHT11 Humidity Measurement

  • For Humidity Measurement, it uses a capacitive humidity sensor, which has two electrodes and a substrate material in between.
  • The substrate material is used for holding the moisture on its surface.
  • As moisture content changes in our environment, they get saturated on the substrate material, which in turn changes the resistance between electrodes.
  • This change in electrode resistivity is then calibrated using the humidity coefficient (saved in OTP memory) and the final relative humidity value is released.
  • Here's the image showing the internal structure of the DHT11 humidity sensor:
Now let's discuss the communication Protocol of the DHT11 temperature & humidity sensor:

DHT11 Communication Protocol

  • DHT11 sensor uses a single-wire, two-way Serial Protocol for communicating with third-party peripherals normally microcontrollers.
  • We call it single-wire because the communication is performed through a single pin.
  • It's two-way because DHT11 receives commands from the microcontroller and then responds required data.
  • Data sent by the DHT11 sensor is 40 bits and it sends Higher Data Bits first.
  • Data contains both Integral and decimal values of temperature and relative humidity along with a checksum value.

DHT11 Data Format

  • DHT11 sends the 40Bit serial data in the below format:
    1. 8-Bit Humidity(Integral)
    2. 8-Bit Humidity(Decimal)
    3. 8-Bit Temperature(Integral)
    4. 8-Bit Temperature(Decimal)
    5. 8-Bit Checksum
  • If DHT11 is sending the correct data, then it must send an 8-bit Checksum data at the end.

DHT11 Communication with Microcontroller

  • The circuit diagram to interface DHT11 with the microcontroller is shown in the below figure:
  • A pull-up resistance of 5k ohm is recommended to place at the Data Pin of the DHT11 sensor.
  • At normal conditions, the data pin of DHT11 remains at the HIGH voltage level and the sensor remains in low power consumption mode.
  • To receive data from the DHT11 sensor, the microcontroller should make the Data Pin low for at least 18us, so that the sensor could sense it.
  • Once the DHT11 sensor senses the low signal at the Data Pin, it changes its state from low power consumption mode to running mode and waits for the Data Pin to get HIGH.
  • As the Data Pin gets HIGH again by the microcontroller, DHT11 sends out the 40-bit calibrated output value serially.
  • After sending the data, DHT11 returns to low power consumption mode and waits for the next command from the microcontroller.
  • The microcontroller has to wait for 20-40us to get a response from the DHT11 sensor.

Applications of DHT11

Because of its small size, low cost and ability to sense two values, DHT11 has a wide range of applications:
  • DHT11 is used in Home Automation Projects to maintain constant atmospheric values by controlling the appliances(i.e. AC, Fan etc.) based on the sensor's readings.
  • It is also used at weather stations for temperature & humidity sensing.
  • It is also used in automatic climate control appliances.
  • Environment monitoring devices also utilize this sensor.
  • Garden Monitoring Systems also use DHT11 sensors.

So, that was all about the DHT11 temperature and humidity sensor. I have tried to cover this sensor from all angles. Let me know about your experience with the DHT11 sensor in the comments. Take care!!!

DHT11 Arduino Interfacing

Hello everyone! I hope you all will be absolutely fine and having fun. Today, we will have a look at the DHT11 Arduino Interfacing. DHT11 is an embedded sensor, used to measure both temperature and humidity of the surroundings. It is made up of two different parts i.e. capacitive humidity sensor and a thermistor. DHT11 is a slow sensor but is quite efficient for the applications where we need to do some basic analog data exchange. There is a small chip inside this sensor which performs the function of analog to digital to analog conversion and gives the results for temperature as well as for humidity in digital form. This digital signal can be read easily through any micro-controller.

LM335 is another temperature sensor and to understand today's post more properly, you should also go through Introduction to LM335. DHT11 is a low cost sensor and is easily available in the market now a days. This property makes it more popular among the similar type of sensors. It provide precise results with the higher efficiency. It has a small size and low power consumption. It can transmit the signal up to 20 meters. It has four pins whose detail will be explained later. DHT11 has a lot of features including low cost, long term stability, fast response time, excellent quality, long distance signal transmission and many more. In real life DHT11 can be used at several different places e.g. home appliances, weather stations, consumer goods etc. the further detail about DHT11 Arduino Interfacing will be given later in this tutorial.

Where To Buy?
No.ComponentsDistributorLink To Buy
1DHT11AmazonBuy Now
2Arduino UnoAmazonBuy Now

What is DHT11 Sensor?

  • DHT11 is an electronic sensor, consists of 4 pins and is used to measure the temperature and humidity of the surroundings.
  • DHT Pinout is as follows:
    1. Pin#1: Vcc (+5V)
    2. Pin#2: Out (digital)
    3. Pin#3: NC (Not Connected)
    4. Pin#4: GND (Ground)
  • It has both a capacitive humidity sensor and a thermistor embedded in it.
  • It is a low-cost sensor but provides precise results and it gives value once every 2 seconds.
  • DHT11 measures the relative humidity of the surrounding.
  • It is used in home appliances, weather stations, medical humidity control, data loggers, HVAC and at several security places.
  • DHT11 along with its pinout is shown in the figure given below.

DHT11 Pinout

  • Before using any electronic device we must know about the functions of its all pins.
  • DHT Pinout is as follows:
    1. Pin#1: Vcc: We need to provide +5V to this pin.
    2. Pin#2: Out: Output Pin for reading DHT11 data.
    3. Pin#3: NC: It's an open pin and is not connected to anything(For future use).
    4. Pin#4: GND: Need to provide ground to this pin.
  • DHT11 pin description is provided in the below table:

DHT11 Working Principle

  • In order to measure temperature, DHT11 uses a thermistor also known as NTC (Negative Temperature Coefficient) temperature sensor.
  • A thermistor is simply a variable resistor, which changes its resistance with respect to the temperature.
  • A thermistor is made up of sintering of semiconductors in order to provide a large change in its resistance with the small changes in temperature.
  • NTC means the resistance decrease with the increase in temperature.
  • I have provided a visual display of the relation between temperature and resistance for the DHT11 sensor, shown in the below figure:
  • For humidity sensing, DHT11 uses a capacitive humidity sensor.
  • The humidity part consists of two electrodes having moisture-holding substrates in between them.
  • As the humidity level changes, the resistance between both of the electrodes or conductivity also changes correspondingly.
  • This change in conductivity or resistance is estimated and processed by an internal IC.
  • I have also provided the visual description of humidity sensing using DHT11 sensor, as given in the figure shown below.

DHT11 Temperature Sensing Characteristics

  • The temperature sensing characteristics of the DHT11 sensor are listed in the below table:

DHT11 Humidity Sensing Characteristics

  • The humidity sensing characteristics of the DHT11 sensor are listed in the below table:
Note: I have also made some LabVIEW simulations for temperature measuring and conversion, their links are shared below.

Components Required for DHT11 Arduino Interfacing

As its a simple project, so we are going to need few components, listed below:

  • DHT11 Sensor (Temperature and humidity sensor)
  • Arduino UNO (Microcontroller Board)
  • Jumper wires (Male to Female)

DHT11 Arduino Interfacing

  • The connections between Arduino and DHT11 pins are shown in the figure given below.
  • The circuit diagram for DHT11 Arduino Interfacing is given in the below figure:

Arduino Code

  • If you have not written Arduino code before, you must have a look at How to Write Arduino Code.
  • You just need to copy and paste the source code given below into your Arduino software.
  • After that just upload the code into your Arduino board to test the results.
#include<dht.h>// DHT11 humidity sensor library
dht DHT; //Creating sensor object
#define DHT11_PIN 2 // Sensor is connected to Arduino pin 2
void setup()
{
  Serial.begin(9600); //setting baud rate
  Serial.println("   =====================================================");
  Serial.println("   ||   Welcome to Temperarue and Humidity Detector   ||");
  Serial.println("   =====================================================");
  Serial.println("");
  }
void loop()//method used to run the code repeatedly
{
  int chk = DHT.read11(DHT11_PIN); //Reading data from sensor
  Serial.print(" Humidity = ");//prints on the serial monitor
  Serial.print(DHT.humidity);// prints obtained humidity on serial port
  Serial.print(" g/m^3");
  Serial.print("    \tTemperature = ");//prints on the serial monitor
  Serial.print(DHT.temperature, 1);//prints obtained temperature on serial port
  Serial.println(" degrees");
  
  delay(2000);//adding the delay of 2 seconds
  }
  • First of all, I have defined the library for the DHT11 sensor.
  • After that, I have read the humidity and temperature values from DHT11 sensor in digital form.
  • Then I have printed the digital values of both humidity and temperature on the Arduino Serial Monitor.
  • We can print the values obtained from the sensor on the serial monitor using Serial Communication.
  • So that was the brief description about DHT11 interfacing with Arduino.
  • You can download DHT11 library, wiring diagram and complete Arduino source code here by clicking on the button below.

Temperature & Humidity Results on Serial Monitor

  • I have printed the digital values obtained from DHT11 sensors.
  • Both temperature and humidity digital values are given in the figure shown below.

DHT11 Sensor Interfacing with Arduino Circuit Diagram

  • I have provided an actual circuit diagram for DHT11 sensor interfacing with Arduino.
  • Actual circuit diagram is given in the figure shown below.

DHT11 Features

  • The features are such parameters depending upon which a device can flop as well as features that can make a device more popular due to their uniqueness.
  • DHT11's major features are provided in the table given in the figure shown below.

DHT11 Applications

  • Most of the devices are usually known by their range of applications.
  • DHT11 sensor applications are given in the table shown in the figure below.

That is all from today's tutorial. If you have any problem you can ask me in comments any time you want. Till my next tutorial bye :)

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