<?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 19:06:52 -0800</pubDate>
				<lastBuildDate>Wed, 07 Jan 2009 19:06:52 -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>program code</title>
<link>http://www.8051projects.net/forum-t8659.html</link>
<description><![CDATA[This is the code which i had written for my project,please correct it so that it works properly,please help,its too urgent.actually i want to interface ADC and microcontroller and display data through the ports of microcontroller.Suppose providing a input voltage of 2v  microcontroller will display say,033h through its ports.Actually upon providing a voltage of 2v ADC is reading 033h and this data is fed to microcontroller and displayed.<br />setbp2.5<br />setb p2.6<br />intr bit p2.7<br />setb intr<br />adc_port equ p1<br />adc_val equ 30h<br />back: clr wr<br />       setb wr<br />       acall conv<br />read:  clr rd<br />       mov a,adc_port<br />       mov adc_val,a<br />       setb rd<br />       cjne r3,#00h,check1<br />       acall data_display1<br />check1: cjne r3,#01h,check2<br />         acall data_display2<br />check2:  cjne r3,#02h,check3<br />         acall data_display3<br /> check3:  cjne r3,#03h,check4<br />          acall data_display4<br /> check4:  cjne r3,#04h,check5<br />           acall data_display5<br /> check5:   cjne r3,#05h,over<br /> over:     acall data_display6<br />            smp back<br />data_display1: mov a,#0h<br />conversion:  mov b,#10h<br />                div ab<br />                mov r7,b<br />              mov b,#10h<br />              div ab<br />              mov r6,b<br />              mov r5,a<br />              mov p3,r7<br />              acall delay<br />              mov p3,r6<br />              acall delay<br />              mov p1,r5<br />              acall delay<br />data_display2:  mov a,#033h<br />                 mov b,#10h<br />                 div ab<br />                 mov r7,b<br />                 mov b,#10h<br />                 div ab<br />                 mov r6,b<br />                 mov r5,a<br />                 mov p3,r7<br />                 acall delay<br />                 mov p3,r6<br />                 acall delay<br />                 mov p1,r5<br />                 acall delay<br />data_display3:    mov a,#067h<br />                  mov b,#10h<br />                  div ab<br />                  mov r7,b<br />                  mov b,#10<br />                  div ab<br />                  mov r6,b<br />                  mov r5,a<br />                  mov p3,r7<br />                  acall delay<br />                  mov p3,r6<br />                  acall delay<br />                  mov p1,r5<br />                  acall delay<br />data_display4:    mov a,#097h<br />                  mov b,#10h<br />                  div ab<br />                  mov r7,b<br />                  mov b,#10h<br />                  div ab<br />                  mov r6,b<br />                  mov r5,a<br />                  mov p3,r7<br />                  acall delay<br />                  mov p3,r6<br />                  acall delay<br />                  mov p1,r5<br />                  acall delay<br /> data_display5:   mov a,#099h<br />                  mov b,#10h<br />                  div ab<br />                  mov r7,b<br />                  mov b,#10h<br />                  div ab<br />                  mov r6,b<br />                  mov r5,a<br />                  mov p3,r7<br />                  acall delay<br />                  mov p3,r6<br />                  acall delay<br />                  mov p1,r5<br />                  acall delay<br />  data_display6:   mov a,#0ffh<br />                    mov b,#10h<br />                    div ab<br />                    mov r7,b<br />                    mov b,#10h<br />                    div ab<br />                    mov r6,b<br />                    mov r5,a<br />                    mov p3,r7<br />                    acall delay<br />                    mov p3,r6<br />                    acall delay<br />                    mov p1,r5<br />                    acall delay<br />    delay:          mov r4,#200<br />    here:           djnz r4,here<br />                         ret<br />                         end                                                                                                                                    <br />                                                                 <br />                  <br />]]></description>
<pubDate>Wed, 16 Apr 2008 17:07:38 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t8659.html</guid>
</item>
						<item>
						<title>Re: program code</title>
<link>http://www.8051projects.net/forum-t8659.html</link>
<description><![CDATA[this thread is going to be locked.. you already have about 5 thread running.. Please use them. <br />Thanks!]]></description>
<author>contact@nospam.com (Ajay Bhargav)</author>
<pubDate>Thu, 17 Apr 2008 06:29:57 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t8659.html</guid>
</item>
				</channel>
				</rss>