{"id":1,"date":"2025-06-26T17:57:55","date_gmt":"2025-06-26T09:57:55","guid":{"rendered":"https:\/\/lexuan.me\/?p=1"},"modified":"2025-07-01T18:59:24","modified_gmt":"2025-07-01T10:59:24","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/lexuan.me\/?p=1","title":{"rendered":"MY PATENT:some basic preparation and tests for it!"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>I will make an introduction of my patent(the automated aquarium system)\uff0cThis invention presents an automated smart aquarium system based on the ESP32 microcontroller, designed for comprehensive management of aquarium maintenance. The hardware includes an ESP32 board, TDS water quality sensor, temperature-humidity sensor, water level detectors, relay modules, OLED display, cooling fans, heating rods, auto-feeder, and multiple water pumps. With programs written entirely in MicroPython, the system continuously monitors environmental data and transmits information to an OLED screen or mobile interface for remote management.<\/p>\n\n\n\n<p>The system supports water temperature control, auto-refilling and draining, water shortage alerts, smart feeding, and programmable LED lighting. It uses PWM and IO controls to drive each actuator precisely. With its modular design and high stability, this invention is ideal for household and research-grade aquariums, offering aquatic life a smarter and more sustainable habitat.some other preparation<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"706\" src=\"https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72473-1024x706.jpg\" alt=\"\" class=\"wp-image-16\" style=\"width:569px;height:auto\" srcset=\"https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72473-1024x706.jpg 1024w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72473-300x207.jpg 300w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72473-768x529.jpg 768w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72473-1536x1059.jpg 1536w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72473.jpg 1567w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The photo show the basic principle of the whole automaed system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">some preparation and tests before set up the device<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72471-1024x768.jpg\" alt=\"\" class=\"wp-image-17\" style=\"width:641px;height:auto\" srcset=\"https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72471-1024x768.jpg 1024w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72471-300x225.jpg 300w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72471-768x576.jpg 768w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72471.jpg 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I tried to make the chip by myself\uff0cthe process has several steps. First, I chose the ESP32-S3 as the main chip because it supports Wi-Fi and Bluetooth, which are perfect for smart devices. Then, I used electronic design software (like EasyEDA) to draw the circuit and design the PCB layout, placing and connecting components such as resistors, capacitors, the USB port, and buttons.<\/p>\n\n\n\n<p>Next, I sent the PCB design to a manufacturer to produce and assemble the board. When I received the finished board, I used a multimeter to check the connections and then connected it to a computer through USB. I uploaded my program using MicroPython and tested if the buttons and pins worked properly. I also soldered header pins myself so it could be used on a breadboard for experiments. This project helped me improve both my hands-on skills and my understanding of circuits and programming.<\/p>\n\n\n\n<p>The small chip has important functions for the automated process of the system.It can connect to Wi-Fi and Bluetooth, like a mini \u201csmart brain.\u201d I added a USB port so it can be programmed by connecting to a computer. There are also two buttons\u2014one to upload code, and one to restart the chip. At the bottom, there are many pins that can connect to sensors and motors. I use it in my smart aquarium project to feed fish automatically, measure water temperature and humidity, and more. It\u2019s the main part that makes everything work.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"977\" src=\"https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72474-1024x977.jpg\" alt=\"\" class=\"wp-image-18\" style=\"width:679px;height:auto\" srcset=\"https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72474-1024x977.jpg 1024w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72474-300x286.jpg 300w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72474-768x733.jpg 768w, https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u56fe\u72474.jpg 1132w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next I tried to make a &#8220;time display system&#8221;,it is convenient to watch the time or other data on this single OLED.I made using an ESP32 chip and a small OLED screen. The chip is like the brain \u2014 it runs the code I wrote in MicroPython. It connects to Wi-Fi and gets the correct time from the internet, then shows the time on the screen.<\/p>\n\n\n\n<p>Besides showing time, this system can also record data like temperature, humidity, or water quality. If we add some sensors, it can become a \u201csmart aquarium assistant\u201d that helps feed fish, check water levels, and remind you to change the water.<\/p>\n\n\n\n<p class=\"has-pale-cyan-blue-color has-text-color has-link-color wp-elements-501941591a46f67d04bc118e1e092ea8\"><strong>Main Features:<\/strong><\/p>\n\n\n\n<p>Can add sensors to make it smarter.<\/p>\n\n\n\n<p>ESP32 chip: has Wi-Fi and runs the code;<\/p>\n\n\n\n<p>OLED screen: shows time and information;<\/p>\n\n\n\n<p>Uses MicroPython: easy to program like Python;<\/p>\n\n\n\n<p class=\"has-meta-color-color has-text-color has-link-color wp-elements-7400458ec0268464428a85bf0337e936\"><\/p>\n\n\n\n<p><strong>I also made some interesting things to improve the preparation of invention ,such as some LEDs below:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" controls src=\"https:\/\/lexuan.me\/wp-content\/uploads\/2025\/06\/\u4e13\u5229\u89c6\u98911.mp4\"><\/video><\/figure>\n\n\n\n<p>Just like the video,I design an LED strip. With the ESP32, I programmed the LEDs to light up one by one from left to right, then back again\u2014just like a marquee light. It looks dynamic and is great for decoration or status indicators.<\/p>\n\n\n\n<p>Besides , I made another project:the breathing LEDs , but there is no video to show it . It works like the lights blink and off with the same frequency , it gradually lights up and fades out\u2014just like the rhythm of breathing. The brightness smoothly increases and decreases, which looks cool and futuristic<\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color has-link-color wp-elements-4f536030f3a86f0f900bdf1af8c1c4c3\"><strong>As you can see , there are some common features of the both projects : <\/strong><\/p>\n\n\n\n<p>first , they both use the ESP32 development board;<\/p>\n\n\n\n<p>and both use the Micropython language to motify the whole programme;<\/p>\n\n\n\n<p>Both use PWM or similar  to manage LED behavior<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-468bce6ce041a29b715f680ef9705623\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-heading-color-color\">In conclusion , these are very crucial and important components to finish my final automated desigh <\/mark><\/strong>\uff0c<strong>seting a strong foundation for our ongoing and future tasks .<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I will make an introduction of&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/lexuan.me\/index.php?rest_route=\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lexuan.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lexuan.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lexuan.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lexuan.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1"}],"version-history":[{"count":3,"href":"https:\/\/lexuan.me\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/lexuan.me\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/lexuan.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lexuan.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lexuan.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}