I want to build temperature controller use LM35+Pot with Mega 2560 board....Help

Hello
I want to build temperature controlled relay board use temperature sensor LM35. I can set sensor analog value use a 10k variable resistor. I have a arduino mega board.please anyone help me to give scratch .......

please anyone help me to give scratch ...

I think you mean "sketch"
You need to google "arduino LM35 example code"

mdjumethun:
Hello
I want to build temperature controlled relay board use temperature sensor LM35. I can set sensor analog value use a 10k variable resistor. I have a arduino mega board.please anyone help me to give scratch .......

The sensor gives you a 10mv / degree. So the easy solution is to hook the output straight to the ADC and do the math. If you need higher precision then you may need an amplifier.The voltage reference of the ADC is 2.56V ( or something like that). If you measure between 0-100 degree then the output will vary between 0-1000 mV.So you will need a 2.5 amplification. An OP AMP will do just fine.