<?xml version="1.0" encoding="utf-8"?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rss  version="2.0">
				<channel>
				<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>

<language>en-gb</language>
				<copyright>2008 Rickey's World</copyright>
				<managingEditor>contact@nospam.com (Ajay Bhargav)</managingEditor>
				<webMaster>contact@nospam.com (Ajay Bhargav)</webMaster>
				<pubDate>Thu, 08 Jan 2009 19:46:14 -0800</pubDate>
				<lastBuildDate>Thu, 08 Jan 2009 19:46:14 -0800</lastBuildDate>
				<docs>http://backend.userland.com/rss</docs>
				<generator>e107 (http://e107.org)</generator>
				<ttl>60</ttl>
				<textInput>
				<title>Search</title>
				<description>Search 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes</description>
				<name>query</name>
				<link>http://www.8051projects.net/search.php</link>
				</textInput>
						<item>
						<title>Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[can u please explain me the working of the ckt diagram exp the part of the<br />transmitter n reciever part it would be a great help<br />and is there any changes in the code of this project?? or any<br />problems in the ckt???<br />please sir this is really urgent<br />if u can help me out please....]]></description>
<pubDate>Mon, 03 Mar 2008 03:23:00 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[re-post/duplicate  ?  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/22.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 03 Mar 2008 08:54:42 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[no actually i posted on both<br />i just wanted to knw if possible if u can me with this project<br />n explain me the reciever side of the ckt please]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 03 Mar 2008 08:57:44 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[The transistor is used more as an inverter......you need a low at the 555 reset pin when the output of the sensor is high and vice-versa.<br />The 555 is configured as a monostable and in a monostable the output duration(here 0.242s) should be greater than input pulse(provided by the visitor interrupting the sensor).Surely you would want to give atleast 0.24 seconds for a person to pass through .... do consider a fat guy walking past at a leisurely pace <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 05 Mar 2008 20:45:56 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[ok i explain from <strong class='bbcode bold'>room.gif</strong><br />first the left side of AT89S52:<br />you see two sensors. sensors are connected in the following way on the entrance of door.<br />---> Entrance this way -->&nbsp;&nbsp;--------<br />&nbsp;&nbsp;S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S<br />&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2<br />&nbsp;&nbsp;--------<br /><br />S1 is sensor 1 and S2 is sensor 2<br />555 timers gives high->low pulse whenever user crosses the sensor.<br /><br />Now right side of AT89S52, you have 7-segments to show count and one bulb through relay. When user count in room is greater than 0 blub glows.. if users in room are 0 blub switches off.. hence controlling the room's light.<br /><br />Now <strong class='bbcode bold'>room1.gif</strong><br />it just have two transmitter circuit which will be on the other side of door facing the receivers(sensors) on the other side of door.<br /><br />I hope circuit is clear to you now.. is there anything else you want to know about?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Mar 2008 09:06:42 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[yes sir<br />i have another question...<br />y did we add 56k resistance n cap. to the reset pin?? and how did we arrive to those <br />values.<br />wats the function of 555 in the room.gif n how did we arrive to those values??<br />as i calculated the t=0.24secs so y tat long???]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Mar 2008 09:21:35 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[i get tat when there a change.. in sensor it gives high to low pulse..<br />i m not able to understand how come we have chose 100K n 2.2uf <br />for the 555 to get t-0.24secs for pulse width to be given to the MC??<br />where did we get those values can u please help me with tat?? y 100k n 2.2uf<br />n y a period of 0.24secs as a pulse width???? tats where im little confused...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Mar 2008 09:36:12 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[and y have we added<br />56K n 1uf cap with reset pin???<br />y is tat also??? its just not making sense to me..<br />so can u please me n the earlier thread... thanz you..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Mar 2008 09:43:35 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[read about 555 timer.. and see how the value of Resistors and caps are calculated.<br /><br />whatever you mentioned in point 2 is correct...<br />when interrupted you will get low.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 05 Mar 2008 11:57:29 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[hello sir...<br />i just wanted to the y 555 is giving a 0.242 secs of low op in the ckit<br />and how did we arrive to tat value of 100K??? please sir can u reply me tat<br />asap if it would be really help.<br />2. the sensor gives a op of 5V whn it is not interrupted and CE cofig is used??<br />wats the use of tat CE config in this ckt for amplying?? whn the sensor is not<br />giving any output whn it is interrupted?? <br />thank you<br />please sir hopefully u can answer my doubts...<br />thank you again..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 05 Mar 2008 10:06:15 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[ok sir..<br />but i dont understand y its being used the 555 n amplifying CE ckt..<br />coz in the sensor datasheet they have put sensor directly to the<br />uC without the those two ckts!!!!<br />i knw how to get the resistor value...<br />but i dont understand y we have only chose 0.242 secs for a low pulse being<br />applied to the ckt...and finally the use of 555.. its not clear.. can u please<br />explain it to me... couldnt we have fun a lower time period of a low pulse than <br />we have calculated...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 05 Mar 2008 18:14:55 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[oh ok..<br />so how does it work then.. if we cross both sensors then<br />how does it knw whn it shld turn on? n turn off??<br />is it confusing!!!!!! <br /><br />how does it work whn its suppose 2 turn off the lights??????<br />so we cross both the sensors n the light turns on tats it..<br />but how it suppose 2 knw whn light is suppose 2 turn off??<br />i thought the first sensor sensors senses the light to be turned on<br />n the second sensors senses whn the people leave n turns off the lights!!!<br />so yah.. wats the thing... can u explain it to me.. please...<br />[ POST MERGED ]<br /><br />is there any specific specf. tat the first sensor or second sensor has 2 be crossed or it can be any order??????<br />[ POST MERGED ]]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 06:32:29 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[this is the error its saying and im using keil <br />so tats y nothing seems to work.. and there might be a problem with<br />the seven segment code n the checking of the sensors... <br />so can help me out<br />thankz you...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 07 Mar 2008 21:24:01 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[oh ok fine..so the transistor is used as an inverter n the time 0.24secs is just fixed by us.. oh ok thanz alot.. it makes the things more clear...<br />but the the reset pin of 555 is connected to the VCC=5v... which is high..<br />i think u meant the trigger pin from with the transistor is connected?? i thought the 555 gives a high to low pulse??? or is it other way around low to high pulse???? being given to the uC can u explain me tat part also!!!!! please thanz you.. just little bit into the dark<br />abt tat part!!! thank you for explaining me tat much...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 01:15:59 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[i just wanna make everything clear...<br />whn there is no interruption the sensor gives a high output..<br />the inverter inverts the o/p from a high to low o/p n supplys it to the 555..<br />555 gives a low o/p also which doesnt give any o/p to the uC..<br />am i correct so far?? for the working???<br />whn there is a interruption sensor sends a low o/p which is converted<br />into high o/p from the transistor n the 555 gives a high o/p to the uC and<br />it detects it as port 1 is needs 1 to act a input and increments the counter n<br />turns on the lights?? tats how the project works??? correct!!!<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 01:26:57 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[I explained you the working after looking at the code. So the order is correct.<br /><br />can you tell me which compiler you are using and can you please copy paste those errors so i get a better view of where the problem lies.<br /><br />and yes you can use 89C51 if code fits in it and make sure there is no special things like storing count in code memory going on.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 07 Mar 2008 20:32:52 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[you have to cross both the sensors while entering and while exit not just one.. ok?<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 06:21:56 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[hello <br />sorry to disturb again..<br />i implemented the ckt.. there is a slight problem in the code.. <br />as soon as the first sensor the entry sensor is interruppted the lights are on tats ok<br />whn the uC checks for the first sensor again it switches off it doesnt check the <br />second sensor only.. <br />its just first sensor interrupts the lights on n whn it senses the sensor1 o/p is high<br />it just offs the light.. again...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 03:42:26 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[well i think you are confusing yourself and not getting the real thing.<br /><br />I tell you.. as i explained earlier, sensors are connected at the door stacked one after the other.. from the entrance side sensor 1 comes and then sensor 2.<br /><br />So when you enter inside the room, you cross first sensor and then second sensor.. and room visitor count is incremented by 1. when you come out of room.. you cross sensor 2 and then sensor 1 and count is decremented by 1.<br /><br />If the count is greater than 0, then light is on... and if count is 0 then light is off. This is how room lights are controlled automatically. and thats the main purpose of this project.<br /><br />PS: Please do not make multiple posts.. you can click on edit icon to edit your post and add anything you want in your post <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 08:03:21 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[oh ok thanz alot..<br />sorry.. i wont do it again!!!1<br />thanks alot u have helped me alot with all my doubts.. just one last questions<br />wat the use of 33e (33 ohms right??) in the transmitter side???<br />rest of my doubts are cleared thank alot.. really u have been really helpful...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 08:39:30 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[<div class='indent'>whn there is no interruption the sensor gives a high output..<br />the inverter inverts the o/p from a high to low o/p n supplys it to the 555..<br />555 gives a low o/p also which doesnt give any o/p to the uC..<br />am i correct so far?? for the working???</div> <br />More confusion.....when the sensor is interrupted it's output is high(it's a TSOP I presume).The transistor inverts it to a low and so the trigger i/p of  555 gets a hi to low pulse which is needed for the monostable to fire.It then outputs a pulse of 0.24s.<br />With no interruption the sensor's o/p is low hence 555's trigger is high so it doesn't fire.<br />Get it?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 09:52:24 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[ok sure thanz.. alot.. so i was thinking it the other way around...<br />1. alrgiht.. and both the sensors have 2 crossed in order to turn on or off the list <br />at the same time!!! <br />2. n wats the use of 33ohms on the transmitter side??]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 10:18:43 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[See,there has to be some way to tell if a person has entered the room or left it,so that the visitor count could be correspondingly incremented or decremented.If only one sensor were  used there would be no way to tell if an interruption occured due to a person entering or going out(and you can't have one sensor for incoming and one for outgoing since the entry&amp;exit door is common).<br /> So you use 2 sensors(say a,b) and look for the sequence of interruption.If  sequence is a,b then increment counter.If seq is b,a then decrement counter.I haven't seen the code but probably should be like this.<br /> The 33ohms resistor is used for limiting the current into the infrared diode.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Mar 2008 22:02:49 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[can i some how forward u the code n can u tell me if its kinda correct or not?????<br />coz whn i debug it.. its giving me warning of "data space memory overlap"<br />because of tat the project is not working...<br />nothing seems to work!!! the hardware is working so please can u help me out.. <br />if u can??? if u dont mind????<br />coz of that the seven segment display doesnt work as its memory is overlapping <br />please.. can u help out with the code???<br />does it matter instead of 89s52 i use 89c51???]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 07 Mar 2008 07:35:42 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[can i email u the code???? if u dont mind?? plus the screen shot of the error to ur email???<br />its its alright with u????<br />i understood the working itself its not a problem.. its just error n stuff!! so just  i will email u the code and the screen shot of the error.. the warning the message...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 07 Mar 2008 21:12:50 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[use RIDE instead of keil, coz the code is written for RIDE controller by raisonance.<br />you can download a free evaluation version from http://raisonance.com/]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 07 Mar 2008 21:56:53 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[hello sir<br />sir i have tried to download tat program but it keeps crashing...<br />i dont knw y??? can u please.. tell me the version to download??<br />the program just crashes!!! w/o even entering the project!!<br /><br />is it possible to convert this code to keil supported code??? <br />coz ride is not working?? if possible can u tell me the changes please it will be really<br />helpful if u can quide me doing the changes in the program so it can work.. we have our<br />submission of this project next week thank you very much..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 06:17:16 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[yes its possible But you need to do test to check its working.. 95% it will work...<br />you need to change this part of code..<br /><br /><div class='code_asm'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="asm" style="font-family: monospace;"><span style="color: #0000ff;">DSEG</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; This is internal data memory</span><br />&nbsp; &nbsp;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ORG</span> &nbsp; &nbsp; 20H &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Bit adressable memory</span><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;BITS:&nbsp; &nbsp;<span style="color: #46aa03; font-weight:bold;">DS</span>&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; UP&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">BIT</span> &nbsp; &nbsp; BITS<span style="color: #ff0000;">.0</span> &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; DWN&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">BIT</span>&nbsp; &nbsp; &nbsp;BITS<span style="color: #ff0000;">.1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COUNT:&nbsp; <span style="color: #46aa03; font-weight:bold;">DS</span>&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; SPEED:&nbsp; <span style="color: #46aa03; font-weight:bold;">DS</span>&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; VALUE_1:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #46aa03; font-weight:bold;">DS</span>&nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; VALUE_2:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #46aa03; font-weight:bold;">DS</span>&nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; VALUE_3:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #46aa03; font-weight:bold;">DS</span>&nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COUNTER:&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #46aa03; font-weight:bold;">DS</span>&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">STACK</span>:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #46aa03; font-weight:bold;">DS</span> &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">1</span> &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Stack begins here</span><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">CSEG</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; Code begins here</span><br />&nbsp;</div></div><br /><br />to<br /><br /><div class='code_asm'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="asm" style="font-family: monospace;"><span style="color: #adadad; font-style: italic;">;DSEG &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; This is internal data memory</span><br /><span style="color: #adadad; font-style: italic;">; Remove above line</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; UP&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">BIT</span> &nbsp; &nbsp; 0H &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; DWN&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">BIT</span>&nbsp; &nbsp; &nbsp;1H<br />&nbsp; &nbsp; &nbsp; &nbsp; COUNT&nbsp; &nbsp;<span style="color: #0000ff;">EQU</span>&nbsp; &nbsp; &nbsp;30H<br />&nbsp; &nbsp; &nbsp; &nbsp; SPEED&nbsp; &nbsp;<span style="color: #0000ff;">EQU</span>&nbsp; &nbsp; &nbsp;31H<br />&nbsp; &nbsp; &nbsp; &nbsp; VALUE_1&nbsp;<span style="color: #0000ff;">EQU</span>&nbsp; &nbsp; &nbsp;32H<br />&nbsp; &nbsp; &nbsp; &nbsp; VALUE_2&nbsp;<span style="color: #0000ff;">EQU</span>&nbsp; &nbsp; &nbsp;33H<br />&nbsp; &nbsp; &nbsp; &nbsp; VALUE_3&nbsp;<span style="color: #0000ff;">EQU</span>&nbsp; &nbsp; &nbsp;34H<br />&nbsp; &nbsp; &nbsp; &nbsp; COUNTER&nbsp;<span style="color: #0000ff;">EQU</span>&nbsp; &nbsp; &nbsp;35H<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">STACK</span>&nbsp; &nbsp;<span style="color: #0000ff;">EQU</span>&nbsp; &nbsp; &nbsp;50H&nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; Stack begins here</span><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;<br /><span style="color: #adadad; font-style: italic;">;CSEG &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; Code begins here</span><br /><span style="color: #adadad; font-style: italic;">;Remove the above line</span><br />&nbsp;</div></div><br /><br />Try it and tell me..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 10:43:51 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[just try compiling the program.. if you get any error then tell me.. will wait for your input.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 14:00:06 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[so i will run the program.. and let u knw by tomorrow.. asap<br />ok.. thanz alot.. <br />but can there be any other changes??? if so can u please check it out??<br />and tell me.. it wiould be really helpful if u can..<br />thank you.. <br />thanks alot for the updated code.. thanks you.. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 12:22:05 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[sir these are the errors im getting from using an ordinary assembler<br />its a dos based program so.. its creates a hex file and lst flie also...<br />so im sending u the .lst file and i have question wats the use of vlaue_3<br />as its never been used along with different parameters as u can see in the lst file..<br />i have added $mod51 to it also... so yeah<br />w/o using $mod51 its giving me more errors where equ have been defined. and whn its being used<br />again.. so.. yeah.. tats it. thanz you...<br />but its not giving me any warning tat memory overlapping memory..<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 22:32:54 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[If your RIDE is crashing you may send me the asm and I'll build the hex for you.<br />As for the Value_3 it seems Ajay's got the wrong project,"Digital Visitor Counter" instead of "Automatic Room light Controller with Visitor Counter".]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 22:37:32 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[sashi joseph where shld i email u the program????<br />can u tel me tat.<br />its giving me a warning message of memory overlaping <br />in keil so.. which email??? can u tell me..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 22:42:40 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[sir i have attached the files to it...<br />light.a51 is the orginal file where it keeps giving me a warning message of memory overlap <br />while using keil..<br />ajay converted the orginal file and gave me the updated version.. tats a .asm file..<br />but there is a error.. there is parameter not defined.. sashi joseph sir.. this is the <br />both the files thanz you.. but it doesnt seem to work only.. esp the counter and turning of on<br />n off of the light.. so tats the only problem which is the major one thanz u. sashi joseph sir<br />hope u can get the file in this attachment... thanz you...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 22:47:20 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[Here's the Hex.<br />Oops...binaries not allowed.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 22:50:40 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[Here's the Hex.<br /><a href='http://www.8051projects.net/e107_files/public/1205819676_5870_FT6450_light.zip'><img src='http://www.8051projects.net/e107_images/generic/lite/file.png' alt='' style='border:0; vertical-align:middle' /></a> <a href='http://www.8051projects.net/e107_files/public/1205819676_5870_FT6450_light.zip'>light.zip</a>]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Mar 2008 22:54:36 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[hey can u send me the program which used to compile this hex file<br />along with asm n .lst file.. please<br />was there any memory overlapping warning showing?? when u compiled or<br />debugged the program??? please can u tell me tat much and send me the<br />attachment along with asm n .lst file. thanz for the hex code....<br />its really helpful..<br />but if i wanted to convert it to keil how would i do tat???? can u tell me tat also<br />please.. as we are only using kiel in our college for uC 8051.. so yeah thanz<br />i will load the micro-controler with this hex file n let u knw.. thanz...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 18 Mar 2008 06:39:39 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[so u r saying i use the same file in keil only but just include tat fille reg51.inc<br />instead??? and tats it???nothing else i have 2 do??? and it work properly<br />with all the function n there will be no problems????<br />if tats there thanz... i wil test it out asap.. thank you..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 18 Mar 2008 10:53:50 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[Well I've used RIDE for building.But since RIDE's not working for you,ASM51 could be used instead.It's a small download.Link : <a class='bbcode' href='http://www.8051projects.net/out.php?link=http://www.metaice.com/ASM51/Files/ASM51.zip' rel='external'  target='_blank'>http://www.metaice.com/ASM51/Files/ASM51.zip</a> <br />Use the attached inc file(place it in ASM51 folder).<br />In the Light.a51 file replace "INCLUDE reg_51.pdf" with "$include(REG51.inc)"<br />It should compile fine.<br /><a href='http://www.8051projects.net/e107_files/public/1205852653_5870_FT6450_8051_inc.zip'><img src='http://www.8051projects.net/e107_images/generic/lite/file.png' alt='' style='border:0; vertical-align:middle' /></a> <a href='http://www.8051projects.net/e107_files/public/1205852653_5870_FT6450_8051_inc.zip'>8051_inc.zip</a>]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 18 Mar 2008 08:04:13 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[its not a problem for compling its giving me a memory overlap<br />which is overlapping and hence there is a problem in the working<br />of the program.. and so therefore nothing seems to work tats the <br />problem we are having.. tats the problem... there is no errors<br />just a memory overlapping problem which is seen in keil and therefore<br />nothing is working the couter or the turning on n off the lights and everything]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 18 Mar 2008 11:00:34 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[all the variables with DS 1,<br />make them equ with ram address.. e.g.<br /><br />change<br /><br />abc DS 1<br />def DS 1<br />ghi DS 1<br /><br />to<br /><br />abc equ 30H<br />deg equ 31H<br />ghi equ 32H<br /><br />and then try again compiling.. no need to include any file in keil.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 18 Mar 2008 12:27:47 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[<div class='indent'>so u r saying i use the same file in keil only but just include tat fille reg51.inc<br />instead??? and tats it???nothing else i have 2 do??? and it work properly<br />with all the function n there will be no problems????<br />if tats there thanz... i wil test it out asap.. thank you..</div> <br />I wasn't speaking about Keil.Rather ASM51 which you can use instead of RIDE.Do read the posts carefully.<br />Anyways for Keil do like Ajay says.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 19 Mar 2008 06:44:36 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[ajay sir..<br />i used keil and there is no warning anymore..<br />but it still isnt working it... it doesnt check for the second sensor<br />it checks the first sensor n goes to the up count n to the function upps and<br />to the func hex2bch n until high byte is 00 it stays in the fuction high_byte..<br />but after tat that the vistor count is becoming zero.. can u please check the<br />simulation using keil using the port simul. <br />and y we are putting 15h in value1 and in value2 during the program and making<br />them 0??]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 24 Mar 2008 08:05:48 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[ajay sir...<br />can u please help me out with the above problem<br />i havnt put the code yet in the uC but while simulating yet..<br />but i cant figure out how 2 solove tat problem please....]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 26 Mar 2008 19:41:02 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[In the mean time can you compile the original program using RIDE (www.raisonance.com)<br /><br />Regarding this project, I am not the author of this project so I have least idea about why the values are being moved that way..!<br /><br />I do not have much time to simulate this project, so i really suggest you to use RIDE for compilation.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 27 Mar 2008 21:54:58 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[hey <br />does it matter if u use 89c51 instead of 89s52????]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 29 Mar 2008 10:11:37 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[you need to check the code, see if there is any controller specific code writter by the author. If thats not the case then you can use controller you want.<br />I'm not sure but i think author is using internal flash for storing visitor count. Please verify with the code<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 30 Mar 2008 10:36:16 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[U1-U7 - ICs<br />K1 - Relay<br />X1 - crystal<br />B1 - Bulb <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 12 Aug 2008 06:13:33 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[can u please explain me the working of the ckt diagram exp the part of the<br />transmitter n reciever part it would be a great help<br />and is there any changes in the code of this project?? or any<br />problems in the ckt???<br />please sir this is really urgent<br />if u can help me out please....]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 06 Aug 2008 02:11:03 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
						<item>
						<title>Re: Automatic Room light Controller with Visitor Counter (AT89S52)</title>
<link>http://www.8051projects.net/forum-t6450.html</link>
<description><![CDATA[i am sorry if my question is kinda silly but i have no choice than asking(because i am lost..hihi).. based on the schematic diagram of the circuit..can you tell me what are the components labeled with U1-U7,K1,X1(a type of crystal is ist?)..and B1.. thank you <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  <br />p/s:i don't know weither to reply to thread or post reply because i am a 'noob'..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 12 Aug 2008 00:22:20 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t6450.html</guid>
</item>
				</channel>
				</rss>