{"id":164345,"date":"2025-06-02T18:44:51","date_gmt":"2025-06-02T13:14:51","guid":{"rendered":"https:\/\/www.electronicsforu.com\/?p=164345"},"modified":"2025-06-02T18:50:37","modified_gmt":"2025-06-02T13:20:37","slug":"remote-control-over-internet","status":"publish","type":"post","link":"https:\/\/www.electronicsforu.com\/electronics-projects\/remote-control-over-internet","title":{"rendered":"Remote Control Over Internet"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"178\" height=\"164\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/08\/efy-tested-2.jpg\" alt=\"efy tested\" class=\"wp-image-101636\"\/><\/figure><\/div>\n\n\n<p>Switching a device on or off from anywhere in the world is no longer a futuristic concept\u2014it is practical and achievable using a simple Wi-Fi-enabled setup. Whether activating a surveillance camera, an air-conditioner, or a garden sprinkler, remote control opens up endless possibilities limited only by the imagination.<\/p>\n\n\n\n<p>In this system, a computer with internet access communicates with an ESP32 Wi-Fi module connected to the target device. The ESP32, placed within the range of a local Wi-Fi network, serves as the interface. One of its I\/O pins is linked to the device\u2014in this case, an LED with a series resistor connected to GPIO4\u2014and can be toggled remotely via a laptop or desktop.<\/p>\n\n\n\n<p>The ESP32 operates at 3.3V logic levels, meaning its high output corresponds to 3.3V and all inputs must comply with the same voltage standard. Fig. 1 shows the author\u2019s prototype. The required components are listed in the Bill of Materials table.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"457\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Authors-prototype-1.jpg\" alt=\"\" class=\"wp-image-164350\" style=\"width:400px;height:auto\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Authors-prototype-1.jpg 600w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Authors-prototype-1-500x381.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Authors-prototype-1-551x420.jpg 551w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Authors-prototype-1-80x60.jpg 80w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Authors-prototype-1-150x114.jpg 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">Fig. 1: Author\u2019s prototype<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Circuit diagram<\/h2>\n\n\n\n<p>Fig. 2 shows the circuit diagram for the remote control over internet system. It is built around an ESP32 board (MOD1) and a few other components. The ESP32 board features 2.4GHz dual-mode Wi-Fi and Bluetooth, powered by a dual-core processor, and is connected via a USB cable.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"461\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Circuit-diagram-2.jpg\" alt=\"\" class=\"wp-image-164351\" style=\"width:546px;height:auto\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Circuit-diagram-2.jpg 600w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Circuit-diagram-2-500x384.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Circuit-diagram-2-547x420.jpg 547w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Circuit-diagram-2-80x60.jpg 80w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/05\/Circuit-diagram-2-150x115.jpg 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">Fig. 2: Circuit diagram<\/figcaption><\/figure><\/div>\n\n\n<p>The ESP32 can be powered either through the USB cable (typically used while uploading the code) or via the Vin pin by supplying a regulated voltage between 5V and 12V. It is advisable to use a voltage close to 5V to minimise power dissipation in the onboard voltage regulator. Power should not be supplied through both the USB and Vin pin simultaneously, as this may damage the board. (Note: A convenient way to power the ESP32 is by using a power bank with a USB port.)<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td colspan=\"3\"><strong>Bill of Materials<\/strong><\/td><\/tr><tr><td><strong>Item<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>Qunatity<\/strong><\/td><\/tr><tr><td>ESP32 board (MOD1)<\/td><td>2.4GHz dual-mode Wi-Fi, Bluetooth dual-core with USB cable<\/td><td>1<\/td><\/tr><tr><td>LED 5mm<\/td><td>For visual indication<\/td><td>1<\/td><\/tr><tr><td>220\u03a9<\/td><td>Current limiting resistance<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Software<\/h2>\n\n\n\n<p>In this setup, two nodes are required\u2014one running on the ESP32 device and the other on the client side, developed in C.<\/p>\n\n\n\n<div class=\"mepr_error\"><div class=\"prime-members\">\n<h4><strong>OOPS! THIS IS EFY PRIME CONTENT...<br \/>\n<\/strong><span style=\"color: #333333;font-family: Verdana, BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;font-size: 14px\">which means that you need to be an EFY PRIME subscriber to read it.<\/span><\/h4>\n<p>EFY PRIME content is our best content. Hence, you need to make a small investment to access all of our content including EFY Prime content.<\/p>\n<p>If you're already an EFY PRIME member, feel free to login below.<\/p>\n<p>Else, <strong><a href=\"https:\/\/www.electronicsforu.com\/plans\/efy-prime-subscription-plans\" target=\"_blank\" rel=\"noopener\">CLICK HERE<\/a><\/strong> to invest in an EFY Prime account and become our VIP customer who can access all our content, and that too without the clutter of ads!<\/p>\n<p>BENEFITS OF EFY PRIME MEMBERSHIP:<br \/>\n(1) Zero Clutter AD free experience<br \/>\n(2) Super-fast user experience<br \/>\n(3) Focussed reading experience with no distractions<br \/>\n(4) Access to all our content including our Best-of-Best which is EFY Prime\n<\/p><\/div>\n<\/div><div>\n<div class=\"mp_wrapper mp_login_form\">\n                  <!-- mp-login-form-start -->     <form name=\"mepr_loginform\" id=\"mepr_loginform\" class=\"mepr-form\" action=\"https:\/\/www.electronicsforu.com\/login\" method=\"post\">\n            <div class=\"mp-form-row mepr_username\">\n        <div class=\"mp-form-label\">\n                              <label for=\"user_login\">Username<\/label>\n        <\/div>\n        <input type=\"text\" name=\"log\" id=\"user_login\" value=\"\" \/>\n      <\/div>\n      <div class=\"mp-form-row mepr_password\">\n        <div class=\"mp-form-label\">\n          <label for=\"user_pass\">Password<\/label>\n          <div class=\"mp-hide-pw\">\n            <input type=\"password\" name=\"pwd\" id=\"user_pass\" value=\"\" \/>\n            <button type=\"button\" class=\"button mp-hide-pw hide-if-no-js\" data-toggle=\"0\" aria-label=\"Show password\">\n              <span class=\"dashicons dashicons-visibility\" aria-hidden=\"true\"><\/span>\n            <\/button>\n          <\/div>\n        <\/div>\n      <\/div>\n            <div>\n        <label><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/> Remember Me<\/label>\n      <\/div>\n      <div class=\"mp-spacer\">&nbsp;<\/div>\n      <div class=\"submit\">\n        <input type=\"submit\" name=\"wp-submit\" id=\"wp-submit\" class=\"button-primary mepr-share-button \" value=\"Log In\" \/>\n        <input type=\"hidden\" name=\"redirect_to\" value=\"\/wp-json\/wp\/v2\/posts\/164345\" \/>\n        <input type=\"hidden\" name=\"mepr_process_login_form\" value=\"true\" \/>\n        <input type=\"hidden\" name=\"mepr_is_login_page\" value=\"false\" \/>\n      <\/div>\n    <\/form>\n    <div class=\"mp-spacer\">&nbsp;<\/div>\n    <div class=\"mepr-login-actions\">\n      <a href=\"https:\/\/www.electronicsforu.com\/login?action=forgot_password\">Forgot Password<\/a>\n    <\/div>\n\n      \n    <!-- mp-login-form-end --> \n  <\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Switching a device on or off from anywhere in the world is no longer a futuristic concept\u2014it is practical and achievable using a simple Wi-Fi-enabled setup. Whether activating a surveillance camera, an air-conditioner, or a garden sprinkler, remote control opens up endless possibilities limited only by the imagination. In this system, a computer with internet [&hellip;]<\/p>\n","protected":false},"author":206772,"featured_media":164350,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23,11962,6189],"tags":[1985,1911,110,12736],"class_list":{"0":"post-164345","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-electronics-projects","8":"category-hardware-diy","9":"category-efy-prime","10":"category-esp32-projects","11":"tag-diy-projects","12":"tag-do-it-yourself","13":"tag-electronics-projects","14":"tag-june-2025"},"_links":{"self":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/164345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/users\/206772"}],"replies":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/comments?post=164345"}],"version-history":[{"count":1,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/164345\/revisions"}],"predecessor-version":[{"id":164685,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/164345\/revisions\/164685"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media\/164350"}],"wp:attachment":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media?parent=164345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/categories?post=164345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/tags?post=164345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}