<?xml version="1.0" encoding="utf-8"?>
				<!-- generator="e107" -->
				<!-- content type="Forum / posts" -->
				<rss  version="2.0" 
					xmlns:content="http://purl.org/rss/1.0/modules/content/" 
					xmlns:atom="http://www.w3.org/2005/Atom"
					xmlns:dc="http://purl.org/dc/elements/1.1/"
					xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"

				>
				<channel>
				<title>Rickey's World of Microcontrollers &amp; Microprocessors : Forum / posts</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>© 2010 Rickey's World</copyright>
				<managingEditor>contact@nospam.com (Ajay Bhargav)</managingEditor>
				<webMaster>contact@nospam.com (Ajay Bhargav)</webMaster>
				<pubDate>Fri, 11 Jul 2025 23:59:53 +0530</pubDate>
				<lastBuildDate>Fri, 11 Jul 2025 23:59:53 +0530</lastBuildDate>
				<docs>http://backend.userland.com/rss</docs>
				<generator>e107 (http://e107.org)</generator>
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>

				<ttl>60</ttl>
<atom:link href="http://www.8051projects.net/plugins/rss_menu/rss.php?forumposts.2" rel="self" type="application/rss+xml" />
<item>
<title>Re: 8051 Microcontroller LCD Troubleshooting</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65891</link>
<description><![CDATA[Are you still having problems ?]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Sun, 19 Jan 2025 02:30:03 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65891</guid>
</item>

<item>
<title>8051 Microcontroller LCD Troubleshooting</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65891</link>
<description><![CDATA[I'm working on an 8051 microcontroller project, trying to interface an LCD and a keypad for input and output. The problem is that no characters appear on the screen after initialization while the LCD backlight turns on. I’ve checked the wiring and added delays in the code, but it’s still not working. Could this be an issue with the Enable pin timing or the 4-bit data mode setup? What’s the best way to troubleshoot and get the LCD to communicate with the microcontroller?]]></description>
<dc:creator>JaneWill</dc:creator>
<pubDate>Fri, 10 Jan 2025 01:37:33 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65891</guid>
</item>

<item>
<title>Re: How can i calculate minimum ISR interval for nuvoton -8051(8bit)?</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65831</link>
<description><![CDATA[How does the microcontroller handle interrupt priority if two interrupts occur within a shorter interval than the ISR execution time?]]></description>
<dc:creator>JaneWill</dc:creator>
<pubDate>Thu, 09 Jan 2025 01:14:28 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65831</guid>
</item>

<item>
<title>MAX7219 and over clocking</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65880</link>
<description><![CDATA[I recently started playing with smd MAX7219 8x8 LED modules. I arrange four horizontal four-in-one modules in a square 32x32 LED matrix, with the five input pins coming off the right end of the top four-in-one module. Now, because I rotated the modules 90 degrees,  what were columns become rows. I noticed that the 10uF capacitor is not included on each module, so I added one to each module, a total of 16 caps. I used a 12mHz crystal on my AT89S52 minimum system board.<br />My program first sets up the control registers, then repeats the following: display a blank screen, then scrolls down a smiley face from the top, pausing when the full face is displayed to blink one of the eyes, followed by the face scrolling down until a blank screen. Repeat.<br />Two problem types arose. Various 8x8 modules near the end of the chain will either go blank altogether, or only the first row (nee column) displays extra bright. I attribute this behavior to corruption of the shutdown and scan limit control registers, respectively. I confirmed my suspicion by putting a detour in the program that repeats the portions of code that initializes those two registers. That detour is invoked by pulling low an otherwise unused pin on the AT89S52. After invoking that detour the affected modules go back to normal operation.<br />The other problem type is the middle six LEDs (as if 7Eh were sent to that module) in a row are turned permanently on. They do not scroll. The detour described in the preceding paragraph does not clear up this problem.<br />A posting at<br />https://www.edaboard.com/threads/about-at89s52-24pc-crystal-oscillator-frequency.178905/<br />described using a 48mHz active crystal, so I tried one, with slight modification to the board. I made no changes to the program, and now the two types of problems described above are gone. However, a new problem arose: the display will freeze, and then in a short time continue as if nothing happened. I felt that the AT89S52 was getting warm so I attached a heat sink and a small fan, and that new problem disappeared.<br />Any insights on why over clocking the AT89S52 with an active crystal would fix the problems?]]></description>
<dc:creator>jona</dc:creator>
<pubDate>Sun, 04 Aug 2024 13:18:31 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65880</guid>
</item>

<item>
<title>Re: HC-SR04 displaying random stuff after range 9</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65870</link>
<description><![CDATA[We need to see the rest of your code.<br />Comments to explain what is supposed to happen would be useful.<br />]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Fri, 08 Dec 2023 08:50:58 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65870</guid>
</item>

<item>
<title>Re: HC-SR04 displaying random stuff after range 9</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65870</link>
<description><![CDATA[Image]]></description>
<dc:creator>bhantadox</dc:creator>
<pubDate>Thu, 30 Nov 2023 15:58:41 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65870</guid>
</item>

<item>
<title>Re: HC-SR04 displaying random stuff after range 9</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65870</link>
<description><![CDATA[unsigned int get_range(void)<br />{<br />  long int timer_val;<br />  send_pulse();<br />  while(!INT0);          //Waiting until echo pulse is detected<br />  while(INT0);           //Waiting until echo pulse changes its state<br />  timer_val=(TH0&lt;&lt;8)+TL0;<br />  lcd_cmd(0x81);<br />  lcd_data_string("output:");<br />  lcd_cmd(0x8a);<br />  if(timer_val&lt;38000)<br />   {<br />    cms=timer_val/59;<br />    if (cms!=0)<br />     {<br />      lcd_data(cms+48);<br /><br />         if(cms&lt;15)<br />         {<br />                      P1=0xFF;<br />                      }<br />                      else<br /><br />{P1=0X00;}<br />         <br />         <br />     }<br />   }<br />  else<br />  {<br />   lcd_cmd(0x06);<br />   lcd_data_string("Object out of range");<br />  }<br />  return cms;<br />}]]></description>
<dc:creator>bhantadox</dc:creator>
<pubDate>Thu, 30 Nov 2023 15:56:17 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65870</guid>
</item>

<item>
<title>HC-SR04 displaying random stuff after range 9</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65870</link>
<description><![CDATA[Im using 8051, LM016L and HC-SR04 for range finder but after range 9 it starts to display random stuff.<br /><div class='imgbox'><img src='' data-src='micro.jpg' class='bbcode' alt='' /></div><br /><br />]]></description>
<dc:creator>bhantadox</dc:creator>
<pubDate>Thu, 30 Nov 2023 15:55:28 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65870</guid>
</item>

<item>
<title>Re: 8051 keypad and LED question</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65868</link>
<description><![CDATA[To use this kind of keypad you must "scan" it,<br />This means setting pins P2.1,P2.2 and P2.3 high then low one after the other.<br />Your pins do not change, so pressing a key does nothing.]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Tue, 19 Sep 2023 07:49:16 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65868</guid>
</item>

<item>
<title>8051 keypad and LED question</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65868</link>
<description><![CDATA[Hi guys, i am new here. <br /><br />I need to create project with microcontroller 8051,<br />in project i want to use KEYPAD-PHONE  and 4 LED (for example if i click 1 on keypad - first LED will light up, <br /><br />Could someone give me a hint what i am doing wrong?<br /><br /><div class='imgbox'><img src='' data-src='https://imageshack.com/i/poqcxvJ9j' class='bbcode' alt='' /></div><br /><div class='imgbox'><img src='' data-src='https://imageshack.com/i/pmbPPfS9j' class='bbcode' alt='' /></div><br />]]></description>
<dc:creator>fortresmaximus</dc:creator>
<pubDate>Wed, 30 Aug 2023 11:53:38 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65868</guid>
</item>

<item>
<title>8051/ 8052 Microcontroller Code Site.</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65867</link>
<description><![CDATA[<div class='text-left'>Just a quick note to let everyone know that my <strong class='bbcode bold'>8051/ 8052 Microcontroller Code</strong> distribution website is back online, and has a new home at:<br /><br /><span style='color:#16a765'><div class="text-center">https://green.bug-eyed.monster/</div></span><br /><br />Please feel free to stop by, grab some handy code projects, and leave a comment or two.<br /><br />It's a new website, with no PR as yet, so helping to popularise the site by linking to it, will help everyone know it's available.<br /><br />T.</div><br />]]></description>
<dc:creator>Tressie</dc:creator>
<pubDate>Thu, 10 Aug 2023 18:30:15 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65867</guid>
</item>

<item>
<title>Erasing AT89S52 error</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65866</link>
<description><![CDATA[Hello everyone!<br /><br />I recently bought a brand new AT89S52 and an USBasp programmer for practicing and studying. Took a lot of time to get everything working between drivers and USBasp firmwares until I finally made it but unfortunately, I think I accidentally wrote the lock bits because I didn't check the lock option. Now it says that Mode 3 lock is active with B1 = 1 and B2 = 0. I've hit the erase chip button many times but when I read the lock bits status, it always remain the same. Apparently, the new .hex files are working when I try to write but is there a way to really erase the chip or did I brick it? Thanks in advance!]]></description>
<dc:creator>cainho07</dc:creator>
<pubDate>Sun, 16 Jul 2023 06:55:49 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65866</guid>
</item>

<item>
<title>Re: Automatically sending of SMS via Nokia 3310</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?2590</link>
<description><![CDATA[My Nokia phone will not send SMS to short 5-digit numbers. I continually receive the message in red saying "Not sent, tap to try again.". It doesn't matter how many times I tap, and try, the same failure message appears. Where in the settings can I overcome this?<br /><br />Source: <a rel='nofollow external' class='bbcode' href='http://https://smsala.com'  target='_blank'>www.smsala.com</a>]]></description>
<dc:creator>jacksonjk</dc:creator>
<pubDate>Tue, 11 Oct 2022 12:51:19 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?2590</guid>
</item>

<item>
<title>Re: microcontroller</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65814</link>
<description><![CDATA[I found the part on here https://www.jotrin.com/product/parts/74HC595, there is detail information about it and I hope it can really help you.]]></description>
<dc:creator>liqian</dc:creator>
<pubDate>Fri, 07 Aug 2020 09:01:33 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65814</guid>
</item>

<item>
<title>Re: AT89LP2052 connection</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</link>
<description><![CDATA[<blockquote><p>PS: I am a new learner thats why my question may sound silly. <p></blockquote><br />Not silly at all.<br />There are a lot of details experts don't tell you that are really hard to figure out<br />on your own.<br /><br />You will need a special  header  for the AT89LP2052  as it uses registers the 8051 does not have.<br />The header will also have to written for use in Microc  as every compiler has it's own <br />way of doing things.<br /><br />For a quick test I think this will work.<br />Add these 2 lines to the top of the file<br /><br />#define     P1M0 0xc2<br />#define     P1M1 0xc3<br /><br />and these 2 at the start of main.<br />P1MO= 0x00;<br />P1M1= 0x00;<br /><br />Some P1 pins are used for programming, so I suggest you only <br />connect a LED to pin 14 ( P1.2)<br />Also it is safer to add resistors between the LEDs and the chip.<br />Anything between 47 and 200 ohms should be okay.<br /><br />To start with, try this program to turn the LEDs on.<br />That will prove something is working, you can do flashing later.<br /><br /><br /><pre class="prettyprint linenums lang-c">#include&lt;reg51.h&gt;#define     P1M0 0xc2#define     P1M1 0xc3void main(){P1MO= 0x00;P1M1= 0x00;P1= 0xffwhile(1){}}</pre><br /><br /><br /> <br />]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Thu, 02 Jul 2020 04:37:57 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</guid>
</item>

<item>
<title>Re: AT89LP2052 connection</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</link>
<description><![CDATA[Thanks for the assistance. I have read the data sheet. if PxM0.y=0 and PxM1.y=0  then it will work as standard 8051MCU. but i want to know how can i make  PxM0.y=0 and PxM1.y=0 ? which special function register should be changed? Should i use the same header file( #include&lt;reg51.h>)? <br />PS: I am a new learner thats why my question may sound silly. <br />]]></description>
<dc:creator>Mirza123</dc:creator>
<pubDate>Wed, 01 Jul 2020 19:35:16 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</guid>
</item>

<item>
<title>Re: AT89LP2052 connection</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</link>
<description><![CDATA[See section 15 (Ports)  of the data sheet.<br />			<div class="space-8"></div>			<div class="clearfix">				<div class="attachment-title">					<span class="blue bolder bigger-110">Attachment</span>				</div>				<ul class="attachment-list pull-left unstyled">					<li>						<a class="attached-file inline" href="http://www.8051projects.net/files/public/1593598359_9602_FT65855_doc3547.zip">							<i class="icon-file-alt bigger-110 middle"></i>							<span class="attached-name middle">doc3547.zip</span>						</a>						<div class="action-buttons inline">							<a href="http://www.8051projects.net/files/public/1593598359_9602_FT65855_doc3547.zip">								<i class="icon-download-alt bigger-125 blue"></i>							</a>						</div>					</li>				</ul>			</div>]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Wed, 01 Jul 2020 15:42:39 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</guid>
</item>

<item>
<title>Re: AT89LP2052 connection</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</link>
<description><![CDATA[<div class='text-left'><blockquote><p><br />How did you know that it is not 8051. <br /><p><small>Mirza123</small></blockquote><br />It is really important when dealing with a new chip to have a good read of the datasheet. In this case you need to read the sections dealing with I/O Ports. <br /><br />Have a look at page 8, section 7.7  and section 15 starting on page 20 and see if that helps.<br /><br /></div>]]></description>
<dc:creator>wimac</dc:creator>
<pubDate>Tue, 30 Jun 2020 15:35:49 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</guid>
</item>

<item>
<title>Re: AT89LP2052 connection</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</link>
<description><![CDATA[<blockquote><p><br />It seems ports on the AT89LP2052 is not like on the 8051,<br />so your program may not work.<br /><p><small>ExperimenterUK</small></blockquote><br />How did you know that it is not 8051. <br />I have put full week dealing with this chip but i did not work. <br />I have attached the circuit schematic also which i am using.<br /><a class='bbcode' href='http://www.8051projects.net/files/public/1593506363_48644_FT65855_8051_circuit_1.png'  target='_blank'><div class='imgbox'><img src='' data-src='//www.8051projects.net/files/public/1593506363_48644_FT65855_8051_circuit_1_.png' class='bbcode' alt='' width='600' height='368' /></div></a><br />]]></description>
<dc:creator>Mirza123</dc:creator>
<pubDate>Tue, 30 Jun 2020 14:09:23 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</guid>
</item>

<item>
<title>Re: AT89LP2052 connection</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</link>
<description><![CDATA[It seems ports on the AT89LP2052 are not like on the 8051,<br />so your program may not work.<br /><br />If you have not got it working, let me know  and I'll look into<br />what is needed to set up the ports.<br /><br />]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Tue, 30 Jun 2020 14:04:43 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</guid>
</item>

<item>
<title>AT89LP2052 connection</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</link>
<description><![CDATA[Hello!<br />i am trying to use AT89LP2052 ( AT89LP2052 <a rel='nofollow external' class='bbcode' href='http://ww1.microchip.com/downloads/en/devicedoc/doc3547.pdf'  target='_blank'>http://ww1.microchip.com/downloads/en/devicedoc/doc3547.pdf</a>) for LED to turn on and OFF. but i am confused with the connections.<br />I have used i have loaded the program by using 8051Flash program. For writing the program i have used 8051-Ready board(<a rel='nofollow external' class='bbcode' href='http://https://download.mikroe.com/documents/starter-boards/ready/8051/8051ready-manual-v100.pdf'  target='_blank'>https://download.mikroe.com/documents/starter-boards/ready/8051/8051ready-manual-v100.pdf</a>) and mikroprog-8051 (<a rel='nofollow external' class='bbcode' href='http://https://www.mikroe.com/mikroprog-8051'  target='_blank'>https://www.mikroe.com/mikroprog-8051</a>).<br /><br />here is the code which i have learnt from your course.<br /><pre class="prettyprint linenums lang-c">#include&lt;reg51.h&gt;// for 11.0592MHz Crystalvoid delay(unsigned int count){unsigned int i;while(count){i=115;while(i&gt;0)i--;count--;}}void main(){while(1){P1 = 0x00;delay(1000);P1 = 0xff;delay(1000);}}</pre><br /><div class='imgbox'><img src='' data-src='/images/newspost_images/' class='bbcode' alt='' /></div><br />Can you please help me with the connection?]]></description>
<dc:creator>Mirza123</dc:creator>
<pubDate>Thu, 25 Jun 2020 21:37:23 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65855</guid>
</item>

<item>
<title>Re: Need help with Schematics</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65848</link>
<description><![CDATA[<blockquote><p><br />It is about capacitor? i should put it between Vcc and gnd?<br /><p></blockquote><br />Yes.<br /><br /><blockquote><p><br /> I Dont understand what is wrong with reset.<br /><p></blockquote><br />There is nothing wrong with your reset.<br />It is just that you need to  turn the power off to reset the circuit.<br />If you add a push button you can do a reset while leaving the power on.<br />Sometimes that is useful for testing and programming.<br /><br /><blockquote><p><br />Voltage source is 5V. Should i use voltage regulator? <br /><p></blockquote><br /><br />No a five volt supply  is fine.<br />I was just looking for reasons why your  professor might be  was worried.<br />He might think your supply is more than five volts.<br />]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Thu, 18 Jun 2020 03:12:49 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65848</guid>
</item>

<item>
<title>Re: Need help with Schematics</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65848</link>
<description><![CDATA[<blockquote><p><br />Take another look at the power supply to the LCD.<br />A reset  button is handy for testing.<br />If the supply is no more than five volts, I don't see why the supply,<br />or anything else, would burn out.<br />I might have missed something.<br /><br /><p><small>ExperimenterUK</small></blockquote><br /><br />It is about capacitor? i should put it between Vcc and gnd?<br />Dont understand what is wrong with reset.<br />Voltage source is 5V. Should i use voltage regulator?]]></description>
<dc:creator>cerouno</dc:creator>
<pubDate>Wed, 17 Jun 2020 16:07:59 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65848</guid>
</item>

<item>
<title>Re: Need help with Schematics</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65848</link>
<description><![CDATA[Take another look at the power supply to the LCD.<br />A reset  button is handy for testing.<br />If the supply is no more than five volts, I don't see why the supply,<br />or anything else, would burn out.<br />I might have missed something.<br />]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Wed, 17 Jun 2020 07:31:30 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65848</guid>
</item>

<item>
<title>Need help with Schematics</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65848</link>
<description><![CDATA[I am working on Smart parking project. <br />Here is my schematic. <br />I sent this to my professor and he said it is not right, i am not sure why. Also he said if i connect this to power source it will burn the source. <br />I am new at this so i really need help. <br />What am i doin wrong?<br /><br /><a class='bbcode' href='http://www.8051projects.net/files/public/1592328464_48641_FT0_schematic_izmena_2020-06-16_19-26-21.png'  target='_blank'><div class='imgbox'><img src='' data-src='//www.8051projects.net/files/public/1592328464_48641_FT0_schematic_izmena_2020-06-16_19-26-21_.png' class='bbcode' alt='' width='600' height='425' /></div></a><br />]]></description>
<dc:creator>cerouno</dc:creator>
<pubDate>Tue, 16 Jun 2020 22:58:03 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65848</guid>
</item>

<item>
<title>8051 MULTIPLICATION</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65847</link>
<description><![CDATA[BCD MULTIPLICATION<br />Assume that you have to 2 BCD numbers in 2 registers/memory locations. <br />Write a subroutine to multiply these 2 numbers and put the result in a different register set/memory location. The maximum number can be 9801 (99*99=9801). So you need 2 bytes to store 4-BCD digits.<br />Execute your program in the simulator and get screenshots at several steps during the execution.<br />Put your code and screenhots in a zip file seperately and submit the zip file as name_surname_id_hw1.zip<br />SWAP is good instruction to switch lower and higher nibbles (4-bits) in A.<br />Repeat the steps we follow on the paper.<br /><br />Guys, can u help me for this? pleaseeeee<br />]]></description>
<dc:creator>xrxx</dc:creator>
<pubDate>Thu, 30 Apr 2020 16:29:47 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65847</guid>
</item>

<item>
<title>Re: Detect magnet position with Hall effect sensor</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65340</link>
<description><![CDATA[I happened to see your post and I got many useful pieces of information, thank you so much]]></description>
<dc:creator>liqian</dc:creator>
<pubDate>Tue, 28 Apr 2020 14:56:31 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65340</guid>
</item>

<item>
<title>Re: problem real pic simulator MPLabx</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65841</link>
<description><![CDATA[The code is hard to read.<br />Please zip it and attach it to your post.<br />Before you zip, it please add lots of comments to explain how each part works.<br />Imagine you are explaining each step to someone who has never seen your project before.<br />This is good practise, because if you come back to this code in a few months <br />you will have forgotten how it works.<br />Also please zip and post a circuit diagram, even if it is only a rough sketch.<br />]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Tue, 28 Apr 2020 13:51:45 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65841</guid>
</item>

<item>
<title>Re: problem real pic simulator MPLabx</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65841</link>
<description><![CDATA[@ExperimenterUK, thanks for your reply. You'll find the code below. thanks again <img src='http://www.8051projects.net/images/emotes/FBemote/smile.png' alt='' style='vertical-align:middle; border:0' />  RogerMado<br /><br /><br /><br /><br /><br />;**********************************************************************<br />;   This file is a basic code template for assembly code generation   *<br />;   on the PIC16F877A. This file contains the basic code              *<br />;   building blocks to build upon.                                    *  <br />;                                                                     *<br />;   Refer to the MPASM User's Guide for additional information on     *<br />;   features of the assembler (Document DS33014).                     *<br />;                                                                     *<br />;   Refer to the respective PIC data sheet for additional             *<br />;   information on the instruction set.                               *<br />;                                                                     *<br />;**********************************************************************<br />;                                                                     *<br />;    Filename:	    xxx.asm                                           *<br />;    Date:                                                            *<br />;    File Version:                                                    *<br />;                                                                     *<br />;    Author:                                                          *<br />;    Company:                                                         *<br />;                                                                     * <br />;                                                                     *<br />;**********************************************************************<br />;                                                                     *<br />;    Files Required: P16F877A.INC                                     *<br />;                                                                     *<br />;**********************************************************************<br />;                                                                     *<br />;    Notes:                                                           *<br />;                                                                     *<br />;**********************************************************************<br /><br /><br />	list		p=16f877A	; list directive to define processor<br />	#include	&lt;p16f877A.inc>	; processor specific variable definitions<br />	<br />	__CONFIG _CP_OFF &amp; _WDT_OFF &amp; _BODEN_OFF &amp; _PWRTE_ON &amp; _RC_OSC &amp; _WRT_OFF &amp; _LVP_ON &amp; _CPD_OFF<br /><br />; '__CONFIG' directive is used to embed configuration data within .asm file.<br />; The lables following the directive are located in the respective .inc file.<br />; See respective data sheet for additional information on configuration word.<br /><br /><br /><br /><br /><br /><br />;***** VARIABLE DEFINITIONS<br />w_temp		EQU	0x7D		; variable used for context saving <br />status_temp	EQU	0x7E		; variable used for context saving<br />pclath_temp	EQU	0x7F		; variable used for context saving			<br /><br />CNT_7_SEG EQU 0X24<br /> <br />	<br /><br /><br /><br /><br />	ORG     0x000             ; processor reset vector<br />	nop			  ; nop required for icd<br />  	goto    main              ; go to beginning of program<br />	ORG     0x004             ; interrupt vector location<br />	movwf   w_temp            ; save off current W register contents<br />	movf	STATUS,w          ; move status register into W register<br />	movwf	status_temp       ; save off contents of STATUS register<br />	movf	PCLATH,w	  ; move pclath register into w register<br />	movwf	pclath_temp	  ; save off contents of PCLATH register<br />	test_1<br />	BTFSS INTCON,INTF<br />	goto test_2<br />	call service_interrupt_2<br />	test_2<br />	BTFSS INTCON,RBIF <br />	goto Sortir<br />	call service_interrupt<br />Sortir <br />	movf	pclath_temp,w	  ; retrieve copy of PCLATH register<br />	movwf	PCLATH		  ; restore pre-isr PCLATH register contents<br />	movf    status_temp,w     ; retrieve copy of STATUS register<br />	movwf	STATUS            ; restore pre-isr STATUS register contents<br />	swapf   w_temp,f<br />	swapf   w_temp,w          ; restore pre-isr W register contents<br />	retfie                    ; return from interrupt<br />main<br />	 call ConfigPortB ; RB3 en output RB0:RB2 en input RB4:RB7 en input <br />	 call ConfigPortD ; configuration du portd en output<br />	 call ConfigPortC ; configuration de RC0 en output <br />	 call ConfigPortA ; configuration du porta en input<br />	 <br />	 call configinte<br />	 <br />	 BSF PORTC,RC0 ; alimente le 7 segments <br />	 movlw 0X3f<br />	 movwf PORTD<br />boucle<br />reset_zones<br />	BTFSS PORTC,RC1<br />	goto boucle_reset<br />	movlw 0Xf7<br />	movwf PORTD<br />boucle_reset<br />	goto boucle <br />	goto $<br />JUMP_TO_BANK1<br />      BSF STATUS,RP0<br />      BCF STATUS,RP1<br />RETURN<br />JUMP_TO_BANK0<br />      BCF STATUS,RP0<br />      BCF STATUS,RP1<br />RETURN<br />ConfigPortA<br />     CALL   JUMP_TO_BANK1<br />     MOVLW 0X11<br />     movwf TRISA<br />     call   JUMP_TO_BANK0<br />return<br />ConfigPortB<br />     CALL   JUMP_TO_BANK1<br />     movlw  B'11111111'<br />     movwf  TRISB<br />     CALL   JUMP_TO_BANK0<br />return<br />ConfigPortD<br />     CALL   JUMP_TO_BANK1<br />     MOVLW  0X00<br />     MOVWF  TRISD<br />     CALL   JUMP_TO_BANK0<br />return<br />ConfigPortC<br />     CALL   JUMP_TO_BANK1<br />     movlw  0XFE<br />     movwf  TRISC<br />     CALL   JUMP_TO_BANK0<br />return<br />configinte <br />     CALL   JUMP_TO_BANK1<br />     movlw 0X98<br />     movwf INTCON<br />     movlw  0X80<br />     movfw OPTION_REG<br />     CALL  JUMP_TO_BANK0<br />     return<br />service_interrupt<br />     movf PORTB,W<br />     BCF INTCON,RBIF<br />     movwf PORTB<br />     BCF INTCON,GIE<br />TEST1<br />     BTFSS PORTB,RB4<br />     GOTO TEST2<br />     GOTO SHOW1<br />TEST2<br />     BTFSS PORTB,RB5<br />     GOTO TEST3<br />     GOTO SHOW2<br />TEST3<br />     BTFSS PORTB,RB6<br />     GOTO TEST4<br />     GOTO SHOW3<br />TEST4<br />     BTFSS PORTB,RB7<br />     GOTO end_interrupt<br />     GOTO SHOW4<br />SHOW1<br />     movlw 0X06<br />     movwf PORTD<br />     GOTO end_interrupt<br />SHOW2<br />     movlw 0X5B<br />     movwf PORTD<br />     GOTO end_interrupt<br />SHOW3<br />     movlw 0X4F<br />     movwf PORTD<br />     GOTO end_interrupt<br />SHOW4<br />     movlw 0X66<br />     movwf PORTD<br />     GOTO end_interrupt<br />end_interrupt<br />     return<br />service_interrupt_2<br />     BCF INTCON, GIE<br />     BCF INTCON, INTF	<br />     movlw 0XF7<br />     movwf PORTD<br />     return   <br />     end]]></description>
<dc:creator>rogermado</dc:creator>
<pubDate>Sun, 26 Apr 2020 11:23:19 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65841</guid>
</item>

<item>
<title>Re: problem real pic simulator MPLabx</title>
<link>http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65841</link>
<description><![CDATA[Some simulators handle displays better than others.<br />If you post as much of your code and  circuit diagram as possible <br />we can try  it in "Real Pic Simulator" and Proteus.<br /><br />Meanwhile try writing test code to do very simple things<br />such as displaying just one character.<br />First find what works.. then add to it.<br />]]></description>
<dc:creator>ExperimenterUK</dc:creator>
<pubDate>Sun, 26 Apr 2020 03:12:33 +0530</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/plugins/forum/forum_viewtopic.php?65841</guid>
</item>


				</channel>
				</rss>