![]() Now we attach the Arduino board with the flex sensor. I’ve mentioned at the start of the article, I’ll share both simple simulation and simulation with Arduino Board. We have added this library the very first time, as you won’t find this library in the proteus library database before. You have designed a simple simulation of a flex sensor library for proteus. You may be wondering why we add this LC circuit with the flex sensor? We need to include this circuit because proteus gives a peak to peak value that we have to convert into the Vrms value. When resistance is maximum, the voltage on the voltmeter is zero, thus indicating no amount of bend.Īnd when resistance is zero the voltage appearing across a voltmeter will be 4.98V, confirming the value of bend as an output voltage on the flex sensor. Both output voltage across voltmeter and variable resistance are inversely proportional to each other.Why? You’ll get to know later in this post.Ĭonnect the Output ‘O’ pin with the LC circuit through voltmeter where we get the output voltage following the variable resistor attached with the test pin. Now search for the HEX file that you have placed in the proteus library folder.Īdd this file and click ‘OK’ … Before you run this simulation we need to design and connect the LC circuit with the Flex sensor. You can also double click the flex sensor to reach the ‘edit properties’ panel.To add this file, right-click on the sensor and look for ‘edit properties.’.Recall, we’ve already placed this file in the library folder of proteus. You can find FlexSensorAnalogTEP.HEX file in the library folder of your Proteus library folder. Now we’ll add the HEX file in the Flex sensor to run our simulation. When this Pin is HIGH it gives the value of bend and when it turns LOW it gives no value of bend. We need to add this pin for identifying the value of bend. This pin is not included in the sensor in real. TestPin = forth is TestPin that we require in Proteus simulation only.V = third is the voltage supply pin that receives 5V to power the sensor.O = second is the OUT pin that gives the Flex sensor value demonstrating if the sensor has identified the value of bend. ![]() G = first is the ground pin that you’ll connect to the ground voltage.This is how flex sensor appears on proteus workspace.įlex sensor contains four pins as follow: When you place this sensor on the proteus workspace, it will appear as follows: Select this file and click “OK” As you click OK, your cursor will start blinking with the flex sensor, indicating you can place this sensor anywhere you want on the proteus workspace.Now, click the ‘P’ button as below and write ‘Flex sensor analog’ in the search bar.Īs you do this, it will return the file as mentioned below. Without further ado, let’s jump right into the Analog Flex Sensor Library for Proteus.įirst of all, click the link given below to download the analog flex library for proteus.Īs you download this file, it contains two folders named Proteus Library and Proteus Simulation.Ĭlick the Proteus Library, it will open up four files that read:Ĭopy and place these four files into the proteus library folder. You can also sneak into the Analog PIR Sensor Library for Proteus that I’ve shared previously.Īnd if you don’t have proteus software installed in your system, check this post on how to download and install proteus software. I hope you’ve got a brief insight into what is flex sensor and why it is used for. 4.5-inch bend sensor and 2.2-inch bend sensor. ![]() In terms of varying resistance and size, these sensors are categorized into two main types i.e. The flex sensor is coupled with the exterior where the rotation of this exterior is directly related to the change in the sensor resistance.Ĭarbon or plastic material is used for the construction of these sensors where deflection value is sensitive to varying resistance. It is also known as a bend sensor that is mainly used in robot whisker sensors, door sensors, stuffed animal toys, and Nintendo power glove. Simply put, a flex sensor is used to monitor the value of bend. I’m adding both simple simulation and simulation with the Arduino board to help you better understand these libraries with microcontrollers and Arduino devices.īefore I go further and walk you through on how to download and simulate Analog Flex Sensor Library for Proteus, let’s get to know what’s Flex sensor first. I’ve been adding them over the last few days intending to design and share brand new libraries that are not a part of the proteus library database already. ![]() You should also have a look at Digital Flex Sensor Library for Proteus. In this post, I’m going to discuss the Analog Flex Sensor Library for Proteus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |