Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I was thinking something like a multiplier or calibration in the softwareit: 1214692 said:Get a better regulator? Adjustable regulator (LM317)? Do some math; ADCvolts = 4.90*ADCreading/1024 instead of 5.00*ADCreading/1024 (assuming 10bit AD).
I guess this will workGet a better regulator? Adjustable regulator (LM317)? Do some math; ADCvolts = 4.90*ADCreading/1024 instead of 5.00*ADCreading/1024 (assuming 10bit AD).
Thanks,hi skm.
Read this link, ref ratiometric ADC
https://www.avrfreaks.net/forum/help-sensor-what´s-ratiometrically
Thanks. I needed thishi skm.
Read this link, ref ratiometric ADC
https://www.avrfreaks.net/forum/help-sensor-what´s-ratiometrically
Next time i will buy ds18b20, the water proof oneI would suggest that you looks at digital output temperature sensors.
3 wire sensors are the easiest to programme for. Enable the chip and it outputs the MSB. Each clock pulse gives you a new data bit. Disable the chip and it goes back to the start, so you don't need to read in 8 bit sections. Examples include LM71 and LM74. If you are using multiple ones, each needs a separate enable line.
2 wire sensors are a bit more difficult to programme for, as they need to be sent the address first by the microcontroller, but a wire is saved. If you are using multiple ones, you can usually have 4 or 8 on a single pair of wires. Examples include LM75, LM76 and LM77.
1-wire sensors don't even need a separate powers supply, just signal and ground. The programming is quite a lot more difficult, as they need to be addressed, told to read the temperature, supplied with power, left to read the temperature, reset, addressed and asked the temperature. If you are reading multiple temperatures, you can read as many as you want on one wire, although you do have to have a way of working out which one is which. Dallas make these, and the DS18B20 is the usual one.
Whatever you chose, they all allow you to read the temperature digitally, without worrying about mV of reference voltage variation. Most work over wide voltage ranges, and are generally just as easy to use as a stand alone ADC.
1. Yesterday i tested and found out that LM35 is not ratiometric, i used a variable voltage regulator to power the LM35 from 3v to 5.5v, its output remained the same.hi skm.
Read this link, ref ratiometric ADC
https://www.avrfreaks.net/forum/help-sensor-what´s-ratiometrically
my one did not, i use it without heatsink and consuming over 300ma which makes it run pretty hot.Have you considered that perhaps the 7805 output varies with temperature?
It was not stated that the Lm35 was ratiometric, only the Atmega ADC.1. Yesterday i tested and found out that LM35 is not ratiometric,
Hi EIt was not stated that the Lm35 was ratiometric, only the Atmega ADC.
The quiescent current draw of a LM35 is in the order of 100uA, it can drive a 1mA load, so have you considered using a TL431 voltage reference as a drive for the LM35.?
IMO the 7805 is not suitable for the stability you are seeking.
Also look at the LM135.
E