<?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>Wed, 07 Jan 2009 15:55:22 -0800</pubDate>
				<lastBuildDate>Wed, 07 Jan 2009 15:55:22 -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>An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Can some1 teach me ho to do this hardware?what code should i write for this hardware?<br />This assignment as mention in the title,we need have the function as below:<br /><br />-The system has 2 modes of operation: manual and automatic.<br /> -In manual mode, a user may control the speed of the fan (either off, low or high speed) via push buttons.<br />-In automatic mode, the microcontroller controls the speed of the fan depending on the ambient temperature:<br />Off Temperature &lt; 30ºC<br />Low speed30ºC Temperature &lt; 40ºC<br />High speedTemperature 40ºC<br />-Regardless of the mode of operation, the ambient temperature is always shown on a dual-digit seven-segment display modules.ion <br />and what additional function can i add for this fan?I am very weak in doing this type of project...<br />Hope some1 can help me and thanks for helping]]></description>
<pubDate>Sun, 19 Aug 2007 08:20:53 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hi cenadius,<br />welcome to rickey's world <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  <br />talking about your assignment.. first of all.. decide which hardware to use.. i mean.. the temperature sensor, fan interfacing technique..<br /><br />only after that.. writing a program for that hardware can be done. Also which language you want to use? C or Assembly?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 19 Aug 2007 13:55:14 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Hi Ajay,thanks you first for trying to help me.<br />i only allowed to use  assembly language to do this project and i will attach the part list to be use for you.Hope u can teach me how to do  after see the electronic part that i will use in doing this project.Can i know what is fan interfacing tehniques means?sorry, i really very weak in this subject,so many term that i not understand.<br /><a href='http://www.8051projects.net/e107_files/public/1187571252_3470_FT1707_part_list__mlk_.pdf'><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/1187571252_3470_FT1707_part_list__mlk_.pdf'>1187571252_3470_FT1707_part_list__mlk_.pdf</a>]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 19 Aug 2007 17:54:12 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hey cenadius since u r using dc fan... so its a very easy task.what u have to do is analog to digital conversion and then pwm according to temperature from lm35.in c language its very simple task <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 19 Aug 2007 23:29:23 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[As said by abbas, the controlling DC fan can be done through a PWM on a pin. and reading LM35 is easy with the help of ADC. All you need to do is the calibration of temperature with the ADC o/p.<br />you can start building your schematic. Just try it once <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>Mon, 20 Aug 2007 03:39:24 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[PWM is Pulse width modulation.. it helps you to control the output voltage by varying the width of a square wave pulse..<br /><br /><div class='indent'>A Brief Description:<br /><div class='code_asm'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="asm" style="font-family: monospace;">|¯¯|__|¯¯|__|¯¯|__ ---&gt; <span style="color: #46aa03; font-weight:bold;">A</span> square wave<br /><br />|¯¯¯¯¯¯|______<br />&lt;-Ton-&gt;&lt;-Tof-&gt;.<br />&lt;---Ttotal---&gt;</div></div><br /><br />Ttotal = ton+toff<br /><br />Duty cycle d = Ton/Ttotal<br /><br />if Vin is the input voltage and Vo is the o/p voltage.. then<br /><br />Vo = d x Vin<br />where d is the duty cycle..<br />now if we vary the duty cycle we can control the o/p voltage<br />e.g. d = 0, then Vo = 0 -- o/p is zero<br />and if d = 1, then Vo = Vin -- o/p equals input<br />Now the value of d can never be greater than 1.<br />To control d, we need to control the Ton, if we reduce the value of Ton, then d decreases and hence Vo. similarly if Ton increases, d increases and hence Vo increases.<br /><br />So d is directly proportional to Ton.<br />Vo is directly proportional to d<br />hence Vo is directly proportional to Ton</div><br /><br />I hope you understood the concept of PWM. <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>Mon, 20 Aug 2007 05:45:25 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Can i know what is PWM mean? <img src='http://www.8051projects.net/e107_images/emotes/yahoo/17.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 20 Aug 2007 05:14:02 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Thanks for ur explanation.This  is the schematic that we need to use.Pls help me see got any problem?if i wan add other thing such as buzzer,how to add?Can u teach me how to write the code by using asembly langugae for this assignment?thx]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 21 Aug 2007 18:38:54 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[as the schematic is ready.. so you can start programming one by one.. which one you want to go first? write programs in small modules... and then combine them later on.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 22 Aug 2007 04:14:47 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[-The system has 2 modes of operation: manual and automatic.How to write the code for this function?teach me pls<br /><br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 23 Aug 2007 09:55:43 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[well this function can be implemented later on.. because this is the final interface. First you need to write drivers for your peripherals like ADC, keys, Fan and its speed control and 7-segment LED. After you finish the basic building blocks of your project.. you can easily make the final interface.. I hope you got my point. So you can first start with the simplest.. "Fan switching and speed control".<br />where is your schematic?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 23 Aug 2007 11:07:31 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[i maybe want add something to my circuit so i remove it first.So can u teach me how to write the code for control the fan speed in manual mode?i need write the code to control fan speed for manual and auto separately or just write 1 can d?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 24 Aug 2007 05:52:46 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ok.. i tell you something.. controlling via manual or auto is the later part of your project it will be according to the keys user press.. that is the interface part. But basically you need to write for controlling and switching of FAN first.<br /><br />And yes i will help you writing it..<br />So as i told you about PWM, you need a timer (either Timer 0 or Timer 1). and we need to load the timer for 2 different values, One for ON timer and one for OFF time (as explained for PWM square wave).<br />The value of ON, OFF depends on the mode selected by the user. i.e. If manual then you can have 5 preset values for user to select from and load them according to the selected value.<br />In automatic mode, i don't know how it suppose to work in auto mode..<br />So I hope you understood the basic idea.. can you make a simple code to generate a square wave? I will help you to modify it, according to your project <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  waiting for your INPUT <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 24 Aug 2007 06:44:34 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[sorry for taking so long time to reply u.<strong class='bbcode bold'>Do u know what software that can use to draw the circuit schematic?</strong>This is the simple code u ask me to do which can get square wave,this program is use to generate 1hz square wave by using timer 1 with duty circle 50%,deration for high low portion of square wave are 0.5 s,T=1s.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 30 Aug 2007 05:37:55 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[I think there is some problem with the attachment of file.. i need to check that..<br />By the time.. please try to paste the code..<br /><br />here is a sample PWM code.. check it..<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;">org</span> 0H<br /><span style="color: #00007f; font-weight:bold;">sjmp</span> start<br /><span style="color: #0000ff;">org</span> <span style="color: #ff0000;"><span style="color: #ff0000;">0B</span>H</span><br />TIMER_0_INTERRUPT:<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">JB</span> F0, HIGH_DONE &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; If F0 is set then we just finished the high section of the</span><br />LOW_DONE: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; &nbsp; cycle so Jump to HIGH_DONE</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">SETB</span> F0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Make F0=1 to indicate start of high section</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">SETB</span> P1<span style="color: #ff0000;">.0</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Turn off LED</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">MOV</span> <span style="color: #46aa03; font-weight:bold;">TH0</span>, <span style="color: #46aa03; font-weight:bold;">R7</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Load high byte of timer with R7 (pulse width control value)</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">CLR</span> TF0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Clear the Timer 0 interrupt flag</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">RETI</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; Return from Interrupt to where the program came from</span><br />HIGH_DONE:<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">CLR</span> F0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; Make F0=0 to indicate start of low section</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">CLR</span> P1<span style="color: #ff0000;">.0</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; Turn on LED</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">MOV</span> <span style="color: #46aa03; font-weight:bold;">A</span>, #<span style="color: #ff0000;">0FFH</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Move FFH (255) to A</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">CLR</span> <span style="color: #0000ff;">C</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Clear C (the carry bit) so it does not affect the subtraction</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">SUBB</span> <span style="color: #46aa03; font-weight:bold;">A</span>, <span style="color: #46aa03; font-weight:bold;">R7</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; Subtract R7 from A. A = 255 - R7.</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">MOV</span> <span style="color: #46aa03; font-weight:bold;">TH0</span>, <span style="color: #46aa03; font-weight:bold;">A</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; so the value loaded into TH0 + R7 = 255</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">CLR</span> TF0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Clear the Timer 0 interrupt flag</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">RETI</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; Return from Interrupt to where the program came from </span><br />start:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">MOV</span> <span style="color: #46aa03; font-weight:bold;">TMOD</span>,#<span style="color: #ff0000;">00H</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">SETB</span> TR0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; turn on timer 0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">SETB</span> EA &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; Enable Interrupts</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">SETB</span> ET0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; Enable Timer 0 Interrupt</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">MOV</span> <span style="color: #46aa03; font-weight:bold;">R7</span>, #<span style="color: #ff0000;">160</span> &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">; set pulse width control to dim</span><br /><span style="color: #00007f; font-weight:bold;">LOOP</span>:<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">SJMP</span> <span style="color: #00007f; font-weight:bold;">LOOP</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">;go to LOOP</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">END</span></div></div>]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 30 Aug 2007 06:05:26 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[this is my code,why i cannot attch file?i wan attach the file that contain my code but cannot so i have to type it here<br /><br /><br />		 ORG  0000<br />		 MOV  TMOD,#10H	;TIMER 1 IN MODE 1<br />MAIN:		 MOV  R0,#10                     ;COUNTER FOR 10 LOOPING<br />REPEAT:	                      MOV  TH1,#3CH	;MOVE 3CH INTO TH0<br />		 MOV  TL1,#0B0H	;MOVE B0H INTO TL0<br />		 SETB TR1		;START THE TIMER 1<br />LOOP:		 JNB   TF1,LOOP	;WAIT FOR TIMER1 OVERFLOW<br />		 CLR   TR1		;STOP TIMER 1<br />		 CLR   TF1		;CLEAR TIMER 1 OVERFLOW FLAG<br />		 DJNZ R0,REPEAT	;IF R0 NOT ZERO GO TO REPEAT<br />		 CPL   P1.0		;COMPLEMENT P1.0 TO GET HIGH OR LOW	<br />		 SJMP MAIN		;RELOAD TH1&amp;TL1<br />		 END<br /><br /><br /><br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 30 Aug 2007 05:43:08 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ok.. but.. i wanted you to make it with timer.. for PWM, the delay should be less otherwise your motor will not run smooth.. you can try connecting an LED to the port to see that.. it will flicker a lot..<br />where as if you use keep delay smaller like timer in a 13-bit mode.. then you will see a variation in voltage instead of flickering..<br />I am attaching a sample PWM code for you.. take a look.<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: #00007f; font-weight:bold;">MOV</span> <span style="color: #46aa03; font-weight:bold;">R7</span>, #<span style="color: #ff0000;">160</span> &nbsp; <span style="color: #adadad; font-style: italic;">; set pulse width control to dim</span></div></div><br /><br />The above part of the code will determine the output voltage level. you can test this code.. by changing the value of R7.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 30 Aug 2007 06:04:20 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[you can use orcad for making schematic.. but is not a free software... the schematic u showed me is made in protel. you can use the same software. or try some free software on internet like eagle.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 30 Aug 2007 06:13:38 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ok,thanks,but how u see the delay in my code?actually i found this code from book and modify it so i no very understand,and <strong class='bbcode bold'>do u know what software that can use to draw the circuit schematic?</strong>]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 30 Aug 2007 06:08:27 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Can u explain the function of this PWM code?why we need control output voltage level?The output voltage will affect which part of function of hardware?i not very understand,i am sorry that i only know ask question but i try to learn all this thing through doing this assignment,so i do it all by my own.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 30 Aug 2007 06:54:49 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[PWM is to control o/p voltage.. to increase or decrease the speed of motor. as you said.. there is requirement of manual select for speed of fan.. so this code will be useful.<br />you can have preset 5 values, that you will load when user press a key <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br />Please check your PM <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 30 Aug 2007 08:39:00 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ooo,i see,but we just need 3 value which for fan run fast ,medium and slow and we only have 4 switch which use to set 3 value and change the fan between auto and manual mode.On the other hand,can u give me the link to download protel?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 30 Aug 2007 18:49:56 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[i  want add other electronic part to create extra feature for this program,cos this extra feature also cost us some mark,now  i think i donw an add extra part d cos i donno how to connect iinto this circuit,and can u pls told me what should i do next after complete the pwm code?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 31 Aug 2007 01:45:19 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[mmm... protel is also not free..<br />But the schematic you gave me is already a finished one.. so why you want to make another schematic?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 31 Aug 2007 00:46:25 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[thanks,how to  try on hardware?we need complete all the code only can insert into the 8051 microcontroller,right?then only can test,right?And how should i set all those value into the pwm code?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 31 Aug 2007 02:33:19 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Don't forget to test the code on the hardware.. and for three levels.. i think appropriate values can be..<br />Low: 30<br />Medium: 150<br />Fast: Switch ON the fan.. and stop the timer..<br /><br />The next thing you can do is.. writing a code for 7-segment Display..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 31 Aug 2007 02:21:05 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[i mean just try fan part.. check if PWM is working or not..<br />i mean to say... check if by putting the value.. are you getting a varying voltage or not.. that is what i meant with checking.<br />program once with first value and note the voltage o/p with a multimeter<br />then again program with second value and note the voltage.<br />then third.. and note the voltage..<br />In all three cases you should have a varying voltages. if that is coming then one module is ready.. then go to second part of your board.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 31 Aug 2007 02:44:31 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[1)the code just now to set the ADC rite???what is the effect to 8051 and how that code function??<br />2)...i need to set 8051 to set for my fan to work rite?.what is the code that i need to make my 8051 get data from ADC??<br /><br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 31 Aug 2007 03:13:43 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Hariz.. please create your own topic.. or i get confuse answering you both.. this topic is for cenadius.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 31 Aug 2007 03:14:34 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[AS shown in the schematic,if i wan set when i press sw2,the fan will run at low speed;when i press sw3,the fan will run at medium speed;when i press sw4 the fan will run on fas speed,so how i need to modified the sample code u give to to get the output like this?And can i do such that after i press sw2 then press sw3,it will automatic reset sw2?<br /><a href='http://www.8051projects.net/e107_files/public/1188580283_3470_FT1707_schematics_rev2.pdf'><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/1188580283_3470_FT1707_schematics_rev2.pdf'>1188580283_3470_FT1707_schematics_rev2.pdf</a>]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 31 Aug 2007 10:11:24 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[well.. everything is possible <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  and is not at all hard to do that <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  i will explain how to do that ok! <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br /><br />all you have to do is.. wait for the key press.. and when a key is pressed.. execute some part of code related to that key.<br />So when sw2 is pressed it will execute the code for sw2, and set the fan speed, and if you pressed sw3 then it will execute the sw3 code and will set the new fan speed... overriding the old speed set by sw2.<br />Try to write a code.. to read which key is pressed.. and execute code for that key... PM me the code <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 31 Aug 2007 11:40:59 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[I saw your code...<br />there are many mistakes.. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  i think you have no idea about what interrupts are.. anyways.. i explain you..<br />its like this..<br />whenever an interrupt occur, as clear from the name.. it interrupt the current processing of the CPU, and start executing the code which deal with that interrupt, that special part of code is called interrupt routine.<br />In AT89C51 there are 5 interrupts (2 external, 2 timer and one serial). and specific addresses are assigned to these interrupts in the ROM, which is called Interrupt vector location.<br />There is one more interrupt which is usually there in all the MCUs, called Reset interrupt and vector location is 00H<br />so whenever you press a reset button your CPU jumps and start executing from 00H.<br /><br />This way for.. INT0 - location is 0003H<br />Timer 0 - 000BH<br />INT1 - 00013H<br />Timer 1 - 0001BH<br />Serial - 00023H<br /><br />so whenever an interrupt occur it jumps to these location to execute the code.. and the code written in these location is called interrupt service routine. When you return from these routines you cannot use simple RET instruction. you need RETI (return from Interrupt).<br /><br />In your code.. you are overwriting on location where timer interrupt has to jump. so you need to rearrange your code something like this..<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;">org</span> 0H<br /><span style="color: #00007f; font-weight:bold;">sjmp</span> reset<br /><br /><span style="color: #0000ff;">org</span> <span style="color: #ff0000;"><span style="color: #ff0000;">0B</span>H</span><br /><span style="color: #00007f; font-weight:bold;">sjmp</span> timer0int<br /><br />reset:<br />--- your starting of program---<br /><br />timer0int:<br />---the PWM code---</div></div><br /><br />I hope you got my idea.. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  please try rearranging the code.. so i understand a better way what you did. if i feel anything wrong in the code i will correct it and send you back <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 01 Sep 2007 03:59:56 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[what is the meaning of pullups?i compile  the program,still got error,which is the reset there,from error columm it show say that symbol already defined,what is that mean?symbol defined also an error?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 01 Sep 2007 05:32:11 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[its working properly no error!<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;">Build target <span style="color: #7f007f;">'Target 1'</span><br />assembling <span style="color: #00007f; font-weight:bold;">test</span>.asm...<br />linking...<br />Program <span style="color: #0000ff;">Size</span>: <span style="color: #0000ff;">data</span>=<span style="color: #ff0000;">8.0</span> <span style="color: #0000ff;">xdata</span>=<span style="color: #ff0000;">0</span> <span style="color: #0000ff;">code</span>=<span style="color: #ff0000;">85</span><br />creating hex file from <span style="color: #7f007f;">&quot;test&quot;</span>...<br /><span style="color: #7f007f;">&quot;test&quot;</span> - <span style="color: #ff0000;">0</span> <span style="color: #0000ff;">Error</span><span style="color: #66cc66;">&#40;</span>s<span style="color: #66cc66;">&#41;</span>, <span style="color: #ff0000;">0</span> Warning<span style="color: #66cc66;">&#40;</span>s<span style="color: #66cc66;">&#41;</span>.</div></div><br /><br />which compiler you using?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 01 Sep 2007 06:38:42 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[mm.. i think lable is written twice..<br />i did not compile the program. and your program was having lot of errors..<br /><br />Pullup means.. connect the pin to VCC via 10K resistor...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 01 Sep 2007 06:16:40 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[well i don't know why it is giving you error.. can you please post the error? in detail?<br />or if possible download the demo version of Keil.. www.keil.com<br />because your code will be lesser than 2K limit of demo.. so you can use it...<br />if you don't want to do that.. then you need to give complete error details.<br />try to take a screenshot and upload it to www.imageshack.us and post the link here.. i will take a look at the error.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 01 Sep 2007 12:22:08 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[i using Fet89c5x compiler]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sat, 01 Sep 2007 09:24:38 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Can u give the hint on how to start the 7segment program?The 7segment is needed to show the temperature value sense by sensor in the auto mode in celsius unit.The error link as shown below:<br />http://img505.imageshack.us/my.php?image=erorkn2.jpg]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 02 Sep 2007 03:52:58 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hmm.. ok.. i think i first need to download your assembler and then check what is wrong.. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br />regarding.. 7-segment.. search in the site.. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  you will get it in the forum..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 02 Sep 2007 04:19:33 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[just rename the label RESET with something else.. like main<br />and it will work.. test it. and tell me the results..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 03 Sep 2007 06:03:23 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[thanks,i test d,no problem]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 03 Sep 2007 09:07:15 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[so the fan working fine now? if yes then you can now start with 7-segment display <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>Mon, 03 Sep 2007 09:14:14 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[i hav read thru tis thread but i still got some problem to do with tis project. i hope to get some assist from u guys. thx]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Sep 2007 05:03:35 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[thanks for ur guideline,ajay,but 1 of my senior told me that we don need delay for 7segment code,cos it will alway display the temperature after get the data from adc]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Sep 2007 07:31:13 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[AJAY,I NEED MODIFIED MY PWM CODE WHICH WILL GIVE MY FAN 3 CONDITION  FAN WILL OFF,SLOW AND FAST,CAN I CHANGE 1 OF THE VALUE INTO 0 IN ORFER MAKE IT OFF?SUCH AS SET MOV R7, #30  TO MOV R7, #0?ON THE OTHER HAND,THE SCHEMATIC CONNECTION HAD CHANGED,WILL IT AFFECT THE CODE SETTING?<br /><a href='http://www.8051projects.net/e107_files/public/1188913836_3470_FT1707_schematics_rev3_mlk.pdf'><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/1188913836_3470_FT1707_schematics_rev3_mlk.pdf'>1188913836_3470_FT1707_schematics_rev3_mlk.pdf</a>]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Sep 2007 06:50:36 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[well its really simple.. where you set the value 30.. instead of that switch off the timer.. clear the TF0 and stop the fan.. clear the FAN bit. just like we did in fast mode.. do the opposite for stop <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br /><br />also i saw the changes in the circuit.. i also told you to connect pullups on switches like you did on transistors.<br /><br />and for 7 segment.. you need not to write such a big code..<br />also there are lot of modifications that are to be done in 7-seg display..<br /><br />i am going to explain you with example..<br />say... you want to display a number like 39 (in hex) on display..<br /><br />so.. as you already got the decoded value for displaying numbers on 7-seg.. you just need to separate the number to display and send it to the port where they are connected<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: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">dptr</span>,#decodedtable <span style="color: #adadad; font-style: italic;">;load the decoded values</span><br /><span style="color: #00007f; font-weight:bold;">mov</span> temp,<span style="color: #46aa03; font-weight:bold;">a</span> &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">;where temp is a temp variable</span><br /><span style="color: #00007f; font-weight:bold;">anl</span> <span style="color: #46aa03; font-weight:bold;">a</span>,#<span style="color: #ff0000;">0F0H</span> &nbsp; <span style="color: #adadad; font-style: italic;">;we just need the higher nibble</span><br /><span style="color: #00007f; font-weight:bold;">swap</span> <span style="color: #46aa03; font-weight:bold;">a</span><br /><span style="color: #00007f; font-weight:bold;">movc</span> <span style="color: #46aa03; font-weight:bold;">a</span>,@<span style="color: #46aa03; font-weight:bold;">a</span>+<span style="color: #46aa03; font-weight:bold;">dptr</span> <span style="color: #adadad; font-style: italic;">; load the decoded value for</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">; the number to display</span><br /><br /><span style="color: #00007f; font-weight:bold;">mov</span> 7segport,<span style="color: #46aa03; font-weight:bold;">a</span> &nbsp;<span style="color: #adadad; font-style: italic;">;7segport is the port where 7segments</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">;are connected</span><br /><span style="color: #00007f; font-weight:bold;">acall</span> delay &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">;you need some delay here.. about 10ms</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">;or more.. you can adjust it when u run</span><br /><span style="color: #adadad; font-style: italic;">;then enable the common pin here</span><br /><span style="color: #00007f; font-weight:bold;">setb</span> common1 &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">;for first 7-seg</span><br /><br /><span style="color: #adadad; font-style: italic;">;now we send the lower nibble</span><br /><span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">a</span>,temp &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">;restore the number form temp</span><br /><span style="color: #00007f; font-weight:bold;">anl</span> <span style="color: #46aa03; font-weight:bold;">a</span>,#<span style="color: #ff0000;">0FH</span> &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">;mask the higher nibble to extract</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">;lower nibble only</span><br /><span style="color: #00007f; font-weight:bold;">movc</span> <span style="color: #46aa03; font-weight:bold;">a</span>,@<span style="color: #46aa03; font-weight:bold;">a</span>+<span style="color: #46aa03; font-weight:bold;">dptr</span> &nbsp; <span style="color: #adadad; font-style: italic;">;load the decoded value for</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #adadad; font-style: italic;">;lower nibble</span><br /><span style="color: #00007f; font-weight:bold;">mov</span> 7segport,<span style="color: #46aa03; font-weight:bold;">a</span> &nbsp; <span style="color: #adadad; font-style: italic;">;send the decoded value</span><br /><span style="color: #00007f; font-weight:bold;">setb</span> common2 &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">;enable the common pin for</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #adadad; font-style: italic;">;second 7-seg display</span><br />decodedtable:<br /><span style="color: #0000ff;">db</span> <span style="color: #66cc66;">&#40;</span>decoded values here<span style="color: #66cc66;">&#41;</span>....</div></div><br />The decode table will be the values you used in your program to send individual digits..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Sep 2007 07:23:37 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hye ajay..i got some problem with my assignment which is about 8051 based temperature controlled fan.<br />i having some difficulty about the source code.so,can u help me ?? <img src='http://www.8051projects.net/e107_images/emotes/yahoo/2.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Sep 2007 07:33:02 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[well cenadius.. we do need delay.. the reason is..<br />the 7-segs are connected to the same port.. and.. before the first 7-seg show the value you are deactivating it and displaying the second value... just test the code.. you will see nothing on 7-seg and you will see 88 on display.<br /><br />the sequence is this way...<br />get the higher nibble..<br />move it to the seven segment port<br />activate the seven segment<br />put some delay<br />deactivate the seven segment<br />get the lower nibble<br />send to the seven segment port<br />activate the second seven segment<br />delay<br />deactivate it<br />This way you will see the proper value.<br />microcontroller execute instructions in microseconds.. so delay is must <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  you can check with and without delay <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br /><em class='bbcode italic'><br />@Natasha:<br />Please create a new thread.. and explain me your problem. I will surely help you out.</em>]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Sep 2007 07:54:11 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[what is nibble mean?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 04 Sep 2007 08:11:30 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[1 byte got 8 bits..<br />Bit 7 to Bit 4  - upper nibble<br />Bit 3 to Bit 0 - lower nibble..<br /><br />combination of 4 bits is called a nibble <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, 04 Sep 2007 08:30:41 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[can i ask u something here?<br />for the DPTR, it is 16-bit right?<br />then when we do this--> MOV DPTR,#decodetable<br />is it mean all decodetabe value also 16-bit?<br />or we jsut use the lower 8bits of DPTR?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 05 Sep 2007 01:44:22 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ok.. here is your answer..<br />when we do mov dptr,#decodedtable<br />it actually load the address of the label...<br />lets say if your values are stored somewhere at 2000H then executing the above instruction will load the DPTR with 2000H. to fetch the values from that location we use instructions like..<br />movx - from external ram<br />movc - from code memory<br /><br />as our decoded table resides in ROM/Code memory so we use<br />movc a,@a+dtpr --- a is loaded from the memory location pointed by (dtpr + a). and the loaded value will be 8-bit]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 05 Sep 2007 05:18:10 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Ajay, can i write the code of this project without using interrupt?<br />but it will make the MCU busy as keep on checking the current state n do...<br />i have roughly write the flow of the whole program n realize that it maybe work, but not sure.<br />is it possible?<br />p/s: coz im really stuck at interrupt n dont know how to combine all parts... <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>Wed, 05 Sep 2007 11:47:07 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[well.. for PWM interrupt is must.. coz by the time u are checking and displaying the ADC value.. at the background your PWM will be running that is going to control the fan speed.<br /><br />for ADC no need of interrupt!!]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 05 Sep 2007 12:32:49 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[how is the intterupt working when we still running other thing in the main function?<br />from the example in the book, <br />when we waiting for the intterupt, we just write a simple code like: <br />SJMP $<br />n it is simply waiting for intterupt occur, so how can i change it to keep on doing other in main? <br />is it simply continue n cancel the code " SJMP $ "?<br />p/s:the example in the book only teach waiting for the interrupt, n when that intterupt occur, the MCU will do the intterupt part n the main function doing nothing, so....confuse me... <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>Wed, 05 Sep 2007 19:37:58 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[lol! you are funny.. i mean yes confusion can be there <img src='http://www.8051projects.net/e107_images/emotes/yahoo/10.gif' alt='' style='vertical-align:middle; border:0' /> <br />ok.. is like this way...<br /><br />sjmp $ means jump on the same location.. it is done this way.. when you do not have anything else to do in your program.. but in your program.. you have many thing.. which you need to do in a sequence and continuously.<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: #00007f; font-weight:bold;">loop</span>:<br />&nbsp; &nbsp; check <span style="color: #0000ff;">for</span> key press<br />&nbsp; &nbsp; read <span style="color: #00007f; font-weight:bold;">adc</span><br />&nbsp; &nbsp; display <span style="color: #00007f; font-weight:bold;">adc</span><br />&nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">sjmp</span> <span style="color: #00007f; font-weight:bold;">loop</span></div></div><br /><br />so doing the above work in loop will keep your controller busy.. and if in between the timer interrupt for PWM occurs, then CPU will save the data.. and jumps to Interrupt service routine execute that code.. and come back to the main program and do the work as usual in loop.<br /><br />I think your problem is.. if CPU execute the ISR then what about the main code.. it get stuck or something.. so the answer is.. ISR will finish fast.. i mean.. wont take time for ISR to finish as only few instructions will be there in ISR and CPU execute them fast without wasting any time.. you will come to know when you do them in the program.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Sep 2007 00:53:29 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[can pm me the source code that had done ? i wan to try it ... thanks .... appreciate it very much .....]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Sep 2007 06:25:20 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[No Sorry! its his work.. i cannot send you <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 Sep 2007 06:33:57 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Ajay,how to write the delay code for 10ms?i write like this is it correct?DELAY:MOV R0,#10?what is subroutine code?is the subroutine code same as delay?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Sep 2007 09:48:04 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[here is the code for delay<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;">delay:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">r5</span>,#50H<br /><span style="color: #00007f; font-weight:bold;">wait</span>:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> R4,#<span style="color: #ff0000;">255</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">djnz</span> r4,$<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">djnz</span> <span style="color: #46aa03; font-weight:bold;">r5</span>,<span style="color: #00007f; font-weight:bold;">wait</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">ret</span></div></div><br /><br />Routine is a part of code just like functions.. they are called routines or sub routines in Assembly. search in google for more information.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Sep 2007 10:54:37 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[how do i start the assembly code? which part to start? im noob here.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Sep 2007 11:23:48 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[please read all the previous discussions.. it will help you.. take help from your seniors too.. wherever needed..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Sep 2007 12:31:16 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[thanks,what is the diferent between R0,R4 and R5,how to knwo when i need use r0,r4 or r5,or other rvalue such as r2,r3?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Sep 2007 18:44:27 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[those are registers... it depends on you.. how you want to use.. according to your requirement and ease of programming.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 06 Sep 2007 22:01:26 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[thanks .ajay,after 7segment code,what should i do next?write the code for adc?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 07 Sep 2007 05:31:00 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ok,thanks,ajay can u help me check 7segment code on the other hand,can u explain to me the finction of the switch in the circuit?especially switch name sw-spdt,that switch 1 pin connect to ground and 1 pin no connected,it still an function?and is sw1 on off switch ?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 07 Sep 2007 05:39:08 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ofcourse.. check the forum.. you will find the code...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 07 Sep 2007 05:35:17 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[well.. i think it would be better to ask Y.S Yong who actually designed the circuit <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  because.. when you make a circuit you keep the functional working in mind.<br /><br />and regarding 7-segment.. you need to check it on the circuit.. and please take help from your teachers...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 07 Sep 2007 06:08:13 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[compile it and then program the controller to see the results.. and check the output and compare the working as per your expected program.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 09 Sep 2007 09:45:08 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Ajay, i finish writing program but not sure correct flow o not...<br />can u help me to check the program?<br />n how can i send the file to u?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 09 Sep 2007 02:43:26 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Ajay,<br />May I know how we can have preset values in PWM? How we can make PWM accept values from ADC after ADC have finished translating the analogue signal?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 10 Sep 2007 06:52:25 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[after finishing the ADC conversion you will get some value from the ADC, as you want the fan to be at three speeds (OFF, Slow, Fast)<br />The values you used in case of manual can be used in auto mode too.. all you need to do is check the temperature.<br />e.g if temp is between less than 20° - Fan off (stop timer and clear the fan bit)<br />if temp is between 20° to 30° - Fan slow (run the PWM with the same value as decided in manual mode)<br />if temp is between 30° and above - Fan Fast (stop timer and set the fan bit)<br /><br />This how the auto mode works.. and for PWM values you can use any value i suggest you using 100. Value can be between 0 to 255. as only slow mode is there so 100 is ok.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 10 Sep 2007 08:38:00 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[So that's mean code for PWM that you've posted before is complete? We only need to write the code for checking condition, is it? What is the code to stop the timer?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 10 Sep 2007 09:32:04 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[yes the code is complete..<br /><br /><div class='quote_top'>tsubasa wrote ...</div><div class='quote'>What is the code to stop the timer?</div><br /> <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' />  <br />clr TR0 or whatever timer you are using.. the clear the timer run bit.. i cannot believe you people are really studying or what... <img src='http://www.8051projects.net/e107_images/emotes/yahoo/17.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 10 Sep 2007 12:20:29 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Ajay, today i just try my program but.....so... <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' /> :....7segment cant display properly...:mad:]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 10 Sep 2007 12:55:09 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Hehe. Relax Ajay. Cool.....down..... Actually the time I wrote that question was when I had been pressured by my group leader to finish the coding. I also don't know why I asked you that stupid question. Sorry for that.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 10 Sep 2007 12:45:51 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[make a simple counter program to check..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 10 Sep 2007 13:14:39 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Ajay,<br />for cenadius code he used 4 seven segment disp. What about if we only use 2 seven segment? The code is still the same, is it?  The different only at the lookup table, right?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 10 Sep 2007 19:30:19 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[As per you said in PM...<br />you are doing wrong.. he said.. V is the ADC value.. from 0 to 255. LM35 gives voltage o/p in mV for every 1° rise there is increase in 10mV.<br />So if the temp is 20°C then the voltage o/p will be 20*10 = 200mV <br /><br />Now when you work with ADC, the total voltage range is divided in 256 steps. so... each step is equal to 5/256 V<br />or 19mV approximately. So you might be having little error in reading the temperature but it will be very close to the actual one.<br /><br />So.. all you have to do is.. convert the ADC value directly to the temperature value.. and make a lookup table for that.. as i said you can have V from 0 to 255 so, you will have 256 different values as answer, that will be your temperature <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, 11 Sep 2007 13:58:50 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[i m really weak in assembly  programming..May i ask some question which might sound silly to u all..?<br /><br />when i wan to use a pin from my uC, i shud "SETB PX.X" right?<br /><br />lets take a  switch to pin P1.0as an example,<br /><br />when the switch is on(do not grounded) den my P1.0 will detected as 1? when the the switch is grounded it will giv reading of 0. m i right?<br /><br />e.g<br />a switch connect to P1.0<br />to control which mode to b used(auto or manual)<br />:wat i wan is when the switch is open den it will go to manual when it is grounded(pressed) it goes to auto<br /><br />check out my code..<br /><br />          ORG 0000H<br />LOOP:SETB P1.0<br />          JNB P1.0, AUTO<br />          JMP MANUAL<br /><br />AUTO:...................<br />         ..............<br />          JMP LOOP<br /><br />MANUAL:..............<br />          .............<br />          JMP LOOP<br /><br />END<br /><br />can tis stupid thing work? sry i m nt gd in programming. alwez ask stupid question..:P<br /><br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 11 Sep 2007 22:21:57 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[as per your program.. it will surely work, only if the switch is a latched one.. i mean like the one you have in your circuit SPDT switch. the above code will work with that..<br />rest all parts depends on your code <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br />and you wrote a good and correct code. so don't worry <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, 12 Sep 2007 02:11:27 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Thx for the reply. wat about the micro-tact switch? the switch which will nt remain in the"pressed" position how shud i write the code? I mean how shud i detect it after it has been pressed.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 12 Sep 2007 03:59:59 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[oic...actually i m using the same circuit as the rest of them... the micro-tact switches are used to control fan speed during the manual code...i was using code as below:<br /><br />MANUAL:	SETB P1.2<br />                     SETB P1.3<br />                      JNB P1.2,FAST<br />	JNB P1.3,SLOW<br />	CALL OFF<br /><br />wher P1.2 &amp; P1.3 are connected to the switches.<br />Then i realized it cant work. <br /><br />FAST,SLOW, OFF are subroutines to control fan speed<br /><br />thx for telling me it actually wont work..haiz.. i will try another code to detect the input from tis two switches.<br /><br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 12 Sep 2007 05:34:03 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[they are to be detected in the same way... but the thing is they wont be latched..<br />as per your program, you are reading a switch and then doing the work auto or manual according to the position of switch.. and after doing the work, you are again jumping back to read the switch again.. for micro-tact switches, the code wont work..<br />So all you can do is.. when you press the switch, clear or set a bit as per you want.. that bit can be as mode bit for your application..<br />So all you will do is.. read the mode bit, and see if its set then do auto if clear do manual..<br />and when the mode switch is pressed for changing the mode, just toggle the bit.. and mode will be changed automatically <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>Wed, 12 Sep 2007 04:28:54 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[If i use tis code, den i hav to add another switch? <br />i m wondering that must i "SETB Px.x" to use the particular pin? i do nt hav a correct idea wat must i write for the code to use hardware(the switch) to control the flow.<br />i juz learn it from some example codes,which they will use SETB Px.x before they start detecting the input from the pin.<br />Anyway thx alot for ur reply.. i hav asked lots of ppl (seniors, lecturers) they dun seem like wan to help ..]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 12 Sep 2007 06:06:46 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[well..<br />try the other way i tell you..<br /><br />Manul:<br />JNB key1,off<br />JNB key2,slow<br />JNB key3,fast<br />sjmp manual<br /><br />off:<br />;your code for fan off<br />JNB key1,$<br />sjmp manual<br /><br />slow:<br />;your code for slow speed<br />JNB key2,$<br />sjmp manual<br /><br />fast:<br />;your code for fast speed<br />JNB key3,$<br />sjmp manual<br /><br />try this one.. is better.. it waits for user to release key and then go back for scanning agian.. <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>Wed, 12 Sep 2007 05:49:18 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[oo..so i need 3 pins/switches(key1,key2 and key3) to control the fan speed, m i right? coz i plan to use only 2 pins in the beginning , but since u tell me tis code is easier to b used den i will change it to 3 pins. thx again...<br /><br /><br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 12 Sep 2007 08:07:24 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Yes you have to use 3 keys... <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br />and fourth for Auto/Manual.. it depends on you if you want it as the SPDT switch or micro-tact switch.. accordingly program will change.. <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>Wed, 12 Sep 2007 11:06:06 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[there is no need to do setb Px.x as by default on startup all the pins are i/p pins so no need to make then i/p again.<br />In the code i wrote above..<br />its goes this way..<br />in first three lines of code.. it wait for any key to press.. and waiting in the loop until a key is pressed. as soon as a key is pressed.. it jumps to the label specified..<br />after jump it execute that part of code.. and the statement<br />JNB keyx,$ will wait for user to release the key.<br />and as soon as user release the key.. it again wait for key press from the user... <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>Wed, 12 Sep 2007 07:03:08 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[what help you need? can you please create a new topic? this discussion is different from your requirement... <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>Fri, 14 Sep 2007 13:31:23 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[I need help regarding the report.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 14 Sep 2007 12:30:05 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[here is the complete code.. just read it.. see the instruction set carefully and try to imaging what is going on...<br />Test it on board directly.. and i cannot guarantee 100% working..<br />all you need to do is test it..<br /><br /><div class='indent'><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;">;-------------------------------------------</span><br /><span style="color: #adadad; font-style: italic;">;</span><br /><span style="color: #adadad; font-style: italic;">; &nbsp; Function of switches used in my program</span><br /><span style="color: #adadad; font-style: italic;">;</span><br /><span style="color: #adadad; font-style: italic;">; &nbsp; &nbsp; &nbsp;SPDT = Auto/Manual</span><br /><span style="color: #adadad; font-style: italic;">; &nbsp; &nbsp; &nbsp;SW2 = Off</span><br /><span style="color: #adadad; font-style: italic;">; &nbsp; &nbsp; &nbsp;SW3 = Low</span><br /><span style="color: #adadad; font-style: italic;">; &nbsp; &nbsp; &nbsp;SW4 = Fast</span><br /><span style="color: #adadad; font-style: italic;">;</span><br /><span style="color: #adadad; font-style: italic;">;-------------------------------------------</span><br /><br />automan <span style="color: #0000ff;">equ</span> P3<span style="color: #ff0000;">.4</span><br />off &nbsp; &nbsp; <span style="color: #0000ff;">equ</span> P1<span style="color: #ff0000;">.4</span><br />flow &nbsp; &nbsp;<span style="color: #0000ff;">equ</span> P1<span style="color: #ff0000;">.5</span><br />ffast &nbsp; <span style="color: #0000ff;">equ</span> P1<span style="color: #ff0000;">.6</span><br />soc &nbsp; &nbsp; <span style="color: #0000ff;">equ</span> P3<span style="color: #ff0000;">.1</span><br />read &nbsp; &nbsp;<span style="color: #0000ff;">equ</span> P3<span style="color: #ff0000;">.0</span><br />fan &nbsp; &nbsp; <span style="color: #0000ff;">equ</span> P3<span style="color: #ff0000;">.3</span><br />mode &nbsp; &nbsp;<span style="color: #0000ff;">equ</span> 20H<br />done &nbsp; &nbsp;<span style="color: #0000ff;">equ</span> 21H<br /><span style="color: #00007f; font-weight:bold;">adc</span> &nbsp; &nbsp; <span style="color: #0000ff;">equ</span> 30H<br />adcport <span style="color: #0000ff;">equ</span> <span style="color: #46aa03; font-weight:bold;">P2</span><br />MSB &nbsp; &nbsp; <span style="color: #0000ff;">equ</span> P1<span style="color: #ff0000;">.0</span><br />LSB &nbsp; &nbsp; <span style="color: #0000ff;">equ</span> P1<span style="color: #ff0000;">.1</span><br />seg7 &nbsp; &nbsp;<span style="color: #0000ff;">equ</span> <span style="color: #46aa03; font-weight:bold;">P0</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">org</span> 0H<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">sjmp</span> start<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">org</span> <span style="color: #ff0000;">03H</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">setb</span> done<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">reti</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">org</span> <span style="color: #ff0000;"><span style="color: #ff0000;">0B</span>H</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">ljmp</span> timer0_int<br /><br />start:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> fan<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> done<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> mode<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> MSB<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> LSB<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">IE</span>,#<span style="color: #ff0000;">10000011B</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<br />scan:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">acall</span> read_adc<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">JNB</span> automan,auto<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> mode<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">sjmp</span> manual<br />auto:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">setb</span> mode<br />manual:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">JB</span> mode,inauto<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">JNB</span> off,fanoff<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">JNB</span> flow,fanlow<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">JNB</span> ffast,fanfast<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">sjmp</span> scan<br /><br />fanoff:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> TR0<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> TF0<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> fan<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">JNB</span> off,$<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">sjmp</span> scan<br /><br />fanlow:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">r7</span>,#50H<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">setb</span> TR0<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">JNB</span> flow,$<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">sjmp</span> scan<br /><br />fanfast:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> TR0<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> TF0<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">setb</span> fan<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">JNB</span> ffast,$<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">sjmp</span> scan<br /><br />inauto:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">a</span>,<span style="color: #00007f; font-weight:bold;">adc</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> <span style="color: #0000ff;">c</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">cjne</span> <span style="color: #46aa03; font-weight:bold;">a</span>,#30H,chk<br />chk:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">jc</span> fanoff<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> <span style="color: #0000ff;">c</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">cjne</span> <span style="color: #46aa03; font-weight:bold;">a</span>,#60H,chk1<br />chk1:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">jc</span> fanlow<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">sjmp</span> fanfast<br /><br />read_adc:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> soc<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">nop</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">setb</span> soc<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">jnb</span> done,$<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> done<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> read<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">a</span>,adcport<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">setb</span> read<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">dptr</span>,#ctable<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">movc</span> <span style="color: #46aa03; font-weight:bold;">a</span>,@<span style="color: #46aa03; font-weight:bold;">a</span>+<span style="color: #46aa03; font-weight:bold;">dptr</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #00007f; font-weight:bold;">adc</span>,<span style="color: #46aa03; font-weight:bold;">a</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">dptr</span>,#dtable<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">swap</span> <span style="color: #46aa03; font-weight:bold;">a</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">anl</span> <span style="color: #46aa03; font-weight:bold;">a</span>,#<span style="color: #ff0000;">0FH</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">movc</span> <span style="color: #46aa03; font-weight:bold;">a</span>,@<span style="color: #46aa03; font-weight:bold;">a</span>+<span style="color: #46aa03; font-weight:bold;">dptr</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> seg7,<span style="color: #46aa03; font-weight:bold;">a</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">setb</span> MSB<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">acall</span> delay<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> MSB<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">a</span>,<span style="color: #00007f; font-weight:bold;">adc</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">anl</span> <span style="color: #46aa03; font-weight:bold;">a</span>,#<span style="color: #ff0000;">0FH</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">movc</span> <span style="color: #46aa03; font-weight:bold;">a</span>,@<span style="color: #46aa03; font-weight:bold;">a</span>+<span style="color: #46aa03; font-weight:bold;">dptr</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> seg7,<span style="color: #46aa03; font-weight:bold;">a</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">setb</span> LSB<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">acall</span> delay<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">clr</span> LSB<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">ret</span><br /><br />timer0_int:<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">JB</span> F0, HIGH_DONE<br />LOW_DONE:<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">setb</span> F0<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">setb</span> fan<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">TH0</span>, <span style="color: #46aa03; font-weight:bold;">R7</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">clr</span> TF0<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">reti</span><br /><br />HIGH_DONE:<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">clr</span> F0<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">clr</span> fan<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">A</span>, #<span style="color: #ff0000;">0FFH</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">clr</span> <span style="color: #0000ff;">C</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">subb</span> <span style="color: #46aa03; font-weight:bold;">A</span>, <span style="color: #46aa03; font-weight:bold;">R7</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">TH0</span>, <span style="color: #46aa03; font-weight:bold;">A</span><br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">clr</span> TF0<br />&nbsp; &nbsp;<span style="color: #00007f; font-weight:bold;">reti</span><br /><br />delay:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">r6</span>,#<span style="color: #ff0000;">20</span><br /><span style="color: #00007f; font-weight:bold;">wait</span>:<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">r5</span>,#<span style="color: #ff0000;">255</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">djnz</span> <span style="color: #46aa03; font-weight:bold;">r5</span>,$<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">djnz</span> <span style="color: #46aa03; font-weight:bold;">r6</span>,<span style="color: #00007f; font-weight:bold;">wait</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f; font-weight:bold;">ret</span><br /><br />ctable:<br /><span style="color: #0000ff;">DB</span> 0H, 0H, 1H, 1H, 2H, 2H, 2H, 3H<br /><span style="color: #0000ff;">DB</span> 3H, 4H, 4H, 4H, 5H, 5H, 5H, 6H<br /><span style="color: #0000ff;">DB</span> 6H, 7H, 7H, 7H, 8H, 8H, 9H, 9H<br /><span style="color: #0000ff;">DB</span> 9H, 10H, 10H, 11H, 11H, 11H, 12H, 12H<br /><span style="color: #0000ff;">DB</span> 13H, 13H, 13H, 14H, 14H, 15H, 15H, 15H<br /><span style="color: #0000ff;">DB</span> 16H, 16H, 16H, 17H, 17H, 18H, 18H, 18H<br /><span style="color: #0000ff;">DB</span> 19H, 19H, 20H, 20H, 20H, 21H, 21H, 22H<br /><span style="color: #0000ff;">DB</span> 22H, 22H, 23H, 23H, 24H, 24H, 24H, 25H<br /><span style="color: #0000ff;">DB</span> 25H, 25H, 26H, 26H, 27H, 27H, 27H, 28H<br /><span style="color: #0000ff;">DB</span> 28H, 29H, 29H, 29H, 30H, 30H, 31H, 31H<br /><span style="color: #0000ff;">DB</span> 31H, 32H, 32H, 33H, 33H, 33H, 34H, 34H<br /><span style="color: #0000ff;">DB</span> 35H, 35H, 35H, 36H, 36H, 36H, 37H, 37H<br /><span style="color: #0000ff;">DB</span> 38H, 38H, 38H, 39H, 39H, 40H, 40H, 40H<br /><span style="color: #0000ff;">DB</span> 41H, 41H, 42H, 42H, 42H, 43H, 43H, 44H<br /><span style="color: #0000ff;">DB</span> 44H, 44H, 45H, 45H, 45H, 46H, 46H, 47H<br /><span style="color: #0000ff;">DB</span> 47H, 47H, 48H, 48H, 49H, 49H, 49H, 50H<br /><span style="color: #0000ff;">DB</span> 50H, 51H, 51H, 51H, 52H, 52H, 53H, 53H<br /><span style="color: #0000ff;">DB</span> 53H, 54H, 54H, 55H, 55H, 55H, 56H, 56H<br /><span style="color: #0000ff;">DB</span> 56H, 57H, 57H, 58H, 58H, 58H, 59H, 59H<br /><span style="color: #0000ff;">DB</span> 60H, 60H, 60H, 61H, 61H, 62H, 62H, 62H<br /><span style="color: #0000ff;">DB</span> 63H, 63H, 64H, 64H, 64H, 65H, 65H, 65H<br /><span style="color: #0000ff;">DB</span> 66H, 66H, 67H, 67H, 67H, 68H, 68H, 69H<br /><span style="color: #0000ff;">DB</span> 69H, 69H, 70H, 70H, 71H, 71H, 71H, 72H<br /><span style="color: #0000ff;">DB</span> 72H, 73H, 73H, 73H, 74H, 74H, 75H, 75H<br /><span style="color: #0000ff;">DB</span> 75H, 76H, 76H, 76H, 77H, 77H, 78H, 78H<br /><span style="color: #0000ff;">DB</span> 78H, 79H, 79H, 80H, 80H, 80H, 81H, 81H<br /><span style="color: #0000ff;">DB</span> 82H, 82H, 82H, 83H, 83H, 84H, 84H, 84H<br /><span style="color: #0000ff;">DB</span> 85H, 85H, 85H, 86H, 86H, 87H, 87H, 87H<br /><span style="color: #0000ff;">DB</span> 88H, 88H, 89H, 89H, 89H, 90H, 90H, 91H<br /><span style="color: #0000ff;">DB</span> 91H, 91H, 92H, 92H, 93H, 93H, 93H, 94H<br /><span style="color: #0000ff;">DB</span> 94H, 95H, 95H, 95H, 96H, 96H, 96H, 97H<br /><span style="color: #0000ff;">DB</span> 97H, 98H, 98H, 98H, 99H, 99H, <span style="color: #ff0000;">00H</span>, <span style="color: #ff0000;">00H</span><br /><br />dtable:<br /><span style="color: #0000ff;">DB</span> 3FH, <span style="color: #ff0000;">06H</span>, 5BH, 4FH, 66H, 6DH, 7DH, <span style="color: #ff0000;">07H</span>, 7FH, 67H<br /><br /><span style="color: #0000ff;">END</span></div></div></div><br /><br />Note: Temp 100° cannot be displayed on 2 7-segments.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 17 Sep 2007 02:00:39 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[<img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  yeah!! At last my projects is ended,however it is a failure, <img src='http://www.8051projects.net/e107_images/emotes/yahoo/2.gif' alt='' style='vertical-align:middle; border:0' />  but no matter what i wan post my highly appreciation here to AJAY who have give me so many help and guidelines in doing the coding part of this projects.  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 21 Sep 2007 01:04:16 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[actually my project failure is no bcause  the code not working but the hardware got problem,it make my 8051 cant run,all my group mate even my senior also donno why, 1 of my lecture told e that my 7segment display got problem and have drag all the 8051 current and make it malfunction]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 21 Sep 2007 02:29:58 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[I am sorry... for that failure.. but thats how you learn. it was a project work an assignment and if i would give you the code directly you could have never learn anything.<br />Now the working code is there in my last post so you can try it out <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br />Thank you for your comments <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>Fri, 21 Sep 2007 02:02:35 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hmm.. i saw your circuit and it doesn't look like you have problem with the 7-seg. Could be that during development process of the project it got malfunctioned. Still the real problem could only be found if i see the controller or the board myself.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 21 Sep 2007 02:57:48 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Sure i will update it... <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>Fri, 21 Sep 2007 07:23:51 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Ajay, can u put the comment on the code to make me can understand how the code that u write flow? <img src='http://www.8051projects.net/e107_images/emotes/yahoo/10.gif' alt='' style='vertical-align:middle; border:0' />  thanks]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Fri, 21 Sep 2007 04:55:07 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hey,ajay,can u teach me how to write the delay code?my exam is near but i stil not understand on how to write the delay code,u just use any example u have and explain to me pls....]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 03 Oct 2007 16:11:23 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[can you start a new topic on this? i just don't want to confuse people... <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br />There are common two methods to generate delay.. first is using timers and second is registers... so i will explain both of them and also answer your doubts. Please create another topic <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, 04 Oct 2007 05:52:22 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ok <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, 04 Oct 2007 14:42:03 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Hi <br />I am also doing similar project<br />Here I want control the proportional valve by varying 0 to 24v(0-400mA) using 8051 PWM<br />Can you help me regarding the hardware?  <br /><br />Regards<br />chandu<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 20 Jul 2008 23:09:53 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[you can make use of L293D for this...]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 21 Jul 2008 04:26:36 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[pdi i have single cycle 8051 <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  the fastest one.. i think it can beat avr <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>Mon, 01 Sep 2008 12:18:38 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[For PWM technique, it is very easy and compatible if u go head with PIC Controllers.<br />If u want more guidence, contact [BLOCKED BY ADMIN]<br /><br />they are dealing with embedded projects based on 8051,PIC, AVR, ARM,Reneses and DSP processor also..U will get complete guidence on your academic and research projects.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 21 Jul 2008 06:07:29 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hi nattu/chandu/naresh,<br />in the above project, the fan speed is controlled depending upon the temperature input but the temperature itself is not being controlled. so please confirm if u really want to control only the flow of gas for pr-determined levels of temperature OR whether ur valve is directly controlling the temperature because both the algorithms are completely different. If the former is true, then the above algorithm will hold good but if u require the latter one then better start a new thread with a detailed specification of ur requirements.do also mention whether u require a continuousl changing output(analog) or fixed predetermined output levels.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 22 Jul 2008 06:42:45 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Thanks for reply<br /><br />In the L293D have 4-channel driver, but for my application I need only one channel <br />It is the proportional valve which control the flow of the gas<br />The flow of the gas I have to control using micro controller PWM<br /><br />Please can you send Hardware circuit related to this project?<br /><br /><br />Regards<br />chandu <br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 22 Jul 2008 01:15:19 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[sure silver,<br />u can use any of the above ICs (AVRs) and if u have understood the concept well, u would find it very easy to write the code in AVR.<br />AVRs are much more faster/powerful than even the fastest 8051 processor available ( provided both run on the same frequency <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />  ).<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 31 Aug 2008 11:23:12 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hi there, i am kinda impressed with this project, but i wish to ask, is there any other possible chips that i can use besides AT89S51? can i use maybe any other Atmel products like Atmega 8, Atmega8515 or Atmega 88?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 31 Aug 2008 06:17:38 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[i see, thanks for the quick reply. but i wish to ask a few more things. what is the closest AVR/8051 chip that can replace this AT89S51 for this project?<br /><br />besides that, can the assembly code given by Ajay be applied in the other chips?<br /><br />in the schematics given at page 3 of this project, can i ask is it possible that i replace the diode 1N4002 to 1N4003?<br /><br />hope that you all can help me in this:P. thanks.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 01 Sep 2008 20:04:25 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[<div class='quote_top'>Ajay wrote ...</div><div class='quote'><br />pdi i have single cycle 8051 <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  the fastest one.. i think it can beat avr <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br /></div><br /><br />i was expecting that comment <img src='http://www.8051projects.net/e107_images/emotes/yahoo/10.gif' alt='' style='vertical-align:middle; border:0' /> .<br />i know of the single cycle 8051 core . i think the later versions of Amel 8051 derivatives all have it e.g. 89s2051. so i specifically mentioned the clock frequency because a single cycle core 8051 running @ 33MHz is indeed one of the fastest 8 bit uCs till date.;)<br /> <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' /> <br /><br />btw, no smileys menu  for  the reply box??<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 01 Sep 2008 20:52:26 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[well smilies are available at the bottom of reply box or there is smiley button now (I forgot to add image button).<br /><br />I want you to take a look at this <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' /> <br /><a class='bbcode' href='http://www.8051projects.net/out.php?link=http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4078' rel='external'  target='_blank'>http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4078</a><br /><br />33MIPS @ 33MHz<br /><br />I am bit possessive when it comes to 8051 <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  lol!]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Tue, 02 Sep 2008 12:55:38 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[very nice one. especially the two serial ports and 64k code memory part apart from the speed!!<br />i rest my case...<br /> <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />   <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, 03 Sep 2008 07:47:13 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hehe.... <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  lot of features are there... <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  i simply love Dallas 450 controller <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>Wed, 03 Sep 2008 07:54:14 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[hi there again, i wish to reconfirm a few things...based on the schematics on page 3 by cenadius which i assume is the final schematics...<br /><br />i wish to replace the AT89S51 now with AT89S52, is it possible that it will work out as well?<br /><br />besides that, i wonder if the final source code given by Ajay on page 11, is it working fine:P? or do i have to try it out myself? well cause i am trying to create somewhat the same circuit in this project for my graduation project, so just wanna reconfirm though:)<br /><br />i hope the mods and admins can help me out in this:), i will be very grateful for your help, thanks.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 08 Sep 2008 09:11:27 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[sure silver,<br />the 89s52 has a larger code and data memory and is perfectly upper compatible with the 89s51. <br /><br />As for the code part,do try it on the hardware and post any doubts/problems.c'mon man, atleast u can do that , can't u? ajay has provided u 90% of ur work and all u have to do is to try it out.!! <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  <br /><br />after all, the manufacturer has so generously invented the 1000 times re-programmable flash code memory in the 8051 so that u guys can experiment on ur coding skills. make good use of it!!]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 08 Sep 2008 09:20:55 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[This  is the best microcontroller when comapared to other microcontrollers.<br />This is  16-bit microcontroller, Address lines. memory data.<br /><br />###################3<br />vimal<br /> <a class='bbcode' href='http://www.8051projects.net/out.php?link=http://http//:=&quot;www.widecircles.com&quot;' rel='external'  target='_blank'>widecircles</a>]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Mon, 08 Sep 2008 22:42:21 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[<img src='http://www.8051projects.net/e107_images/emotes/yahoo/7.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/7.gif' alt='' style='vertical-align:middle; border:0' />  <br />@vimalnath,<br />are u talking about 89s52 or some other uC because 89s52 is a 8bit uC.<br /> <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' />   <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>Tue, 09 Sep 2008 09:01:55 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[better u first study  basic of micro controller <br />then by using diff hard ware interface them <br />then use simple complier like bascom-8051 to write program <br /> <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>Wed, 10 Sep 2008 05:31:40 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[@vimalnath &amp; rajesh,<br />please stick to the topic of the forum. do be clear on the matter posted so that other members can understand  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/22.gif' alt='' style='vertical-align:middle; border:0' />  .<br /> u guys can chat freely in the chat box provided as this is not the appropriate place. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/10.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Wed, 10 Sep 2008 08:13:57 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ermm, can i ask one question about the circuit in page 3?<br /><br />well its about the 7 segment display...i wish to ask are they common cathode or common anode?<br /><br />besides that, what is the possible model name of the 7 segment dual digit display?]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 11 Sep 2008 10:41:57 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[@ silver,<br />they are common cathode. the model no. for a multiplexed two digit display depends upon the manufacturer. try browsing on the manufacturer site  for the model nos.<br /><br />P.S. the display interface part of the circuit does not seem to have adequate current protection. So pease add suitable buffer/current limiting resistors to the circuit for safety of the uC.<br />good luck. <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, 11 Sep 2008 11:08:45 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[ermm, i tried to connect and did all programming correctly.<br /><br />unfortunately it did not work, i feel its really weird. my 7 segment well its trying to produce some number but its just all blur, meaning not giving any fixed value but shows some blinking.<br /><br />besides that, there is another thing, the switches are not working as well, please help me out. thanks. <br /><br />is it the programming that is wrong or the circuit?<br /><br />oh wait, i did not see the page 5 has a circuit as well, let me try that out first...sorry for inconvenience<br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 14 Sep 2008 01:37:22 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[i finally got the project working, fan working out well, OFF, LOW, FAST switch was fine. <br /><br />the display of temperature is fine too but, the biggest problem is...the value does not stick at one value at one time, example the temperature now is 27 but it seems to be always blinking the value and when it changes to 26, it blinks as well and change to 26.<br /><br />mostly if i were to see a proper 7 segment, it stays at 27 then when the temperature drops , it drops as well and does not blink repeatedly.<br /><br />i hope you all can tell me how to overcome this problem:)...cause my friend tried to solve it last time failed as well. thanks.]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 14 Sep 2008 08:13:51 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[Hi guys, I have a project with LM35 (with ADC) and a fan. how can I control the fan (on/off) with respect to the temperature ?  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/7.gif' alt='' style='vertical-align:middle; border:0' />  <br /><br />I mean how to perform these instructions in assembly language ?  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  <br />Output of ADC is at P2 and stored in A<br /><br />OFF fan if Temp &lt; 31 Celsius<br />ON fan if Temp >  31 Celsius <br /><br />Thanks for your consideration.  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/10.gif' alt='' style='vertical-align:middle; border:0' />  <br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 14 Sep 2008 06:32:57 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[silver,<br />the problem may be occurring because the code is executing some other part of the code which takes a bit of time and during the interval the whole display is blank. U can avoid blinking by introducing the scanning of the display in a timer interrupt service routine meant to execute for every 1msecond. If u have written the code in c-language, that would not be very difficult. but if written in assemble , take care to save the different variables before executing the display routine.<br />post ur code and we can try to find a way out...<br /> <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  <br />]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 14 Sep 2008 09:29:09 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[oh about the code, i am currently using the code on page 10 given by Ajay.<br /><br />well i wonder if you can help me to look through it and see is there any way i can change the blinking of the 7 segment. thanks for looking through this, pdi33. <br /><br />well of course its in assembly code form but i am pretty poor in my assembly code, therefore i wonder if you can help me out:)]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Sun, 14 Sep 2008 12:59:00 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t1707.html</guid>
</item>
						<item>
						<title>Re: An 8051 Based Temperature Controlled Fan project</title>
<link>http://www.8051projects.net/forum-t1707.html</link>
<description><![CDATA[<br /><br />  pl.post the code here so that we can help<br /><br /><br /><br />Arun]]></description>
<author>contact@nospam.co