<?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 Alan Biju on Medium]]></title>
        <description><![CDATA[Stories by Alan Biju on Medium]]></description>
        <link>https://medium.com/@a-1an?source=rss-b785f2a156f0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sxZlOgBY6-WhKf1cXIl2eA.jpeg</url>
            <title>Stories by Alan Biju on Medium</title>
            <link>https://medium.com/@a-1an?source=rss-b785f2a156f0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:41:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@a-1an/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[How NOT to fry your circuits: Part 2]]></title>
            <link>https://medium.com/@a-1an/how-not-to-fry-your-circuits-part-2-e0ef601fbffd?source=rss-b785f2a156f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0ef601fbffd</guid>
            <category><![CDATA[arduino]]></category>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[makers]]></category>
            <category><![CDATA[electronics]]></category>
            <category><![CDATA[integrated-circuits]]></category>
            <dc:creator><![CDATA[Alan Biju]]></dc:creator>
            <pubDate>Tue, 30 Dec 2025 14:35:53 GMT</pubDate>
            <atom:updated>2025-12-30T14:35:53.899Z</atom:updated>
            <content:encoded><![CDATA[<p>I hope you’ve fried something by now, that’s progress in your engineering life, nonetheless. I’ll share some more of those neat tricks to keep your circuits clean and safe.</p><h3>1. Use Online Simulators</h3><p><strong>Rule #3: “When in doubt, Wokwi it out!</strong>”</p><p>Using simulators online is a great way to test circuits. Before even getting your hands on the components, you can tinker with it in Wokwi and see if it works. If all goes well in Wokwi, there’s a 99% chance it will work the same in physical circuit. 1% says you’ll fry it anyway.</p><p>It comes with its limitations, though. Not all sensors and boards are available, some libraries may not be there and so on. Try alternatives like <strong>Tinkercad, Proteus </strong>etc and see if it fits your needs. In a NO-luck situation, go ahead and risk it. If it works in Wokwi, the <em>logic</em> is probably right, but real hardware can still surprise you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*drDhhUcrUBdGLogW3FjAow.jpeg" /></figure><h3><strong>2. Voltage and current: Learn or burn!</strong></h3><p>Everyone would be familiar with the theoretical concepts but how does it translate to the workbench? We sure don’t see the atoms pushed through the wire cause of the voltage difference, but the smoke and fire(sometimes).</p><p>Keep in mind the two basic things:</p><ol><li>You <strong>can</strong> connect a Low amp device to a high amp power supply.(<em>no</em> <em>fire</em>)</li><li>You <strong>cannot</strong> connect a low voltage rated device to a high voltage rated power supply.(<em>fire</em>)</li></ol><p>I’ll give you an example from the workbench:</p><p>Consider an Arduino board and a power supply. Arduino tolerates 5V and draws ~50-70 mA. The power supply is turned onto 3V and 20A. Smoke? No smoke. The Arduino simply won’t work.</p><p>Now the power supply turned onto 5V and 20A. It works. As intended.</p><p>As the final act you’ll ever do with this board, turn up the voltage to 20V. Smoke. The end.</p><p>In other words, the power supply’s <em>amp rating</em> is just its <strong>maximum capability. </strong>The device only draws what it needs at that voltage. However, the power supply’s <em>voltage rating </em>is what it <strong>enforces</strong> at its terminals. The device <strong>cannot </strong>choose a lower voltage<strong>, </strong>it must tolerate whatever is applied.</p><p>Why? Well, figure it out. I’m just keeping you from burning the circuits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*aVFlJs3kt8DTzj80UzRWBQ.jpeg" /></figure><h3>3. Divide and Conquer</h3><p>How do you usually go about integrating a few of those sensors in your projects? Chances are one file and countless errors. An easier approach would be to divide the project and integrate it at last.</p><p>Lets take a scenario of <strong>Weather monitoring station</strong>. It would have a DHT11 for sure. Air quality sensor? Maybe. Rain sensor and a few others too. My approach to solving this would be:</p><ol><li>Make the dht11 work (It’s not that easy to find the working library).</li><li>Open a new file and make the air quality sensor work.</li><li>And so on until all of the sensors work individually.</li><li>Open a new file, copy paste the stuff from all the files into this one. Libraries first. Defined constants next. setup loop third and any another functions at last. Make sure you have only one setup and void loop. Better, ask ChatGPT to integrate :)</li></ol><p>Now you might discover two sensors don&#39;t work together! Well, sucks to be you but this is engineering. Work it out.</p><p>Let me stop and wish you well.</p><p>“ May your circuits live long, and the only smoke you’ll see is from someone else learning the hard way. ”</p><p><strong>Happy tinkering!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0ef601fbffd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How NOT to fry your circuits]]></title>
            <link>https://medium.com/@a-1an/how-to-not-fry-your-circuits-dbcc3b2d1da3?source=rss-b785f2a156f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbcc3b2d1da3</guid>
            <category><![CDATA[electronics]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[arduino]]></category>
            <category><![CDATA[esp32]]></category>
            <category><![CDATA[debugging]]></category>
            <dc:creator><![CDATA[Alan Biju]]></dc:creator>
            <pubDate>Wed, 24 Jan 2024 04:26:41 GMT</pubDate>
            <atom:updated>2025-12-30T13:46:39.512Z</atom:updated>
            <content:encoded><![CDATA[<p>For all the student engineers getting into building projects, circuits to be exact, <strong>frying</strong> a few components is a rite of passage. Been there, Done that. However, with some reading about what you’re about to do, we can greatly minimize the damage done. This is one such guide. From personal experience, here’s a list of things to keep in mind while tinkering.</p><p>Rule 1: <strong>“If it isn’t on Google, it doesn’t exist”</strong></p><p>Every single time you encounter an error message, it&#39;s best to “Google first, think second”. Chances are a random dude has had the same error 10 years ago and posted it in a forum and some kind strangers had already provided a solution. I cannot stress this enough; <strong>GOOGLE people, google HARD!</strong></p><h3><strong>1. For the love of Pi</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-COFe2AZa7gdiUds" /><figcaption>Photo by <a href="https://unsplash.com/@jeffloucks?utm_source=medium&amp;utm_medium=referral">Jeff Loucks</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Raspberry Pi is a very widely considered choice for project building. Leaning towards the expensive boards&#39; side, you wouldn’t want it to be fried ever. So keep this in mind; “<strong>Fear the frying, question your sanity</strong>”. Double-check all the scenarios where your arrangement could go wrong. Google “IS it safe to _______” every single time. Theoretical confidence is not gonna save you. For example, consider the circuit given:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*Eod9pHXMjljN_9r7ADQFlg.jpeg" /></figure><p>This is a correct circuit under normal circumstances. However, in an unfortunate incident where the transistor(2N3906) fails and a short circuit happens, the Rpi will be <strong>FRIED. </strong>To avoid that, read into circuit isolation.</p><p>Relays are a popular choice for controlling high-load circuits with a GPIO signal. But it&#39;s expensive, noisy, and requires an operating voltage. What else can we use? Here comes <strong>Optocoupler</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8LlULFvcmjmxxcypaqkdBA.png" /></figure><p>You should read more into this topic and learn how to use these in your circuits. Trust me, you’ll love it.</p><h3>2.<strong> Esp &gt;&gt;&gt; Arduino (most cases)</strong></h3><p>Arduino is a great way to start with projects, and sure enough, it might’ve been the only one you&#39;ve tried or got suggested to try. The undervalued gem here is the Esp boards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UkCw3mvwOOxTTznc" /><figcaption>Photo by <a href="https://unsplash.com/@b45i?utm_source=medium&amp;utm_medium=referral">Amal Shajan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>It works perfectly just like an Arduino board in <strong>most cases</strong>, and is compatible with Arduino IDE and most Arduino libraries. Limitations exist, but if a project can be done with esp, go for it. I do have my reasons though:</p><ul><li>Inexpensive. less than half of what a clone Arduino costs. So even if it gets <strong>fried</strong>, it&#39;s okay.</li><li>in-built wifi support. Best for IOT applications.</li></ul><p>So here’s rule 2: “<strong>All hail Esp8266</strong>”</p><h3>3. <strong>Still, gonna go with Arduino?</strong></h3><p>Sometimes Arduino is necessary, for whatever reasons. <em>Get a clone, it&#39;s fine.</em> Clones are half the price of original boards and work 99% time(not verified). If you have a clone and it isn&#39;t detected, here is the <a href="https://www.youtube.com/watch?v=RzdgLXFH8fg">solution</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aB1VuE8CEtcBlct7" /><figcaption>Photo by <a href="https://unsplash.com/@dansku?utm_source=medium&amp;utm_medium=referral">Daniel Andrade</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Learn about basic Arduino practices and safety measures.</p><p><em>ബാക്കി വരുന്നിടത്ത് വെച്ചു കാണാം.</em></p><h3>4. <strong>Working with sensors</strong></h3><p>Read a tutorial. Watch youtube. Know your sensor, how it&#39;s used and its potential. Keep in mind the working voltage of your sensors ( google it). Some work at 3.3v and some at 5v. The readings you get might be wrong if you don&#39;t give the correct voltage. Also <strong><em>fried</em></strong>. The logic level of sensors might be different too. You can’t (technically) use a 3.3v logic sensor and get correct readings in Arduino (5v logic). One way to do it is to use a Level convertor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*luyPmMCr3wmPdkv3.jpg" /></figure><p>Google “<strong><em>8 Channel Bi-Directional Logic Level Converter Module</em></strong>” and take it from there.</p><h3>5. Power your projects</h3><p>Do not use the 5V pin on the board to power up all your sensors. It might <strong>fry</strong> your board. Use an external power supply, and a battery to power them separately. Take a look at the example given:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/0*W7S1Vg_9IByGP0DM.jpeg" /></figure><p>The yellow line will be the <strong>data line,</strong> Red is the <strong>VCC</strong>(+ve terminal) and Black is the <strong>GND</strong>(-ve terminal). Don’t forget to connect the Ground of the sensor to the GND of the Arduino board.</p><p>This is not all of it. You are still going to <strong>Fry</strong> stuff. But there might be a part 2 with more tips to save your circuits. Give a follow to stay tuned.</p><p><strong>Happy tinkering!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbcc3b2d1da3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Test Article]]></title>
            <link>https://medium.com/@a-1an/hey-im-trying-this-for-the-first-time-its-a-test-idk-where-this-will-end-up-243ddf59535?source=rss-b785f2a156f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/243ddf59535</guid>
            <dc:creator><![CDATA[Alan Biju]]></dc:creator>
            <pubDate>Sat, 15 Jan 2022 04:22:48 GMT</pubDate>
            <atom:updated>2022-01-15T04:27:18.898Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey I’m trying this for the first time.I’m learning this process.idk where this will end up.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=243ddf59535" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>