{"id":18050,"date":"2024-10-18T11:33:07","date_gmt":"2024-10-18T04:33:07","guid":{"rendered":"https:\/\/dp.rmutsv.ac.th\/?p=18050"},"modified":"2024-11-07T13:14:17","modified_gmt":"2024-11-07T06:14:17","slug":"%e0%b8%a3%e0%b8%b0%e0%b8%9a%e0%b8%9a%e0%b9%80%e0%b8%81%e0%b9%87%e0%b8%9a%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%a1%e0%b8%b9%e0%b8%a5%e0%b8%88%e0%b8%b3%e0%b8%99%e0%b8%a7%e0%b8%99%e0%b8%9c%e0%b8%b9%e0%b9%89","status":"publish","type":"post","link":"https:\/\/dp.rmutsv.ac.th\/?p=18050","title":{"rendered":"\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30 \u00a0(System for collecting data on the number of vehicle users)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading has-small-font-size\">\u0e1c\u0e39\u0e49\u0e40\u0e02\u0e35\u0e22\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21 : 166404140065  \u0e19\u0e32\u0e07\u0e2a\u0e32\u0e27\u0e15\u0e31\u0e2a\u0e19\u0e35\u0e21 \u0e2a\u0e32\u0e42\u0e2a\u0e4a\u0e30<\/h2>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; : 166404140085  \u0e19\u0e32\u0e22\u0e01\u0e49\u0e2d\u0e07\u0e40\u0e01\u0e35\u0e22\u0e23\u0e15\u0e34 \u0e25\u0e07\u0e17\u0e2d\u0e07<\/h2>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; : 166404140087  \u0e19\u0e32\u0e07\u0e2a\u0e32\u0e27\u0e0b\u0e32\u0e23\u0e35\u0e19\u0e48\u0e32 \u0e2b\u0e21\u0e32\u0e19\u0e2b\u0e25\u0e35<\/h2>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; : 166404140090  \u0e19\u0e32\u0e22\u0e1a\u0e31\u0e0e\u0e23\u0e35\u0e22\u0e4c \u0e01\u0e32\u0e40\u0e01\u0e32\u0e30<\/h2>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\">\u0e04\u0e13\u0e30\u0e27\u0e34\u0e28\u0e27\u0e01\u0e23\u0e23\u0e21\u0e28\u0e32\u0e2a\u0e15\u0e23\u0e4c : \u0e2a\u0e32\u0e02\u0e32\u0e27\u0e34\u0e28\u0e27\u0e01\u0e23\u0e23\u0e21\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e23\u0e4c<\/h2>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\">\u0e27\u0e34\u0e0a\u0e32 : 04-513-201 \u0e01\u0e32\u0e23\u0e42\u0e1b\u0e23\u0e40\u0e40\u0e01\u0e23\u0e21\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e02\u0e31\u0e49\u0e19\u0e2a\u0e39\u0e07 1\/2567<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. \u0e04\u0e27\u0e32\u0e21\u0e40\u0e1b\u0e47\u0e19\u0e21\u0e32\u0e41\u0e25\u0e30\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e02\u0e2d\u0e07\u0e1b\u0e31\u0e0d\u0e2b\u0e32<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-left has-small-font-size wp-block-paragraph\">          \u0e22\u0e38\u0e04\u0e41\u0e23\u0e01\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a\u0e02\u0e19\u0e2a\u0e48\u0e07\u0e2a\u0e32\u0e18\u0e32\u0e23\u0e13\u0e30\u0e43\u0e19\u0e0a\u0e48\u0e27\u0e07\u0e41\u0e23\u0e01\u0e46 \u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e43\u0e2b\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e02\u0e19\u0e2a\u0e48\u0e07\u0e2a\u0e32\u0e18\u0e32\u0e23\u0e13\u0e30 \u0e40\u0e0a\u0e48\u0e19 \u0e23\u0e16\u0e1b\u0e23\u0e30\u0e08\u0e33\u0e17\u0e32\u0e07 \u0e23\u0e16\u0e44\u0e1f \u0e41\u0e25\u0e30\u0e23\u0e16\u0e44\u0e1f\u0e1f\u0e49\u0e32 \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e01\u0e31\u0e1a\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e42\u0e14\u0e22\u0e2a\u0e32\u0e23\u0e16\u0e39\u0e01\u0e40\u0e01\u0e47\u0e1a\u0e23\u0e27\u0e1a\u0e23\u0e27\u0e21\u0e14\u0e49\u0e27\u0e22\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e17\u0e32\u0e07\u0e01\u0e32\u0e22\u0e20\u0e32\u0e1e\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19\u0e08\u0e32\u0e01\u0e1c\u0e39\u0e49\u0e02\u0e31\u0e1a\u0e02\u0e35\u0e48\u0e2b\u0e23\u0e37\u0e2d\u0e1e\u0e19\u0e31\u0e01\u0e07\u0e32\u0e19 \u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e41\u0e25\u0e30\u0e27\u0e32\u0e07\u0e41\u0e1c\u0e19\u0e01\u0e32\u0e23\u0e40\u0e14\u0e34\u0e19\u0e17\u0e32\u0e07\u0e40\u0e1b\u0e47\u0e19\u0e44\u0e1b\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e44\u0e21\u0e48\u0e41\u0e21\u0e48\u0e19\u0e22\u0e33\u0e14\u0e31\u0e07\u0e19\u0e31\u0e49\u0e19\u0e1c\u0e39\u0e49\u0e08\u0e31\u0e14\u0e17\u0e33\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e1b\u0e23\u0e30\u0e2a\u0e07\u0e04\u0e4c\u0e17\u0e35\u0e48\u0e08\u0e30\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30 \u0e41\u0e25\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e1c\u0e39\u0e49\u0e42\u0e14\u0e22\u0e2a\u0e32\u0e23\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e14\u0e49\u0e2a\u0e30\u0e14\u0e27\u0e01 \u0e23\u0e27\u0e14\u0e40\u0e23\u0e47\u0e27\u0e41\u0e25\u0e30\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e41\u0e21\u0e48\u0e19\u0e22\u0e33\u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e19\u0e33\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e40\u0e1b\u0e47\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e0b\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c \u0e41\u0e25\u0e30 IoT (Internet of Things) \u0e21\u0e32\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30\u0e02\u0e19\u0e2a\u0e48\u0e07\u0e2a\u0e32\u0e18\u0e32\u0e23\u0e13\u0e30 \u0e17\u0e33\u0e43\u0e2b\u0e49\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e15\u0e34\u0e14\u0e15\u0e32\u0e21\u0e15\u0e33\u0e41\u0e2b\u0e19\u0e48\u0e07\u0e41\u0e25\u0e30\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30\u0e44\u0e14\u0e49\u0e41\u0e1a\u0e1a\u0e40\u0e23\u0e35\u0e22\u0e25\u0e44\u0e17\u0e21\u0e4c \u0e01\u0e32\u0e23\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e01\u0e25\u0e32\u0e22\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e17\u0e35\u0e48\u0e17\u0e33\u0e44\u0e14\u0e49\u0e07\u0e48\u0e32\u0e22\u0e02\u0e36\u0e49\u0e19\u0e41\u0e25\u0e30\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e41\u0e21\u0e48\u0e19\u0e22\u0e33\u0e2a\u0e39\u0e07\u0e43\u0e19\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. \u0e27\u0e31\u0e15\u0e16\u0e38\u0e1b\u0e23\u0e30\u0e2a\u0e07\u0e04\u0e4c<\/strong><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">2.1 <span style=\"font-size: revert;color: initial\">\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49<\/span>\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. \u0e02\u0e2d\u0e1a\u0e40\u0e02\u0e15<\/strong><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">3.1 \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30\u0e44\u0e14\u0e49<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">3.2 \u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e19\u0e31\u0e1a\u0e08\u0e33\u0e19\u0e27\u0e19\u0e04\u0e19\u0e17\u0e35\u0e48\u0e21\u0e32\u0e43\u0e0a\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e1a\u0e19\u0e23\u0e16\u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">3.3 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e23\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e14\u0e49 24 \u0e0a\u0e21. (\u0e2b\u0e32\u0e01\u0e41\u0e1a\u0e15\u0e40\u0e15\u0e2d\u0e23\u0e35\u0e48\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e40\u0e0b\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e44\u0e21\u0e48\u0e2b\u0e21\u0e14)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. \u0e1b\u0e23\u0e30\u0e42\u0e22\u0e0a\u0e19\u0e4c\u0e17\u0e35\u0e48\u0e08\u0e30\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a<\/strong><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">4.1 \u0e25\u0e14\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e40\u0e40\u0e23\u0e07\u0e07\u0e32\u0e19\u0e04\u0e19<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">4.2 <span style=\"color: initial\">\u0e0a\u0e48\u0e27\u0e22\u0e2d\u0e33\u0e19\u0e27\u0e22\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e30\u0e14\u0e27\u0e01<\/span><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">4.3 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49\u0e44\u0e14\u0e49\u0e08\u0e23\u0e34\u0e07\u0e43\u0e19\u0e0a\u0e35\u0e27\u0e34\u0e15\u0e1b\u0e23\u0e30\u0e08\u0e33\u0e27\u0e31\u0e19<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>5. \u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49\u0e17\u0e35\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07<\/strong><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">5.1 <strong>ESP 32<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">ESP32 \u0e40\u0e1b\u0e47\u0e19\u0e1a\u0e2d\u0e23\u0e4c\u0e14\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e44\u0e21\u0e42\u0e04\u0e23\u0e04\u0e2d\u0e19\u0e42\u0e17\u0e23\u0e25\u0e40\u0e25\u0e2d\u0e23\u0e4c\u0e17\u0e35\u0e48\u0e21\u0e35\u0e1b\u0e23\u0e30\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e20\u0e32\u0e1e\u0e2a\u0e39\u0e07 \u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22 Wi-Fi \u0e41\u0e25\u0e30\u0e1a\u0e25\u0e39\u0e17\u0e39\u0e18 \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e17\u0e31\u0e49\u0e07\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e21\u0e27\u0e25\u0e1c\u0e25\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e15\u0e48\u0e32\u0e07\u0e46 \u0e41\u0e1a\u0e1a\u0e40\u0e23\u0e35\u0e22\u0e25\u0e44\u0e17\u0e21\u0e4c \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e17\u0e35\u0e48\u0e23\u0e27\u0e14\u0e40\u0e23\u0e47\u0e27\u0e41\u0e25\u0e30\u0e15\u0e2d\u0e1a\u0e2a\u0e19\u0e2d\u0e07\u0e17\u0e31\u0e19\u0e17\u0e35<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"346\" height=\"346\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/esp32.jpg\" alt=\"\" class=\"wp-image-26912\" style=\"width:144px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/esp32.jpg 346w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/esp32-300x300.jpg 300w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/esp32-150x150.jpg 150w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/esp32-200x200.jpg 200w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/esp32-320x320.jpg 320w\" sizes=\"auto, (max-width: 346px) 100vw, 346px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">5.2 <strong>VL53L0X V2<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">VL53L0X V2<strong>&nbsp;<\/strong>\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e0b\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e27\u0e31\u0e14\u0e23\u0e30\u0e22\u0e30\u0e17\u0e32\u0e07\u0e41\u0e1a\u0e1a <strong>Time-of-Flight (ToF)<\/strong> \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e40\u0e25\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e2d\u0e34\u0e19\u0e1f\u0e23\u0e32\u0e40\u0e23\u0e14\u0e43\u0e19\u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e27\u0e31\u0e14\u0e23\u0e30\u0e22\u0e30\u0e17\u0e32\u0e07\u0e08\u0e32\u0e01\u0e27\u0e31\u0e15\u0e16\u0e38 \u0e0b\u0e36\u0e48\u0e07\u0e17\u0e33\u0e07\u0e32\u0e19\u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e1e\u0e31\u0e25\u0e2a\u0e4c\u0e40\u0e25\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e2d\u0e2d\u0e01\u0e44\u0e1b \u0e41\u0e25\u0e49\u0e27\u0e15\u0e23\u0e27\u0e08\u0e08\u0e31\u0e1a\u0e40\u0e27\u0e25\u0e32 (time) \u0e17\u0e35\u0e48\u0e40\u0e25\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e2a\u0e30\u0e17\u0e49\u0e2d\u0e19\u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32 \u0e17\u0e33\u0e43\u0e2b\u0e49\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e04\u0e33\u0e19\u0e27\u0e13\u0e23\u0e30\u0e22\u0e30\u0e17\u0e32\u0e07\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e41\u0e21\u0e48\u0e19\u0e22\u0e33<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/ob-1024x1024.jpg\" alt=\"\" class=\"wp-image-26915\" style=\"width:144px\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/ob-1024x1024.jpg 1024w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/ob-300x300.jpg 300w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/ob-150x150.jpg 150w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/ob-768x768.jpg 768w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/ob-200x200.jpg 200w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/ob-320x320.jpg 320w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/ob.jpg 1056w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">5.3 <strong>MQTT Explorer<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">MQTT Explorer \u0e40\u0e1b\u0e47\u0e19\u0e42\u0e1b\u0e23\u0e42\u0e15\u0e04\u0e2d\u0e25\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23\u0e41\u0e1a\u0e1a lightweight \u0e17\u0e35\u0e48\u0e2d\u0e2d\u0e01\u0e41\u0e1a\u0e1a\u0e21\u0e32\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e21\u0e35\u0e02\u0e49\u0e2d\u0e08\u0e33\u0e01\u0e31\u0e14\u0e14\u0e49\u0e32\u0e19\u0e1e\u0e25\u0e31\u0e07\u0e07\u0e32\u0e19\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e40\u0e2a\u0e16\u0e35\u0e22\u0e23\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e17\u0e33\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e21\u0e35\u0e1b\u0e23\u0e30\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e20\u0e32\u0e1e \u0e21\u0e31\u0e19\u0e21\u0e31\u0e01\u0e16\u0e39\u0e01\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e43\u0e19\u0e23\u0e30\u0e1a\u0e1a IoT (Internet of Things)<\/li>\n\n\n\n<li class=\"has-small-font-size\">MQTT server \u0e2b\u0e23\u0e37\u0e2d broker \u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e17\u0e35\u0e48\u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32\u0e17\u0e35\u0e48\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23\u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e15\u0e48\u0e32\u0e07\u0e46 \u0e42\u0e14\u0e22\u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32\u0e17\u0e35\u0e48\u0e14\u0e31\u0e07\u0e19\u0e35\u0e49 : <strong>\u0e23\u0e31\u0e1a<\/strong> \u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e08\u0e32\u0e01 client \u0e17\u0e35\u0e48\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e1b\u0e22\u0e31\u0e07 server <strong>\u0e41\u0e08\u0e01\u0e08\u0e48\u0e32\u0e22<\/strong> \u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e19\u0e31\u0e49\u0e19\u0e44\u0e1b\u0e22\u0e31\u0e07 client \u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e15\u0e32\u0e21\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d (topic) \u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e44\u0e27\u0e49<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"266\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/mqtt-explorer.webp\" alt=\"\" class=\"wp-image-26921\" style=\"width:212px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/mqtt-explorer.webp 400w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/mqtt-explorer-300x200.webp 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>6. \u0e1c\u0e25\u0e01\u0e32\u0e23\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23<\/strong><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">\u0e27\u0e07\u0e08\u0e23\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/462550737_1204279227472408_3682949118592734214_n-1024x576.jpg\" alt=\"\" class=\"wp-image-28562\" style=\"width:409px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/462550737_1204279227472408_3682949118592734214_n-1024x576.jpg 1024w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/462550737_1204279227472408_3682949118592734214_n-300x169.jpg 300w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/462550737_1204279227472408_3682949118592734214_n-768x432.jpg 768w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/462550737_1204279227472408_3682949118592734214_n-1536x864.jpg 1536w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/462550737_1204279227472408_3682949118592734214_n-520x292.jpg 520w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/462550737_1204279227472408_3682949118592734214_n-720x404.jpg 720w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/462550737_1204279227472408_3682949118592734214_n.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-small-font-size wp-block-paragraph\"><strong>Flowchart<\/strong> : \u0e25\u0e33\u0e14\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"319\" height=\"1024\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/462348367_1093097209077187_5221155511679975354_n-319x1024.png\" alt=\"\" class=\"wp-image-27050\" style=\"width:352px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/462348367_1093097209077187_5221155511679975354_n-319x1024.png 319w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/462348367_1093097209077187_5221155511679975354_n-93x300.png 93w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/08\/462348367_1093097209077187_5221155511679975354_n.png 455w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-small-font-size wp-block-paragraph\"><strong>Code <\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\"><strong>WiFi Class<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">\u0e04\u0e25\u0e32\u0e2a\u0e19\u0e35\u0e49\u0e08\u0e33\u0e25\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d Wi-Fi \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>connect<\/code> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22 Wi-Fi \u0e15\u0e32\u0e21\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14 \u0e42\u0e14\u0e22\u0e43\u0e2a\u0e48\u0e0a\u0e37\u0e48\u0e2d\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22\u0e41\u0e25\u0e30\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19 <code>connect<\/code> \u0e08\u0e30\u0e21\u0e35\u0e01\u0e32\u0e23\u0e2b\u0e19\u0e48\u0e27\u0e07\u0e40\u0e27\u0e25\u0e32\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e08\u0e33\u0e25\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d \u0e41\u0e25\u0e30\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e40\u0e2a\u0e23\u0e47\u0e08\u0e2a\u0e34\u0e49\u0e19<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code> <strong>class WiFi :<\/strong>\n    def connect(self, ssid, password):\n        print(f\"Connecting to WiFi: {ssid}...\")\n        time.sleep(2)\n        print(\"Connected to WiFi\")\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\"><strong>Sensor VL53L0X Class<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">\u0e04\u0e25\u0e32\u0e2a\u0e19\u0e35\u0e49\u0e08\u0e33\u0e25\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e27\u0e31\u0e14\u0e23\u0e30\u0e22\u0e30\u0e17\u0e32\u0e07 <code>VL53L0X<\/code><\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>read_distance<\/code> \u0e43\u0e0a\u0e49\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32\u0e23\u0e30\u0e22\u0e30\u0e17\u0e32\u0e07\u0e08\u0e32\u0e01\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c \u0e0b\u0e36\u0e48\u0e07\u0e43\u0e19\u0e17\u0e35\u0e48\u0e19\u0e35\u0e49\u0e08\u0e30\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32\u0e08\u0e33\u0e25\u0e2d\u0e07 (30 cm) \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e41\u0e2a\u0e14\u0e07\u0e27\u0e48\u0e32\u0e21\u0e35\u0e04\u0e19\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19\u0e23\u0e30\u0e22\u0e30\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code> <strong>class SensorVL53L0X :<\/strong>\n    def __init__(self):\n        pass\n\n    def read_distance(self):\n        return 30  # \u0e23\u0e30\u0e22\u0e30\u0e17\u0e32\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e43\u0e19\u0e2b\u0e19\u0e48\u0e27\u0e22\u0e40\u0e0b\u0e19\u0e15\u0e34\u0e40\u0e21\u0e15\u0e23<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\"><strong>MQTTClient Class<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">\u0e04\u0e25\u0e32\u0e2a\u0e19\u0e35\u0e49\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1c\u0e48\u0e32\u0e19\u0e42\u0e1b\u0e23\u0e42\u0e15\u0e04\u0e2d\u0e25 MQTT<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e21\u0e35\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>connect<\/code> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a MQTT broker \u0e41\u0e25\u0e30 <code>publish<\/code> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d (topic) \u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code> <strong>class MQTTClient :<\/strong>\n    def __init__(self, broker, port, username, password):\n        self.client = mqtt.Client(\"esp32_vehicle\")\n        self.client.username_pw_set(username, password)\n        self.broker = broker\n        self.port = port\n\n    def connect(self):\n        print(\"Connecting to MQTT...\")\n        self.client.connect(self.broker, self.port)\n        print(\"Connected to MQTT\")\n\n    def publish(self, topic, message):\n        result = self.client.publish(topic, message)\n        if result.rc == mqtt.MQTT_ERR_SUCCESS:\n            print(f\"Successfully sent: {message} to topic: {topic}\")\n        else:\n            print(f\"Failed to send: {message} to topic: {topic}\")\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\"><strong>UserCounter Class<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">\u0e04\u0e25\u0e32\u0e2a\u0e19\u0e35\u0e49\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e01\u0e32\u0e23\u0e19\u0e31\u0e1a\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>update_count<\/code> \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e23\u0e30\u0e22\u0e30\u0e17\u0e32\u0e07\u0e08\u0e32\u0e01\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c \u0e2b\u0e32\u0e01\u0e21\u0e35\u0e04\u0e19\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19\u0e23\u0e30\u0e22\u0e30\u0e08\u0e30\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>reset_daily_count<\/code> \u0e23\u0e35\u0e40\u0e0b\u0e47\u0e15\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e23\u0e32\u0e22\u0e27\u0e31\u0e19\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e16\u0e36\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07\u0e04\u0e37\u0e19<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code> <strong>class UserCounter :<\/strong>\n    def __init__(self):\n        self.daily_user_count = 0\n        self.last_occupied_time = 0\n        self.last_unoccupied_time = 0\n        self.occupied = False\n\n    def update_count(self, distance, current_time):\n        if distance &lt; MAX_DISTANCE:\n            if not self.occupied:\n                if self.last_occupied_time == 0:\n                    self.last_occupied_time = current_time\n                elif current_time - self.last_occupied_time &gt; MIN_OCCUPIED_TIME:\n                    self.daily_user_count += 1\n                    self.occupied = True\n                    self.last_occupied_time = 0\n                    print(f\"User count incremented: {self.daily_user_count}\")\n        else:\n            if self.occupied:\n                if self.last_unoccupied_time == 0:\n                    self.last_unoccupied_time = current_time\n                elif current_time - self.last_unoccupied_time &gt; MIN_UNOCCUPIED_TIME:\n                    self.occupied = False\n                    self.last_unoccupied_time = 0\n\n    def reset_daily_count(self):\n        self.daily_user_count = 0\n        print(\"Daily user count reset.\")\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\"><strong>NTPClient Class<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">\u0e04\u0e25\u0e32\u0e2a\u0e19\u0e35\u0e49\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e40\u0e27\u0e25\u0e32\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e41\u0e25\u0e30\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07\u0e04\u0e37\u0e19\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e23\u0e35\u0e40\u0e0b\u0e47\u0e15\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e23\u0e32\u0e22\u0e27\u0e31\u0e19<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>get_current_time<\/code> \u0e43\u0e0a\u0e49\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32\u0e27\u0e31\u0e19\u0e40\u0e27\u0e25\u0e32\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19 \u0e41\u0e25\u0e30 <code>is_midnight<\/code> \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e16\u0e36\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07\u0e04\u0e37\u0e19\u0e41\u0e25\u0e49\u0e27\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code> <strong>class NTPClient :<\/strong>\n    def __init__(self):\n        pass\n\n    def get_current_time(self):\n        return datetime.datetime.now()\n\n    def is_midnight(self):\n        current_time = self.get_current_time()\n        return current_time.hour == 0 and current_time.minute == 0 and current_time.second == 0\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\"><strong>Application Class<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">\u0e04\u0e25\u0e32\u0e2a\u0e2b\u0e25\u0e31\u0e01\u0e17\u0e35\u0e48\u0e23\u0e27\u0e21\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e17\u0e38\u0e01\u0e04\u0e25\u0e32\u0e2a\u0e02\u0e49\u0e32\u0e07\u0e15\u0e49\u0e19 \u0e42\u0e14\u0e22\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e41\u0e25\u0e30\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e2b\u0e25\u0e31\u0e01<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>generate_topic<\/code> \u0e2a\u0e23\u0e49\u0e32\u0e07\u0e0a\u0e37\u0e48\u0e2d\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d MQTT \u0e43\u0e2b\u0e21\u0e48\u0e17\u0e38\u0e01\u0e27\u0e31\u0e19<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>reset_topic_and_count<\/code> \u0e23\u0e35\u0e40\u0e0b\u0e47\u0e15\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e23\u0e32\u0e22\u0e27\u0e31\u0e19\u0e41\u0e25\u0e30\u0e2d\u0e31\u0e1b\u0e40\u0e14\u0e15\u0e0a\u0e37\u0e48\u0e2d\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>run<\/code> \u0e40\u0e1b\u0e47\u0e19\u0e25\u0e39\u0e1b\u0e2b\u0e25\u0e31\u0e01\u0e17\u0e35\u0e48\u0e23\u0e31\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 \u0e42\u0e14\u0e22\u0e08\u0e30\u0e2d\u0e48\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c \u0e40\u0e0a\u0e47\u0e04\u0e2a\u0e16\u0e32\u0e19\u0e30 Wi-Fi \u0e41\u0e25\u0e30\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e1b\u0e22\u0e31\u0e07 MQTT \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e21\u0e35\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e43\u0e2b\u0e21\u0e48<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code> <strong>class Application :<\/strong>\n    def __init__(self):\n        self.wifi = WiFi()\n        self.sensor = SensorVL53L0X()\n        self.mqtt_client = MQTTClient(MQTT_BROKER, MQTT_PORT, MQTT_USERNAME, MQTT_PASSWORD)\n        self.user_counter = UserCounter()\n        self.ntp_client = NTPClient()\n        self.mqtt_topic_daily = self.generate_topic()\n\n    def generate_topic(self):\n        today = datetime.datetime.now()\n        return f\"vehicle\/daily_user_count_{today.strftime('%Y-%m-%d')}\"\n\n    def reset_topic_and_count(self):\n        self.user_counter.reset_daily_count()\n        self.mqtt_topic_daily = self.generate_topic()\n        print(f\"MQTT topic updated: {self.mqtt_topic_daily}\")\n\n    def run(self):\n        # \u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\n        self.wifi.connect(SSID, PASSWORD)\n        self.mqtt_client.connect()\n\n        # \u0e27\u0e19\u0e25\u0e39\u0e1b\u0e2b\u0e25\u0e31\u0e01\n        while True:\n            current_time = time.time()\n\n            # \u0e2d\u0e48\u0e32\u0e19\u0e04\u0e48\u0e32\u0e23\u0e30\u0e22\u0e30\u0e08\u0e32\u0e01\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\n            distance = self.sensor.read_distance()\n            self.user_counter.update_count(distance, current_time)\n\n            # \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e16\u0e36\u0e07\u0e40\u0e27\u0e25\u0e32\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07\u0e04\u0e37\u0e19\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e04\u0e48\u0e32\u0e27\u0e31\u0e19\u0e43\u0e2b\u0e21\u0e48\n            if self.ntp_client.is_midnight():\n                self.reset_topic_and_count()\n\n            # \u0e2a\u0e48\u0e07\u0e04\u0e48\u0e32\u0e1c\u0e48\u0e32\u0e19 MQTT \u0e2b\u0e32\u0e01\u0e19\u0e31\u0e1a\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e43\u0e2b\u0e21\u0e48\n            if self.user_counter.occupied:\n                self.mqtt_client.publish(self.mqtt_topic_daily, str(self.user_counter.daily_user_count))\n\n            # \u0e2b\u0e19\u0e48\u0e27\u0e07\u0e40\u0e27\u0e25\u0e32\u0e2a\u0e31\u0e49\u0e19 \u0e46\n            time.sleep(1)\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\"><strong>\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e2d\u0e2d\u0e1a\u0e40\u0e08\u0e47\u0e01\u0e15\u0e4c <code>Application<\/code> \u0e41\u0e25\u0e30\u0e40\u0e23\u0e35\u0e22\u0e01\u0e40\u0e21\u0e18\u0e2d\u0e14 <code>run<\/code> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e23\u0e34\u0e48\u0e21\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e19\u0e35\u0e49\u0e08\u0e30\u0e27\u0e19\u0e25\u0e39\u0e1b\u0e2b\u0e25\u0e31\u0e01\u0e44\u0e21\u0e48\u0e2b\u0e22\u0e38\u0e14 \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e04\u0e48\u0e32\u0e23\u0e30\u0e22\u0e30\u0e08\u0e32\u0e01\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e41\u0e25\u0e30\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e1b\u0e22\u0e31\u0e07 MQTT \u0e17\u0e38\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07\u0e17\u0e35\u0e48\u0e15\u0e23\u0e27\u0e08\u0e1e\u0e1a\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e43\u0e2b\u0e21\u0e48<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code># \u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\napp = Application()\napp.run()\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\"><strong>\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e23\u0e30\u0e1a\u0e1a MQTT Server<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"has-small-font-size\"> \u0e42\u0e2b\u0e25\u0e14\u0e41\u0e2d\u0e1b MQTT Explorer <\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d Server \u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a (\u0e43\u0e2a\u0e48 host \u0e41\u0e25\u0e30 password) <\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e04\u0e49\u0e19\u0e2b\u0e32 topic \u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23 (\u0e43\u0e0a\u0e49 topic Vehicle) \u0e41\u0e25\u0e49\u0e27\u0e23\u0e30\u0e1a\u0e1a\u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48\u0e2a\u0e48\u0e07\u0e44\u0e1b\u0e22\u0e31\u0e07 topic<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\"><strong>\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"has-small-font-size\">\u0e19\u0e33\u0e40\u0e0b\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c VL53L0X \u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e14\u0e49\u0e32\u0e19\u0e1a\u0e19\u0e02\u0e2d\u0e07\u0e41\u0e15\u0e48\u0e25\u0e30\u0e17\u0e35\u0e48\u0e19\u0e31\u0e48\u0e07\u0e02\u0e2d\u0e07\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e41\u0e1a\u0e15\u0e40\u0e15\u0e2d\u0e23\u0e35\u0e48\u0e23\u0e16\u0e22\u0e19\u0e15\u0e4c\u0e2b\u0e23\u0e37\u0e2d\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e1e\u0e25\u0e31\u0e07\u0e07\u0e32\u0e19 ESP 32<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 MQTT Server \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30<\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>7. \u0e1c\u0e25\u0e01\u0e32\u0e23\u0e17\u0e14\u0e25\u0e2d\u0e07<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"291\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/Screenshot-2024-11-06-215750.png\" alt=\"\" class=\"wp-image-28616\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/Screenshot-2024-11-06-215750.png 709w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2024\/10\/Screenshot-2024-11-06-215750-300x123.png 300w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>8. \u0e2a\u0e23\u0e38\u0e1b\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19<\/strong><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e25\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e27\u0e31\u0e14\u0e23\u0e30\u0e22\u0e30\u0e44\u0e14\u0e49\u0e19\u0e49\u0e2d\u0e22\u0e01\u0e27\u0e48\u0e32 50 \u0e40\u0e21\u0e15\u0e23 \u0e2b\u0e23\u0e37\u0e2d\u0e15\u0e48\u0e33\u0e01\u0e27\u0e48\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e27\u0e25\u0e32\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13 30 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35 (\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e21\u0e35\u0e04\u0e19\u0e19\u0e31\u0e48\u0e07\u0e2d\u0e22\u0e39\u0e48 &gt;= 30 \u0e27\u0e34) ESP32 \u0e08\u0e30\u0e40\u0e01\u0e47\u0e1a\u0e04\u0e48\u0e32\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e43\u0e19\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30 +1 \u0e41\u0e25\u0e30\u0e2a\u0e48\u0e07\u0e04\u0e48\u0e32\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e43\u0e19 MQTT Server \u0e41\u0e25\u0e30\u0e23\u0e2d\u0e08\u0e19\u0e01\u0e27\u0e48\u0e32\u0e23\u0e30\u0e22\u0e30\u0e40\u0e25\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e08\u0e30\u0e21\u0e32\u0e01\u0e01\u0e27\u0e48\u0e32 50 \u0e40\u0e21\u0e15\u0e23 \u0e41\u0e25\u0e30\u0e04\u0e07\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e2d\u0e22\u0e39\u0e48\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13 5 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35 (\u0e17\u0e35\u0e48\u0e19\u0e31\u0e48\u0e07\u0e27\u0e48\u0e32\u0e07\u0e40\u0e01\u0e34\u0e19 5 \u0e27\u0e34) \u0e40\u0e0b\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e16\u0e36\u0e07\u0e08\u0e30\u0e40\u0e23\u0e34\u0e48\u0e21\u0e40\u0e01\u0e47\u0e1a\u0e04\u0e48\u0e32\u0e43\u0e2b\u0e21\u0e48 \u0e42\u0e14\u0e22\u0e17\u0e38\u0e01 \u0e46 \u0e40\u0e27\u0e25\u0e32\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07\u0e04\u0e37\u0e19\u0e02\u0e2d\u0e07\u0e17\u0e38\u0e01\u0e27\u0e31\u0e19 \u0e23\u0e30\u0e1a\u0e1a\u0e08\u0e30\u0e23\u0e35\u0e40\u0e0b\u0e47\u0e17\u0e08\u0e33\u0e19\u0e27\u0e19\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23\u0e40\u0e17\u0e48\u0e32\u0e01\u0e31\u0e1a 0 \u0e41\u0e25\u0e30\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 topic \u0e40\u0e1b\u0e47\u0e19 vehicle \/ daily_count_\u0e15\u0e32\u0e21\u0e14\u0e49\u0e27\u0e22\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\u0e02\u0e2d\u0e07\u0e27\u0e31\u0e19\u0e19\u0e31\u0e49\u0e19\u0e46<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\"><strong>9. \u0e02\u0e49\u0e2d\u0e40\u0e2a\u0e19\u0e2d\u0e41\u0e19\u0e30<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-small-font-size\">\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e01\u0e32\u0e23\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e25\u0e07\u0e44\u0e1f\u0e25\u0e4c \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e42\u0e21\u0e14\u0e39\u0e25 logging \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e1c\u0e48\u0e32\u0e19 MQTT \u0e41\u0e25\u0e30\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e15\u0e48\u0e32\u0e07 \u0e46 \u0e08\u0e30\u0e0a\u0e48\u0e27\u0e22\u0e43\u0e2b\u0e49\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e41\u0e25\u0e30\u0e27\u0e34\u0e40\u0e04\u0e23\u0e32\u0e30\u0e2b\u0e4c\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e44\u0e14\u0e49\u0e07\u0e48\u0e32\u0e22\u0e02\u0e36\u0e49\u0e19 \u0e04\u0e27\u0e23\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e23\u0e30\u0e14\u0e31\u0e1a\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e40\u0e0a\u0e48\u0e19 INFO, WARNING, \u0e41\u0e25\u0e30 ERROR<\/li>\n\n\n\n<li class=\"has-small-font-size\">\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e1c\u0e48\u0e32\u0e19 E-mail \u0e2b\u0e23\u0e37\u0e2d Line \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14 \u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e2a\u0e48\u0e07\u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e2b\u0e32\u0e01\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14 \u0e40\u0e0a\u0e48\u0e19 \u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d MQTT \u0e2b\u0e23\u0e37\u0e2d Wi-Fi \u0e2b\u0e25\u0e38\u0e14 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49\u0e42\u0e21\u0e14\u0e39\u0e25 smtplib \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07 E-mail \u0e2b\u0e23\u0e37\u0e2d\u0e43\u0e0a\u0e49 Line API \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e1c\u0e48\u0e32\u0e19 Line<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>10. \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2d\u0e49\u0e32\u0e07\u0e2d\u0e34\u0e07<\/strong><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">10.1 ESP 32 [\u0e2a\u0e37\u0e1a\u0e04\u0e49\u0e19\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48 15 \u0e15\u0e38\u0e25\u0e32\u0e04\u0e21 2567]<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">\u0e08\u0e32\u0e01 <a href=\"https:\/\/www.espressif.com\/en\/products\/socs\/esp32\/resources\">https:\/\/www.espressif.com\/en\/products\/socs\/esp32\/resources<\/a><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">10.2 \u0e40\u0e0b\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c VL53L0X V2 [\u0e2a\u0e37\u0e1a\u0e04\u0e49\u0e19\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48 15 \u0e15\u0e38\u0e25\u0e32\u0e04\u0e21 2567]<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">\u0e08\u0e32\u0e01 <a href=\"https:\/\/esphome.io\/components\/sensor\/vl53l0x.html\">https:\/\/esphome.io\/components\/sensor\/vl53l0x.html<\/a><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">10.3 MQTT Explorer [\u0e2a\u0e37\u0e1a\u0e04\u0e49\u0e19\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48 15 \u0e15\u0e38\u0e25\u0e32\u0e04\u0e21 2567]<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">\u0e08\u0e32\u0e01 <a href=\"https:\/\/chatgpt.com\/c\/6711c529-dc30-8006-9e3d-4feb40407473\">https:\/\/chatgpt.com\/c\/6711c529-dc30-8006-9e3d-4feb40407473<\/a><\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>\u0e27\u0e34\u0e14\u0e34\u0e42\u0e2d\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed aligncenter 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<div class=\"video-container\"><iframe loading=\"lazy\" title=\"\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e33\u0e19\u0e27\u0e19\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e22\u0e32\u0e19\u0e1e\u0e32\u0e2b\u0e19\u0e30\" width=\"620\" height=\"349\" src=\"https:\/\/www.youtube.com\/embed\/OuC7nqXdXVE?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><\/div>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e1c\u0e39\u0e49\u0e40\u0e02\u0e35\u0e22\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21 : 166404140&#46;&#46;&#46;<\/p>\n","protected":false},"author":458,"featured_media":27062,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,10,1],"tags":[],"class_list":["post-18050","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-16","category-10","category-1"],"_links":{"self":[{"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/18050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/users\/458"}],"replies":[{"embeddable":true,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18050"}],"version-history":[{"count":31,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/18050\/revisions"}],"predecessor-version":[{"id":28733,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/18050\/revisions\/28733"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/media\/27062"}],"wp:attachment":[{"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}