{"id":129379,"date":"2023-11-07T17:15:28","date_gmt":"2023-11-07T11:45:28","guid":{"rendered":"https:\/\/www.electronicsforu.com\/?p=129379"},"modified":"2024-08-05T16:49:17","modified_gmt":"2024-08-05T11:19:17","slug":"esp32-chatgpt-terminal","status":"publish","type":"post","link":"https:\/\/www.electronicsforu.com\/electronics-projects\/esp32-chatgpt-terminal","title":{"rendered":"ChatGPT Terminal Made Using ESP32"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"178\" height=\"163\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/08\/efy-tested-1.jpg\" alt=\"EFY tested Electronics Projects\" class=\"wp-image-101611\" style=\"aspect-ratio:1.09009009009009;width:132px;height:auto\"\/><\/figure><\/div>\n\n\n<p>You are all aware of <a href=\"https:\/\/www.electronicsforu.com\/tech-zone\/ai-ml-tech\/chatgpt-a-glimpse-into-the-power-of-ai\">ChatGPT <\/a>and its power. We tried some experiments and made this ChatGPT Terminal that can incorporate ChatGPT and give you a portable, easy-to-use, complete GPT machine. <\/p>\n\n\n\n<p>You can simply ask a question, seek an answer, or request a snippet of code, using a PS\/2 keyboard connected to the ESP32 microcontroller (MCU), and the terminal will assist you in displaying the problem statement on the TFT screen.<\/p>\n\n\n\n<p>The ESP32 will then send the query to ChatGPT, and the output obtained from ChatGPT will be reproduced on the same TFT screen. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">POC Video Tutorial In English:<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"fSVWUtBFgXrGNE05L92b86YqKOwZdiaRhHA1Jzs4CvpyexcmnjIMT7\"><iframe loading=\"lazy\" title=\"Portable ChatGPT Terminal Using ESP32 | DIY Project Tutorial | English | | Electronics For You\" width=\"696\" height=\"392\" src=\"https:\/\/www.youtube.com\/embed\/M80_WueQCWo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p>You don\u2019t need an elaborate computer for this task. Of course, you need an internet Wi-Fi connection and a secret key to access the ChatGPT API. This is the single-point access key for openai.com; no other login or password is required.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"360\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2023\/10\/Authors-prototype.jpg\" alt=\"Author\u2019s prototype\" class=\"wp-image-129393\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2023\/10\/Authors-prototype.jpg 800w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2023\/10\/Authors-prototype-500x225.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2023\/10\/Authors-prototype-696x313.jpg 696w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Fig. 1: Author\u2019s prototype<\/figcaption><\/figure><\/div>\n\n\n<p>The prototype of ChatGPT Termial is shown in Fig. 1. The components used in the terminal are listed under Bill of Materials in Table 1.<\/p>\n\n\n\n<p><strong>Also Read:<\/strong> <a href=\"https:\/\/www.electronicsforu.com\/technology-trends\/understanding-chatgpt\"><strong>Explore the Technology Behind ChatGPT<\/strong><\/a><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td colspan=\"2\"><strong>Table 1: Bill of Materials<\/strong><\/td><\/tr><tr><td><strong>Items<\/strong><\/td><td><strong>Quantity<\/strong><\/td><\/tr><tr><td>ESP32 MCU (MOD1)<\/td><td>1<\/td><\/tr><tr><td>PS2 keyboard<\/td><td>1<\/td><\/tr><tr><td>8.9cm TFT (MOD2)<\/td><td>1<\/td><\/tr><tr><td>Wires, PCB, connector<\/td><td><\/td><\/tr><tr><td>7805: 5-volt regulator IC (IC1)<\/td><td>1<\/td><\/tr><tr><td>Diode 1N4007<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>ChatGPT Terminal &#8211; Circuit<\/strong><\/h2>\n\n\n\n<p>Fig. 2 shows the circuit diagram of the ESP32-based ChatGPT terminal. It is built around the ESP32 board (MOD1), an 8.9cm (3.5-inch) TFT display (MOD 2), <a href=\"https:\/\/www.electronicsforu.com\/technology-trends\/learn-electronics\/7805-ic-voltage-regulator\">5V voltage regulator IC 7805<\/a> (IC1), PS2 keyboard, and a few other components.<\/p>\n\n\n\n<div class=\"mepr_error\"><div class=\"locked-content\">\n<b>EFY++ CONTENT: ACCESS TO THIS CONTENT IS FREE! BUT YOU NEED TO BE A REGISTERED USER.<\/b><\/p>\n<p>Oops! This is an EFY++ article, which means it's our Premium Content. You need to be a Registered User of our website to read its complete content.<\/p>\n<p><b>Good News: <\/b>You can register to our website for FREE! <a href=\"https:\/\/www.electronicsforu.com\/plans\/subscription-plans\" target=\"_blank\" rel=\"noopener\">CLICK HERE<\/a> to register now.<\/p>\n<p><b>Already a registered member? <\/b>If YES, then simply login to you account below. (TIP: Use 'forgot password' feature and reset and save your new password in your browser, if you forgot the last one!)\n<\/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\/129379\" \/>\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","protected":false},"excerpt":{"rendered":"<p>You are all aware of ChatGPT and its power. We tried some experiments and made this ChatGPT Terminal that can incorporate ChatGPT and give you a portable, easy-to-use, complete GPT machine. You can simply ask a question, seek an answer, or request a snippet of code, using a PS\/2 keyboard connected to the ESP32 microcontroller [&hellip;]<\/p>\n","protected":false},"author":116810,"featured_media":129936,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23,6070,6072,2119,3713,6189,6229],"tags":[9887,1985,110,11985],"class_list":{"0":"post-129379","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-advanced-projects","10":"category-beginners-projects","11":"category-diy-projects-video-tutorials","12":"category-premium","13":"category-esp32-projects","14":"category-project-ideas","15":"tag-chatgpt","16":"tag-diy-projects","17":"tag-electronics-projects","18":"tag-nov-2023"},"_links":{"self":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/129379","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\/116810"}],"replies":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/comments?post=129379"}],"version-history":[{"count":1,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/129379\/revisions"}],"predecessor-version":[{"id":144720,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/129379\/revisions\/144720"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media\/129936"}],"wp:attachment":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media?parent=129379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/categories?post=129379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/tags?post=129379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}