<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>ส่งโปรแกรม Arduino by วิญารัตน์ คงจันทร์</title>
      <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2023-02-23 07:44:03 UTC</pubDate>
      <lastBuildDate>2024-02-16 02:16:24 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>เปิดปิดประตู</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492208070</link>
         <description><![CDATA[<div>#include &lt;Servo.h&gt;<br>Servo myservo;<br>const int pingPin = D5;&nbsp; //trig<br>int inPin = D6; //echo<br>//Vcc-Vin<br>//Gnd-Gnd<br><br>void setup() {<br>&nbsp;&nbsp;<br>&nbsp; &nbsp;myservo.attach(D4);<br>Serial.begin(9600);<br>pinMode(D2,OUTPUT);<br>//brown-Gnd<br>//red-3V3<br>//orange-D0-8<br>}<br><br>void loop()<br>{<br>long duration, cm;<br><br>pinMode(pingPin, OUTPUT);<br><br><br>digitalWrite(pingPin, LOW);<br>delayMicroseconds(2);<br>digitalWrite(pingPin, HIGH);<br>delayMicroseconds(10);<br>digitalWrite(pingPin, LOW);<br>pinMode(inPin, INPUT);<br>duration = pulseIn(inPin, HIGH);<br><br>cm = microsecondsToCentimeters(duration);<br><br>Serial.print(cm);<br>Serial.print("cm");<br>Serial.println();<br>delay(100);<br><br>if(cm&lt;20)<br>&nbsp;{<br>&nbsp; digitalWrite(D2,1);<br>&nbsp; &nbsp;myservo.write(180);<br>&nbsp; }<br>&nbsp; else<br>&nbsp; {<br>&nbsp; &nbsp; digitalWrite(D2,0);<br>&nbsp; &nbsp; &nbsp;myservo.write(1);<br>&nbsp; }<br>}<br><br>long microsecondsToCentimeters(long microseconds)<br>{<br>// The speed of sound is 340 m/s or 29 microseconds per centimeter.<br>// The ping travels out and back, so to find the distance of the<br>// object we take half of the distance travelled.<br>return microseconds / 29 / 2;<br>}</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1965731856/c11af5fe1278e2ee29bf144460c9cc8e/servo_03.ino" />
         <pubDate>2023-02-23 07:51:50 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492208070</guid>
      </item>
      <item>
         <title>สมาชิก</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492208475</link>
         <description><![CDATA[<div>1.นายจิรภัทร&nbsp; กิจชล&nbsp; เลขที่ 7<br>2.นางสาวเสาวนีย์&nbsp; บัวคง&nbsp; เลขที่ 24<br>3.นางสาวกัลยรัตน์&nbsp; ทองขำดี&nbsp; เลขที่ 25<br>4.นางสาวศิริรัตน์  ย้อยดำ เลขที่ 30</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-23 07:52:18 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492208475</guid>
      </item>
      <item>
         <title>ระบบแจ้งเตือนเมื่อมีผู้มาเยือน</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492208905</link>
         <description><![CDATA[<div><br><br></div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1966901622/492a4be33a35a44231aa401d7f461822/Ultrasonic_LED1.ino" />
         <pubDate>2023-02-23 07:52:45 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492208905</guid>
      </item>
      <item>
         <title>ระบบการเปิด-ปิดไฟจราจรอัตโนมัติ</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492209167</link>
         <description><![CDATA[<div>/*************************************************************<br><br>&nbsp; This is a simple demo of sending and receiving some data.<br>&nbsp; Be sure to check out other examples!<br>&nbsp;*************************************************************/<br><br>/* Fill-in information from Blynk Device Info here */<br>#define BLYNK_TEMPLATE_ID "TMPLXmupETjF"<br>#define BLYNK_TEMPLATE_NAME "Quickstart Template"<br>#define BLYNK_AUTH_TOKEN "Tq6DwifRy6299T6L8Hwcfi5gOpM3ec7X"<br><br>/* Comment this out to disable prints and save space */<br>#define BLYNK_PRINT Serial<br><br><br>#include &lt;ESP8266WiFi.h&gt;<br>#include &lt;BlynkSimpleEsp8266.h&gt;<br><br>// Your WiFi credentials.<br>// Set password to "" for open networks.<br>char ssid[] = "babyhoney";<br>char pass[] = "07985511";<br><br>BlynkTimer timer;<br><br>// This function is called every time the Virtual Pin 0 state changes<br>BLYNK_WRITE(V1)<br>{<br>&nbsp; // Set incoming value from pin V0 to a variable<br>&nbsp; int value1 = param.asInt();<br>&nbsp; digitalWrite(D1,value1);<br>&nbsp; // Update state<br>&nbsp;&nbsp;<br>}<br>BLYNK_WRITE(V2)<br>{<br>&nbsp; // Set incoming value from pin V0 to a variable<br>&nbsp; int value2 = param.asInt();<br>&nbsp; digitalWrite(D2,value2);<br>&nbsp; // Update state<br>&nbsp;&nbsp;<br>}<br>BLYNK_WRITE(V3)<br>{<br>&nbsp; // Set incoming value from pin V0 to a variable<br>&nbsp; int value3 = param.asInt();<br>&nbsp; digitalWrite(D3,value3);<br>&nbsp; // Update state<br>&nbsp;&nbsp;<br>}<br>// This function is called every time the device is connected to the Blynk.Cloud<br><br><br>void setup()<br>{<br>&nbsp; // Debug console<br>&nbsp; Serial.begin(115200);<br><br>&nbsp; Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);<br>&nbsp; pinMode(D1,OUTPUT);<br>&nbsp; pinMode(D2,OUTPUT);<br>&nbsp; pinMode(D3,OUTPUT);<br>}<br><br>void loop()<br>{<br>&nbsp; Blynk.run();<br>&nbsp; timer.run();<br>&nbsp; // You can inject your own code or combine it with other sketches.<br>&nbsp; // Check other examples on how to communicate with Blynk. Remember<br>&nbsp; // to avoid delay() function!<br>}</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1960003400/e0e925ac1dc0a7112f97f77e67c3a268/________________________________Biynk_docx.ino" />
         <pubDate>2023-02-23 07:53:02 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492209167</guid>
      </item>
      <item>
         <title>สมาชิก</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492209758</link>
         <description><![CDATA[<div> 1.นางสาวนันทิชา บุญสมาน เลขที่15<br>&nbsp;2.นางสาวพัชรี รอดรัก เลขที่17<br>&nbsp;3.นางสาวนิชาภัทร กิ่งเกาะยาว เลขที่26<br>&nbsp;4.นางสาวเกวลิน ไขแสง เลขที่28<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-23 07:53:37 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492209758</guid>
      </item>
      <item>
         <title>ตรวจจับระยะเพื่อเปิดไฟในบ้าน</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492209981</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1961882437/afbce33f63983c544658b13482faece0/sonar.ino" />
         <pubDate>2023-02-23 07:53:51 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492209981</guid>
      </item>
      <item>
         <title>สมาชิก</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492210449</link>
         <description><![CDATA[<div>1.นายชุติพนธ์ เมืองเเก้ว เลขที่1<br>2.นายทินภัทร โพธิ์นาค เลขที่2<br>3.นายธนาวุฒิ จงไกรจักร เลขที่3<br>4.นายพัชรพล รอดดี เลขที่6</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-23 07:54:16 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492210449</guid>
      </item>
      <item>
         <title>สมาชิก</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492210760</link>
         <description><![CDATA[<div>1.นายกิตติศักดิ์ เกตุแก้ว เลขที่ 8<br>2.นางสาวกัญญาพัชร ปรางหมู่ เลขที่ 14<br>3.นางสาวพรทิพย์ ทองแย้ม เลขที่ 16<br>4.นางสาวสุตาภัทร อภัยพงค์ เลขที่ 27</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-23 07:54:38 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492210760</guid>
      </item>
      <item>
         <title>ระบบเปิด-ปิดไฟอัตโนมัติด้วยมือถือ</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492210926</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1972427697/eded88141799c7a013579d0f189ab229/blynk.ino" />
         <pubDate>2023-02-23 07:54:49 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492210926</guid>
      </item>
      <item>
         <title>สมาชิก</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492211596</link>
         <description><![CDATA[<div>1.นายวีรภาพ อำหมัด เลขที่9</div><div>2.นางสาวกรศศิรินทร์ อนันตทวีกุล เลขที่12</div><div>3.นางสาวอรวีร์ ผาณิตพรหม เลขที่23</div><div>4.นางสาวอนัญญา นาคช่วย เลขที่32</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-23 07:55:32 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492211596</guid>
      </item>
      <item>
         <title>สมาชิก</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492212038</link>
         <description><![CDATA[<div>1.นายยศกร เผือกโสภา เลขที่4<br>2.นายอดิศักดิ์ คำปล้อง เลขที่5<br>3.นายวรวุฒิ อัตกลับ เลขที่10<br>4.นางสาวรุ่งไพริน พิทักษ์ เลขที่ 19</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-23 07:56:00 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492212038</guid>
      </item>
      <item>
         <title>ถังขยะเปิด-ปิด อัตโนมัติ</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492215025</link>
         <description><![CDATA[<div>&nbsp; #include &lt;Servo.h&gt;<br>Servo myservo;<br>const int pingPin = D5;&nbsp; //trig<br>int inPin = D6; //echo<br>//Vcc-Vin<br>//Gnd-Gnd<br><br>void setup() {<br>&nbsp;&nbsp;<br>&nbsp; &nbsp;myservo.attach(D4);<br>Serial.begin(9600);<br>pinMode(D2,OUTPUT);<br>//brown-Gnd<br>//red-3V3<br>//orange-D0-8<br>}<br><br>void loop()<br>{<br>long duration, cm;<br><br>pinMode(pingPin, OUTPUT);<br><br><br>digitalWrite(pingPin, LOW);<br>delayMicroseconds(2);<br>digitalWrite(pingPin, HIGH);<br>delayMicroseconds(10);<br>digitalWrite(pingPin, LOW);<br>pinMode(inPin, INPUT);<br>duration = pulseIn(inPin, HIGH);<br><br>cm = microsecondsToCentimeters(duration);<br><br>Serial.print(cm);<br>Serial.print("cm");<br>Serial.println();<br>delay(100);<br><br>if(cm&lt;20)<br>&nbsp;{<br>&nbsp; digitalWrite(D2,1);<br>&nbsp; &nbsp;myservo.write(180);<br>&nbsp; }<br>&nbsp; else<br>&nbsp; {<br>&nbsp; &nbsp; digitalWrite(D2,0);<br>&nbsp; &nbsp; &nbsp;myservo.write(1);<br>&nbsp; }<br>}<br><br>long microsecondsToCentimeters(long microseconds)<br>{<br>// The speed of sound is 340 m/s or 29 microseconds per centimeter.<br>// The ping travels out and back, so to find the distance of the<br>// object we take half of the distance travelled.<br>return microseconds / 29 / 2;<br>}</div>]]></description>
         <enclosure url="https://cdn.fbsbx.com/v/t59.2708-21/330253839_2408492789312647_3456857017773512537_n.ino/servo_03.ino?_nc_cat=107&amp;ccb=1-7&amp;_nc_sid=0cab14&amp;_nc_eui2=AeEp2yRw1r64SfoMb6FHK1LZj2tixll2Nv2Pa2LGWXY2_Z1HrIHrVq7Ez4b173mUwRhJf45oDkBW6IyK-BHwjTP5&amp;_nc_ohc=BwYU5pY2BgkAX92XEed&amp;_nc_oc=AQlpf2gUFNRHfvEnPZhQLAvliuCOd7p8C1x3ic_w_mH9Ygd468Lp7NrGZcXzZT5a7ubgmNTi-PCqjYJNAHqMaeda&amp;_nc_ht=cdn.fbsbx.com&amp;oh=03_AdQVTd50OUppW6IqnVOtO1gqsIP0lc2VG0NNsEucW4jYLg&amp;oe=63F8CB55&amp;dl=1" />
         <pubDate>2023-02-23 07:59:06 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492215025</guid>
      </item>
      <item>
         <title>สมาชิกในกลุ่ม</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492224116</link>
         <description><![CDATA[<div>1.นางสาวกฤติพร ช่วยเมือง เลขที่13 2.นางสาววรรณภา ปูเงิน เลขที่20 3.นางสาวหทัยรัตน์ นวลศรี เลขที่21 4.นางสาวบัณฑิตา อินทรพรหม เลขที่29</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-02-23 08:05:53 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2492224116</guid>
      </item>
      <item>
         <title>เครื่องวัดความชื้นในดิน</title>
         <author></author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2493532267</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1968997541/d6f96b107cdf68d783085c7d348b2ef3/tree2.ino" />
         <pubDate>2023-02-24 06:48:33 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2493532267</guid>
      </item>
      <item>
         <title>ระบบทดสอบสายตาไฟจราจรผ่านสมาร์ทโฟน</title>
         <author>wiyarat</author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2542050180</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1736271613/30f2cb2b161a271deaf47ab9847c6b3e/________________________________Biynk_docx.ino" />
         <pubDate>2023-04-03 10:27:50 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2542050180</guid>
      </item>
      <item>
         <title>สมาชิก</title>
         <author>wiyarat</author>
         <link>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2544858139</link>
         <description><![CDATA[<div><br>1.นางสาวโชติรส แก้วลาย เลขที่ 11<br>2.นางสาวพาขวัญ เอียดแก้ว เลขที่ 18<br>3.นางสาวปาริญา หัสสาคร เลขที่ 22<br>4.นางสาวเสาวลักษณ์ หัสสาคร เลขที่ 31</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-04-05 10:37:49 UTC</pubDate>
         <guid>https://padlet.com/wiyarat/a1ortlux5ps1vyni/wish/2544858139</guid>
      </item>
   </channel>
</rss>
