<?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"><channel><title><![CDATA[3 AM, 10 Ohms: From Soldering to Simulating]]></title><description><![CDATA[A raw engineering breakdown of migrating a physical 9th-grade security circuit into a cloud-based Tinkercad simulation using generative AI as a C++ coding co-pilot.]]></description><link>https://circuitsimulations.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 11:32:37 GMT</lastBuildDate><atom:link href="https://circuitsimulations.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[3 AM, 10 Ohms: Code Deployment & The Classical Runway]]></title><description><![CDATA[Welcome back to the midnight grind. If you followed along with Part 1, you know we are tracking the jump from loose desk wires to fully simulated cloud…]]></description><link>https://circuitsimulations.hashnode.dev/3-am-10-ohms-code-deployment-the-classical-runway</link><guid isPermaLink="true">https://circuitsimulations.hashnode.dev/3-am-10-ohms-code-deployment-the-classical-runway</guid><category><![CDATA[tinkercad]]></category><category><![CDATA[c programming]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[security alarm]]></category><category><![CDATA[coding]]></category><dc:creator><![CDATA[Aradhya saksham]]></dc:creator><pubDate>Sun, 08 Nov 2026 15:48:13 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6ade7fc8a8afee330b02559f/ad5e1abf-9fc1-47ee-94f3-5f7469439c25.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Welcome back to the midnight grind. If you followed along with Part 1, you know we are tracking the jump from loose desk wires to fully simulated cloud systems. In this second entry, we are looking directly at the engine room: the exact C++ source code and the specific virtual hardware configurations running our automated system on Tinkercad. Standing up this project again wasn’t just a simple technical rerun. When you sit down to translate a physical build from your 9th-standard school exhibition into flawless digital code, it stops being a mere circuit. It becomes an active timeline of your own growth—a tangible, electrical memory of the exact moment you chose to stop just consuming technology and start building it. Below is the architecture, the code breakdown, and the hardware logic that keeps the alarm steady before we prepare our leap into the quantum sensor landscape.</p>
<p>The Bill of Materials: Virtual Hardware Inventory</p>
<p>To replicate this simulation setup on Tinkercad, you will need to assemble the following components in the workspace:</p>
<p>Component Tag Quantity Component Name Description / Role U2 1 Arduino Uno R3 The core microcontroller handling logic automation.</p>
<p>PIR1 1 PIR Sensor Passive Infrared sensor to detect physical motion.</p>
<p>S1 1 Pushbutton Simulates the physical state of the access door.</p>
<p>PIEZO1 1 Piezo The active audible buzzer to broadcast the alert state.</p>
<p>R1, R2 2 10 kΩ Resistor Pull-down resistors ensuring clean digital logic signals.</p>
<p>BAT1 1 9V Battery Supplementary raw power supply feed.</p>
<p>The Automation Engine: C++ Source Code</p>
<p>Here is the exact production script running inside the virtual Arduino platform. It employs a two-stage evaluation matrix: first validating the primary boundary perimeter (the door state) before polling the optical motion array.</p>
<p>C++</p>
<p>const int doorButtonPin = 2; // Pin connected to the door button const int sensorPin = 3; // Pin connected to the intruder sensor const int buzzerPin = 10; // Pin connected to the alarm buzzer</p>
<p>void setup() { pinMode(doorButtonPin, INPUT); pinMode(sensorPin, INPUT); pinMode(buzzerPin, OUTPUT); }</p>
<p>void loop() { int isDoorOpen = digitalRead(doorButtonPin); int isIntruderPresent = digitalRead(sensorPin);</p>
<p>// STAGE 1: Check if the door is open (Button is pressed) if (isDoorOpen == HIGH) {</p>
<pre><code class="language-plaintext">// STAGE 2: If the door is open, check if the sensor triggers
if (isIntruderPresent == HIGH) { 
  digitalWrite(buzzerPin, HIGH); // SOUND THE ALARM
} else {
  digitalWrite(buzzerPin, LOW);  // Door is open, but no intruder yet
}
</code></pre>
<p>} else { // If the door is securely closed, keep the alarm completely quiet digitalWrite(buzzerPin, LOW); } }</p>
<p>Deconstructing the Code Logic</p>
<ol>
<li>The Pin Mappings: We bind the hardware peripherals directly to the Arduino's digital registers. The physical access check relies on pin 2, the infrared motion processing sits on pin 3, and the high-output warning transducer draws execution logic from pin 10.</li>
<li>Conditional Gateways: The loop establishes a nested defensive layout. The controller systematically refuses to evaluate movement vectors unless the door interface reflects an unsealed baseline status (isDoorOpen == HIGH).</li>
<li>Execution Deflection: By enforcing a strict hardware pull-down system through our 10 kΩ resistors, the program avoids floating voltage lines, guaranteeing the piezo element never yields false triggers when the space remains undisturbed.</li>
</ol>
<p>Transitioning Beyond Macro Mechanics</p>
<p>Deploying this clean, predictable script brings a sense of absolute closure to our classical electronics experiment. Everything works exactly as planned on the macro level: if a physical body breaks the beam path, the sensor registers the event, and the output responds. But this predictable loop highlights the precise limitations of classical macro physics. We are looking at massive, visible disturbances to cross a threshold. In our final entry, we are tearing down this macroscopic framework. We are stepping out of basic cloud scripts and heading straight to the edge of modern quantum mechanics—examining how microscopic lattice flaws inside solid-state diamonds let us measure structural properties at the atomic level.</p>
<p>The classical runway ends here. Get ready for Part 3, where the code scales down to the quantum limit.</p>
]]></content:encoded></item><item><title><![CDATA[3 AM, 10 Ohms: From Soldering to Simulating]]></title><description><![CDATA[If you’ve never smelled burning solder at 3:00 AM while staring at a circuit that refuses to work, you’re missing out on the ultimate engineering rush…]]></description><link>https://circuitsimulations.hashnode.dev/3-am-10-ohms-from-soldering-to-simulating</link><guid isPermaLink="true">https://circuitsimulations.hashnode.dev/3-am-10-ohms-from-soldering-to-simulating</guid><dc:creator><![CDATA[Aradhya saksham]]></dc:creator><pubDate>Mon, 26 Oct 2026 12:31:07 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6ade7fc8a8afee330b02559f/56b008b7-f403-4dc9-a91b-0cfc7b17bcf4.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If you’ve never smelled burning solder at 3:00 AM while staring at a circuit that refuses to work, you’re missing out on the ultimate engineering rush.</p>
<p>When I was 13, I didn't want to just read about technology—I wanted to touch the hardware. The target was ambitious for a school science exhibition: a functional physical security alarm system. With zero formal coding classes and a desk piled high with raw components, it was a brutal trial by fire.</p>
<h3>1. The 3:00 AM Hardware Grind</h3>
<p>I bought every single sensor variant I could find, completely blind to how they actually worked. Laying them out on my desk, I had three distinct form factors staring back at me:</p>
<ul>
<li>A standard Infrared (IR) receiver module.</li>
<li>A mysterious dark component that looked exactly like a black LED.</li>
<li>A sensor breakboard featuring three distinct terminal pins.</li>
</ul>
<p>Reverse-engineering them meant spending hours figuring out how consumer hardware—like TV remotes and air conditioning units—modulate light beams to shoot data streams through the air. Calculating the current loop using 10-ohm resistors, mapping out the pin pathways, and soldering the joints without shorting the board took me straight to 4:00 AM. When I wired the active buzzer and heard it scream for the first time, it was pure adrenaline. The next night was spent repeating the exact same midnight grind, introducing an Arduino microcontroller to automate the logic framework.</p>
<h3>2. Migrating to the Cloud</h3>
<p>Fast forward to today. The physical hardware grid was just step one. To scale this architecture for advanced testing, I migrated my 13-year-old self's circuit design completely into the cloud using <strong>Tinkercad Circuits</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6ade7fc8a8afee330b02559f/be16e7e2-33bf-4e01-9375-bec136d034ea.png" alt="" style="display:block;margin:0 auto" />

<p>Instead of letting syntax limits slow me down, I opened a parallel tab. Using the AI as a brute-force coding co-pilot, I generated the exact C++ automation scripts needed to run the virtual Arduino setup. The result? Flawless deployment, instant cloud simulation, and zero hardware lag.</p>
<h3>3. The Next Horizon</h3>
<p>Rebuilding this system made me realize a fundamental limitation. The infrared beams and motion modules I hacked together as a kid are <strong>classical sensors</strong>. They are locked to macro-world dynamics, tracking massive physical disruptions.</p>
<p>But as I look toward a future in nanotechnology and advanced semiconductor engineering, classical physics isn't a barrier—it is the core foundation we must scale past to unlock quantum phenomenon.</p>
<p>In the next part of this series, I am going to share the exact C++ source code and circuit configurations behind this simulation. From there, we are stepping off the classical runway and diving straight into the frontline of the quantum revolution—exploring how solid-state diamond defects can run atomic-precision diagnostics at room temperature. The scale is changing, and the grind is just getting started.</p>
<p>See you next Monday for full code deployment. Bookmark this page or drop your email below so you don't miss the deploymet.</p>
]]></content:encoded></item></channel></rss>