## Sensor Help with Arduino

Hi all!

I need help with trying to figure out datasheets. I was digging through my electronics when I found and LM35 sensor. So I looked up the datasheet but I couldn't find out how to convert the analog output to a temperature. I found an i'ble on how to do it but I want to know how to find that information in the datasheet so that next time I get something I'll be able to do it myself.

I looked at all the curves and none of them seemed to be temperature vs. voltage.

I also looked through the whole first part and couldn't find the multiplier.

Also does that multiplier change with the amount of voltage you supply the LM35 with? Say I use 5 volts. Will it give a different reading over 4.5 volts?

There's so much technical and complicated data that I don't know what to look for.

Here is the link to the datasheet http://www.ti.com/lit/ds/symlink/lm35.pdf

Thanks!

I need help with trying to figure out datasheets. I was digging through my electronics when I found and LM35 sensor. So I looked up the datasheet but I couldn't find out how to convert the analog output to a temperature. I found an i'ble on how to do it but I want to know how to find that information in the datasheet so that next time I get something I'll be able to do it myself.

I looked at all the curves and none of them seemed to be temperature vs. voltage.

I also looked through the whole first part and couldn't find the multiplier.

Also does that multiplier change with the amount of voltage you supply the LM35 with? Say I use 5 volts. Will it give a different reading over 4.5 volts?

There's so much technical and complicated data that I don't know what to look for.

Here is the link to the datasheet http://www.ti.com/lit/ds/symlink/lm35.pdf

Thanks!

active| newest | oldestSince with transistors you only need three things I will explain them.

Watts max

Volts max

Amps max

Let’s take a MJE3055

90 watts

70 volts

10 amps

Watts divided by what you want.

This is current and voltage from collector to emitter.

So if you want to run on 12 volts

It is 90W/12V = 7.5 amps

If you want to run on 5 amps it is:

90W/5A = 18 volts

At volts max the max current you can pass through the transistor is 90W/70V = 1.3 amps.

At amps max the max voltage you can use is 90W/10A = 9Volts.

And Q is functioning at 50% of source voltage from collector to base.

Each component has its different pertinent information for what you want to do for instance the max frequency of a MJE3055 transistor is 2 MHz. so you can’t use this transistor in a 50 MHz. circuit.

And I bet you are more confused then you were when you asked this question.

Don’t worry if you like electronics, in time you will get it. After all if it was easy you wouldn’t need an engineering degree.

Joe

The output voltage from an LM35 is (IIRC) 10mV per degree C.

The Arduino input sensitivity is 5/1024, or roughly 5mV per bit, so you can read around 0.5 degrees of resolution

Read your input from the LM35 as a number 0...1024, and then

Volts = reading * 5/1024, then temperature = volts/0.01 = reading * 5/10.24

...or temperature = reading *0.488

Also don't I need to use a resistor with the LM35? On the second picture on the right were it tells me the scale thingy it shows a resistor and I don't know how to calculate it. Will I get a diff reading without the resistor?

Thanks!

0.325 x reading

Thanks.

Get it working in the basic mode first. And use my original scale.

You can work it out yourself. How do you convert the number from an analog read into a voltage ? Answer: its number *5/1024.

So, reading your sensor, you get a number n, the voltage you have read is n*5/1024. To convert that to temperature, every 10mV = 1 deg C, so your voltage 5n/1024 is divided by 0.01.

5/1024 = 0.00481.

0.00481/0.01=0.488

And thanks you brought a really good point I was missing. I was assuming the the analog reading WAS the voltage. Wrong. I have to convert it first. Correct?

Now I was asking how would I do it *if* the sensor's factor was 15- that would just help me see when I have two. Anyways, imma give it a shot.

Sensor XYZ has a scale factor is *12mV/deg C.*

Convert analog reading to voltage, 5/1024 = 0.00481

0.0081 / 0.012 = 0.675.

So I'm gonna multiply my analog reading from my sensor by 0.675 to get the C temp?

If that's right then I got it down. Thanks!