Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
LM35 outputs an analogue signal. 16F628A has no ADC. So, you can not wire it directly. However, you could use an external ADC. Or you could use a PIC with an internal ADC. Or you could use a sensor that outputs a digital signal, like the DS18B20 suggested by tpetar or the DS18S20 or MCP9700 or something similar.
If, however, what you need is to compare against one specific temperature (or two), you can make use of the internal analogue comparators and you can use these and in this case, can interface the LM35 directly with the 16F628A.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.