<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Projects on Saad ALMubaireek – EE Projects &amp; Experiments</title><link>https://almubaireek.com/projects/</link><description>Recent content in Projects on Saad ALMubaireek – EE Projects &amp; Experiments</description><generator>Hugo -- 0.149.0</generator><language>en-us</language><lastBuildDate>Mon, 26 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://almubaireek.com/projects/index.xml" rel="self" type="application/rss+xml"/><item><title>Eco-Drive Team | Shell Eco-marathon Qatar</title><link>https://almubaireek.com/projects/eco-drive/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/eco-drive/</guid><description>Electrical systems, motor control, and energy efficiency work for two electric competition vehicles at Shell Eco-marathon Qatar.</description><content:encoded><![CDATA[<p><strong>Sep 2025 – Jan 2026</strong></p>
<p>Worked as part of the Eco-Drive engineering team on the development of two electric vehicles, <strong>KAFO (Urban Concept)</strong> and <strong>QARA (Prototype)</strong>, for participation in the <strong>Shell Eco-marathon Qatar</strong>. My responsibilities focused on <strong>electrical systems</strong>, <strong>motor control</strong>, <strong>energy efficiency</strong>, and <strong>system integration</strong> during both the pre-marathon and competition phases.</p>
<h3 id="key-contributions">Key Contributions</h3>
<ul>
<li>Designed and implemented the complete <strong>electrical wiring architecture</strong>, ensuring safety, reliability, and compliance with Shell Eco-marathon technical inspection requirements.</li>
<li>Programmed and tuned the <strong>motor controller</strong> to achieve smooth acceleration, stable operation, and optimal energy efficiency.</li>
<li>Performed <strong>system-level testing</strong> and iterative tuning to optimize powertrain efficiency and vehicle performance under real driving conditions.</li>
<li>Contributed to <strong>energy management optimization</strong> by analyzing motor controller behavior and minimizing electrical losses.</li>
<li>Supported electrical integration of <strong>batteries, controllers, protection devices, and control interfaces</strong>.</li>
</ul>
<h3 id="competition-achievements">Competition Achievements</h3>
<ul>
<li>Successfully passed <strong>Technical Inspection</strong> for both vehicles under strict safety and engineering standards.</li>
<li><strong>KAFO</strong> competed among <strong>9 vehicles</strong> in the Urban Concept category.</li>
<li><strong>QARA Prototype</strong> completed <strong>four consecutive laps</strong> in its first competition appearance.</li>
</ul>
<h3 id="acknowledgments">Acknowledgments</h3>
<p>Special thanks to <strong>Dr. Naif Alqahtani</strong>, Team Leader of Eco-Drive, for his continuous support, leadership, and belief in the team. Appreciation is also extended to <strong>Dr. Salim</strong>, <strong>Eng. Ibrahim Alramadan</strong>, and <strong>Dr. Adel Aldalbahi</strong>, whose guidance and support played a key role in the success of this project.</p>
]]></content:encoded></item><item><title>Smart Water Dispenser (Auto Water Dispenser)</title><link>https://almubaireek.com/projects/smart-water-dispenser/</link><pubDate>Sat, 01 Jun 2024 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/smart-water-dispenser/</guid><description>A load-sensing water dispenser combining embedded systems and control techniques to deliver precise volumes of water on demand.</description><content:encoded><![CDATA[<p>In my free time, I developed a personal project: a smart water dispenser that combines embedded systems, load sensing, and control techniques to deliver precise volumes of water.</p>
<h3 id="key-features">Key Features</h3>
<ul>
<li>Low steady-state error (~1 ml deviation) for setpoints above 200 ml.</li>
<li>Smooth transient response — pump control minimizes overshoot and abrupt stopping.</li>
<li>Adjustable hose angle (Z-axis) to fit different container sizes and avoid water splitting.</li>
<li>Ergonomic design — 30° angled interface board for easier LCD screen readability.</li>
<li>Clean setup — pump and water source hidden under an IKEA table for a neat look.</li>
</ul>
<h3 id="test-result">Test Result</h3>
<p>A 250 ml setpoint produced 251 ml actual output, showing consistent accuracy at higher volumes. For smaller volumes (&lt;200 ml), pump inertia and sensor noise introduce higher deviations — a good reminder of the limits of low-cost actuators and sensors.</p>
<h3 id="why-i-built-it">Why I Built It</h3>
<p>This project reflects my interest in applying control theory and embedded systems to solve real-world problems, even outside of coursework. It also gave me valuable hands-on experience with hardware integration, interface design, and system tuning.</p>
<p><a href="https://drive.google.com/drive/folders/1Qvr082YVoMVMKMf4FI2jhf4FhZP1509x?usp=sharing">Code</a></p>
]]></content:encoded></item><item><title>Pet Feeder System (PIC16F877A)</title><link>https://almubaireek.com/projects/pet-feeder-system/</link><pubDate>Wed, 01 May 2024 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/pet-feeder-system/</guid><description>A microcontroller-based automatic pet feeder with a real-time clock, stepper-driven hopper, food-level sensing, and EEPROM-backed settings.</description><content:encoded><![CDATA[<p>This project presents the design of a smart pet feeder that automatically feeds pets based on preset feeding times.</p>
<p>The system uses a PIC16F877A microcontroller and a DS3231 real-time clock (RTC) to manage the feeding schedule. It controls a stepper motor via an A4988 driver to move a hopper that dispenses food at the set times. An infrared (IR) sensor checks the food level in the container — if it&rsquo;s empty, the system shows a warning on the LCD and activates a buzzer.</p>
<p>The system has a user-friendly interface with buttons to set feeding times and control the motor manually. It also uses EEPROM to store settings, so the schedule survives a power outage. This project combines automation, sensing, and user control in a practical, easy-to-use pet care solution.</p>
<p><a href="https://drive.google.com/drive/folders/1SRXPyVhu5yw6GIjPmOi_PoV-PVAS35I7?usp=drive_link">Code &amp; circuit diagram</a></p>
]]></content:encoded></item><item><title>Analogue Control Systems – Stability Analysis</title><link>https://almubaireek.com/projects/analogue-control-stability/</link><pubDate>Mon, 01 Apr 2024 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/analogue-control-stability/</guid><description>Investigating the stability of a linear, time-invariant (LTI) control system using classical control theory.</description><content:encoded>&lt;p>This project investigates the stability of a given linear, time-invariant (LTI) control system using a comprehensive set of classical control theory techniques.&lt;/p>
</content:encoded></item><item><title>Solar PV System with Battery Storage</title><link>https://almubaireek.com/projects/solar-pv-battery-system/</link><pubDate>Fri, 01 Mar 2024 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/solar-pv-battery-system/</guid><description>Sizing a residential solar PV + battery system from annual energy consumption, covering load analysis, inverters, and financial feasibility.</description><content:encoded>&lt;p>This project studies household energy consumption and designs a tailored solar photovoltaic (PV) system with appropriate battery storage.&lt;/p>
&lt;p>Goals included precise load analysis, selecting inverters and charge controllers, designing the system topology, and evaluating financial and technical feasibility. The final output is a comprehensive report detailing calculations, diagrams, and analysis for efficient and reliable energy management.&lt;/p>
</content:encoded></item><item><title>400G Optical Communication System</title><link>https://almubaireek.com/projects/optical-communication/</link><pubDate>Thu, 01 Feb 2024 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/optical-communication/</guid><description>A high-speed optical communication system using coherent detection, WDM, and DSP to move large amounts of data efficiently over long distances.</description><content:encoded>&lt;p>This project covers high-speed optical communication systems capable of transmitting large amounts of data efficiently over long distances. Techniques include coherent detection, advanced modulation, wavelength-division multiplexing (WDM), and digital signal processing (DSP).&lt;/p>
&lt;p>Challenges such as fiber nonlinearity, high power usage, and cost-effectiveness are addressed, providing a foundation for scalable and reliable communication networks.&lt;/p>
</content:encoded></item><item><title>FM Transmitter</title><link>https://almubaireek.com/projects/fm-transmitter/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/fm-transmitter/</guid><description>A frequency-modulated audio transmitter built for the Communication System Fundamentals course — simpler than AM and more resistant to noise.</description><content:encoded>&lt;p>Frequency Modulation (FM) transmitters are foundational to modern wireless communication, enabling high-fidelity audio broadcasting and reliable data transmission. Developed by Edwin H. Armstrong in 1933, FM modulates information by varying the frequency of a carrier wave, offering superior noise immunity compared to Amplitude Modulation (AM). FM is widely used in commercial radio, aviation communications, and emergency services thanks to its robustness in noisy environments.&lt;/p>
&lt;p>For the build itself: it captures audio with a microphone and transmits it wirelessly over FM — a compact, low-power circuit that pairs well with any standard FM receiver.&lt;/p>
</content:encoded></item><item><title>Random Variables in a Solar Panel Farm</title><link>https://almubaireek.com/projects/probability-solar-farm/</link><pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/probability-solar-farm/</guid><description>Statistical modeling and visualization of random variables to predict performance and detect anomalies in a solar panel farm.</description><content:encoded>&lt;p>This project focuses on understanding and analyzing the behavior of random variables in electrical systems, particularly within a solar panel farm.&lt;/p>
&lt;p>Statistical modeling and probability analysis are applied to predict performance, detect anomalies, and optimize energy output. Visualization techniques help interpret the data and support informed engineering decisions.&lt;/p>
</content:encoded></item><item><title>Wireless Power Transfer (WPT)</title><link>https://almubaireek.com/projects/wireless-power-transfer/</link><pubDate>Wed, 01 Nov 2023 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/wireless-power-transfer/</guid><description>Comparing inductive, resonant-inductive, and microwave methods for transferring power without a physical connection.</description><content:encoded><![CDATA[<p>Wireless power transfer (WPT) enables powering devices without a physical connection. Traditional wired methods face limitations in flexibility and durability.</p>
<p>This project investigates WPT methods including inductive coupling, resonant inductive coupling, and microwave power transfer. A prototype system was designed to demonstrate efficient energy transfer over a distance while maintaining safety.</p>
<p>The study evaluates performance metrics and proposes optimizations, aiming to provide safe, efficient, and practical wireless energy transfer solutions.</p>
]]></content:encoded></item><item><title>Electronics II – Obstacle-Navigating Robot</title><link>https://almubaireek.com/projects/electronics-2/</link><pubDate>Sun, 01 Oct 2023 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/electronics-2/</guid><description>A line-following robot with autonomous parking, using IR obstacle sensing and Op-Amp circuits for precise movement control.</description><content:encoded><![CDATA[<p>The field of robotics has made significant strides in recent years, with autonomous robots being applied in industrial automation, transportation, and safety systems.</p>
<p>This project explores the design and implementation of an autonomous robot integrated with a light flash sensor. The robot tracks a line on a surface while responding to obstacles using IR sensors and logic gates, with Op-Amp circuits ensuring precise movement control.</p>
<p>It demonstrates practical applications of sensors and basic electronics from the Electronics II course, showing how a simple robotic system can navigate real-world environments safely and efficiently.</p>
]]></content:encoded></item><item><title>Electronics I – Four-Channel Relay Control</title><link>https://almubaireek.com/projects/electronics-1/</link><pubDate>Fri, 01 Sep 2023 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/electronics-1/</guid><description>Arduino-driven control of four 220V relay channels, focused on safe, low-power switching of high-power loads.</description><content:encoded><![CDATA[<p>The control of electrical devices and circuits using relays is a fundamental aspect of automation and control systems. Relays act as switches that enable the control of high-power electrical loads with low-power control signals.</p>
<p>In recent years, the integration of Arduino microcontrollers with relays has revolutionized the field of home and industrial automation, providing a flexible and cost-effective solution for controlling various electrical devices.</p>
<p>This project focuses on the development of a system that allows the control of four-channel relays using an Arduino microcontroller powered by 220V AC. The Arduino microcontroller acts as the central hub for controlling the relays and responding to user inputs or external signals. Safety and efficiency were key considerations throughout the design.</p>
]]></content:encoded></item><item><title>Smart IoT Electric Extension – Setup Guide</title><link>https://almubaireek.com/projects/smart-iot-electric-extension/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://almubaireek.com/projects/smart-iot-electric-extension/</guid><description>Step-by-step guide to configure the Smart IoT Electric Extension using ESP32, RemoteXY Cloud, Telegram alerts, and Alexa integration.</description><content:encoded><![CDATA[<style>
html {
  scroll-behavior: smooth;
}
</style>
<h2 id="project-team">Project Team</h2>
<div style="display:flex;flex-direction:column;align-items:center;gap:50px;margin-bottom:30px;">
<!-- Top Row -->
<div style="display:flex;justify-content:center;align-items:flex-end;gap:50px;flex-wrap:wrap;">
<!-- Mshari -->
<div style="text-align:center;width:180px;">
<img src="/images/smart-extension/team/msh.jpg"
     style="width:160px;height:160px;object-fit:cover;border-radius:12px;border:3px solid var(--primary);" />
<p style="margin-top:12px;line-height:1.2;">
Mshari<br><small style="color:var(--secondary);">Al Jari</small>
</p>
</div>
<!-- Saad (center bigger) -->
<div style="text-align:center;width:220px;">
<img src="/images/smart-extension/team/saad.jpg"
     style="width:220px;height:220px;object-fit:cover;border-radius:14px;border:4px solid var(--primary);" />
<p style="margin-top:12px;font-weight:600;font-size:20px;line-height:1.2;">
Saad<br><span style="font-weight:500;color:var(--secondary);">AL Mubaireek</span>
</p>
</div>
<!-- Musaad -->
<div style="text-align:center;width:180px;">
<img src="/images/smart-extension/team/mosaad.jpg"
     style="width:160px;height:160px;object-fit:cover;border-radius:12px;border:3px solid var(--primary);" />
<p style="margin-top:12px;line-height:1.2;">
Musaad<br><small style="color:var(--secondary);">Alharbi</small>
</p>
</div>
</div>
<!-- Bottom Row -->
<div style="display:flex;justify-content:center;align-items:flex-start;gap:50px;flex-wrap:wrap;">
<div style="text-align:center;width:180px;">
<img src="/images/smart-extension/team/alw.jpg"
     style="width:160px;height:160px;object-fit:cover;border-radius:12px;border:3px solid var(--primary);" />
<p style="margin-top:12px;line-height:1.2;">
Alwaleed<br><small style="color:var(--secondary);">Al Qahtani</small>
</p>
</div>
<div style="text-align:center;width:180px;">
<img src="/images/smart-extension/team/rayan.jpg"
     style="width:160px;height:160px;object-fit:cover;border-radius:12px;border:3px solid var(--primary);" />
<p style="margin-top:12px;line-height:1.2;">
Rayan<br><small style="color:var(--secondary);">Alhizam</small>
</p>
</div>
<!-- Mohammed -->
<div style="text-align:center;width:180px;">
<img src="/images/smart-extension/team/moh.jpg"
     style="width:160px;height:160px;object-fit:cover;border-radius:12px;border:3px solid var(--primary);" />
<p style="margin-top:12px;line-height:1.2;">
Mohammed<br><small style="color:var(--secondary);">Al Abdullah</small>
</p>
</div>
</div>
<p style="text-align:center;color:var(--secondary);font-size:14px;margin-top:10px;">
<strong>Advisor:</strong> Dr. Mohammed Alshakhs
</p>
</div>
<h2 id="acknowledgment">Acknowledgment</h2>
<p>I would like to express my sincere thanks to <strong>Dr. Mohammed Alshakhs</strong> for his guidance and continuous support throughout the project.</p>
<p>I also appreciate my teammates <strong>Mohammed Al Abdullah, Mshari Al Jari, Alwaleed Al Qahtani, Musaad Alharbi, and Rayan Alhizam</strong> who worked with me on this project.</p>
<p>Finally, I would like to thank <strong>King Faisal University</strong> and the <strong>Electrical Engineering Department</strong> for providing the environment and resources that made this work possible.</p>
<hr>
<h1 id="smart-iot-electric-extension">Smart IoT Electric Extension</h1>
<p>This system is designed to provide a <strong>smart, safe, and remotely controlled power extension</strong> with features such as:</p>
<ul>
<li>Remote control via <strong>mobile app (RemoteXY)</strong></li>
<li>Voice control using <strong>Amazon Alexa</strong></li>
<li>Real-time <strong>current and energy monitoring</strong></li>
<li><strong>Over-current protection</strong> with Telegram alerts</li>
<li><strong>Over-temperature safety shutdown</strong></li>
</ul>
<hr>
<h2 id="-project-resources">📄 Project Resources</h2>
<ul>
<li>📘 <a href="https://drive.google.com/file/d/142BBXYnQJlg6T29cSHDW1GGPBv1nqIF9/view?usp=sharing">Download Full Report</a></li>
<li>🎥 Watch Setup Guide Video :</li>
</ul>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
      <iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/SNEaLa4JW10?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
    </div>

<ul>
<li>🎥 Watch assembly Video :</li>
</ul>
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
      <iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/93klfbm3Hts?autoplay=0&amp;controls=1&amp;end=0&amp;loop=0&amp;mute=0&amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"></iframe>
    </div>

<hr>
<h2 id="-system-overview">📊 System Overview</h2>
<p><img alt="Design Workflow" loading="lazy" src="/images/smart-extension/Design_workflow.jpg"></p>
<p><em>Overall workflow of the system from power input to monitoring and control.</em></p>
<hr>
<h1 id="system-overview-and-design">System Overview and Design</h1>
<h2 id="-system-architecture">🧠 System Architecture</h2>
<h3 id="software-block-diagram">Software Block Diagram</h3>
<p><img alt="Software Block Diagram" loading="lazy" src="/images/smart-extension/Software_Block_Diagram.jpg"></p>
<hr>
<h3 id="circuit-diagram">Circuit Diagram</h3>
<p><img alt="System Circuit Diagram" loading="lazy" src="/images/smart-extension/System_circuit_diagram.jpg"></p>
<hr>
<h2 id="-system-operation">⚙️ System Operation</h2>
<p>Using the RemoteXY app you can:</p>
<ul>
<li>Turn sockets ON/OFF</li>
<li>Set current limits</li>
<li>Monitor current and temperature</li>
<li>Track energy usage</li>
</ul>
<hr>
<h2 id="-hardware-implementation">🧩 Hardware Implementation</h2>
<h3 id="full-pcb-assembly">Full PCB Assembly</h3>
<p><img alt="Full PCB" loading="lazy" src="/images/smart-extension/FULL_PCB.jpg"></p>
<hr>
<h3 id="main-pcb--current-board">Main PCB + Current Board</h3>
<p><img alt="Main PCB" loading="lazy" src="/images/smart-extension/Both_main_PCB_and_current.png"></p>
<hr>
<h2 id="-enclosure-design">📦 Enclosure Design</h2>
<p><img alt="3D Design" loading="lazy" src="/images/smart-extension/3D_Project_Design.png"></p>
<hr>
<h2 id="-safety-features">🛡️ Safety Features</h2>
<h3 id="over-temperature-protection">Over-Temperature Protection</h3>
<p>Shuts down at <strong>60°C</strong></p>
<h3 id="over-current-protection">Over-Current Protection</h3>
<p>Trips after <strong>5 seconds overload</strong></p>
<hr>
<h2 id="-important-safety-warning">⚠️ Important Safety Warning</h2>
<p>Before starting the setup process:</p>
<ul>
<li>Do NOT connect the extension board to mains electricity (220V).</li>
<li>Perform all configuration and programming while the ESP32 is powered only through USB.</li>
<li>If possible, remove the ESP32 module from the extension board during programming.</li>
<li>The extension should only be connected to electricity after firmware upload and configuration are completed.</li>
</ul>
<p>This prevents electric shock, hardware damage, and unsafe operation.</p>
<hr>
<h1 id="setup-guide">Setup Guide</h1>
<h2 id="contents">Contents</h2>
<ol>
<li><a href="#install-arduino-ide-and-esp32-support">Install Arduino IDE and ESP32 Support</a></li>
<li><a href="#install-required-libraries">Install Required Libraries</a></li>
<li><a href="#create-remotexy-cloud-token">Create RemoteXY Cloud Token</a></li>
<li><a href="#setup-telegram-alerts">Setup Telegram Alerts</a></li>
<li><a href="#setup-alexa-control-sinricpro">Setup Alexa Control SinricPro</a></li>
<li><a href="#upload-firmware-to-esp32">Upload Firmware to ESP32</a></li>
<li><a href="#remote-interface">Remote Interface</a></li>
<li><a href="#connect-the-device-to-wifi">Connect the Device to WiFi</a></li>
<li><a href="#connect-using-remotexy-mobile-app">Connect Using RemoteXY Mobile App</a></li>
<li><a href="#final-step">Final Step</a></li>
<li><a href="#license">License</a></li>
</ol>
<hr>
<h2 id="install-arduino-ide-and-esp32-support">Install Arduino IDE and ESP32 Support</h2>
<p>Download Arduino IDE:</p>
<p><a href="https://www.arduino.cc/en/software">https://www.arduino.cc/en/software</a></p>
<p>Open Arduino IDE and go to:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>File → Preferences
</span></span></code></pre></div><p>Add this to <strong>Additional Boards Manager URLs</strong>:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>https://espressif.github.io/arduino-esp32/package_esp32_index.json
</span></span></code></pre></div><p>Press <strong>OK</strong>.</p>
<p>Open Boards Manager:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>Tools → Board → Boards Manager
</span></span></code></pre></div><p>Search and install:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>ESP32 by Espressif Systems
</span></span></code></pre></div><p>Select the board:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>Tools → Board → ESP32 Arduino → ESP32 Dev Module
</span></span></code></pre></div><hr>
<h2 id="install-required-libraries">Install Required Libraries</h2>
<p>Open Library Manager:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>Sketch → Include Library → Manage Libraries
</span></span></code></pre></div><p>Install:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>RemoteXY
</span></span><span style="display:flex;"><span>SinricPro
</span></span></code></pre></div><hr>
<h2 id="create-remotexy-cloud-token">Create RemoteXY Cloud Token</h2>
<p>Go to:</p>
<p><a href="https://remotexy.com">https://remotexy.com</a></p>
<p>Create a token and replace it in the code:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-cpp" data-lang="cpp"><span style="display:flex;"><span><span style="color:#75715e">#define REMOTEXY_CLOUD_TOKEN &#34;YOUR_TOKEN_HERE&#34;
</span></span></span></code></pre></div><hr>
<h2 id="setup-telegram-alerts">Setup Telegram Alerts</h2>
<p>Create a bot using:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>@BotFather
</span></span></code></pre></div><p>Then get your Chat ID:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>https://api.telegram.org/botBOT_TOKEN/getUpdates
</span></span></code></pre></div><p>Insert your credentials into the firmware:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-cpp" data-lang="cpp"><span style="display:flex;"><span><span style="color:#66d9ef">const</span> <span style="color:#66d9ef">char</span><span style="color:#f92672">*</span> TG_BOT_TOKEN <span style="color:#f92672">=</span> <span style="color:#e6db74">&#34;YOUR_BOT_TOKEN&#34;</span>;
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">const</span> <span style="color:#66d9ef">char</span><span style="color:#f92672">*</span> TG_CHAT_ID   <span style="color:#f92672">=</span> <span style="color:#e6db74">&#34;YOUR_CHAT_ID&#34;</span>;
</span></span></code></pre></div><hr>
<h2 id="setup-alexa-control-sinricpro">Setup Alexa Control SinricPro</h2>
<p>Go to:</p>
<p><a href="https://sinric.pro">https://sinric.pro</a></p>
<p>Create four switch devices and insert the credentials:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-cpp" data-lang="cpp"><span style="display:flex;"><span><span style="color:#75715e">#define SINRIC_APP_KEY    &#34;YOUR_APP_KEY&#34;
</span></span></span><span style="display:flex;"><span><span style="color:#75715e">#define SINRIC_APP_SECRET &#34;YOUR_APP_SECRET&#34;
</span></span></span></code></pre></div><hr>
<h2 id="upload-firmware-to-esp32">Upload Firmware to ESP32</h2>
<p>Connect ESP32 via USB.</p>
<p>Select the port:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>Tools → Port
</span></span></code></pre></div><p>Upload the code.</p>
<hr>
<h2 id="-remote-interface">📱 Remote Interface</h2>
<p><img alt="RemoteXY Interface" loading="lazy" src="/images/smart-extension/REMOTEXY.jpg"></p>
<p><em>RemoteXY interface used to control sockets and monitor current, temperature, and energy.</em></p>
<hr>
<h2 id="connect-the-device-to-wifi">Connect the Device to WiFi</h2>
<p>Connect to the access point:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>Smart IoT Electric ExtensionXXXX
</span></span></code></pre></div><p>Open:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>http://setup.local
</span></span></code></pre></div><p>Configure WiFi.</p>
<hr>
<h2 id="connect-using-remotexy-mobile-app">Connect Using RemoteXY Mobile App</h2>
<p>Use the Cloud Token to connect the device to the RemoteXY mobile application.</p>
<hr>
<h1 id="final-step">Final Step</h1>
<ol>
<li>Disconnect USB.</li>
<li>Reinstall the ESP32.</li>
<li>Plug the extension into 220V.</li>
</ol>
<p>The system is now operational.</p>
<hr>
<h1 id="license">License</h1>
<h2 id="saad-al-mubaireek-custom-non-commercial-license-v10">Saad AL Mubaireek Custom Non-Commercial License v1.0</h2>
<p>Copyright (c) 2026 Saad AL Mubaireek</p>
<p>Permission is granted to any person obtaining a copy of this project and associated files to use, study, modify, and build the project for personal, educational, and non-commercial purposes only.</p>
<h3 id="you-may">You may:</h3>
<ul>
<li>use the code</li>
<li>study the code</li>
<li>modify the code</li>
<li>build your own personal version</li>
</ul>
<h3 id="you-may-not">You may NOT:</h3>
<ul>
<li>sell this project</li>
<li>sell modified versions of this project</li>
<li>use this project for commercial purposes</li>
<li>manufacture this project for sale</li>
<li>rebrand and sell this project as your own product</li>
</ul>
<p>Commercial rights are reserved exclusively by the original creator, Saad AL Mubaireek.</p>
<p>This project is provided &ldquo;as is&rdquo;, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the author be liable for any claim, damages, or other liability arising from, out of, or in connection with the project or the use of this project.</p>
<hr>
]]></content:encoded></item></channel></rss>