<?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 Ishna Jain on Medium]]></title>
        <description><![CDATA[Stories by Ishna Jain on Medium]]></description>
        <link>https://medium.com/@ishnaxd?source=rss-16623617321f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aLxQHN3rqPCgxO_oRTosiw.jpeg</url>
            <title>Stories by Ishna Jain on Medium</title>
            <link>https://medium.com/@ishnaxd?source=rss-16623617321f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 04:05:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ishnaxd/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[Learning Embedded systems without hardware -for beginners]]></title>
            <link>https://medium.com/electronic-geeks/learning-embedded-systems-without-hardware-for-beginners-93c68ca9724a?source=rss-16623617321f------2</link>
            <guid isPermaLink="false">https://medium.com/p/93c68ca9724a</guid>
            <category><![CDATA[smart-farming-technology]]></category>
            <category><![CDATA[arduino]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <dc:creator><![CDATA[Ishna Jain]]></dc:creator>
            <pubDate>Sat, 11 Mar 2023 11:02:41 GMT</pubDate>
            <atom:updated>2023-03-11T11:02:41.390Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a beginner-friendly, step-by-step guide to building a basic smart farming system by using virtual simulations of hardware and learning embedded concepts along the way.</p><p>Please note that <strong>hardware is not required for this tutorial</strong>. <a href="https://www.tinkercad.com/dashboard">Tinkercad</a> will be utilized for hardware simulation. It is browser-based, so there is no need to download anything.</p><p><em>Embedded Systems are computers embedded in objects or environments that perform tasks to accomplish a specified functionality. These are mostly hidden from the users and only limited input/output is visible.</em></p><blockquote>Embedded Systems are application specific systems .</blockquote><p>For example, a washing machine only washes clothing based on the inputs it receives. A calculator can only do calculations. Etc.</p><p>A laptop or computer is not an embedded system since it is a general-purpose device and is used for a wide range of applications.</p><p>This article will teach you how to create a smart farming system for a small field of high-yielding crops that are mostly influenced by climatic conditions.</p><h4>A basic Embedded system consists of:</h4><ul><li><strong>Sensors</strong> for sensing the environment.</li><li>M<strong>icrocontroller unit (MCU)</strong> for processing and data acquisition from sensors.</li><li>An <strong>actuator</strong> for managing the physical environment.</li><li>A <strong>power source</strong> that supplies electricity to all connected devices.</li></ul><p>The components used in this tutorial are listed below. Please keep in mind that they may not be the best components for our application, but they are the ones that are accessible in the Tinkercad library.</p><p><strong>Sensors :</strong></p><ul><li><em>Temperature sensor</em> to monitor the ambient temperature.</li><li><em>Soil Moisture</em> sensor to monitor the moisture content in the soil.</li></ul><p><strong>Actuators :</strong></p><ul><li><em>Servo motor</em> to trigger irrigation based on the temperature and moisture readings.</li></ul><p><strong>MCU :</strong></p><ul><li><em>Arduino</em> for interfacing sensors and communication module</li></ul><p>Let&#39;s start building the system :</p><ol><li>Open Tinkercad by clicking <a href="https://www.tinkercad.com/dashboard">here</a> in your browser window.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TC4YFeMO9ARkW6AWVR4-Zw.png" /></figure><p>2. Click on “New” in the top right corner and select circuit from the dropdown menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*HYVa5fw44lP5MwyxeBcAXQ.png" /></figure><p>3. A new circuit dashboard will open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2_GdYsq67PO5d8n9P2Uz1g.png" /></figure><p>4. Click on components and select Arduino in the right sidebar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*l8LlVoL9VSIrNxrwxf1wDQ.png" /></figure><p>5. Select Arduino with Breadboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RRGomSzmblpCGAPagCPyyg.png" /></figure><p>6. Same way search for temperature and soil moisture sensors and place them on the workspace. Draw the circuit as follows :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ieiCyoijTMTq4sySsm6tpQ.png" /></figure><p>7. Click on Code in the navigation bar and select the edit mode as text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*Wvf6sOB27wIxv6-LcgalaA.png" /></figure><p>8. You will find a code editor like the one shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*-GHLymls4tLTg1nv5-L9_A.png" /></figure><p>9. Paste the code written below.</p><pre>// C++ code<br>//<br>Servo motor;<br>float moisture=0.0;<br>float temp=0.0;<br><br>void setup()<br>{<br>  pinMode(A0, INPUT);<br>  pinMode(A5,INPUT);<br>  motor.attach(11);<br>  Serial.begin(9600);<br>}<br><br>void loop()<br>{<br>  moisture=analogRead(A5);<br>  temp=analogRead(A0);<br>  Serial.print(&quot;temp &quot;);<br>  Serial.println(temp);<br>  Serial.print(&quot;moisture &quot;);<br>  Serial.println(moisture);<br>  motor.write(90);<br>  if(temp&gt;200){<br>    if (moisture&lt;50){<br>      motor.write(90);<br>      <br>    } <br>  }<br>  else{<br>    motor.write(0);<br>}<br>  delay(1000);<br>  }</pre><p>10. Click on start simulation. If everything is connected right, you will see this output in the serial monitor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*_MiUlatIlwdGpNpGQg7O_A.png" /></figure><p>11. To manipulate sensor values, click on the individual sensor while the simulation is on. You will see a slider with both sensors. Move the slider to change the input from the sensors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NWoOy2Yn6aMEhXGWa29lHQ.png" /></figure><p><strong>For learning more about embedded systems and IoT, do follow me and do like if you found this article helpful.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93c68ca9724a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/electronic-geeks/learning-embedded-systems-without-hardware-for-beginners-93c68ca9724a">Learning Embedded systems without hardware -for beginners</a> was originally published in <a href="https://medium.com/electronic-geeks">Electronic geeks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Arm Cortex-M Processors — An Overview]]></title>
            <link>https://medium.com/electronic-geeks/arm-processors-and-all-you-need-to-know-about-them-54e3f1bce0f3?source=rss-16623617321f------2</link>
            <guid isPermaLink="false">https://medium.com/p/54e3f1bce0f3</guid>
            <category><![CDATA[arm-processors]]></category>
            <category><![CDATA[microcontrollers]]></category>
            <category><![CDATA[arm]]></category>
            <dc:creator><![CDATA[Ishna Jain]]></dc:creator>
            <pubDate>Wed, 11 Jan 2023 12:16:08 GMT</pubDate>
            <atom:updated>2023-01-11T16:40:15.765Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*sAcOfAAwfEUaApqLlY7xiQ.png" /></figure><p>ARM stands for Advanced RISC (Reduced Instruction Set Computer) Machine and was founded in 1990 in California. Best known for its range of RISC processor cores design, fabric IPs, software tools, etc.</p><p>There are primarily 3 types(based on the market segment) of processors which Arm offers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KGqCK5xYLF0zkGgKsyFFeQ.png" /></figure><p>Securcore is just an extension of Cortex-M.</p><p>Below are the recent and widely used Arm architectures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4UjX52Wywgt-KejklZCzoQ.png" /></figure><p>Based on their relative performance, Cortex-M processors can be classified as :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CxDkYSzVCKHuD8mEQu_yoQ.png" /></figure><h3>Arm Cortex-M0</h3><p>It is a small and simple processor that implements the ArmV6-M ISA. Supports Thumb (16-bit opcode) architecture.</p><p>Has 13 GPRs(General Purpose Registers) and 3 special registers -Stack Pointer, Link Register, and Program Counter. Supports 3 stages long pipeline(Fetch-Decode-Execute). Has Nested Vector Interrupt Controller(NVIC) for interrupt handling.Permits 32 general interrupts and one very high-priority non-maskable interrupt.</p><p>For debugging-external hardware has a breakpoint(to trigger a debug event at a particular instruction ) and a watchpoint (to trigger a debug event when a particular data location is touched by code ). A DAP(Debug Access Port) is provided with each Cortex-M processor as a debug interface.</p><p>To access internal memory-mapped peripherals, the processor allows an internal bus interconnect, and for external, the von-Neumann-styled memory interface that implements the AMBA 3-AHB lite protocol is used.</p><p>Supports two sleep modes-regular: saves dynamic power by getting most of the clocks and deep sleep mode: for deep power saving and static leakage power saving with the use of a Wake-up Interrupt Controller(WIC).</p><h3>Arm Cortex-M0+</h3><p>In many ways, it is similar to arm Cortex-M0 with some additional features and microarchitectural changes. Supports optional user/privileged mode for OS. Has an optional MPU(Memory Protection Unit) so that user tasks use only memory permitted to the task and does not interfere with OS memory or memory belonging to other tasks.</p><p>Only 2 stages long pipeline. Has an optional low latency single cycle I/O port compared to two or more cycles required for an AHB transfer .</p><p>One major Additional feature is MTB(Micro Trace Buffer)-for storing trace of execution path through program code which can be used for debugging purposes.</p><h3><strong>ARM Cortex-M1</strong></h3><p>Similar to Arm Cortex-M0+ but targeted at use on FPGA rather than in a full implementation flow.</p><h3>ARM Cortex-M3/M4</h3><p>Implements ArmV7-M ISA. It is a Thumb (16-bit) Instruction Set but supports a wide range of 32-bit instructions compared to V6-M.</p><p>Supports Harvard architecture -different memory interface for Code and Data. More permitted interrupts can be configured on distinct levels of priority.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54e3f1bce0f3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/electronic-geeks/arm-processors-and-all-you-need-to-know-about-them-54e3f1bce0f3">Arm Cortex-M Processors — An Overview</a> was originally published in <a href="https://medium.com/electronic-geeks">Electronic geeks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>