<?xml version="1.0" encoding="utf-8" ?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
				<channel rdf:about="http://www.8051projects.net/">
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>
				<dc:language>en-gb</dc:language>
				<dc:date>2009-01-07T22:17:09-08:00</dc:date>
				<dc:creator>contact@nospam.com</dc:creator>
				<admin:generatorAgent rdf:resource="http://e107.org" />
				<admin:errorReportsTo rdf:resource="mailto:contact@nospam.com" />
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>
				<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
				<items>
				<rdf:Seq>
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t5757.html" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>hI,How can i make a sensor for checking moisture in soil and air humidity? ckts on the net not working! I am working on a control system which needs these parameters where can i get help on this?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>kts on the net not working! I am workingyou might be missing something...  people in our field seldom upload their work unless tested..  give us the reference to your work...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Shyam,Finally my soil moisture sensor is working. I have not tested it fully. Will upload the ckt and resposnse voltage ranges for it. I need to make a humidity, temp and light sensor now and pH if possible. Temp is easy using LM35. Humidity is a problem. unable to get ICs here for it. Need todevise another way. Light can be done using LDR but i want a varying voltage or resistance response just as LM35 gives. Any suggestions? Pls help me out...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>LDR is good for light sensing. or a photo transistor for a better voltage o/p</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>look here for humidity sesnsor: http://www.sumeetinstruments.com/sensors.htm</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Shashi thanks for the link. I tried mailing them as no details are given on the site but the mail couldnt be sent, probably the company has shut down! Om Technologies is the only shop having a himdity sensor kit @750 Rs and he says he has not tested it. No one has any of the ICs i searched online and felt that it could be used! Does anyone have any suggestions?Ajay I tried LDR but its respons is On-Off kind but i need a varying response. Atleast 4 levels(On Off givem me 2). Am trying using a opamps may work. not completed it at the lab. Photo transstors am unable to bias them right. need to get some ckt for it. (I got QT120 photo transistor)</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Maybe I can help you with the humidity sensor, Amit, it is HIH3605 from Honeywell. Linear O/P 0.8-3.9V at 5V supply. Details at Honeywell site. Product is available in market, else try RS components. Thanks.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>LDR is actually a variable resistor who's value changes according to intensity of light falls on it. Resistance of LDR is inversely proportional to light intensity.you can connect LDR's o/p to ADC and get 256 levels   more than what you wanted..</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi ajay i know about the LDR but the problem is that the voltage across it switces instantly in a dark/light condition. so it effectively gives only 2 values. Have u tried it with the ADC directly and got 256 levels? I have managed to get 3 descrete levels out of it by sing the quad opamp LM324 and then to a summer today! Not yet soldered and tested properly.Chiru, Thanks for the info. I found about the HIH series of Honeywell and i got circuits based on 3605 and 3610 also but in Bangalore I am unable to get a dealer! no shop on SP road has it! RS components only sells finished goods and i dont want a device that gives me the humidty readings on a display because i need to give that as an input to my microcontroller.Can u name any dealers or any ither ideas for making the sensor?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>hmmm il try that out... need to get to the lab for that. as of now the quad opamp gives me 3 leves. the reason i dint use the LDR as u mentioned is because i checked the voltage variations with multimeter under different lighting conditions, and the ldr just switched directly. il try this way u mentioned also tomorro.can u pls help me on the humidity sensor! that is wats not happening now. temperature il be doing with LM35.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>do not use opamp... try connecting LDR between ADC and VCC directly... something like this..&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,,,,VCC |----/&#092;/&#092;/&#092;----> ADC PIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LDRmake it work like a variable resistor, usually with opamp it act like a switching device</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Ajay,I tried doing the light sensor the way u mentioned but i am not getting a varying voltage response! why is that? the voltage just switches from a low value to high and vice versa!! i used LM324 and summer to finnaly get 3 levels! a huge complicated setup!!!Was having a quiery regarding LM35. Can i directly give its voltage o/p to the adc? i use resistance from 80k to 470k but my voltage readings dint cross 1V. Wont be too low as an i/p to adc? Pardon me forbeing so lame (I am yet to read the data sheets    ) I am going bnkers now. been 2 weeks and just done 3 sensors, yet to test them properly and unable to get the IC for humidity sensor!</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>The LDR's resistance can reach 1M in dark conditions and 100 ohms or so in full brightness.So it naturally follows that you'll get an instantaneous swing between (almost) 0v and (near) Vcc under the dark&#092;bright condition.You may add a resistor in parallel to the LDR and another in series to limit the swing.With the values shown and Vcc=12V you'll get ~4.85V if LDR=1K                                                     ~6.1V if LDR=2k                                                     ~7.7V if LDR=10K                                                     ~8.2V if LDR=1MYou may fine tune the resistor values to suit your needs.Regarding LM35 you need to give it's output directly to the ADC;no resistors.It will output 1.5V at 150C.As for the Honeywell humidity sensor,a friend had bought it from Emaar Impex for ~450 bucks.You may drop them a mail.....http://www.emaarindia.com/contact.html(their website sucks)</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>thanks sashijoseph for this info   i did not know this thing about LDR.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi shasi,Thanks for the update! Il surely check it out today and let u know about  the results   Thanks for the link too. Il try getting the IC. Need it desperately.Today have to start testing the bands and regions of operation after interfacing with the adc. Il need all your help and Ajay and Shyam, yours too to code!!Thanks againCya</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>To add some finer points for Amit with LDR and LM35   Most of the ADC chips works with 5V, so its better to power the LDR from 5V too. As for the circuit suggested by Sashi it is perfect, only change the 1K with 10K and remove the 2K2.There should be small resistance like 1K at the OP of LM35 so as to prevent any short circuit conditions for the IC. You may also consider shunting the input of ADC with 0.1uf to bypass noise.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Yes Amit,    contact Mr. Paresh 09967022244 02223869472 of Precious Electronics Corporation, he placed at Mumbai, tall him you got this information from me -    Chiranjib from Kolkata, he will help you out with humidity sensors. If he cannot give sensors of honeywell ask for tech details of the same.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Shashi the ckt wrked like a charm! thanks a million. My board size has become 1/4th of wat i made!!!I am using it with 5V supply only.Chiru, thanks for the details. I am trying through a person in Bangalore now, if its unavailable il surely use ur contact. And il surely make use of your tips in my project. I have already solderd the LM35 so cant make any changes to it. But most probably i will not be using the ckt because the HIH3605 humidity sensor needs a temperature sensor for temperature compensation in its calculation and a specific IC has been mentioned (DS2438) so i wil be probably using that only for my temperature readings.Any more suggestions please do post it here. I shall try incorporating it.Another problem i am facing now is that my faculty says that the project is too basic and that it is doing nothing great nor is it innovative!!! so i have to think of something more to add onto it!!! Pls help!!!!</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hey,It seems the 3605 and 3610 are outdated and now only the 4000 series are available @ Rs. 750+VAT!!! Also i am unable to find a circuit for it online. I think its not wise to but the IC without having a ckt that is sure to work.    Wat do i do??? Any ideas? Pls help!!!! I really need to find a solution to this problem!And i am yet to start coding for the damn project</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Dear Amit, the HIH4000 is smiler to 3605, find the same in the pdf, download it with search for HIH4000 pdf   . As for temp compensation, i don't think its required given the recommended operating temperature zone, the shift in o/p voltage with temp and the application   .   You may add in your code some indications for comfort limit like hot, dry, wet, comfortable, etc., depending on the data collected, to make the project interesting   .</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Chiru,Thanks for the info.I did go thro the datasheets earlier but...they dint make much sense to me     I am able to get the HIH4000 locally @ Rs 750 shall i buy it? I am attaching a pdf document in which i found a ckt for the HIH3605. (humsensor 3605IC.pdf)Pls do go through it and let me know of i can do it. I shal only then proceed with buying the ic. Also i found an interesting ckt done by someone using an open cap in an Astable multivibrator to sense humidity. Il upload that too. (Humidity_opencap.pdf) Pls do have a look   Il surely incorporate ur ideas in the code. Any more h/w or sensors u suggest could be added to the system? I am also planning to  make it an sms based system, but that is Stage 2. I need to get this done 1st and foremost. Stage 3 is to make a multiprocessor system where i can use a master controller to control other controllers which will be interfaced with the sensors and actuators.Do u think it is viable? humsensor_3605ic.pdf humidity_opencap.pdf</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Chiru,No issues with the late reply. My work's on hold anyway! I think i have developed RSI. Bad pain at the left back of my head, neck and shoulder.And was busy with seminar stuff.But u have given me reasin to cheer   I needed assurance on the ckt for the HIH4000 b4 buying it and now i can buy it in peace and try it out. The ASD &amp; ASC ics u mentioned also from honeywell? And how do i use them for the overhead tank level gauge? that will be a good feature for the system. Pls do post the ckt for it if u have. els il google it    Wel my system aint critical at all... just need to show that something practical and usefull can be made</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi...with 3605 measuring humidity is a cinch.You don't need that exotic dallas chip.You can easily use LM35 for temperature compensation.Just measure the 3605's output voltage with an ADC and the temperature with  the LM and apply the fol. formulae for calculating RHSensor RH = (VOUT / VSUPPLY) – 0.16 /0.0062, typical at 25°CTo correct the calculation for temperature and compute true RH, use:True RH = sensor RH / (1.0546 –0.00216 T)where T is in °CThe open cap one could be used to detect changes in humidity,but to measure humidity you would need some kind of a relation between frequency(or capacitance) and humidity,which isn't provided.....so it's pretty useless.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hey shashijosephThanks for the post. Well the formulae for using with the 3605 is given in the document i had uploaded. But i am not getting the 3605 locally. The HIH4000 is available and much cheaper than the 3605 (from bombay) so i needed to know if i can use that instead of the 3605 in the same ckt.That open cap thing seemed to be really useless to me too.Pls let me know if i can use the 4000 in the same ckt?Can i just read the voltage at pin2 of the HIH and keep my LM35 away from the ckt? and then do the necessary calculation in my code right?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi, sorry for being late to reply   . Sashi has already clarified something. But i think you can go straight and use HIH4000. No LM35. Just feed the pin 2 signal to ADC. The O/P voltage is proportional to RH (at reg 5V supply) and there is a little deviation with temp which may be overlooked for your kind of application   .You may consult the data sheet for the same   .Want to add a barometer to your system   , add one ASDX015D or ASCX15DN pressure sensor to your system (voltage o/p at 5V). You can also make overhead tank water level gauge etc. with this   .This sensors are from honeywell, and i am using one 1psi sensor for a critical medical equipment for a long time, and am more than happy (O/P directly connected to ADC).</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Amit get wel soon   . ASCX and ASDX series pressure sensors are from honeywell (formally Sensym). ASCX is temp compemsated but costly. Both ASCX and ASDX are amplified voltage o/p 5V sensors, unlike normal 4-20 mA or mV o/p types. You can also use a cheap 4-20 mA type (14PC series) with a series resistance connected at the ground end and read the voltage against that res. There are also some cheap sensors in the market with reasonable stability, but ask for pin out details.  I shall try and give you the idea for cct of a tank lavel gauge. Its basically a rigid tube with one open end and the other end connected to the sensor, the open end facing down is dipped into the water. Initial or null pressure is measured with no water in the tank and set with the o/p voltage as zero lavel. Similarly fill the tank and take reading/s for other level/s (water goes inside the tube and the positive pressure gives a corresponding higher voltage o/p)  So go ahead...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Chiru,Thanks a ton for the good wishes and ur prompt replies    really boosts my morale!!! il surely try and add the sensor for the water level indicator. I had read of another kind of ckt for this sometime earlier it was based on some varying resistance. dont remember it though now   Started working on getting digital o/ps from the adc for my sensors and i hit a roadblock! I get crap o/ps!!! tried with all the ICs (0808) in my lab still no success! anything i should keep in mind while using an ADC? I have connected al the unused pins viz. In1 to In7, EOC, SOC, etc to +5v I tried connecting the pot to In7 and In3 (as mentioned in the datasheet) to use only 8 or 4 bit o/p but the result was the same. Am i missing out on something???Also i think its high time i started coding... wat do u think should be my approach? I also intend to have a RTC in teh system and also include a manual over-ride incase of system failure!</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Amit, I think you are familiar with ADC conversion. If not, first try with 0804, try the "free running connection" in the Harris Semiconductor datasheet   . Conversion time is very important. Use adequate delay. The clock should be within recommended frequency range. I think all analog inputs are within 0 to 5V DC, with v ref set to 5V. Follow the "timing diagram" properly. Check power supply for noise, minimal wire length ( if unavoidable) at analog input   .These should solve your problem (provided the code is OK, chip is not fake).</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi chiru, il look into the datasheet of 0804 as u mentioned. I used the NS 0808 with i/ps in the range 0 to 5V either from my sensors or  variable supply (both yielded no o/p). infact i encountered a peculiar problem of changing digital o/p everytime i turned ON the trainer kit but eventhough i changed nothing! I am not using it with the uC so i had clocked the ALE. I shorted the SOC and EOC pins. and the ckt i tried was almost similar to that given in the datasheet of NS 0808!Il try wat u have suggested. gotta check if i have 0804 in the lab though    Roadblock after roadblock</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Amit,The LSB of the digital o/p may drift a bit even with a stable analog i/p   A steady clock is required at the CLK i/p for the functioning of the ADC itself, why should you clock the ALE   I didnt find any SOC pin of 0808 in the National ds, is it START   is it supposed to be shorted to EOC   You may follow the typical application at p12 of National ds, also check figure5 at p7   There is no ROADBLOCK if you are open in your mind</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi chiru,Thanks for the info.Yes I did meant START (Pin6) by SOC. I had shorted it to EOC basically to use it free running mode (for continuous conversion just like how its done in 0804). I was trying to use the ckt mentioned in Fig. 9, Pg 9 of the NS datasheet. Il surely try out wat u have suggested tomorrow.Oh and i forgot to mention...the  ADCs in my lab were bad   thats why i was not getting the o/p! I tried with the 0804 today and it worked so i have purchased 0809 (as 0808 was not available) and i shall try it out tomorrow. Could u pls tel me the diff b/w 0808 &amp; 0809 i really couldnt figure it out from the ds!I am facing another problem now i hope ul be able to give me a solution to it. In the ckt i uploaded for the HIH3605 in the 1st post of teh pg, they have used 2 diodes - BAT54S. It is not available here, i spent an hr today at the shops but couldn trace it! could u suggest an alternative. I shall look into its ds and try to find something. And yes...as u truly mentioned ... "There is no ROADBLOCK if you are open in your mind ". Thanks   bye for now</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi amit, you can take some info from tutorial section if you want.. and keep working for learning   you are doing a good job.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Thanks Ajay   il surely look into the tutorials. i hav exceeded my bandwidth for this month     so wil do it on 1st march only. u guys are really helpful and motivating ... thanks a lot!!! hope il gain some knowledge n wil be help some more noobs lik me sometime in the near future    bye for now</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>You don't need those Schottky diodes.They are used for supplying voltage from the 1-wire interface.You wouldn't be using that Dallas chip(in the attached pdf) would you?Simply provide 5v regulated voltage to the HS and monitor it's output voltage.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Ajay and Chiru,Pls read the 1st post on this pg.Tried with the 0808 today as u mentioned, but i used it in free running mode and not with uC. so i had to separately connect ALE (tried it both ways i.e. toggle and also permanently high) and as i had seen on another site online i had shorted START and EOC. Clock = 400kHz - 700kHz (mostly 650kHz). I did get desired o/p ... but not always. infact below 1V i dint get a correct o/p. Above that it was not consistantly correct o/p. sometimes i would not get it. and generally i was getting double than wat i was supposed to get (i.e if my i/p was 1V the digital o/p was 2v).Can u pls tel me wats wrong! this is getting really frustratimg. Cant move ahead!!! unless i am sure it works only then i can test it with my sensors and get the operating bands and only then can i start the biggest part of the proj - the coding!Also am unable to get BAT54S for my humidty sensr and the ds shows it as a 3 terminal device (iv not studied it properly) but in the ckt dia its been shown as 2 terminal only...Pls help asap!!! :'(</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Amit, ADC0808 has max error of +/- 1/2% against 1% of 0809, it is a superior converter   BAT54S is dual Schottky SMD diode, you may use two BAT42 or BAT85, they are available   I am confused with what you mentioned in your last post, will work on it and let you know shortly.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Thanks Chiru and Shashi,I dunno wats wrong, the ADC doesnt seem to be consistant at all! Behaves wierd!!! Today i tried it agin. Started with 1.5V (increased till 4.5V ) and got near perfect o/p but i tried for 0.5V and got garbage. after that i dint get a single correct o/p even for the same i/ps i tried before!!! did i spoil the IC? i dont think i did. I faced this same peculiar problem yesterday also but today i used the same IC and got correct o/p initially!I will not be using the Dallas chip in the humidity sensor ckt. Should i use an LM35 or il just stop at the o/p of the HIH4000? eliminating the RC ckt also? So in that case i needednt use the BAT54S diode? or can i replace it with a zener?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Maybe a noise issue for the ADC.......have you used long wires at the i&#092;p?Have you used a regulated power supply and proper bypass caps at the ADC Vcc pin?As for the HS you may use LM35 for temp correction(if you want greater precision) and no need for the diodes.Just use a regulated ps.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Amit, i don't know if the 0808 is bad   , but in case you plan to buy a new one, shift to serial ADC (saves space) and buy MCP3208   . It is 8 ch serial 12 bit ADC from Microchip. Enclosing a 8051 code for the same to scan the 8th channel whenever the ADC is CALLed (i use it with a 2051   ), the result is stored in R2 for MSB and R3 for LSB. It is a guideline for you and modify it for other channels   .CODE:;TEST ROUTINE FOR MCP3208 WITH 8051<br />&nbsp;<br />CS&nbsp; &nbsp; &nbsp; .EQU&nbsp; &nbsp; P1.4<br />CK&nbsp; &nbsp; &nbsp; .EQU&nbsp; &nbsp; P1.3<br />DIO&nbsp; &nbsp; &nbsp;.EQU&nbsp; &nbsp; P1.2<br /><br />; -:IN &nbsp;CS:---&lt;---:P1.4 &nbsp; :<br />; &nbsp;: &nbsp; CLK:---&lt;---:P1.3 &nbsp; :<br />; &nbsp;: &nbsp;DOUT:--->---:P1.2 &nbsp; :<br />; -:IN DIN:---&lt;-I : &nbsp; &nbsp; &nbsp; :<br />; &nbsp;MCP3208 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8051<br /><br />ADC:<br />&nbsp; &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; A,#0FFH &nbsp; &nbsp; &nbsp; &nbsp; ;DIN word for MCP3208<br />&nbsp; &nbsp; &nbsp; &nbsp; SETB &nbsp; &nbsp;CS &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;Make sure /CS is high<br />&nbsp; &nbsp; &nbsp; &nbsp; CLR &nbsp; &nbsp; CS &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;/CS goes low<br />&nbsp; &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; R4,#05 &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;Load counter<br />LOOP1: &nbsp;RLC &nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;Rotate DIN bit into Carry<br />&nbsp; &nbsp; &nbsp; &nbsp; CLR &nbsp; &nbsp; CK &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;SCLK goes low<br />&nbsp; &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; DIO,C &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;Output DIN bit to LTC1298<br />&nbsp; &nbsp; &nbsp; &nbsp; SETB &nbsp; &nbsp;CK &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;SCLK goes high<br />&nbsp; &nbsp; &nbsp; &nbsp; DJNZ &nbsp; &nbsp;R4,LOOP1 &nbsp; &nbsp; &nbsp; &nbsp;;Next bit<br />&nbsp; &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; P1,#04 &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;Bit 2 becomes an input<br />&nbsp; &nbsp; &nbsp; &nbsp; CLR &nbsp; &nbsp; CK &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;SCLK goes low<br />&nbsp; &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; R4,#09 &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;Load counter<br />LOOP2: &nbsp;MOV &nbsp; &nbsp; C,DIO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;Read data bit into Carry<br />&nbsp; &nbsp; &nbsp; &nbsp; RLC &nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;Rotate data bit into Acc.<br />&nbsp; &nbsp; &nbsp; &nbsp; SETB &nbsp; &nbsp;CK &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;SCLK goes high<br />&nbsp; &nbsp; &nbsp; &nbsp; CLR &nbsp; &nbsp; CK &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;SCLK goes low<br />&nbsp; &nbsp; &nbsp; &nbsp; DJNZ &nbsp; &nbsp;R4,LOOP2 &nbsp; &nbsp; &nbsp; &nbsp;;Next bit<br />&nbsp; &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; R2,A &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;Store MSBs in R2<br />&nbsp; &nbsp; &nbsp; &nbsp; CLR &nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;Clear Acc.<br />&nbsp; &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; R4,#04 &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;Load counter<br />LOOP3: &nbsp;MOV &nbsp; &nbsp; C,DIO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;Read data bit into Carry<br />&nbsp; &nbsp; &nbsp; &nbsp; RLC &nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;Rotate data bit into Acc.<br />&nbsp; &nbsp; &nbsp; &nbsp; SETB &nbsp; &nbsp;CK &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;SCLK goes high<br />&nbsp; &nbsp; &nbsp; &nbsp; CLR &nbsp; &nbsp; CK &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;SCLK goes low<br />&nbsp; &nbsp; &nbsp; &nbsp; DJNZ &nbsp; &nbsp;R4,LOOP3 &nbsp; &nbsp; &nbsp; &nbsp;;next bit<br />&nbsp; &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; R4,#04 &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;Load counter<br />LOOP4: &nbsp;RRC &nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;Rotate right into Acc.<br />&nbsp; &nbsp; &nbsp; &nbsp; DJNZ &nbsp; &nbsp;R4,LOOP4 &nbsp; &nbsp; &nbsp; &nbsp;;Next Rotate<br />&nbsp; &nbsp; &nbsp; &nbsp; MOV &nbsp; &nbsp; R3,A &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;Store LSBs in R3<br />&nbsp; &nbsp; &nbsp; &nbsp; SETB &nbsp; &nbsp;CS &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ;/CS goes high<br />&nbsp; &nbsp; &nbsp; &nbsp; RET &nbsp;<br />&nbsp;</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Chiru....how much does it cost buddy?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>What cost, Sashi</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>OMG!!! Well the cost of my proj is going up!!! Well, today i tried again with the 0809 and guess wat at IN7 i got precise digital o/p!!! exactly the same as expected. even for 0.2V.     And then comes the bad news... it dint happen for any other i/p lines! we are not going wrong wit the address lines am sure of that. now i dunno wats wrong! Is it possible that i have spoilt bot my ICs? Well i had 1st tried them using IN0 and IN3 only and the o/p data lines to the LEDs on my college IC trainer kit. Is it possible that they tried to draw more current and in an attempt to drive them my IC got spoilt? But i always checked the IC from time to time nad it never heated up! Wat is wrong? Tomorro i have planned to put it onto a pcb rather than get stuck with the bread board or trainer kit. that way can avaoid unnecessary noise also.Well i am not a photography lover. Few of my friends are and i was just a volunteer helping to organise the event. I do love scenic and macro photography but... have never tried though. Will surely add u on gmail     Pls tel me wat do i do about the ADC!!!     Cya for now</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi shashi n chiru,Well i am using a IC trainer kit in my college lab and using the power supply n gnd from that only. i have not added any bypass capacitors. Yes the clock was not a clean square wave it had a bit of distortion at the +ve edge. could that be the problem? Il try using a capacitor for that tomorrow.Yes how much would that ADC cost? I have just spent Rs 150 on 2 new 0809s. I dont think i can buy another expensive IC    Are you sure about not using any diodes? The IC is very expensive @ Rs 750 + VAT. I have not yet bought it. No improvement in the project still. Had a photo exhibition so was busy with that past 2 days. will get back to work tomorro onwars ... but i dunno wat to do. just sitting and there is no +ve result!</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Yes Amit, all serial ADC's are dear. A 2ch will be around 120/- and 8ch as high as 400/- in Kolkata   . Give me some time, i shall get back to you with a working ckt of 0808   .Diodes are not required, stick to the simple ckt in the DS. Supply should be neat and not exceeding 5V DC   .  You love photography? i do. For that we can talk elsewhere, maybe. My id is ckarmakarams@gmail.com</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Well Amit, since one of the i/p is working, the ADC is not bad   . You say the address is ok, still once more check it as, for ch7 it should be #7 (all high), ch6 = #6 (high high low), etc. Remember for each analog ch to be scanned, there should a complete cycle to get a valid o/p   .   If it still doesn't work, then the input logic or the mux is spoiled somehow    .And never mind about the photography thing.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hmmm, i did give it enough time for the conversion and yes, i did follow the addresses correctly. will try it out again els i have got a new 0809, wil try with that.    N u must check out the link http://www.flickr.com/photos/shakirfm/ Its my friends. hes an amazing photographer. got interested in it cos of him. hes a macro guy too. Cya for now. do let me know wat do i do to troubleshoot the damn thing</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Take it cool, start it afresh   Checked flickr, excellent, thanks and regards to your friend.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Tried afresh with the new adc but the same prob :'( But found something interesting... the IN7 works even in the new IC. also the junk o/p is the same in all the 3 ADCs. is it possible that i am making a mistake? i have checked and rechecked the address lines and also tried al kinds of permutations and combinations but to no avail    Dunno wat to do now. planning to interface it to the 8051 and try directly wat happens. probably am making a mistake while using it in a stand alone mode. Any idea on AVRs? i heard that the ATmega has built in adc. but how about programming it? i have no skills in embedded C and had planned to code the 8051 in assembly only since i have learnt it.Wat do i do now?Help Help!!!!</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Take the plunge buddy.For now stick to the 8051 since you learnt 8051 programming.Try out a few projects with ADCs,I2C,SPI,LCD etc etc and then you can migrate to any other platform.The transition won't be too difficult.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Amit, follow Sashi's suggestion    In case you need to change, shift to PIC, start with 12F675    There are lots of circuits and projects available on the net, moreover Microchip gives good application support for its chips.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>that opamp is for calibrating the LM35 to obtain precise results.If one ortwo degree error will do for your application,then you don't need it.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Thanks Shashi and Chiru,Il keep that in mind. I did start reading on the PIC 16F74. But there are no good books on them infact few ppl i asked said that u can only learn bout pics from their datasheets! is that true? Pls do suggect books, if any for them.Yeah and another good news!    The adc finally worked! All i did was to clock the ALE also with the same signal given to CLOCK of ADC. and it works. perfect o/p at 6 channels and a slight 1 t0 2 bit error at 2 channels. will check it for lower values also tomorrow. While using the LM35 with ADC should i use an opamp? I think you told me not to. I had already put it on the board but. So should i pull it out now? But in this link http://www.freewebs.com/maheshwankhede/sensors.html (pls check it out.) he mentions that an opamp is required? Wat do u suggest?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>abbas1707</dc:creator>
						<dc:subject></dc:subject>
						<description>yes opmp is needed to fulfill the "signal conditioning"you can also use a divider network for this.but as sashi said , you can connect lm35 directly with adc</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Thanks a lot. il keep that in mind. wil be caliberating my sensors tomorrow for use wit the adc. and the next step is the programming.I wanted to know. do i need to provide the OE, START, ALE signals from the uC or can i do them as i did in the stand alone mode and only supply the addresses A, B , C  by the uC and read the data thro it? after reading the data from the ADC i plan to cyclicly display them onto the display or to use buttons for each sensor so that when u press a button, that sensors reading is shown in the display. Also an actuating mechanism wil be controlled by the uC for each sensor such as artificial lights, motors, pumps etc.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Amit, to start with PIC, download the book "PIC in Practice A Project based Approach 2nd Ed." Its available for download in this site itself (in fact there are others too)    Do not jump to 16F74, start with simpler ones like 12F675, 16F88 16F818  etc (they all have build in ADC)   . If you are using a uC, why to feed control signals manually    of course you can have switches for data out.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Yup Chiru is right......with a uc there's no point doing it manually and moreover in free running mode how will you decide exactly when to read in the data?So do it the right way and believe me it's very simple too.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hmmm oki. Il keep that in mind. the basic reason i thought of not giving al signals to the uC was to save the i/o pins as il be needing quite a few. I was thinking of only controlling the address lines by the uC and obviously data lines also wil go to it. Since my ALE is connected to CLOCK in the free running mode i thought of keeping it that way only. Do u think its not right? can u pls tel me the basic part of the code... (dont get me wrong) i just mean the sequence of the control signals. Or can i use the same as mentioned by Mazzidi in his book?Also i felt that since OE and START can be always connected to +5V and i can just read the o/p as and when i need by changing the Address lines. But then wont my EOC always be low and trigger my uC interrupt!Am also confused with the algorithm for my code. need to code it properly as i need to store each data for each sensor in one shot to stack and then display onto the LCD. Then check for the thresholds and perform control operations!    Lots of questions    sorry... my 1st proj on a uC. I thought i was good at this and now am busted!    K then waiting for u guys' expert advice... thanks a ton guys!!!!    cya</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>You can follow Mazidi for programming the ADC.And for starters you may follow these steps......while(1){get_adc(temp) x 10   => T    //get 10 samples for temp and store the average in T            get_adc(hum)   x 10  => Hget_adc(ldr)      x 10   => LDisplay(T)Display(H)Display(L)if(T>Tthresh) do .....if(H>Hthresh) do ....if(L>Lthresh) do .....some_delay()}</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi shashi thanks for the idea. this was basically wat i had in my mind. but i had not thought of having the avg of 10 values. as i thought il keep displaying the variations on a real time basis. I am basically foxed on the reading the data and storing into stak part. and another prob! i have not got a hold on programming the uC in C so i am stil stuck to assembly level programming only    Also i was having another doubt. how do i provide a clock to the ADC? i had thought of 2 inverters with an RC this was generating a 850kHz clock but wil i be able to synchronise the ADC with the 8051? I wil be using a 11.0592 crystal for it. In Mazidi he shows a diagram where the same crystal is tapped and a propagation delay is introduced by means of cascaded d flip flops. can i stick to the inverter buffer or the Mazidi way or do u suggest something else?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>and another prob! i have not got a hold on programming the uC in C so i am stil stuck to assembly level programming only You call it a problem?Many would love to be burdened with such a problem(asm skill)   As for the clock you can directly feed it from the 8051 using  timer interrupt.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>well thats the reason my preference for newbies is to use assembly first rather to go for C. C makes you lazy   and you find things very very hard if you have to write a code in asm.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Wel my skills in assembly are nothing great either... but farely decent. Regarding the clock, using timer is a very good idea as there wil be no synchronisation problemms and ul get a clean pulse but my problem is that i am trying to reduce the no of pins of the uC. This is mainly because i am having an ADC, LCD (probably buttons for it...which i most probably will have to eliminate and use a time varying display) and also mtors, relays etc to my uC. so i need to be careful with the no of pins i use for everything.   Also later i plan to make it an sms based system so that wil again need the serial commn pins! And my stage 3 is to make it a multi processor system (hope i can achieve that b4 the deadline).    Another embarrasing problem that has tied me down is that i am stuck with making my power supply. got the +5V but in an attempt to get -5V i blew the thing up (dint refer datasheets of 7905!!!) and all subsequent boards were al screwed up (pardon the language)     i need to redo it carefully now!!!!And i am yet to start coding    :'(</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Don't worry ...... we all make mistakes.I remember wiring a 78L05 like a 7805 without caring to read the datasheet and then ending up with a lighter pocket.So make an estimate of exactly what all stuff you would be hooking up in ver1 of your project.Then calculate the total pin requirement and if it crosses whatever is available then you can start using alternate tricks to reduce pin count.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hmmm il surely keep that in mind. Its been a real learning though slow experience for me. hope i can get this power supply sorted out tomorrow. I have started working on how i want the entire setup to look and work like. just been too lazy over the week end.Also on the ADC and uC part i had a doubt, do u think there wil be synchronisation problems if i do not use a clock sourced by the crystal or the timer feature as u mentioned? also wil noise be a problem if i use a slightly longer wire for connecting the clock of the ADC from the uC?Regarding the conncetions of sensors to the ADC. do i need to use any resistors b/w them to limit the current? My biggest concern is that the data sheet of the humidity sensor HIH4000 (my most expensive component- it costs as much as the rest of my h/w!) datasheet mentions the max i/p current as 500uA and the ideal operating current is 200uA. They would sertainly have ensured it does not draw more current than that unless at the o/p we happen to draw more current. so will the ADC cause trouble?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>sure   start a new one.. coz it will be easy to have a follow-up then</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Okay! Now I am thoroughly confused!!!I tried making a look up table for the LM35. But i realised I need to have 2 separate LUTs, one for the ten's place n the other for unit's place (Pls tell me if it needent be done that way) and I am unable to figure out how do u access the tables then?Firstly I must mention I have connected the LM35 to a uA741 with a gain of 4.8 which is connected to the ADC. So at 25 deg C the o/p of my ckt will be 1.2V. The output of the ADC will be 3Dh ie 61d. How do i convert this to ASCII and display it now!I initially though that its wiser to calculate the corresponding ASCII value and store it in a LUT n access it... but now i feel its far too complicated. But i need to use a LUT because the formula for the Humidity sensor is far to complicated to be done in the uC so i have to manually calculate it for the range of voltages and store the corresponding value in a LUT.Pls help    Also. How do i display degree symbol. The ASCII codes table in Mazidi doesnot list it...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hey. Hows everyone? looks like its been a busy monday for all   Mine too. I finally hav my power supply up and i am getting +5 &amp; -5V!! Hurrah!!!And that leads me to my next hurdle. Programming the uC. I made a small code to try testing the LCD. And also another for the ADC. and then thought il integrate them to c how it works... and to my despair i am unable to proceed beyong the build option. I somehow managed to change somesettings and generated the hex file also. but beyond that i see no option o program. how do i procced? pls help asap.also pls go thro my previous post and let me know about that current and synchronisation doubts i had..BTW since my doubts on the sensors have been cleared for now and i am stuck in programming part etc, should i start a new thread for that or shall i continue here??  Cya for now</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Amit, couldn't keep in touch, was busy at Mumbai    Give the blue print of your project, we shall try to help u with the code</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>nice to see more helping people around  good work Chiru and Shashi...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hey am so sorry for not posting for over a week. My connection was down. Thanks to BSNL!!!! Wel it was finally set right today. Besides that i was stuck up at college too due to some accreditation work and also had to do my 1st project seminar. Which by the way was a hit. The idea was appreciated alot and the presentation too impressed the evaluators. Also i have my internal assesment tests on monday n tuesday so il be stuck til tuesday due to that.After doing some realistic work, it feels sick to go to books!Coming back to the project. I have made my ADC board. I used a Schmitt triggered NAND gate (4093 if am not mistaken) to generate about 700khz clock. I need to make the uC board now n tehn try the code on it. About the blue print, I  have not yet drawn the ckt, but i have it on paper. N yeah another prob is that i was planning to use the ADCs EOC as INT0 of uC but i think that cant be done right. The following is my flow for the prog on which i have started coding:1.Switch on2.Display initialisation msg3.Initialise ADC4.Read sensor1 from ADC5.Store in uC buffer memory6.Read sensor2 from ADC7.Store in uC buffer memory8.Read sensor3 from ADC9.Store in uC buffer memory10.Read sensor4 from ADC11.Store in uC buffer memory12.Initialise LCD13.Display al sensor data from buffer14.Check sensor1 data wrt threshold15.Switch on/off actuator16.store status in buffer for actuator117.Check sensor2 data wrt threshold18.Switch on/off actuator19.Store status in buffer for actuator220.Check sensor3 data wrt threshold21.Switch on/off actuator22.Store status in buffer for actuator323.Check sensor4 data wrt threshold24.Switch on/off actuator25.Store status in buffer for actuator426.Go to step 2.Also the LCD will be used with a switch. In the normal condition it will display the readings of the sensors. When the button is pressed it should display the condition of the actuators(which will be stored in the actuator buffer). When the switch is turned off it must go to step 2 and start reading the sensors again. To achieve this i think i must connect the switch to INT0 or INT1 right. Also the ADCs EOC cannot  be connectd to INT0 for the flow i have mentioned and only polling method can be used right? Else while its waiting for the 1st sensors conversion to finish i wil be latching the 2nd sensors address to teh ADC. Pin detailsP0 LCD dataP2.7 RS2.6 R/W2.5 ElP1 ADC dataP3.0 OEP3.1 StartP3.2 EOCP3.3 SWITCH FOR TOGGLING LCD DISPLAYP3.4 ADD AP3.5 ADD BP3.6 ADD CP3.7 ALEam i on the right track now?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Reply pls    am waiting..</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Step12 "initialise LCD' should be before step2.Polling the EOC would be better and simpler since you have to wait for the adc data before moving forward.So no point using an interrupt.For the ADC values it would be better if you took ~10 samples for each sensor and used the average value.You may use the bucket(or was it barrel?) shifting algo posted somewhere by Shyam,for averaging.This way you minimise the chance of your actuators swinging wildly with each value.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Soory about Step12!! that was foolish of me!Could u pls tel me the link or the thread where that algorithm is by shyam?Thanks a ton</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>This is the thread.....http://www.8051projects.net/plugins/forum/forum_viewtopic.php?5070.40#post_7316</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hey Shashijoseph,I am unable to follow that algorithm. N my C skills for 8051 are pathetic so understanding that code is impossible for me! Pls could u elaborate on that?Sorry for being dumb</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>There is nothing difficult in it..its same like taking average of 10 values..you add all 10 values and divide it by 10, so you get average.Now when next time you take average, you have to consider the 10 samples taken before too..i explain like this..data1, data2, data3, data4, data5, data6, data7, data8, data9, data10 => avg1data2, data3, data4, data5, data6, data7, data8, data9, data10, data11 => avg2data3, data4, data5, data6, data7, data8, data9, data10, data11, data12 => avg3data4, data5, data6, data7, data8, data9, data10, data11, data12, data13 => avg4so while taking average you are considering all samples taken before too..so only first time you are waiting for 10 samples, after that you are just waiting for one sample and then keep taking averages..I hope you now understand the algorithm.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>oh oki got it now! i am such a dumb*** I thought it was wat u mentioned but was not sure. I am presently coding for the system using 1 sensor only. Once its done and working right, ill add the code for other sensors also. Am stuck at that LCD initialisation part also and displaying on the LCD! its very complicated. I have not completed the code yet thats y i have not yet posted it. Can i post an incoplete code for ur scrutiny?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>if you feel any problem using LCD, you take a look at LCD tutorial..why would i need the code?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Wel i did go through it. So quite a few of my doubts have been cleared   am not sure on how to make those custom characters. I need to display % symbol. Was having another doubt. Is it possible to store strings in the RAM of the 8051? i want do it to display the actuator status. els il have to store a 0 or 1 in RAM locations amd correspondingly pick up "On" or "Off" from the ROM (After putting it there ofcourse!)I wanted u to see my code to tell me if i was on the right track. For that ADC barrel algo, il need to use an array right? And how do i perform the averaging? And then shift all the data. Dont u think it will slow down the performance of the system because i need to read 4 sensors, display their data and then check the threshold for each n then turn on/off actuators and then display it!</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>'%' symbol is there in LCD isn't it? try..CODE: unsigned char string1&#91;&#93; = "this stored in ram";<br />unsigned char code string2&#91;&#93; = "this stored in rom";<br />&nbsp;averaging wont take much time.. yes you need array..Amit Radha wrote ...And how do i perform the averaging? And then shift all the datasee shyam's code.. he did exactly what you are looking.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Ajay i really dont follow the c codes! pls help me in assembly (if its not too much of a trouble)...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>well its same as you do in C..lets say adc_read is your routine for ADC thenCODE:<br />;for first time<br />acall adc_read<br />mov adc1, A<br />acall adc_read<br />mov adc2, A<br />;and so on...<br />acall adc_read<br />mov adc10, A<br />;adc1 to adc10 are location in RAM<br /><br />;Now is mmm.. average..<br />;confusing <img src='http://www.8051projects.net/e107_images/emotes/yahoo/10.gif' alt='' style='vertical-align:middle; border:0' /> <br />&nbsp;</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>hi amit...forget abt the barrel shifter code a the moment...there are several other DSP algorithms that can be used...today i m gonna start a new thread regarding it...wait for it to come...  and afterwards u shud not have any problem regarding it..!!</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi ajay, sorry i went offline suddenly! Had a power cut due t heavy rain I suppose!Hey Shyam thanks a million! il have a look at that thread... hope its out.. pls do it soon! I really need it. I understood the algorithm, but coding the whole thing in assembly is very tedious! I am unable to do it I admit    First of all cant use an array like in C and then averaging it is another task! Also then performing the shift! How do u do that!!!I am having another doubt regarding the ADC. Now the o/p of ADC is not hex right, its BCD so i need to do a BCD to HEX conversion and then store it in my buffer tehn do a HEX to ASCII to display it on the LCD? I need the HEX equivalent cos i need to perform the check for threshold.Another doubt regarding the LCD. A pot is needed b/w Vcc, Vee &amp; Vss for controlling the contrast. But what are the 2 pins +LED and -LED for on the LCD? (ie. pin 15 and 16) is it for the backlight? so do i connect it to +Vcc &amp; GND respectively? was making my uC board today and got stuck here. The data sheet of HD44780 dint mention anything about it...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>regarding LCD ..yes Amit u r right +led =>vcc -led =>gnd  and they r for backlight...</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>The o/p of the ADC is definitely binary(hex).For eg. if the input to the ADC(configured with 0-5v full scale) is 2.5v,the output of the ADC will be 128(decimal) or 80h.This is what will be stored in your buffer....so no need to convert BCD to hex.You can use this value directly for your threshold comparison.For displaying,you'll have to multiply this hex value with the step size and then convert he result to ASCII.For eg. step size with a 8-bit ADC configured 0-5v full scale is 5/256=19.53mV(say 20mV)Now suppose you get a hex value 80h from the ADC.The value to be displayed is 80hx14h=A00h.Now convert this hex value to ASCII for displaying on the LCD.The LED+/- are for the backlight.You may leave it unconnected or connect it through a 10ohms series resistor to vcc  and ground.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hey thanks a lot!!! That gives me some work to do for tomorrow! mu uC board was on hold cos of that +/- LED doubt of mine. My code (for 1 sensor) is almost done. il complete it tomorrow and post it pls do let me know how to improve it or incase i have made any mistakes...Cyas for now.. gnit</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Well, i forgot to ask. is there any way i can improve the sensitiviy of the temp sensor? I mean in the present set up i cannot show decimal values, right? So can that be incorporated. its not very necessary though, but it certainly will improve the set up a bit i feel..</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>which temperature sensor you are using?when taking average values.. you can get decimal values too..</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Shashijoseph and Chiru, thanks a ton for the repeated support and prompt solutions  I checked the o/p of my bridge rectifier, was getting nearly 7.5V (was reducing a bit though at times) So i got a 9V 2A tranformer. Not tested it yet. Will do it on monday. sashijoseph wrote ...3A for an embedded system is OVERKILL big time.With a cap(~1000uF) on the bridge,a 6v trans. should supply ~8.4v,but if it goes below 7v under load then regulation will suffer.So use a 9v,1A transformer and you'll be fine.Also use a 10&#092;100 uF cap on the output pin of the 7805.Will using 2A tranformer damage the system by any chance? I will be using this to power my ADC, 4 sensors, uC, LCD, and a buzzer also. So i thought ite better to be on the safer side by sing 9V 2A.I am using a heatsink on the 7805(used a mica sheet and heatsink paste also). But the 7905 has a complete plastic casing so i did not put a heatsink to it. Also,the regulators are followed by a 10uF and 1uF cap each. sashijoseph wrote ...As for the switch,why do you want it to reset the system...coz even after reset it will give you the same sensor readings as before reset(provided conditions don't change during reset).So for eg. if without reset(and the switch back from acuator mode to sensor mode) the temp display was 25deg,then even after reset it will display 25deg,provided temp. doesn't change to some other value during reset.Wel i wanted to reset the system because the original mode of the LCD is to display the sensor data. Now, cosider a situation where the user presses the switch to see the actuator status, the interrupt occurs and the ISR changes the display, I include a delay in it so that the screen is on for say 5sec. After that on execution of RETI, the LCD must display the previous mode, ie. sensor status screen. for that it must restart from the beginning but RETI will cause it to continue where it was interrupted and there will be a delay till the uC completes what it may be doing at that time and then reach the part of the code to display the sensor status.I thought of using the watchdog timer (using the AT89S52) which supposedly resets the system when it overflows. so I can give it a count upto 5sec and then it will overflow and consequently reset the system. But that as u mentioned and few others also should not be done. So pls tel me if its a healthy practice to reset the system like this.Also one more doubt, to trigger INT0, i am using a push to on switch similar to the one which is used for the reset switch of the uC. now, one end is connected to the uC and the other to +5 or GND? and should i use an RC ckt also. I am thoroughly confused with wt to do about that! I hope u got my question. I have thoroughly confued my team also!!!    I have asked Lots of questions. Want to program my uC and test the system by monday!    Hope i have not started bugging u guys... Thanks a lot once again! bye for now.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>remember that the transformer current rating is the maximum capacity which it can sorce and not the actual current it is sourcing</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi Ajay, I am using an LM35. But not connecting it directly op the ADC, I am using an opamp as Shashi (or Chiru. dont remember) told me it wil help to smoothen and caliberate the o/p. How can i get the decimal values using it? As Shashi mention 2 days back, sashijoseph wrote ...The o/p of the ADC is definitely binary(hex).For eg. if the input to the ADC(configured with 0-5v full scale) is 2.5v,the output of the ADC will be 128(decimal) or 80h.This is what will be stored in your buffer....so no need to convert BCD to hex.You can use this value directly for your threshold comparison.For displaying,you'll have to multiply this hex value with the step size and then convert he result to ASCII.For eg. step size with a 8-bit ADC configured 0-5v full scale is 5/256=19.53mV(say 20mV)Now suppose you get a hex value 80h from the ADC.The value to be displayed is 80hx14h=A00h.Now convert this hex value to ASCII for displaying on the LCD.Now i am having a doubt regarding this. I thought instead of making the uC do the calculationsm i can create a look up table such that for a particular hex o/p of the ADC it picks up the corresponding ASCII value and stores in a buffer for display. Can this be done?My code (for the temp sensor only is ready except for this part.)Also i am facing a peculiar problem with my power supply circuit!   Its o/p voltage starts dropping as i start increasing the devices drawing supply from it! I am using a 6V 1A tranformer followed by a bridge rectifier then and LM7805 and LM7905 regulators (for +/-5V)</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>The LM7805 needs atleast 2V for dropout,ie ~7V at it's input.A 9v xformer would be better.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hey thanks a lot. Yup no problem take ur time... ur doing us noobs a big favor by helping out on the forum i admit. Regarding the supply, I was told to take a higher current rating transformer (2 or prefferably 3A, 5A tranformer wil become too huge). Also i bought a 6-0-6 tranfirmer and was using onle 6-0 terminals. Itseems that could also be a reason (i mean the center tap) so using a 0-6 transformer would be better. So to solve the problem il use a 0-9, 3A tranformer. Hope that wont bee too much for the system right?Regaring the Look up table, i think i have thought of a solution, il try coding it and if it solves the prob then il post it here. I am facing another design issue now. I need to know in wat all ways can the uC be RESET, besides that reset momentary push button as mentioned in Mazidi. I need this because as mentioned in my design, i show the actuator status only when a button is pressed. This i am doing by connecting teh switch to INT0, but when the switch is turned back to original position, I need to again reset the system so that it starts rading the sensors afresh and then displays the sensor data. I cant just use a RETI at the end of my ISR as that will take the IP to where it was before, but my display will not change instantaneously, right?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>A 6V AC will give over 8V DC if not heavily loaded and should work fine with 7805, still its better to use a 9V one as Sashi suggested. Moreover there should be a good heatshink on the reg so as to prevent thermal shut down (current reduced and voltage against load)</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>rbk23</dc:creator>
						<dc:subject></dc:subject>
						<description>Thanks...Anyway, I find this model, dunno can be used or not. It is from nemoto japan, http://www.nemoto.co.jp/en/products/sensor/manual/nhs-20.html or mec HCZ-H or HCZ-J series. May I know it can be used?Thanks so much</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>3A for an embedded system is OVERKILL big time.With a cap(~1000uF) on the bridge,a 6v trans. should supply ~8.4v,but if it goes below 7v under load then regulation will suffer.So use a 9v,1A transformer and you'll be fine.Also use a 10&#092;100 uF cap on the output pin of the 7805.As for the switch,why do you want it to reset the system...coz even after reset it will give you the same sensor readings as before reset(provided conditions don't change during reset).So for eg. if without reset(and the switch back from acuator mode to sensor mode) the temp display was 25deg,then even after reset it will display 25deg,provided temp. doesn't change to some other value during reset.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Chiru</dc:creator>
						<dc:subject></dc:subject>
						<description>Amit, employ a proper adc loop rather than reset</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hi shashijoseph,Thanks a ton   Il include those 4.7k resistors b/w the port and Vcc.I had got thoroughly confused with the switch! thanks for clearing that out too! Now in my code i make INT0 an endge trig. int. should i do it or leave it as level trig? i feel it should be edge trig. right?U dint tell me if its safe to use the 0-9V 2A transformer? I have explained my ckt in the post just after chiru's reply.Regarding the RESET of the system. I tried to include a proper loop as u and Chiru suggested but i have come across a peculiar situation. Hope i can explain it properly-cosider that the uC is initialising the LCD for displaying sensor data rom the buffer or that it is displaying the sensor data from the buffer. At that instant user presses the button for viewing actuator status. this triggers the interrupt and in the ISR, the LCD is re initialised and sensor status is displayed. after 5sec delay, RETI instrn executes and uC starts from where it was interrupted ie : halfway initialising the LCD or halfway thrugh displaying the sensor data.In both these cases, the display will now probably be garbled or only partly correct data will be displayed right? What do i do now?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Just saw this in a thread "ABOUT MICROCONTROLLERS" by TPS:-۞ TPS ۞ wrote ... ABOUT THE Microcontrollers    A:  Port 0 has open drain outputs.  Ports 1, 2, and 3 have internal        pullups.  What does this mean?  See the next question and answer.    Q:  Port 0 has open drain outputs.  Ports 1, 2, and 3 have internal        pullups. What does this mean, and why should I care?    A:  When used as outputs, all port pins will drive the state to which        the associated SFR latch bit has been set.  Except for port 0,        which will only drive low (not high).  When a 0 is written to a        bit in port 0, the pin is pulled low (0).  But, when a 1 is        written to a bit in port 0, the pin goes into a high impedance        state - or in other words, "disconnected", no value.  To be able        to get a 1 as output, you need an external pullup resistor to        pull up the port (to 1) when the port is in its high impedence        state.  Typical values for pullups might be 470 ohm to drive a        LED, and 4.7K or higher to drive logic circuits.    C:  Any port pin may be used as a general purpose input simply by        writing a 1 into the associated SFR latch bit.  Since ports 1, 2,        and 3 have internal pull-up devices they will pull high and will        source current when pulled low.  When a port 0 bit is programmed        for input (set to 1) it will go to a high impedance state.I am using P0 of the uC to DB0 to DB7 of LCD. Does that mean i need to add 4.7k Resistors between the uC amd the LCD pins???</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Nope......between Port and Vcc (pullup).</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Also one more doubt, to trigger INT0, i am using a push to on switch similar to the one which is used for the reset switch of the uC. now, one end is connected to the uC and the other to +5 or GND? and should i use an RC ckt also. I am thoroughly confused with wt to do about that! I hope u got my question. I have thoroughly confued my team also!!! The switch should be connected to the port pin and Gnd.....never to Vcc(atleast not directly without a resistor).I think switch debouncing isn't necessary in your application since you'll be returning from the interrupt(5 sec delay like you said) long after the switch would have settled. So no chance of 'misfiring'.You would need to debounce if your ISR were to complete in  say 5ms.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hey i got a solution to the problem. Just tell me if my logic is not faulty!!!In the ISR, After displaying the actuator status, there is a 5sec delay (so that user can see the status on the LCD for 5sec.) then instead of RETI il again display the sensor data from the buffer and then RETI.This will send back the control to where the uC was interrupted. So even if it was displaying sensor data and was interrupted midway, it will just redisplay it in the same locations on the LCD but the LCD wont be garbled right?And yes, i will remove the repeated initialisation of the LCD from the code. Pls do tell me incase of any more mistakes in my code...Thanks</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Had a brief look at your code.Like Ajay said you should initialise the LCD only once whereas you've done it 3 times.This is how it should be:1- initialise LCD2- display welcome msg3- Read ADC4- Convert5- Data Display6- Threshold check7-  Back to step 3You needn't re-initialise the LCD in steps 2,5 or the ISR.As for the ISR doubt.....this is what you can try.Use a flag,say 'Act'.Inside the ISR you do 2 things.First set the Act flag ie. Act=1.Then display a msg "Hang on,gathering Actuator data....." or sth similar.Then a RETI.Now in the data display routine(step 5) this is what you do.....1 check Act bit.2 If Act=1   (-IE=0  ;disable interrupts    -Display Actuator Data.    -Wait 5 sec.    -Make Act=0    -Display Sensor data    -IE = 81h  ;re-enable interrupts    -Ret    )  Else (-Display sensor data          -Ret         )</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>why are you initializing lcd again and again? I mean just use lcd clear command to clear lcd instead of re-initializing. Init part should be just once at the starting of program.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>have read all the details of your project. Am confused about your power supply part. I havealready used all the components you are using and in fact had used multiplexed 0.5" LED displays instead of LCD. but never did i find a need for a supply current exceeding 500mA. The only current consuming part in your ckt is the backlight which itself takes upto 100mA. Do connect the 10 ohms resistor in series as it will limit the current to the led.check your sensor ciruit (analog input section) as it may be draining most of the current.the 7805 cannot source more than 1A current and will shut down if excess current is drawn.As for the ADC resolution part, I have a novel way to interface ICL7135 to the 8051 by using only 4 i/o pins. and will post it shortly. The 7135 can give a resolution of upto +/-20,000 counts i.e. more than 14 bit resolution and is as cheap or even cheaper than ADC0808. check out its datasheet.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>ajay is right . Why reset the whole uC when you can just refresh the data??</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Ok i am terribly confused now :'( i dunno wat to do. I hope u understod my concern regarding the display. Il upload my code pls do go thro it and suggest changes. (It is not yet complete and it is for the LM35 only not done for other sensors.)Regarding the supply, i interfaced my boards and sensors to a 9v transformer (dunno the current rating) in my lab and dint face any loading problem. I purchased a 2A one to be on the safer side.l Dint know the 7805 cant handle higer current    Pls do check my code and tel me wat to do. Also do i need to include any file in the beginning? i will be using keil uVision 2</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Hmmm thanks alot, il incorporate all the changes into the code and the hardware. Am facing a peculiar problem regarding the power supply. I am unable to make a common groung from the 7805 &amp; 7905. When i tried the 1000uF cap swole up and the rectifier heated up. So i changed the cap and inverted it (as i had made that mistake) now it is exactly same as the dual power suppy in the datasheet but that still doesnt allow me to have a common ground as shown in that. The rectifier still heats up when i short the 2 grounds. Does anyone have a tested circuit for +-5V?Pls post it here. It will be a huge help. I dunnot want to buy a ready supply, even though i have spent ~150 bucks already on it and it is still not working!</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>it doesnot matter if u use a higher current txformer as long as ur curcuit does not sink more than 1amp current, go ahead and use it</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>where is the code?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>oh i attached it... il do it again... Yup i know that about that transformer  maincode1.zip</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>you can use 10K of resistance for pullups..use a resistor pack which is far easy to solder on board.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>hey thanks a ton! you simplified so many things in my code!!!This is a very good idea. But i had a doubt. Now when the user presses the button for viewing the actuator status, wont there be a big time lag before the actuator status is displayed on the LCD? considering that at that instant the uC was checking threshold?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>seeing your code. one common mistake is that u have not pushed the registers r0,r7 and accumulator before executing the ISR. this may corrupt their values from the main routine.always backup the general purpose variables. my c16 universal hex compiler doesnot support 'push r0' instruction. So i always set the register bank to a different value before executing ISRs. but in this case, take care that the stack pointer is reassigned a different location as its default location is 08h which corresponds to second register bank.be careful</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>oh oki il do that! dint realise that it could create a problem.I was under the impression that the the uC takes care of pushing all reg values etc to a stack and the RETI instruction is specifically used for the purpose of retrieving them all.So shall i initialise the stack to 10h and push acc, r0? or shall i not initialise the stack.Also, i am not using r7. then why should i push it?</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>another problem is the 'conversion' routine. in the adc routine, u store theadc value(binary) in 'BUFFER'. now this when converted to BCD can be a two or three digit value. so u have to split it nibble by nibble and then convert it to ascii. confused?    just check your conversion routine by assigning  a fixed value say 15h to variable 'buffer' and see what output u get in ASCII_RESULT.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>i would suggest that u first write the LCD interface part, then add the ADC code and finally the actuator logic. Step by step debugging usually saves a lot of time.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>push only the registers which are used mutually by both your main code and your ISR. and yes if you are using a different register bank in ISR, u need not push r0-r7 but reassign stack to 10h. If ur compiler supports Push r0 instruction, u need not assign the SP to different value.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>check this code. i donot know from where i downloaded it   . good reference. it gets value from ADC0808 and displays it on lcd.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>oops cannot upload asm files. will attach it in zip format   adc0808.zip</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>sashijoseph</dc:creator>
						<dc:subject></dc:subject>
						<description>Now when the user presses the button for viewing the actuator status, wont there be a big time lag before the actuator status is displayed on the LCD? considering that at that instant the uC was checking threshold? Won't take more than a few milliseconds unless delays have been purposely introduced.In that case you may try this:In the ISR .... set Act,jump to Data_Display routine.In Data_Display:If Act=1(-IE=0 ;disable interrupts-Display Actuator Data.-Wait 5 sec.-Display sensor data-Make Act=0-IE = 81h ;re-enable interrupts-RETI)Else (-Display sensor data         -Ret       )</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t5757.html">
						<title>Re: Sensors</title>
						<link>http://www.8051projects.net/forum-t5757.html</link>
						<dc:date>2009-01-07T22:17:09-08:00</dc:date>
						<dc:creator>Amit Radha</dc:creator>
						<dc:subject></dc:subject>
						<description>Oh oh... so many mistakes!!! dint expect this to happen!!!    Regasrding the conversion routine:pdi33 wrote ...another problem is the 'conversion' routine. in the adc routine, u store theadc value(binary) in 'BUFFER'. now this when converted to BCD can be a two or three digit value. so u have to split it nibble by nibble and then convert it to ascii. confused?    just check your conversion routine by assigning  a fixed value say 15h to variable 'buffer' and see what output u get in ASCII_RESULT. i thought that instead of the uC doing the calculations, il ma