# How to use temperature sensor?

The basic principle of working of the temperature sensors is the voltage across the diode terminals. If the voltage increases, the temperature also rises, followed by a voltage drop between the transistor terminals of base and emitter in a diode.

Besides this, Encardio Rite has a vibrating wire temperature sensor that works on the principle of stress change due to temperature change.

The vibrating wire temperature meter is designed on the principle that dissimilar metals have a different linear coefficient of expansion with temperature variation.

It primarily consists of a magnetic, high tensile strength stretched wire, the two ends of which are fixed to any dissimilar metal in a manner that any change in temperature directly affects the tension in the wire and, thus, its natural frequency of vibration.

The dissimilar metal, in the case of the Encardio Rite temperature meter, is aluminium (Aluminum has a larger coefficient of thermal expansion than steel.) As the temperature signal is converted into frequency, the same read-out unit which is used for other vibrating wire sensors can also be used for monitoring temperature also.

The change in temperature is sensed by the specially built Encardio Rite vibrating wire sensor and is converted to an electrical signal which is transmitted as a frequency to the read-out unit.

The frequency, which is proportional to the temperature and in turn to the tension ‘σ’ in the wire, can be determined as follows:

f = 1/2 [σg/ρ] / 2l Hz

Where:

σ = tension of the wire

g = acceleration due to gravity

ρ = density of the wire

l = length of wire

do check all connections as per your programming, sometimes we connect wrong pins so do check that. also as it is temperature sensor which is based on voltage across diode terminals principle, check whether you used right formula logic .

Please check the pinout of your temperature sensor. Type the name of your sensor and see the pinout diagram. Then Connect your circuit accordingly.

Check the connections properly. Hold the sensor in a way that you can read LM35 written on it. The pins from left to right are VCC, Output and Ground respectively. Connect the VCC pin to 5V pin,Output pin to A0 pin and Ground pin to GND pin of Bolt IoT module. The analog voltage pin is directly proportional to the temperature in Celsius scale. Try to vary the temperatures to confirm the working of the sensor. Also, select the sensor as input pin while configuring in the Bolt Cloud.

check the sensor circuit is right and go to view dievice where you make the project on light monitoring device

First check whether the Lm35 sensor is properly wired. Sometimes it is possible that you mistook the 1 and 3 leg. For that I suggest to hold the sensor with flat side facing you. The leftmost pin is Vcc, middle one is Output and rightmost pin is Ground.
Make sure Vcc lies between 4-20 V.

Check the connections is properly or not , do use after proper steps , deploy configuration from the dashboard.and check the output after some intervals and also make sure that the vcc pin to 5v (red) , output to A0 (orange) and ground pin to gnd (brown)

Check whether the connections are proper, whether the VCC pin is connected to 5V, the output pin to A0, and the ground pin to GND. Deploy configuration and check the output in intervals of 5 mins or more. Try connecting some other components to check whether the Bolt Wi-Fi module is connected to the cloud. Also do not forget to check the code.

Select a temperarure sensor that best suits your requirements first in terms of temperature range, interface compatibility and accuracy. Connect the temperature sensor to 5V on arduino and the output pin to an analog input pin on Arduino. Search for the appropriate library in the Arduino Library Manager or download it from the manufacturer’s website. write a program to read data from the temperature sensor. Include the necessary library and define any required variables. Use the library functions to read the temperature value from the sensor. Connect your Arduino to your computer, select the appropriate board and serial port in the Arduino IDE, and upload the code to the Arduino.