<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Urvisha Shrivastava on Medium]]></title>
        <description><![CDATA[Stories by Urvisha Shrivastava on Medium]]></description>
        <link>https://medium.com/@shrivastavaud02?source=rss-fa76f5ffebde------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zRWVsdH-XfotM0R2EmTjTA.jpeg</url>
            <title>Stories by Urvisha Shrivastava on Medium</title>
            <link>https://medium.com/@shrivastavaud02?source=rss-fa76f5ffebde------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 06:53:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shrivastavaud02/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I-m-perfect]]></title>
            <link>https://medium.com/series/i-m-perfect-69c38d25ff10?source=rss-fa76f5ffebde------2</link>
            <guid isPermaLink="false">https://medium.com/p/69c38d25ff10</guid>
            <dc:creator><![CDATA[Urvisha Shrivastava]]></dc:creator>
            <pubDate>Fri, 24 Apr 2020 05:00:16 GMT</pubDate>
            <atom:updated>2020-05-01T05:32:42.690Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Readers!</p><p>I am glad that you landed up here. Now that you are here, I would love it if you hear out the stories in this series.</p><p>Isn’t that what we all look for, someone who can hear us without any judgemental thoughts and bias.</p><p>we look for people with whom we can share our happiness, our fear, and our most vulnerable and difficult moments.</p><p>I-m-perfect is a series where stories of struggle, be it with anything of any kind is shared with people.</p><p>I-m-Perfect is a double entendre, and together we shall share thoughts so far we have been hesitant to share.</p><p>Together we shall help each other, cause nothing is perfect!</p><h3>TAKE TWO!</h3><p>Failures are inevitable.</p><p>There is this general notion that lack of preparation leads to failure.</p><p>True that but U can even fail in the most prepared event of your life.</p><p>People only see whether a person failed or succeeded, nobody knows what fight one has to go through.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*PHPIDrg5bGsGGh3bVsxaww.jpeg" /></figure><p>And often by the fear of what an impact our failures, our downfall will have on our “public image”, we do not try new things.</p><p>Not that failures do not allow us to go for new things, the aftermath of failure is more fatal.</p><p>The setback from failure is painful, we tend to accept that we are not good at it, and never take a second try at it.</p><p>what if we fail the second time also?</p><p>There will be a tag of a loser on us forever?</p><p>Others will make it, but will I ever?</p><p>well, u will never know the answer if you do not give it a second try.</p><p>It will be hard to try it again, but trust me to take that “second take”.</p><p>You will achieve it!</p><h3>Negate the Negative Power.</h3><p>By: V. J. Karthik ( <a href="https://medium.com/u/15f48a695537">V.J. Karthik</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BLRZk1JXdJqwdin98IkkkQ.jpeg" /></figure><p>That feeling of adrenaline rush.</p><p>That feeling when people hurt you.</p><p>That feeling when you have to stay away from people you love.</p><p>That feeling when you have to get into fights when you don’t want to.</p><p>Man, there’s too much negativity in this world. Its Someone’s sprayed poison all around. People are breathing it all in not knowing that it’s harming them in ways they can’t imagine, in ways they can’t comprehend.</p><p>“Why spread love when you can spread hatred, when you can spread fear, when you can push others down”, is people’s idea of a nice world.</p><p>And <strong>Power</strong>, man that is some dope LSD, gets the best of us and turns us into something we’re not.</p><p>As a child I was told power is good, power is used to help those in need, it can change people’s lives, improve them.</p><p>Not always true is it :)</p><p>It’ll kill you from inside you. Imagine being pierced by a long harpoon right into your heart and then removed and pierced again, done continuously until the smallest blood drop isn’t left in your heart.</p><h3>I AM PERFECT</h3><p>By-Prerna Shrivastava(<a href="https://medium.com/u/cc03d73c6a48">Prerna Shrivastava</a>)</p><p>No, I ain’t.</p><p>I don’t desire to be perfect. There are things that are taught by our parents (one we live by) and then there are things we learn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*7e_lsB_dMCoE8hRXZ6TB8Q.jpeg" /></figure><p>I learned a few, one of which is to always be self-dependent, it would make one cry, beg for company, for family ., but then towards the end of the day, one always feels stronger than before.</p><p>Another thing is to not wrong anyone, in any way cause any person hurt is hurt. The soul problem arises when one life is considered superior to any other, we are all equal and we should see that way, we should try our level best to be passionate for people, to empathize and sympathize with their world. There is no better living than to feel everything and everybody around you. By feeling, you can let yourself be free and dangerously exposed to hurt., but at least you would be living. A life full of compassion, love, and every emotion that comes from our gut.</p><h3>YOU DON’T HAVE TO BE PERFECT.</h3><p>By : Pankhuri Verma(<a href="https://medium.com/u/42baea0f42c9">Pankhuriverma</a>)</p><p>Life is a series of beginnings, not endings.</p><p>Every day we learn something new.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RElxpkpjNLFeOUMxHGm_uA.jpeg" /></figure><p>No one in this world is perfect, and trust me you don’t have to be perfect.</p><p>Just be a person of integrity, someone who sticks to their word.</p><p>If you said you’d do something, do it for sure.</p><p>You just have to be honest every single day, in every situation and inspire people by the way you deal with your struggle, your heartache, and your imperfections….</p><p>Sometimes, you need to step outside,</p><p>Get some fresh air and remind yourself of what you’re and where you want to be…</p><p>“If you want something that you never had, you have to do something you have never done.” ( my experience)</p><p>At last, I want to say that, I’m not perfect</p><p>but my intentions are good, I love hard and respect everything I’ve got.</p><h3><strong>I am PERFECT, am I?</strong></h3><p>By: Divyanshu Verma(Divyanshu)</p><p>Let’s ponder over this with a story: This is the story of Ram.</p><p>An above-average student, hard-working but Lost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*PhKhxjCeQct8_LgQNcQ2aA.png" /></figure><p>His father was a renowned engineer and everyone in his locality knew him as he was among the very first engineers in the locality.</p><p>It was pre-decided that Ram will also be an engineer as his father, infact a better more perfect one.</p><p>And no, this was not Ram’s dream, it was his father’s. So, Ram worked hard to get into a renowned engineering college, again worked hard, got a decent job and was still working hard to become as renowned as his father, but there was something lacking.</p><p>His father was not happy because Ram was finally an engineer but not a perfect one as he has always wanted. One Sunday, being fed up with his daily routine, Ram took out his sketch book and crayons, that he has kept hidden for past 10 years, and started what he had most liked since he was a child, sketching.</p><p>At that moment, he realized what he wanted to do and what he needs to do. Now, Ram is a renowned painter, the first one from his locality whose paintings are being auctioned internationally today.</p><p>And there is his father looking at him with eyes filled with tears because today he was seeing what he has always wanted to see, the perfect one.</p><p>I need not say the moral of the story, you would have get it that you might not be perfect in one field but you can be perfect in another field where your passion lies.</p><p>But that’s not it, Ram didn’t become perfect just by his passion of sketching, he became one by following the road to it.</p><p>Perfect is not just a word, it’s a journey, all that matters is you start that journey.</p><p>So, yes I am PERFECT or I WILL BE.</p><h3><strong>I am perfect in my imperfections</strong></h3><p>By: Vaidehi(<a href="https://medium.com/u/5f5f7dd57b9a">Vvishnoi</a>)</p><p>Some day, somewhere a girl was born in a small town.</p><p>She was raised with all the love and care, and was taught that perfection is all that matters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*CxXGHfx1u2x-a2-WNrgYaA.jpeg" /></figure><p>She dreamed of a perfect life, like a high profile job, a house, a perfect man to get married to and everything would be perfect in her life.</p><p>But she didn’t realise that life is never perfect, Life is unpredictable. She was not able to get a high profile job as she was not good at studies. She was not able to fulfill her parents expectations. She faced a major heartbreak when her love left her, because she wanted to make him perfect, but he was not. No job, no family support, no love, nothing. She was broken, everything seemed to fall apart. She isolated herself for about 6 months.</p><p>Six months later, she came up with a new hope and tried to get a normal job, after a lot of struggle she succeeded, it was not a high profile job, but she was happy. After sometime she met a guy, who loved her despite not being perfect, he did not want her to be perfect, he wanted her to be real. And she realized that its not important to be perfect, but its important to be real. She felt that happiness when she sent her parents a gift with her normal salary. Now she has friends who are not perfect, but they are caring and supportive.</p><p>One evening sitting on a couch I realised, “my life is far from perfect, but I am thankful for everything I have.”</p><p>Yes this was my story.</p><p>I am not perfect, but I am perfectly happy.</p><h3><strong>I-m-Perfect</strong></h3><p>By: Keval Rana (<a href="https://medium.com/u/8e493068e96c">Keval Rana</a>)</p><p>The mayhem in the mind,</p><p>conundrum of the heart,</p><p>The dilemma in the decision,</p><p>The fear of the outcomes.</p><p>Should you or should you not?</p><p>Can you or can you not?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*SFupoTxHV1PYxnAY2J0L9w.jpeg" /></figure><p>Perhaps it’s too long a shot</p><p>just too big a hit</p><p>The moments turn to days</p><p>days morph to never</p><p>And abiding the older pattern</p><p>this moment too ebbs away</p><p>The notion is insufficiency</p><p>Of not getting it perfect</p><p>Its the fear of falling short</p><p>short of making it all.</p><p>But then aren’t we all at short?</p><p>Some little some more,</p><p>But we do share a share</p><p>the hitches and hiccups with life</p><p>Then why to restrain?</p><p>and what to fear!</p><p>Embrace the flaws</p><p>And fear only to fear.</p><p>Take that leap of faith,</p><p>and claim what you rightly deserve</p><p>bet to deserve the better,</p><p>And better your old pattern.</p><p>your imperfections suit you perfect,</p><p>Perfect this within your spirit</p><p>For either you are perfect</p><p>Or else there is no one perfect!</p><h3><strong>IRONY!</strong></h3><p>By: Shivani Mishal</p><p>Over the years, I have steadily worked upon and improved my writing skills. Descriptive writing is a personal favourite; bringing a scene to life with the addition of subtle detailing has always held great fascination for me. I can safely state that my writing is-for the most part-immaculate. But if there is something I struggle with, it is expressing my own emotions through writing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*b4pnDQjCntb71M4C4V-cbw.jpeg" /></figure><p>It is ironic, as writing is considered as a form of expression. My writing ought to be an extension of myself and my emotions. But chasing after perfect sentence formation and the ideal plot picturization, the emotions are lost somewhere along the way.</p><p>Perhaps this handicap is associated with the fact that I struggle to express emotions in ordinary scenarios as well. I could talk about the world and its ways for hours on an end; I could deduce and summarise your emotions better than you yourself could put in words. But ask me to talk about my own emotions and I will be tongue tied. And I find this, much to my chagrin, that this issue extends to my writing too.</p><p>I envy those who can express themselves freely, whose emotions are so palpable in their writings. People post veritable essays about their family and friends on occasions like birthdays, while I struggle to write a single line beyond ‘Happy Birthday’. Even posting a genuine comment on an Instagram photo is a struggle in itself. I feel my old school friends and acquaintances slipping away, and I long to say so much to them! But my emotions have no outlet; neither through my words nor through my writing.</p><p>Another peculiar trait I’ve picked up is excessive perusal of writing. In other words, I am the ultimate grammar nazi. I see the style of writing first and then the emotions that are conveyed. So many good books have been ruined for me simply because the style of writing was not one that aligned with my tastes. People who can pen their emotions down may not have the best grammar, but the emotions that they want to convey shine through their words.</p><p>Being an avid fan of fanfictions, I recently tried my hand at penning one myself. Turns out I am able to pen down the emotions of even fictional characters quite well, yet I struggle with my own. Oh, the sheer irony of at all almost amuses me.</p><p>Should I ever learn to pour out my feelings on a paper, I am confident that my writing will further improve by leaps and bounds. More importantly, I will finally be able to express to people exactly how much they mean to me. And that would be beautiful.</p><p>Meanwhile, I am stuck with my signature: “Come on, you know what I mean!”</p><h3><strong>BHOOL BHULAIYA.</strong></h3><p>By: Kushagra (<a href="https://medium.com/u/6b7c192716db">Kushagra Agarwal</a>)</p><p>So I learned and unlearnt a TON of things and it has been an amazing growing experience. Already doing this and hoping to continue it.</p><ul><li>Identify stress and triggering situations n ppl that bog you down and KEEP AWAY. ALWAYS ask yourself, does this add value to my life?’ If not, LET IT GO.</li><li>Strive to be the better version of yourself every day than past, that should be the goal. You won’t compare yourself to anyone and anything and you will be happier you achieving goals.</li><li>EAT quality food. This impacts your healthy mind and body a lot than you think. Food should be fuel, everything for taste and unhealthy should be a luxury (see it as a tax you pay on everyday healthy food)</li><li>Clear the clutter, A LOT. Keep things you only need.NEED. Buy a few things but BEST THINGS.</li><li>Spend on experiences, not things.</li><li>Don’t buy impulsively, if you do a later thing about returning and saving so much money</li><li>Also MINDFULNESS. Take a step back if you staring into screens, stressed about some tasks, and facing stressful situations. sometimes it helps get another perspective and you might end up doing things in a better and different way n solve the problem in a moment.</li></ul><h3>CROSSROAD</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L0itWRBY6aqJldvUVsRlbQ.jpeg" /><figcaption>P.C: Sahil Singh</figcaption></figure><p>Some say life is a journey, you got to decide your path and stick tIll the end Run, sprint, limp, fall on the way but make it to the end.</p><p>We all are into a race to finish first.</p><p>On our way, we cross many people’s path and so do they.</p><p>This crossover might lead to extend for a considerate amount of time and we stay in their company for quite some time,</p><p>And without the prior knowledge of what the other has been through, we start comparing their lives to others.</p><p>There isn’t a single person who wouldn’t have made a comparison to others even once. It’s inevitable.</p><p>We need to understand the fact that even if two of us are doing the same things, the journey until that point has been different.</p><p>There is no justification at all for judging it through the same filter.</p><p>No one knows the back story, the hardships faced, or maybe not faced.</p><p>So when u pass by a crossroad, be kind and not judgemental . Be supportive and not an obstacle, because we all are travelers here, you might not meet that person again whom you judged and brought down their morale, and get a chance to amend things.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69c38d25ff10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[INTRODUCTION TO 8051 MICROCONTROLLER]]></title>
            <link>https://medium.com/techloop/introduction-to-8051-microcontroller-d1149aa7b6ed?source=rss-fa76f5ffebde------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1149aa7b6ed</guid>
            <category><![CDATA[intel]]></category>
            <category><![CDATA[microcontrollers]]></category>
            <category><![CDATA[assembly-language]]></category>
            <category><![CDATA[embedded]]></category>
            <category><![CDATA[hardware]]></category>
            <dc:creator><![CDATA[Urvisha Shrivastava]]></dc:creator>
            <pubDate>Wed, 08 Apr 2020 06:39:20 GMT</pubDate>
            <atom:updated>2020-06-16T10:38:46.288Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction to 8051 Microcontroller</h3><p>A brief introduction to to the most popular microcontroller, Intel’s 8051</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*r55uEw5_MuO8vIhrw5ZQoA.jpeg" /><figcaption>8051 microcontroller board with peripherals. (<a href="https://www.google.com/search?sa=G&amp;hl=en_GB&amp;tbs=simg:CAQSxAIJaQjuv8ujTQ4auAILELCMpwgaYgpgCAMSKIYKnBfXA94IugbdCPETphigDKMY9jz0PPU89zbzPOA2rTO4M68zsTMaMDduq-sB_1BIofIhHR1KnxkD0eo7pTBnv6zbGlnFBRfUDWym9NZSDQbzlGVHytEJXayAEDAsQjq7-CBoKCggIARIEcR9YUgwLEJ3twQkasAEKJwoUZWxlY3Ryb25pYyBjb21wb25lbnTapYj2AwsKCS9tLzA2M3N5dAohCg9taWNyb2NvbnRyb2xsZXLapYj2AwoKCC9tLzA1OHY1Ch0KC2VsZWN0cm9uaWNz2qWI9gMKCggvbS8wMm1ycAokChJlbGVjdHJpY2FsIG5ldHdvcmvapYj2AwoKCC9tLzAybHhqCh0KC21vdGhlcmJvYXJk2qWI9gMKCggvbS8wNTA4cAw&amp;sxsrf=ALeKk02dUIORcafY9vYnj5W3kqyDoL3-7w:1588945933318&amp;q=microcontroller+8051&amp;tbm=isch&amp;ved=2ahUKEwjYqLDvtKTpAhXKyYsBHZt2BCsQwg4oAHoECBAQKA&amp;biw=1366&amp;bih=657">Source </a>)</figcaption></figure><p>There is a very popular saying that goes like “Old is Gold”</p><p>Intel’s 8051 Microcontroller totally embodies this saying. It is a simple and hassle-free platform to get started with embedded systems and was developed in the 1980s.</p><p>Even after so many decades, the Microcontroller is relevant and used widely. Let’s find out what makes it immortal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*S4I1Xxs1fYpzoUYmcwbPKg.jpeg" /><figcaption>40 pin 8051 Microcontroller(<a href="https://www.google.com/search?sa=G&amp;hl=en_GB&amp;tbs=simg:CAQSzgIJRfUPN428jRcawgILELCMpwgaYgpgCAMSKKwSwQatEqsSthLiBeYFiRKuEqYSpjPbNrI2pzPhJp0z2TbKIbE2njMaMBO6IAy-Y6eGjwiPOSisJiuLWZH7ZlPp0lncjYv6dM1P1WZ18oxr1_1e92QUvILFWDiAEDAsQjq7-CBoKCggIARIEB1cIQgwLEJ3twQkaugEKIQoPbWljcm9jb250cm9sbGVy2qWI9gMKCggvbS8wNTh2NQonChRlbGVjdHJvbmljIGNvbXBvbmVudNqliPYDCwoJL20vMDYzc3l0Ch0KC2VsZWN0cm9uaWNz2qWI9gMKCggvbS8wMm1ycAoiChByZWFkLW9ubHkgbWVtb3J52qWI9gMKCggvbS8wNmgwMQopChZlbGVjdHJvbmljIGVuZ2luZWVyaW5n2qWI9gMLCgkvbS8wMWcxcmcM&amp;sxsrf=ALeKk00J4iIXBSOjdHATdGTD76C0aqBW3w:1588946181956&amp;q=8051+microcontroller&amp;tbm=isch&amp;ved=2ahUKEwjJk_jltaTpAhWJuJQKHdGlDIsQwg4oAHoECA8QKA&amp;biw=1366&amp;bih=657">Source</a>)</figcaption></figure><ul><li>8051 is an 8-bit microcontroller.</li><li>It is built with 40 pins DIP (dual inline package).</li><li>4kb of ROM storage, and 128 bytes of RAM storage.</li><li>It has two16-bit timers.</li><li>It consists of four parallel 8-bit ports, which are programmable as well as addressable as per the requirement.</li><li>An on-chip crystal oscillator is integrated with the microcontroller having a crystal frequency of 12 MHz.</li></ul><p>Those are too many technical terms at once. Let us understand them one by one by going through the architecture first.</p><p>This blog will help develop a general idea about 8051 and can help you start coding one.</p><p>Once you get a hang of it you can create your own programs to perform any functionality.</p><p><strong>ARCHITECTURE :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*dz9bX5IJu8uXM7ahTQxXHQ.png" /><figcaption>Architecture explaining the 8051 in detail.(<a href="https://www.google.com/search?sa=G&amp;hl=en_GB&amp;tbs=simg:CAQSowIJkrZGcv3gwAMalwILELCMpwgaYgpgCAMSKK4TshOMCooIzB23A60Tyx3fCI0IqD7TNpQ3wj7wP58-pz7MP7w-9T8aMD_1VN_1jzCTauJI3xs6zMu29GIO_1sMMTCX3YXjyMoaiK5ooa_1xj7RZrLhhH1WzSOjvSAEDAsQjq7-CBoKCggIARIEEmZH0gwLEJ3twQkajwEKGgoHZGlhZ3JhbdqliPYDCwoJL20vMDJ2MG0yChgKBm51bWJlctqliPYDCgoIL20vMDVmd2IKGAoGb3Jhbmdl2qWI9gMKCggvbS8wamNfcAoaCghzeW1tZXRyedqliPYDCgoIL20vMGYyOG0KIQoNc2VtaWNvbmR1Y3RvctqliPYDDAoKL20vMGg4bV84cQw&amp;sxsrf=ALeKk01YW042UNGncnrRk203Jrpm0W2DeQ:1588946248817&amp;q=microcontroller+embedded+system&amp;tbm=isch&amp;ved=2ahUKEwiW-OiFtqTpAhWqGKYKHaCgCjMQwg4oAHoECAkQKA&amp;biw=1366&amp;bih=657">Source</a>)</figcaption></figure><p>This architecture helps us understand pictorially how various elements of the 8051 board are connected and functions.</p><p>Now let us talk about the pins of 8051.</p><p><strong>PIN DIAGRAM:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*rQ1dmOh21_q4jV0VmsP7FA.jpeg" /></figure><p>The pin diagram of the 8051 microcontroller consists of 40 pins.</p><ul><li>A total of 32 pins are set away into four Ports such as P0, P1, P2, and P3. Where each port contains 8 pins, for various functions such as i/o, external address, address latch, etc.</li></ul><p>You can find detailed theoretical information of 8051 in the datasheet of 8051 available on google.</p><p>Now let us move to the fun segment: CODING an 8051 microcontroller.</p><p>The compiler we will use is KEIL, you can the software from the following link: <a href="https://www.keil.com/download/">https://www.keil.com/download/</a></p><p><strong>PROGRAMMING 8051 :</strong></p><p>8051 is programmed in Assembly language Programming (ALP ).</p><p>Here’s an example of ALP to give you an idea of programming of 8051.</p><p>Let us add two numbers in assembly language programming.</p><p>Addition of two 8-bit number</p><ul><li>In assembly language, the instruction ‘mov’ is used to move the content . ‘a’ and ‘b’ are Registers ( you can think them as a variable where number is being stored and the mathematical operations are implemented upon.)</li><li>The first line of code “mov dptr,#4500h” is the instruction to assign the memory location.</li><li>And then the values are moved in the registers by the following instructions: “mov a,#05h” and “mov b,#08h”.</li><li>It’s the convention to first write the instruction then the register followed by the value ending with ‘h’ which implies it is a hexadecimal number.</li><li>Next, the “add” instruction is used to perform arithmetic addition operation.</li><li>Lastly “sjmp” which stands for Short jump is used which transfers execution to the specified address and is used to form a loop.</li><li>Instruction ‘end’ instruction is used to finish the execution.</li></ul><p>The output is displayed on the LHS column beside the register name assigned to it.</p><p>The above’s code’s result can be obtained in the software itself, we need not connect the hardware, KEIL has inbuilt 8051 characteristics to execute the program.</p><p>Now let us do another assembly language program with hardware implementation, in which we will dump the code to 8051 after compiling.</p><p><strong>LED and Switch interface</strong></p><p>With the push of a button, we will be changing the pattern of the blinking of LEDs. Sounds interesting right?</p><p>Switch and LED interfacing</p><ul><li>Here in this code Port0 is made the input port and Port 1 is made the output port by assigning them to registers. U must be wondering what is meant bt move the port pins to register, here it means whatever value(high or low) that the register contains, will be assigned to the port pins.</li><li>The “mov r3,#08h” is used to ensure rotation of LEDs blinking happens 8 number of times this can vary on how many times u want to rotate. A check is kept on this register for implementation of loop using “sjmp” instruction.</li><li>By “mov a, p0” instruction we fetch the value from the port0.</li><li>Next “cjne” which stands for compare and jump if not equal, checks whether register “a” has value “fe” or not which is the highest value a port can hold as per restrictions if it’s not equal then jump to line “lp” and execute it.</li><li>The “mov a,#055h” is making alternate ones as in 01010101, these few lines are the code for blinking in an alternate fashion.</li><li>If the content of register “a” is not “fe” then a single LED will glow, if it reaches “fe” which will be when we press the switch then alternate LEDs will glow.</li><li>Next port 1 is assigned to the register a, this is for the first pattern of blinking(single LED). The “lp: mov a,#01h” is the program for the blinking of one LED as only one pin is set high (01h converted to binary is 0000 0001), hence the last LED will be glowing.</li><li>Next, we instruct the microcontroller to rotate the blinking of LEDs in what fashion, this is done by the instruction “rl a”, it stands for rotate left.</li><li>The delay subroutine is what gets executed when “acall delay” instruction is executed. Here the program is in a loop within a loop “f” which is a hexadecimal number its value is 15.</li><li>Next “djnz” instruction is “decrement and jump if no zero”. so each time value in r0,r1,r2 registers are checked as they decrease from “f” and stops when they are equal to zero, this way a delay of “f x f x50h” is generated. This delay is called so that the changes are visible to human eyes.</li><li>Similarly “djnz r3,l” means r3 is checked for becoming zero if it’s not then going to l instruction.</li><li>The instruction “sjmp start” is used to create a loop as discussed earlier.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mgb_Ta3Uq5KsFzhLFxkZ3g.jpeg" /><figcaption>single LED blinking</figcaption></figure><p>After the switch is pressed the blinking pattern changes as-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*6ML-FgjrR8v-vvgK04WylQ.png" /><figcaption>LEDs blinking in an alternate fashion</figcaption></figure><p>The output can be checked by going to peripherals and then I-O ports after clicking on the run button. Select the ports to which you have assigned values in the program and u can see the LEDs which are high.</p><p>There are tons of mesmerizing codes we can write and execute them on different peripherals like LCD Screen, Motor, Speed Control, Keypad interfacing, etc.</p><p><strong>APPLICATION :</strong></p><p>8051 has a wide variety of applications -</p><ul><li>Automobile applications</li><li>Defense applications</li><li>Industrial instrumentation devices</li><li>Process control devices</li><li>Voltmeter applications</li></ul><p>And many more …….</p><p><strong>To Conclude:</strong></p><p>Microcontrollers<strong> </strong>were originally programmed only in assembly language, but various high-level programming languages, such as <strong>C</strong>, Python, and JavaScript, are now also in common use to target microcontrollers and embedded systems.</p><p>The use of electronic gadgets and instruments in almost every field of our life has led to the development of several significant microcontroller boards over time such as</p><ul><li>Arduino Uno which uses Arduino IDEwhich has implied coding a microcontroller to a great extent,</li><li>Node MCU which has been revolutionary changes as it has an on-chip Wifi module etc.</li></ul><p>We will be going through various programs that you can do in 8051 microcontrollers and others in the upcoming blogs.</p><p>Stay tuned.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1149aa7b6ed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techloop/introduction-to-8051-microcontroller-d1149aa7b6ed">INTRODUCTION TO 8051 MICROCONTROLLER</a> was originally published in <a href="https://medium.com/techloop">Techloop</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why so Restless ?]]></title>
            <link>https://medium.com/@shrivastavaud02/why-so-restless-29bf59c7661b?source=rss-fa76f5ffebde------2</link>
            <guid isPermaLink="false">https://medium.com/p/29bf59c7661b</guid>
            <dc:creator><![CDATA[Urvisha Shrivastava]]></dc:creator>
            <pubDate>Wed, 22 Jan 2020 15:39:53 GMT</pubDate>
            <atom:updated>2020-01-22T15:39:53.532Z</atom:updated>
            <content:encoded><![CDATA[<p>Why so Restless ?</p><p>If you believe in fate <br>Trust me, things will fall in place .<br>Why haste <br>All you need to do is keep some pace ,<br>With life , with people , with changes around you .<br>Accept them .<br>Move on with time .<br>For those who hold on to things <br>Are left behind .<br>Why so Restless ? <br>Trust me, things will fall in place .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29bf59c7661b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trying to be strong]]></title>
            <link>https://medium.com/@shrivastavaud02/trying-to-be-strong-5e22c54582f2?source=rss-fa76f5ffebde------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e22c54582f2</guid>
            <dc:creator><![CDATA[Urvisha Shrivastava]]></dc:creator>
            <pubDate>Wed, 22 Jan 2020 15:38:20 GMT</pubDate>
            <atom:updated>2020-01-22T15:38:20.140Z</atom:updated>
            <content:encoded><![CDATA[<p>Trying to be strong</p><p>Trying to be strong ,<br>I fail sometimes <br>Is it ok ?</p><p>When going ahead in this fog <br>Seems difficult ,<br>Is it ok ?</p><p>The final result only counts or<br>Does my efforts really matter ?</p><p>They might be not evident .<br>But they exist .</p><p>Only to make me stronger ,<br>Don&#39;t give upon them .<br>It will get better .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e22c54582f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>