{"id":238,"date":"2023-09-11T12:53:01","date_gmt":"2023-09-11T05:53:01","guid":{"rendered":"https:\/\/dw.rmutsv.ac.th\/dprofile\/?p=238"},"modified":"2023-11-12T16:55:44","modified_gmt":"2023-11-12T09:55:44","slug":"%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%9e%e0%b8%b1%e0%b8%92%e0%b8%99%e0%b8%b2%e0%b8%a3%e0%b8%b0%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b8%a3%e0%b8%a7%e0%b8%88%e0%b8%a7%e0%b8%b1%e0%b8%94%e0%b8%99%e0%b9%89%e0%b8%b3","status":"publish","type":"post","link":"https:\/\/dp.rmutsv.ac.th\/?p=238","title":{"rendered":"\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e01\u0e32\u0e23\u0e27\u0e31\u0e14\u0e04\u0e48\u0e32\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08\u0e41\u0e25\u0e30\u0e2d\u0e2d\u0e01\u0e0b\u0e34\u0e40\u0e08\u0e19\u0e43\u0e19\u0e40\u0e25\u0e37\u0e2d\u0e14"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e42\u0e14\u0e22 \u0e08\u0e34\u0e23\u0e2a\u0e34\u0e19 \u0e08\u0e38\u0e49\u0e22\u0e40\u0e2d\u0e35\u0e48\u0e22\u0e21 #COE15 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e27\u0e34\u0e0a\u0e32 : 04-513-201 \u0e01\u0e32\u0e23\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e02\u0e31\u0e49\u0e19\u0e2a\u0e39\u0e07<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1.\u0e04\u0e27\u0e32\u0e21\u0e40\u0e1b\u0e47\u0e19\u0e21\u0e32<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e23\u0e31\u0e01\u0e29\u0e32\u0e17\u0e32\u0e07\u0e01\u0e32\u0e23\u0e41\u0e1e\u0e17\u0e22\u0e4c\u0e43\u0e19\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e01\u0e49\u0e32\u0e27\u0e2b\u0e19\u0e49\u0e32\u0e44\u0e1b\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e21\u0e32\u0e01 \u0e17\u0e33\u0e43\u0e2b\u0e49\u0e21\u0e35\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d\u0e17\u0e35\u0e48\u0e17\u0e31\u0e19\u0e2a\u0e21\u0e31\u0e22\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e01\u0e23\u0e1c\u0e39\u0e49\u0e1b\u0e48\u0e27\u0e22\u0e17\u0e35\u0e48\u0e21\u0e32\u0e43\u0e0a\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23 \u0e41\u0e15\u0e48\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e44\u0e23\u0e01\u0e47\u0e15\u0e32\u0e21\u0e43\u0e19\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e21\u0e35\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e01\u0e23\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e02\u0e36\u0e49\u0e19\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e17\u0e48\u0e32\u0e15\u0e31\u0e27 \u0e19\u0e31\u0e48\u0e19\u0e2b\u0e21\u0e32\u0e22\u0e04\u0e27\u0e32\u0e21\u0e27\u0e48\u0e32\u0e43\u0e191\u0e1b\u0e35\u0e19\u0e31\u0e49\u0e19\u0e08\u0e30\u0e21\u0e35\u0e1c\u0e39\u0e49\u0e1b\u0e48\u0e27\u0e22\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e02\u0e36\u0e49\u0e19\u0e08\u0e32\u0e01\u0e40\u0e14\u0e34\u0e21\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e41\u0e19\u0e48\u0e19\u0e2d\u0e19 \u0e08\u0e30\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e44\u0e23\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e01\u0e47\u0e21\u0e35\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e17\u0e35\u0e48\u0e17\u0e31\u0e19\u0e2a\u0e21\u0e31\u0e22\u0e01\u0e27\u0e48\u0e32\u0e40\u0e14\u0e34\u0e21\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e22\u0e46 \u0e40\u0e0a\u0e48\u0e19 \u0e15\u0e31\u0e27SENSER MAX30100 \u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e27\u0e31\u0e14\u0e04\u0e48\u0e32\u0e02\u0e2d\u0e07 \u0e2d\u0e31\u0e15\u0e23\u0e32\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08\u0e41\u0e25\u0e30\u0e2d\u0e2d\u0e01\u0e0b\u0e34\u0e40\u0e08\u0e19\u0e43\u0e19\u0e40\u0e25\u0e37\u0e2d\u0e14 \u0e42\u0e14\u0e22\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e35\u0e49\u0e08\u0e30\u0e16\u0e39\u0e01\u0e2a\u0e48\u0e07\u0e44\u0e1b\u0e22\u0e31\u0e07 <br>\u0e41\u0e2d\u0e1e\u0e25\u0e34\u0e40\u0e04\u0e0a\u0e31\u0e19\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e17\u0e35\u0e48\u0e40\u0e23\u0e35\u0e22\u0e01\u0e27\u0e48\u0e32 Line notifly \u0e17\u0e35\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e1b\u0e48\u0e27\u0e22\u0e40\u0e40\u0e1a\u0e1a\u0e40\u0e23\u0e35\u0e22\u0e25\u0e44\u0e17\u0e21\u0e4c\u0e44\u0e14\u0e49\u0e17\u0e31\u0e19\u0e17\u0e48\u0e27\u0e07\u0e17\u0e35<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e14\u0e31\u0e07\u0e19\u0e31\u0e49\u0e19 \u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e01\u0e32\u0e23\u0e27\u0e31\u0e14\u0e04\u0e48\u0e32 \u0e2d\u0e31\u0e15\u0e23\u0e32\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08\u0e41\u0e25\u0e30\u0e2d\u0e2d\u0e01\u0e0b\u0e34\u0e40\u0e08\u0e19\u0e43\u0e19\u0e40\u0e25\u0e37\u0e2d\u0e14 \u0e08\u0e36\u0e07\u0e21\u0e35\u0e1a\u0e17\u0e1a\u0e32\u0e17\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e43\u0e19\u0e01\u0e32\u0e23\u0e0a\u0e48\u0e27\u0e22\u0e43\u0e2b\u0e49\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13\u0e2b\u0e21\u0e2d\u0e41\u0e25\u0e30\u0e1e\u0e22\u0e32\u0e1a\u0e32\u0e25\u0e40\u0e1b\u0e47\u0e19\u0e44\u0e1b\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e23\u0e32\u0e1a\u0e23\u0e37\u0e48\u0e19 \u0e41\u0e25\u0e30\u0e2a\u0e30\u0e14\u0e27\u0e01\u0e15\u0e48\u0e2d\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e41\u0e01\u0e48\u0e1c\u0e39\u0e49\u0e1b\u0e48\u0e27\u0e22<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2.\u0e27\u0e31\u0e15\u0e16\u0e38\u0e1b\u0e23\u0e30\u0e2a\u0e07\u0e04\u0e4c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u2013 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e30\u0e14\u0e27\u0e01\u0e2a\u0e1a\u0e32\u0e22\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e1b\u0e48\u0e27\u0e22<br>\u2013 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e01\u0e32\u0e23\u0e23\u0e31\u0e01\u0e29\u0e32\u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e17\u0e31\u0e19\u0e17\u0e48\u0e27\u0e07\u0e17\u0e35<br>\u2013 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e41\u0e1a\u0e1a\u0e40\u0e23\u0e35\u0e22\u0e25\u0e44\u0e17\u0e21\u0e4c\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e23\u0e27\u0e14\u0e40\u0e23\u0e47\u0e27<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3.\u0e02\u0e2d\u0e1a\u0e40\u0e02\u0e15<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1.\u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e1c\u0e48\u0e32\u0e19Line \u0e23\u0e30\u0e1a\u0e1a\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e41\u0e0a\u0e17\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e43\u0e19 Line<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.&nbsp;\u0e23\u0e30\u0e1a\u0e1a\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a\u0e2d\u0e34\u0e19\u0e40\u0e17\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e47\u0e15\u0e41\u0e25\u0e30\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e02\u0e2d\u0e07 Line \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e44\u0e1b\u0e22\u0e31\u0e07 Line&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3.\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32 input \u0e08\u0e32\u0e01\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e41\u0e25\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e2d\u0e2d\u0e01\u0e44\u0e1b output \u0e43\u0e2b\u0e49\u0e2d\u0e2d\u0e14\u0e14\u0e31\u0e07\u0e08\u0e32\u0e01 Buzzer<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4.\u0e1b\u0e23\u0e30\u0e42\u0e22\u0e0a\u0e19\u0e4c\u0e17\u0e35\u0e48\u0e04\u0e32\u0e14\u0e27\u0e48\u0e32\u0e08\u0e30\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1.\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e17\u0e23\u0e32\u0e1a\u0e04\u0e48\u0e32\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e40\u0e23\u0e35\u0e22\u0e25\u0e44\u0e17\u0e21\u0e4c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e17\u0e23\u0e32\u0e1a\u0e04\u0e48\u0e32\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08\u0e41\u0e25\u0e30\u0e04\u0e48\u0e32\u0e2d\u0e2d\u0e01\u0e0b\u0e34\u0e40\u0e08\u0e19\u0e43\u0e19\u0e40\u0e25\u0e37\u0e2d\u0e14<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3.\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e19\u0e33\u0e44\u0e1b\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e15\u0e48\u0e2d\u0e22\u0e2d\u0e14\u0e41\u0e01\u0e49\u0e44\u0e02\u0e44\u0e14\u0e49\u0e20\u0e32\u0e22\u0e43\u0e19\u0e2d\u0e19\u0e32\u0e04\u0e15<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5.\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49\u0e17\u0e35\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e2b\u0e25\u0e31\u0e01\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e02\u0e32 MAX30100 \u0e01\u0e31\u0e1a\u0e1a\u0e2d\u0e23\u0e4c\u0e14 Esp32(Pinout)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VIN \u0e15\u0e48\u0e2d\u0e40\u0e02\u0e49\u0e32\u0e17\u0e35\u0e48\u0e02\u0e32 3V3<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SCL \u0e15\u0e48\u0e2d\u0e40\u0e02\u0e49\u0e32\u0e17\u0e35\u0e48\u0e02\u0e32 SCL<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SDA \u0e15\u0e48\u0e2d\u0e40\u0e02\u0e49\u0e32\u0e17\u0e35\u0e48\u0e02\u0e32 SDA<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GND \u0e15\u0e48\u0e2d\u0e40\u0e02\u0e49\u0e32\u0e17\u0e35\u0e48\u0e02\u0e32 GND<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"935\" height=\"775\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-470.png\" alt=\"\" class=\"wp-image-12961\" style=\"width:450px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-470.png 935w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-470-300x249.png 300w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-470-768x637.png 768w\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19 Sensor Max30100<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"151\" height=\"101\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-366.png\" alt=\"\" class=\"wp-image-9622\" style=\"width:117px;height:auto\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e27\u0e31\u0e14\u0e04\u0e27\u0e32\u0e21\u0e2d\u0e34\u0e48\u0e21\u0e15\u0e31\u0e27\u0e02\u0e2d\u0e07\u0e2d\u0e2d\u0e01\u0e0b\u0e34\u0e40\u0e08\u0e19\u0e43\u0e19\u0e40\u0e25\u0e37\u0e2d\u0e14 \u0e41\u0e25\u0e30\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08 \u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e14\u0e49\u0e27\u0e22\u0e44\u0e1f LED \u0e2a\u0e2d\u0e07\u0e14\u0e27\u0e07, \u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e15\u0e23\u0e27\u0e08\u0e08\u0e31\u0e1a\u0e41\u0e2a\u0e07, \u0e40\u0e25\u0e19\u0e2a\u0e4c\u0e1b\u0e23\u0e31\u0e1a\u0e41\u0e2a\u0e07\u0e41\u0e25\u0e30\u0e15\u0e31\u0e27\u0e1b\u0e23\u0e30\u0e21\u0e27\u0e25\u0e1c\u0e25\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13 Analog \u0e17\u0e35\u0e48\u0e21\u0e35\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13\u0e23\u0e1a\u0e01\u0e27\u0e19\u0e15\u0e48\u0e33\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e23\u0e27\u0e08\u0e08\u0e31\u0e1a\u0e2d\u0e2d\u0e01\u0e0b\u0e34\u0e40\u0e08\u0e19\u0e43\u0e19\u0e40\u0e25\u0e37\u0e2d\u0e14\u0e41\u0e25\u0e30\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e1b\u0e47\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e17\u0e35\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e17\u0e31\u0e49\u0e07\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08\u0e41\u0e25\u0e30 oximetry \u0e0a\u0e35\u0e1e\u0e08\u0e23\u0e43\u0e19\u0e40\u0e27\u0e25\u0e32\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e19\u00a0<a>[8]<\/a>\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e23\u0e27\u0e08\u0e08\u0e31\u0e1a\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13\u0e2d\u0e2d\u0e01\u0e0b\u0e34\u0e40\u0e08\u0e19\u0e43\u0e19\u0e40\u0e25\u0e37\u0e2d\u0e14\u0e41\u0e25\u0e30\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08 \u0e08\u0e30\u0e43\u0e0a\u0e49\u0e44\u0e1f LED \u0e2a\u0e2d\u0e07\u0e14\u0e27\u0e07 \u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e15\u0e23\u0e27\u0e08\u0e08\u0e31\u0e1a\u0e41\u0e2a\u0e07 \u0e40\u0e25\u0e19\u0e2a\u0e4c\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e1b\u0e23\u0e38\u0e07 \u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e21\u0e27\u0e25\u0e1c\u0e25\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13\u0e2d\u0e30\u0e19\u0e32\u0e25\u0e47\u0e2d\u0e01\u0e17\u0e35\u0e48\u0e21\u0e35\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13\u0e23\u0e1a\u0e01\u0e27\u0e19\u0e15\u0e48\u0e33\u00a0MAX30100 \u0e21\u0e35\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e01\u0e32\u0e23\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e0b\u0e2d\u0e1f\u0e15\u0e4c\u0e41\u0e27\u0e23\u0e4c\u0e40\u0e15\u0e47\u0e21\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a \u0e41\u0e25\u0e30 FIFO \u0e25\u0e36\u0e01 16 \u0e20\u0e32\u0e22\u0e43\u0e19\u0e02\u0e2d\u0e07\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c (\u0e40\u0e02\u0e49\u0e32\u0e01\u0e48\u0e2d\u0e19\u0e2d\u0e2d\u0e01\u0e01\u0e48\u0e2d\u0e19) \u0e08\u0e30\u0e08\u0e31\u0e14\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e2d\u0e32\u0e15\u0e4c\u0e1e\u0e38\u0e15\u0e14\u0e34\u0e08\u0e34\u0e17\u0e31\u0e25\u00a0\u0e04\u0e38\u0e13\u0e2a\u0e21\u0e1a\u0e31\u0e15\u0e34\u0e17\u0e31\u0e49\u0e07\u0e2a\u0e2d\u0e07\u0e19\u0e35\u0e49\u0e23\u0e27\u0e21\u0e2d\u0e22\u0e39\u0e48\u0e14\u0e49\u0e27\u0e22\u00a0\u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 FIFO (\u0e40\u0e02\u0e49\u0e32\u0e01\u0e48\u0e2d\u0e19\u0e2d\u0e2d\u0e01\u0e01\u0e48\u0e2d\u0e19) MAX30100 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a\u0e44\u0e21\u0e42\u0e04\u0e23\u0e04\u0e2d\u0e19\u0e42\u0e17\u0e23\u0e25\u0e40\u0e25\u0e2d\u0e23\u0e4c\u0e2b\u0e23\u0e37\u0e2d\u0e2b\u0e19\u0e48\u0e27\u0e22\u0e1b\u0e23\u0e30\u0e21\u0e27\u0e25\u0e1c\u0e25\u0e01\u0e25\u0e32\u0e07 (CPU) \u0e17\u0e35\u0e48\u0e21\u0e35\u0e1a\u0e31\u0e2a\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e23\u0e48\u0e27\u0e21\u0e01\u0e31\u0e19\u00a0\u0e0b\u0e36\u0e48\u0e07\u0e0a\u0e48\u0e27\u0e22\u0e25\u0e14\u0e04\u0e27\u0e32\u0e21\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e43\u0e19\u0e01\u0e32\u0e23\u0e2d\u0e48\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e23\u0e35\u0e08\u0e34\u0e2a\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e02\u0e2d\u0e07\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e15\u0e48\u0e2d\u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u00a0\u0e20\u0e32\u0e22\u0e43\u0e19\u0e22\u0e35\u0e48\u0e2a\u0e34\u0e1a\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e17\u0e31\u0e49\u0e07 Sp02 \u0e41\u0e25\u0e30 BPM \u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e07\u0e48\u0e32\u0e22\u0e14\u0e32\u0e22\u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e27\u0e32\u0e07\u0e1b\u0e25\u0e32\u0e22\u0e19\u0e34\u0e49\u0e27\u0e43\u0e19\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e02\u0e2d\u0e07\u0e42\u0e21\u0e14\u0e39\u0e25\u0e19\u0e35\u0e49<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e42\u0e04\u0e4a\u0e14<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;Wire.h&gt;\r\n#include \"MAX30100_PulseOximeter.h\"\r\n#define REPORTING_PERIOD_MS     1000\r\nPulseOximeter pox;\r\nuint32_t tsLastReport = 0;\r\n\/\/ Callback (registered below) fired when a pulse is detected\r\nvoid onBeatDetected()\r\n{\r\n    Serial.println(\"Beat!\");\r\n}\r\nvoid setup()\r\n{\r\n    Serial.begin(115200);\r\n    Serial.print(\"Initializing pulse oximeter..\");\r\n    if (!pox.begin()) {\r\n        Serial.println(\"FAILED\");\r\n        for(;;);\r\n    } else {\r\n        Serial.println(\"SUCCESS\");\r\n    }\r\n    pox.setOnBeatDetectedCallback(onBeatDetected);\r\n}\r\nvoid loop()\r\n{\r\n    pox.update();\r\n    if (millis() - tsLastReport &gt; REPORTING_PERIOD_MS) {\r\n        Serial.print(\"Heart rate:\");\r\n        Serial.print(pox.getHeartRate());\r\n        Serial.print(\"bpm \/ SpO2:\");\r\n        Serial.print(pox.getSpO2());\r\n        Serial.println(\"%\");\r\n        tsLastReport = millis();\r\n    }\r\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e43\u0e19 vioce loop<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void loop()\r\n{\r\n    pox.update();\r\n    if (millis() - tsLastReport &gt; REPORTING_PERIOD_MS) {\r\n        Serial.print(\"Heart rate:\");\r\n        Serial.print(pox.getHeartRate());\r\n        Serial.print(\"bpm \/ SpO2:\");\r\n        Serial.print(pox.getSpO2());\r\n        Serial.println(\"%\");\r\n        tsLastReport = millis();\r\n    }\r\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e42\u0e04\u0e49\u0e14\u0e19\u0e35\u0e49\u0e17\u0e33\u0e07\u0e32\u0e19\u0e42\u0e14\u0e22\u0e17\u0e33\u0e01\u0e32\u0e23\u0e2d\u0e31\u0e1b\u0e40\u0e14\u0e15\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c Pulse Oximeter \u0e17\u0e38\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07\u0e46 \u0e17\u0e35\u0e48\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e01\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19 <code>pox.update()<\/code> \u0e43\u0e19\u0e25\u0e39\u0e1b <code>loop()<\/code> \u0e02\u0e2d\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Arduino \u0e19\u0e31\u0e49\u0e19\u0e46 \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e01\u0e47\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e44\u0e14\u0e49\u0e1c\u0e48\u0e32\u0e19\u0e23\u0e30\u0e22\u0e30\u0e40\u0e27\u0e25\u0e32\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e44\u0e27\u0e49\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48 \u0e16\u0e49\u0e32\u0e44\u0e14\u0e49\u0e1c\u0e48\u0e32\u0e19\u0e41\u0e25\u0e49\u0e27 \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e08\u0e30\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e48\u0e32 heart rate \u0e41\u0e25\u0e30 SpO2 \u0e25\u0e07\u0e43\u0e19 Serial Monitor \u0e02\u0e2d\u0e07 Arduino \u0e17\u0e38\u0e01\u0e46 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35\u0e17\u0e35\u0e48\u0e1c\u0e48\u0e32\u0e19\u0e44\u0e1b \u0e42\u0e14\u0e22\u0e21\u0e35\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e44\u0e27\u0e49\u0e43\u0e19 <code>REPORTING_PERIOD_MS<\/code> \u0e17\u0e35\u0e48\u0e40\u0e1b\u0e47\u0e19\u0e04\u0e48\u0e32\u0e04\u0e07\u0e17\u0e35\u0e48\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19 1000 \u0e21\u0e34\u0e25\u0e25\u0e34\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35 (1 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35) \u0e43\u0e19\u0e2a\u0e23\u0e38\u0e1b, \u0e42\u0e04\u0e49\u0e14\u0e19\u0e35\u0e49\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c Pulse Oximeter \u0e23\u0e38\u0e48\u0e19 MAX30100, \u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e01\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e15\u0e23\u0e27\u0e08\u0e08\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08 (beat detection callback), \u0e41\u0e25\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23\u0e2d\u0e48\u0e32\u0e19\u0e41\u0e25\u0e30\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e04\u0e48\u0e32 heart rate \u0e41\u0e25\u0e30 SpO2 \u0e44\u0e1b\u0e22\u0e31\u0e07 Serial Monitor \u0e17\u0e38\u0e01\u0e46 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35 \u0e42\u0e14\u0e22\u0e17\u0e35\u0e48\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19 <code>onBeatDetected()<\/code> \u0e08\u0e30\u0e16\u0e39\u0e01\u0e40\u0e23\u0e35\u0e22\u0e01\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e15\u0e23\u0e27\u0e08\u0e1e\u0e1a\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 Buzzer<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"225\" height=\"225\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-371.png\" alt=\"\" class=\"wp-image-9643\" style=\"width:128px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-371.png 225w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-371-150x150.png 150w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-371-200x200.png 200w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2d\u0e2d\u0e14\u0e44\u0e1f\u0e1f\u0e49\u0e32 (Buzzer) \u0e2b\u0e23\u0e37\u0e2d\u0e25\u0e33\u0e42\u0e1e\u0e07\u0e1a\u0e31\u0e0b\u0e40\u0e0b\u0e2d\u0e23\u0e4c \u0e40\u0e1b\u0e47\u0e19\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e44\u0e1f\u0e1f\u0e49\u0e32\u0e17\u0e35\u0e48\u0e43\u0e2b\u0e49\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e14\u0e49\u0e27\u0e22\u0e40\u0e2a\u0e35\u0e22\u0e07 \u0e0b\u0e36\u0e48\u0e07\u0e19\u0e34\u0e22\u0e21\u0e19\u0e33\u0e21\u0e32\u0e43\u0e0a\u0e48\u0e43\u0e19\u0e07\u0e32\u0e19\u0e2d\u0e38\u0e15\u0e2a\u0e32\u0e2b\u0e01\u0e23\u0e23\u0e21\u0e41\u0e25\u0e30\u0e2d\u0e32\u0e04\u0e32\u0e23\u0e17\u0e31\u0e48\u0e27\u0e44\u0e1b \u0e42\u0e14\u0e22\u0e2b\u0e25\u0e31\u0e01\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e2d\u0e2d\u0e14\u0e44\u0e1f\u0e1f\u0e49\u0e32<strong>\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e01\u0e14\u0e2a\u0e31\u0e48\u0e07\u0e17\u0e33\u0e07\u0e32\u0e19\u0e01\u0e47\u0e08\u0e30\u0e21\u0e35\u0e40\u0e2a\u0e35\u0e22\u0e07\u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e44\u0e14\u0e49 \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e2b\u0e22\u0e38\u0e14\u0e08\u0e48\u0e32\u0e22\u0e44\u0e1f\u0e40\u0e2a\u0e35\u0e22\u0e07\u0e01\u0e47\u0e08\u0e30\u0e2b\u0e22\u0e38\u0e14\u0e25\u0e07\u0e17\u0e31\u0e19\u0e17\u0e35<\/strong>&nbsp;\u0e2d\u0e2d\u0e14\u0e44\u0e1f\u0e1f\u0e49\u0e32\u0e08\u0e30\u0e21\u0e35\u0e43\u0e2b\u0e49\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e2b\u0e25\u0e32\u0e22\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a\u0e17\u0e31\u0e49\u0e07\u0e17\u0e23\u0e07\u0e01\u0e25\u0e21 \u0e17\u0e23\u0e07\u0e40\u0e2b\u0e25\u0e35\u0e48\u0e22\u0e21 \u0e21\u0e35\u0e25\u0e33\u0e42\u0e1e\u0e07\u0e41\u0e25\u0e30\u0e44\u0e1f LED \u0e43\u0e19\u0e15\u0e31\u0e27<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e42\u0e04\u0e4a\u0e14\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07 <\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#define BUZZER_PIN 23\npinMode(BUZZER_PIN, OUTPUT);\ndigitalWrite(BUZZER_PIN, HIGH);\n            delay(500);\n            digitalWrite(BUZZER_PIN, LOW);\n            delay(500);\n        } else {\n            \/\/ Deactivate the buzzer\n            digitalWrite(BUZZER_PIN, HIGH);\n            delay(500);\n        }\n\n        tsLastReport = millis();\n    }\n}\n\nBuzzer \u0e17\u0e35\u0e48\u0e15\u0e48\u0e2d\u0e21\u0e32\u0e22\u0e31\u0e07\u0e02\u0e32\u0e17\u0e35\u0e48\u0e23\u0e30\u0e1a\u0e38\u0e14\u0e49\u0e27\u0e22 BUZZER_PIN (\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e40\u0e1b\u0e47\u0e19 23) \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e2a\u0e35\u0e22\u0e07\u0e40\u0e2d\u0e35\u0e22\u0e07\u0e02\u0e36\u0e49\u0e19-\u0e25\u0e07 (buzz) \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13 HIGH \u0e41\u0e25\u0e30 LOW \u0e15\u0e32\u0e21\u0e25\u0e33\u0e14\u0e31\u0e1a \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19 digitalWrite() \u0e41\u0e25\u0e30 delay() \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e23\u0e30\u0e22\u0e30\u0e40\u0e27\u0e25\u0e32\u0e17\u0e35\u0e48\u0e40\u0e2a\u0e35\u0e22\u0e07 buzz \u0e21\u0e35\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07 \u0e41\u0e15\u0e48\u0e25\u0e30\u0e04\u0e23\u0e31\u0e49\u0e07.\r\n\r\n\u0e19\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e19\u0e35\u0e49, \u0e42\u0e04\u0e49\u0e14\u0e22\u0e31\u0e07\u0e21\u0e35\u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e14\u0e49\u0e27\u0e22 if \u0e42\u0e14\u0e22\u0e14\u0e39\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e2d\u0e48\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e42\u0e04\u0e23\u0e04\u0e2d\u0e19\u0e42\u0e17\u0e23\u0e25\u0e40\u0e25\u0e2d\u0e23\u0e4c\u0e2d\u0e37\u0e48\u0e19\u0e46. \u0e16\u0e49\u0e32\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e19\u0e31\u0e49\u0e19\u0e40\u0e1b\u0e47\u0e19\u0e08\u0e23\u0e34\u0e07 (true), \u0e01\u0e47\u0e08\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e34\u0e14 Buzzer \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 digitalWrite(BUZZER_PIN, LOW) \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13 LOW \u0e44\u0e1b\u0e17\u0e35\u0e48\u0e02\u0e32\u0e17\u0e35\u0e48\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a Buzzer \u0e19\u0e31\u0e49\u0e19. \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19, \u0e21\u0e35\u0e01\u0e32\u0e23\u0e23\u0e2d\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 delay(500) \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49 Buzzer \u0e17\u0e33\u0e07\u0e32\u0e19 (buzz) \u0e43\u0e19\u0e23\u0e30\u0e22\u0e30\u0e40\u0e27\u0e25\u0e32 500 \u0e21\u0e34\u0e25\u0e25\u0e34\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35 (\u0e04\u0e23\u0e36\u0e48\u0e07\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35). \u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19, \u0e42\u0e04\u0e49\u0e14\u0e17\u0e33\u0e01\u0e32\u0e23\u0e1b\u0e34\u0e14 Buzzer \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 digitalWrite(BUZZER_PIN, HIGH) \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13 HIGH \u0e44\u0e1b\u0e17\u0e35\u0e48\u0e02\u0e32\u0e17\u0e35\u0e48\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a Buzzer. \u0e15\u0e48\u0e2d\u0e21\u0e32, \u0e21\u0e35\u0e01\u0e32\u0e23\u0e23\u0e2d\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 delay(500) \u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e23\u0e2d\u0e23\u0e30\u0e22\u0e30\u0e40\u0e27\u0e25\u0e32 500 \u0e21\u0e34\u0e25\u0e25\u0e34\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35 (\u0e04\u0e23\u0e36\u0e48\u0e07\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35).\r\n\r\n\u0e16\u0e49\u0e32\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e43\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 if \u0e40\u0e1b\u0e47\u0e19\u0e40\u0e17\u0e47\u0e08 (false), \u0e42\u0e04\u0e49\u0e14\u0e08\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23\u0e1b\u0e34\u0e14 Buzzer \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 digitalWrite(BUZZER_PIN, HIGH) \u0e41\u0e25\u0e30\u0e23\u0e2d\u0e23\u0e30\u0e22\u0e30\u0e40\u0e27\u0e25\u0e32 500 \u0e21\u0e34\u0e25\u0e25\u0e34\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35 (\u0e04\u0e23\u0e36\u0e48\u0e07\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35). \u0e2a\u0e38\u0e14\u0e17\u0e49\u0e32\u0e22, tsLastReport \u0e16\u0e39\u0e01\u0e2d\u0e31\u0e1b\u0e40\u0e14\u0e15\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e27\u0e25\u0e32\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 millis() \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e15\u0e23\u0e35\u0e22\u0e21\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e22\u0e30\u0e40\u0e27\u0e25\u0e32\u0e43\u0e19\u0e01\u0e32\u0e23\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e04\u0e48\u0e32\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07\u0e43\u0e19\u0e25\u0e39\u0e1b\u0e16\u0e31\u0e14\u0e44\u0e1b.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e42\u0e04\u0e4a\u0e14\u0e42\u0e14\u0e22\u0e20\u0e32\u0e1e\u0e23\u0e27\u0e21\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"771\" height=\"438\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-484.png\" alt=\"\" class=\"wp-image-13102\" style=\"width:583px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-484.png 771w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-484-300x170.png 300w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-484-768x436.png 768w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/figure>\n<\/div>\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;WiFi.h&gt;\n#include &lt;TridentTD_LineNotify.h&gt;\n#include &lt;Wire.h&gt;\n#include \"MAX30100_PulseOximeter.h\"\n#define BUZZER_PIN 23\n#include &lt;LiquidCrystal_I2C.h&gt;\n\nconst char* ssid = \"JJJ\";\nconst char* password = \"0948022341\";\nconst char* lineToken = \"H0jle8XrJ7HxMC3XD4MHHEt8fEMGdMjDn4w6tF0VFN6\";\n\n#define REPORTING_PERIOD_MS 1000\n\nPulseOximeter pox;\nLiquidCrystal_I2C lcd(0x27, 16, 2);  \/\/ Replace these pin numbers with your actual LCD pin connections\nuint32_t tsLastReport = 0;\n\nvoid onBeatDetected()\n{\n    Serial.println(\"Beat!\");\n    LINE.notify(\"Heartbeat detected\");\n}\n\nvoid setup()\n{\n    Serial.begin(115200);\n    pinMode(BUZZER_PIN, OUTPUT);\n    WiFi.begin(ssid, password);\n    while (WiFi.status() != WL_CONNECTED) {\n        delay(1000);\n        Serial.println(\"Connecting to WiFi...\");\n    }\n    Serial.println(\"Connected to WiFi\");\n\n    LINE.setToken(lineToken);\n\n    lcd.begin(16, 2);  \/\/ Initialize the LCD with 16 columns and 2 rows\n\n    if (!pox.begin()) {\n        Serial.println(\"FAILED\");\n        for (;;) ;\n    } else {\n        Serial.println(\"SUCCESS\");\n    }\n\n    pox.setOnBeatDetectedCallback(onBeatDetected);\n}\n\nvoid loop()\n{\n    pox.update();\n\n    if (millis() - tsLastReport &gt; REPORTING_PERIOD_MS) {\n        int heartRate = pox.getHeartRate();\n        int spO2 = pox.getSpO2();\n\n        \/\/ Create a formatted string to send to LINE\n        String lineMessage = \"Heart rate: \" + String(heartRate) + \" bpm \/ SpO2: \" + String(spO2) + \"%\";\n\n        \/\/ Print to Serial monitor\n        Serial.println(lineMessage);\n\n        \/\/ Send the message to LINE\n        LINE.notify(lineMessage);\n\n        lcd.clear();\n        lcd.setCursor(1, 0);\n        lcd.print(\"Heart rate: \");\n        lcd.print(heartRate);\n        lcd.print(\" bpm\");\n        lcd.setCursor(2, 1);\n        lcd.print(\"SpO2: \");\n        lcd.print(spO2);\n        lcd.print(\"%\");\n\/\/ Check if Heart rate is 10 and SpO2 is 0%\n        if (heartRate &gt;= 10 &amp;&amp; spO2 &gt;= 0) {\n            \/\/ Activate the buzzer (Assuming you have a buzzer connected to a specific pin)\n            digitalWrite(BUZZER_PIN, HIGH);\n            delay(500);\n            digitalWrite(BUZZER_PIN, LOW);\n            delay(500);\n        } else {\n            \/\/ Deactivate the buzzer\n            digitalWrite(BUZZER_PIN, HIGH);\n            delay(500);\n        }\n\n        tsLastReport = millis();\n    }\n}\n\n\u0e42\u0e04\u0e49\u0e14\u0e19\u0e35\u0e49\u0e1c\u0e2a\u0e32\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 Pulse Oximeter, Wi-Fi, LINE Notify, LCD, \u0e41\u0e25\u0e30 Buzzer \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e41\u0e25\u0e30\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e01\u0e32\u0e23\u0e27\u0e31\u0e14 heart rate \u0e41\u0e25\u0e30 SpO2 \u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 Pulse Oximeter \u0e1c\u0e48\u0e32\u0e19 LINE Notify \u0e41\u0e25\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e1a\u0e19 LCD \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e01\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e34\u0e14\/\u0e1b\u0e34\u0e14 Buzzer \u0e15\u0e32\u0e21\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14.<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">6.\u0e1c\u0e25\u0e01\u0e32\u0e23\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"759\" height=\"567\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-02-135153.png\" alt=\"\" class=\"wp-image-9661\" style=\"width:267px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-02-135153.png 759w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-02-135153-300x224.png 300w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Diagram\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a \u0e40\u0e1b\u0e47\u0e19\u0e20\u0e32\u0e1e\u0e23\u0e27\u0e21\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e40\u0e02\u0e49\u0e32\u0e43\u0e08\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a\u0e21\u0e32\u0e01\u0e02\u0e36\u0e49\u0e19<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"484\" height=\"158\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-373.png\" alt=\"\" class=\"wp-image-9664\" style=\"width:288px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-373.png 484w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-373-300x98.png 300w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e21\u0e27\u0e25\u0e04\u0e48\u0e32\u0e08\u0e32\u0e01 &nbsp;Node ESP32&nbsp; \u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e27\u0e31\u0e14\u0e44\u0e1b\u0e1b\u0e23\u0e30\u0e21\u0e27\u0e25\u0e1c\u0e25 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e17\u0e35\u0e48\u0e08\u0e30\u0e2a\u0e48\u0e07\u0e07\u0e1c\u0e48\u0e32\u0e19 Line<br><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"454\" height=\"454\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-374.png\" alt=\"\" class=\"wp-image-9667\" style=\"width:234px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-374.png 454w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-374-300x300.png 300w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-374-150x150.png 150w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-374-200x200.png 200w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-374-320x320.png 320w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e27\u0e31\u0e14\u0e44\u0e14\u0e49\u0e40\u0e01\u0e34\u0e19\u0e01\u0e27\u0e48\u0e32\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e40\u0e0b\u0e47\u0e15\u0e17\u0e31\u0e49\u0e07\u0e44\u0e27\u0e49 Node Esp32 \u0e08\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e04\u0e48\u0e32\u0e2d\u0e2d\u0e01\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e2d\u0e4a\u0e2d\u0e14 Buzzer \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e21\u0e35\u0e40\u0e2a\u0e35\u0e22\u0e07\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e01\u0e32\u0e23\u0e17\u0e14\u0e25\u0e2d\u0e07<\/h2>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"366\" height=\"206\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/399744577_667091528599646_1068582625505479200_n.jpg\" alt=\"\" class=\"wp-image-9682\" style=\"width:364px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/399744577_667091528599646_1068582625505479200_n.jpg 366w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/399744577_667091528599646_1068582625505479200_n-300x169.jpg 300w\" sizes=\"auto, (max-width: 366px) 100vw, 366px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e2a\u0e35\u0e22\u0e1a\u0e1b\u0e25\u0e31\u0e4a\u0e01\u0e41\u0e25\u0e49\u0e27 \u0e21\u0e35\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d connect wifi<\/p>\n<\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"366\" height=\"206\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/400141241_875734613761853_918165977836704477_n.jpg\" alt=\"\" class=\"wp-image-9685\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/400141241_875734613761853_918165977836704477_n.jpg 366w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/400141241_875734613761853_918165977836704477_n-300x169.jpg 300w\" sizes=\"auto, (max-width: 366px) 100vw, 366px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e17\u0e33\u0e01\u0e32\u0e23\u0e40\u0e2d\u0e32\u0e19\u0e34\u0e49\u0e27\u0e21\u0e37\u0e2d\u0e44\u0e1b\u0e17\u0e32\u0e1a\u0e25\u0e07\u0e1a\u0e19\u0e15\u0e31\u0e27\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c \u0e08\u0e30\u0e02\u0e36\u0e49\u0e19\u0e04\u0e48\u0e32\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e27\u0e31\u0e14\u0e41\u0e25\u0e30\u0e21\u0e35\u0e40\u0e2a\u0e35\u0e22\u0e07\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e02\u0e2d\u0e07 Buzzer \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e48\u0e32\u0e40\u0e01\u0e34\u0e19\u0e01\u0e27\u0e48\u0e32\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14 \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e2a\u0e2d\u0e04\u0e25\u0e49\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e01\u0e31\u0e1a\u0e42\u0e04\u0e4a\u0e14\u0e14\u0e31\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> if (heartRate &gt;= 10 &amp;&amp; spO2 &gt;= 0) {\n            \/\/ Activate the buzzer (Assuming you have a buzzer connected to a specific pin)\n            digitalWrite(BUZZER_PIN, HIGH);\n            delay(500);\n            digitalWrite(BUZZER_PIN, LOW);\n            delay(500);\n        } else {\n            \/\/ Deactivate the buzzer\n            digitalWrite(BUZZER_PIN, HIGH);\n            delay(500);\n        }\n\n        tsLastReport = millis();\n    }\n}\n\n\u0e0b\u0e36\u0e48\u0e07\u0e42\u0e04\u0e4a\u0e14\u0e43\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e19\u0e35\u0e49\u0e44\u0e14\u0e49\u0e17\u0e33\u0e01\u0e32\u0e23\u0e40\u0e0b\u0e47\u0e17\u0e04\u0e48\u0e32\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e34\u0e14\u0e1b\u0e34\u0e14\u0e02\u0e2d\u0e07 Buzzer \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 IF \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e48\u0e32\u0e02\u0e2d\u0e07 heartRate \u0e41\u0e25\u0e30 spO2 \u0e43\u0e19\u0e17\u0e35\u0e48\u0e19\u0e35\u0e49\u0e44\u0e14\u0e49\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e44\u0e27\u0e49\u0e43\u0e2b\u0e49  heartRate &gt;= 10 &amp;&amp; spO2 &gt;= 0 \u0e08\u0e30\u0e17\u0e33\u0e07\u0e32\u0e19\u0e27\u0e19\u0e0b\u0e49\u0e33\u0e44\u0e1b\u0e43\u0e19\u0e25\u0e39\u0e1b\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e44\u0e27\u0e49\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e27\u0e31\u0e14\u0e44\u0e14\u0e49\u0e15\u0e23\u0e07\u0e15\u0e32\u0e21\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e44\u0e27\u0e49 \u0e2a\u0e48\u0e27\u0e19 else \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e27\u0e31\u0e14\u0e44\u0e14\u0e49\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e15\u0e23\u0e07\u0e15\u0e32\u0e21\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e04\u0e48\u0e32\u0e44\u0e27\u0e49 \u0e01\u0e47\u0e08\u0e30\u0e2a\u0e31\u0e48\u0e07\u0e43\u0e2b\u0e49\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 Buzzer \u0e1b\u0e34\u0e14 \n \n\n\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e04\u0e48\u0e32\u0e2d\u0e2d\u0e01\u0e1c\u0e48\u0e32\u0e19\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e41\u0e2d\u0e1e\u0e25\u0e34\u0e40\u0e04\u0e0a\u0e31\u0e19\u0e44\u0e25\u0e19\u0e4c\u0e41\u0e1a\u0e1a\u0e40\u0e23\u0e35\u0e22\u0e25\u0e44\u0e17\u0e21\u0e4c<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"365\" height=\"524\" src=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-378.png\" alt=\"\" class=\"wp-image-9694\" style=\"width:194px;height:auto\" srcset=\"https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-378.png 365w, https:\/\/dp.rmutsv.ac.th\/wp-content\/uploads\/2023\/11\/image-378-209x300.png 209w\" sizes=\"auto, (max-width: 365px) 100vw, 365px\" \/><\/figure>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e04\u0e48\u0e32\u0e1c\u0e48\u0e32\u0e19\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e41\u0e2d\u0e1e\u0e25\u0e34\u0e40\u0e04\u0e0a\u0e31\u0e19\u0e44\u0e25\u0e19\u0e4c \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e21\u0e35\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a\u0e44\u0e27\u0e44\u0e1f \u0e41\u0e25\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23\u0e04\u0e2d\u0e19\u0e40\u0e19\u0e47\u0e04\u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22 \u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e27\u0e31\u0e14\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e15\u0e31\u0e27 sensor \u0e08\u0e30\u0e16\u0e39\u0e01\u0e2a\u0e48\u0e07\u0e44\u0e1b\u0e22\u0e31\u0e07 Esp32 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1b\u0e23\u0e30\u0e21\u0e27\u0e25\u0e1c\u0e25\u0e41\u0e25\u0e30\u0e2a\u0e48\u0e07\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e27\u0e31\u0e14\u0e44\u0e14\u0e49\u0e44\u0e1b\u0e22\u0e31\u0e07 Line notifly<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">7.\u0e2a\u0e23\u0e38\u0e1b\u0e1c\u0e25\u0e41\u0e25\u0e30\u0e02\u0e49\u0e2d\u0e40\u0e2a\u0e19\u0e2d\u0e41\u0e19\u0e30<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e2a\u0e23\u0e38\u0e1b\u0e1c\u0e25<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e15\u0e31\u0e27\u0e40\u0e0b\u0e47\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e02\u0e31\u0e14\u0e02\u0e49\u0e2d\u0e07\u0e40\u0e25\u0e47\u0e01\u0e19\u0e49\u0e2d\u0e22 \u0e41\u0e15\u0e48\u0e22\u0e31\u0e07\u0e2a\u0e32\u0e21\u0e23\u0e16\u0e27\u0e31\u0e14\u0e04\u0e48\u0e32\u0e44\u0e14\u0e49\u0e1b\u0e01\u0e15\u0e34 \u0e41\u0e25\u0e30\u0e2a\u0e48\u0e07\u0e04\u0e48\u0e32\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e41\u0e2d\u0e1e\u0e25\u0e34\u0e40\u0e04\u0e0a\u0e31\u0e19 Line \u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e23\u0e27\u0e14\u0e40\u0e23\u0e47\u0e27 \u0e15\u0e32\u0e21\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e17\u0e14\u0e25\u0e2d\u0e07\u0e44\u0e27\u0e49<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e44\u0e14\u0e49\u0e41\u0e01\u0e48<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1)\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e17\u0e32\u0e1a\u0e19\u0e34\u0e49\u0e27\u0e25\u0e07\u0e1a\u0e19\u0e40\u0e0b\u0e19\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e04\u0e48\u0e32\u0e41\u0e2a\u0e14\u0e07\u0e44\u0e14\u0e49\u0e15\u0e32\u0e21\u0e1b\u0e01\u0e15\u0e34<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2)\u0e40\u0e2a\u0e35\u0e22\u0e07Buzzer \u0e14\u0e31\u0e07\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e1b\u0e01\u0e15\u0e34\u0e14\u0e31\u0e07\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e44\u0e27\u0e49<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3)\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e14\u0e49\u0e15\u0e32\u0e21\u0e1b\u0e01\u0e15\u0e34\u0e41\u0e1a\u0e1a\u0e40\u0e23\u0e35\u0e22\u0e25\u0e44\u0e17\u0e21\u0e4c\u0e1c\u0e48\u0e32\u0e19 Line<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e02\u0e49\u0e2d\u0e40\u0e2a\u0e19\u0e2d\u0e41\u0e19\u0e30<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e19\u0e33\u0e15\u0e31\u0e27\u0e42\u0e1b\u0e23\u0e40\u0e08\u0e04\u0e15\u0e31\u0e27\u0e19\u0e35\u0e49\u0e44\u0e1b\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e15\u0e48\u0e2d\u0e22\u0e2d\u0e14 \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1f\u0e31\u0e07\u0e0a\u0e31\u0e19\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\u0e43\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e1b\u0e48\u0e27\u0e22<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e17\u0e33\u0e43\u0e2b\u0e49 \u0e21\u0e35\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e2a\u0e32\u0e19\u0e01\u0e31\u0e1a\u0e2b\u0e19\u0e48\u0e27\u0e22\u0e01\u0e32\u0e23\u0e41\u0e1e\u0e17\u0e22\u0e4c\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e21\u0e35\u0e1b\u0e30\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e20\u0e32\u0e1e \u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e1e\u0e34\u0e48\u0e21 GPs \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e1b\u0e48\u0e27\u0e22 \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e21\u0e35\u0e2d\u0e32\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e16\u0e36\u0e07\u0e02\u0e35\u0e14\u0e2d\u0e31\u0e19\u0e15\u0e23\u0e32\u0e22<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">8.\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2d\u0e49\u0e32\u0e07\u0e2d\u0e34\u0e07<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1.<a href=\"https:\/\/ieeexplore.ieee.org\/author\/37089812666\">\u0e04\u0e32\u0e0b\u0e35 \u0e2d\u0e32\u0e15\u0e34\u0e40\u0e01\u0e49 \u0e21\u0e39\u0e25\u0e32 \u0e19\u0e32\u0e1a\u0e34\u0e25<\/a>&nbsp;;&nbsp;<a href=\"https:\/\/ieeexplore.ieee.org\/author\/37089811914\">\u0e19\u0e1e.&nbsp;\u0e2d\u0e32\u0e23\u0e34\u0e1f\u0e39\u0e25 \u0e2d\u0e34\u0e2a\u0e25\u0e32\u0e21<\/a>&nbsp;;&nbsp;<a href=\"https:\/\/ieeexplore.ieee.org\/author\/37089811843\">\u0e2d\u0e31\u0e1a\u0e14\u0e38\u0e25\u0e25\u0e32\u0e2b\u0e4c \u0e2d\u0e31\u0e25 \u0e42\u0e19\u0e21\u0e32\u0e19<\/a>&nbsp;;&nbsp;<a href=\"https:\/\/ieeexplore.ieee.org\/author\/37086229128\">\u0e42\u0e21\u0e2e\u0e31\u0e21\u0e2b\u0e21\u0e31\u0e14 \u0e42\u0e21\u0e19\u0e34\u0e23\u0e38\u0e08\u0e08\u0e32\u0e21\u0e32\u0e19 \u0e02\u0e48\u0e32\u0e19<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e43\u0e19 <\/strong><strong>IEEE&nbsp;<em>Xplore<\/em>&nbsp;:<\/strong>&nbsp;18 \u0e40\u0e21\u0e29\u0e32\u0e22\u0e19 2023<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. gravitech https:\/\/www.gravitechthai.com\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. CyberTice, 25 \u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21 2565, \u0e2a\u0e2d\u0e19\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 ESP32 \u0e42\u0e21\u0e14\u0e39\u0e25<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13\u0e40\u0e2a\u0e35\u0e22\u0e07 Active Buzzer Module 3.3 &#8211; 5V -\u0e02\u0e32\u0e22 Arduino<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c Arduino \u0e04\u0e38\u0e13\u0e20\u0e32\u0e1e\u0e14\u0e35 \u0e23\u0e32\u0e04\u0e32\u0e16\u0e39\u0e01 \u0e2a\u0e48\u0e07\u0e44\u0e27 \u0e2a\u0e48\u0e07\u0e1f\u0e23\u0e35 (cybertice.com)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e27\u0e34\u0e14\u0e34\u0e42\u0e2d\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e27\u0e31\u0e14\u0e04\u0e48\u0e32\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e01\u0e32\u0e23\u0e40\u0e15\u0e49\u0e19\u0e02\u0e2d\u0e07\u0e2b\u0e31\u0e27\u0e43\u0e08\u0e41\u0e25\u0e30\u0e04\u0e48\u0e32\u0e2d\u0e2d\u0e01\u0e0b\u0e34\u0e40\u0e08\u0e19\u0e43\u0e19\u0e40\u0e25\u0e37\u0e2d\u0e14\u0e42\u0e14\u0e22\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1c\u0e48\u0e32\u0e19\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e41\u0e2d\u0e1e Line<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"video-container\"><iframe loading=\"lazy\" title=\"heart rate and oxygen in the blood\" width=\"620\" height=\"465\" src=\"https:\/\/www.youtube.com\/embed\/Mu4CUmMih8I?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<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-comments\">\t<div id=\"respond\" class=\"comment-respond wp-block-post-comments-form\">\n\t\t<h3 id=\"reply-title\" class=\"comment-reply-title\">\u0e43\u0e2a\u0e48\u0e04\u0e27\u0e32\u0e21\u0e40\u0e2b\u0e47\u0e19 <small><a rel=\"nofollow\" id=\"cancel-comment-reply-link\" href=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fposts%2F238#respond\" style=\"display:none;\">\u0e22\u0e01\u0e40\u0e25\u0e34\u0e01\u0e01\u0e32\u0e23\u0e15\u0e2d\u0e1a<\/a><\/small><\/h3><p class=\"must-log-in\">\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07<a href=\"https:\/\/dp.rmutsv.ac.th\/wp-login.php?redirect_to=https%3A%2F%2Fdp.rmutsv.ac.th%2F%3Fp%3D238\">\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e23\u0e30\u0e1a\u0e1a<\/a> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e08\u0e30\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e27\u0e32\u0e21\u0e40\u0e2b\u0e47\u0e19<\/p>\t<\/div><!-- #respond -->\n\t<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e42\u0e14\u0e22 \u0e08\u0e34\u0e23\u0e2a\u0e34\u0e19 \u0e08\u0e38\u0e49\u0e22\u0e40\u0e2d\u0e35\u0e48\u0e22&#46;&#46;&#46;<\/p>\n","protected":false},"author":100,"featured_media":10984,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,10,1],"tags":[],"class_list":["post-238","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\/238","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\/100"}],"replies":[{"embeddable":true,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=238"}],"version-history":[{"count":8,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/238\/revisions"}],"predecessor-version":[{"id":13132,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/posts\/238\/revisions\/13132"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=\/wp\/v2\/media\/10984"}],"wp:attachment":[{"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dp.rmutsv.ac.th\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}