{"id":22161,"date":"2018-02-18T18:48:03","date_gmt":"2018-02-18T11:48:03","guid":{"rendered":"http:\/\/tom.ji42.com\/?p=22161"},"modified":"2018-02-18T18:48:03","modified_gmt":"2018-02-18T11:48:03","slug":"%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b8%97%e0%b8%b3-arduino-standalone-%e0%b9%82%e0%b8%94%e0%b8%a2%e0%b9%83%e0%b8%8a%e0%b9%89-ic-atmega328","status":"publish","type":"post","link":"https:\/\/tom.tomwork.net\/?p=22161","title":{"rendered":"\u0e27\u0e34\u0e18\u0e35\u0e17\u0e33 Arduino StandAlone \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 IC Atmega328"},"content":{"rendered":"<p><strong><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cq.lnwfile.com\/_\/cq\/_raw\/40\/sg\/lf.jpg\" alt=\"\" width=\"553\" height=\"276\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u0e41\u0e19\u0e30\u0e19\u0e33 \u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Atmega328 \u0e41\u0e1a\u0e1a\u0e15\u0e48\u0e2d\u0e40\u0e2d\u0e07 Arduino StandAlone \u0e02\u0e49\u0e2d\u0e14\u0e35\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e41\u0e1a\u0e1a StandAlone \u0e04\u0e37\u0e2d \u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e40\u0e2d\u0e07\u0e41\u0e25\u0e49\u0e27\u0e15\u0e31\u0e27\u0e1a\u0e2d\u0e23\u0e4c\u0e14\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e08\u0e30\u0e21\u0e35\u0e02\u0e19\u0e32\u0e14\u0e40\u0e25\u0e47\u0e01\u0e25\u0e07 \u0e41\u0e25\u0e30\u0e23\u0e32\u0e04\u0e32\u0e1b\u0e23\u0e30\u0e2b\u0e22\u0e31\u0e14\u0e01\u0e27\u0e48\u0e32<\/p>\n<p><!--more--><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/OEuoG6gIyd8\" width=\"425\" height=\"350\" frameborder=\"0\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c<\/strong><\/p>\n<p><strong>1.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/product\/462\/ic-atmega328p-pu-bootloader-%E0%B9%81%E0%B8%A5%E0%B9%89%E0%B8%A7\">IC ATMEGA328P-PU<\/a><\/p>\n<p><strong>2.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/category\/33\/electronic-component\/breadboard-pcb-universal\">Breadboard<\/a><\/p>\n<p><strong>3.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/product\/699\/usb-downloader-module-chip-ch340\">USB Downloader Module (chip CH340)<\/a><\/p>\n<p><strong>4.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/product\/468\/crystal\">Crystal ( 16 MHz Crystal Oscillator )<\/a><\/p>\n<p><strong>5.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/product\/368\/6-x-6-x-5mm-micro-switch-%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%82%E0%B8%B2%E0%B8%A2%E0%B8%B2%E0%B8%A7-2-%E0%B8%82%E0%B8%B2-2\">6 x 6 x 5mm Micro switch \u0e41\u0e1a\u0e1a\u0e02\u0e32\u0e22\u0e32\u0e27 2 \u0e02\u0e32<\/a><\/p>\n<p><strong>6.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/product\/328\/resistor-pack\">Resistor Pack<\/a><\/p>\n<p><strong>7.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/product\/336\/ceramic-capacitor-pack\">Ceramic Capacitor Pack<\/a><\/p>\n<p><strong>8.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/category\/41\/electronic-component\/led\">LED<\/a><\/p>\n<p><strong>9.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/category\/31\/miscellaneous\/%E0%B8%AA%E0%B8%B2%E0%B8%A2%E0%B9%84%E0%B8%9F-jump-wire\">\u0e2a\u0e32\u0e22\u0e44\u0e1f (jump wire)<\/a><\/p>\n<p><strong>10.\u00a0<\/strong><a href=\"https:\/\/www.arduinothai.com\/product\/650\/usb-extension-cable-1-5-m\">USB extension cable 1.5 m<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u0e02\u0e32\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 IC Atmega328<\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cq.lnwfile.com\/_\/cq\/_raw\/z2\/py\/l9.jpg\" alt=\"\" width=\"588\" height=\"343\" \/><\/strong><\/p>\n<p><strong>\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e27\u0e07\u0e08\u0e23<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cq.lnwfile.com\/_\/cq\/_raw\/i2\/16\/6n.jpg\" alt=\"\" width=\"554\" height=\"368\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Arduino StandAlone<\/strong><\/p>\n<p>1. \u0e19\u0e33\u0e44\u0e2d\u0e0b\u0e35 Arduino Atmega328 \u0e21\u0e32\u0e27\u0e32\u0e07\u0e25\u0e07\u0e1a\u0e19 Breadboard<\/p>\n<p>2. \u0e15\u0e48\u0e2d\u0e2a\u0e32\u0e22\u0e44\u0e1f\u0e15\u0e48\u0e32\u0e07\u0e46\u0e15\u0e32\u0e21\u0e27\u0e07\u0e08\u0e23 \u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e14\u0e49\u0e32\u0e19\u0e1a\u0e19<\/p>\n<p>3. \u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21<\/strong>\u00a0(\u0e19\u0e33\u0e21\u0e32\u0e08\u0e32\u0e01\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Blink \u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e02\u0e2d\u0e07\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Arduino)<\/p>\n<p>&nbsp;<\/p>\n<p>\/\/ the setup function runs once when you press reset or power the board<\/p>\n<p>void setup()\u00a0{<\/p>\n<p>\/\/ initialize digital pin 13 as an output.<\/p>\n<p>pinMode(13, OUTPUT);<\/p>\n<p>}<\/p>\n<p>&nbsp;<\/p>\n<p>\/\/ the loop function runs over and over again forever<\/p>\n<p>void loop()\u00a0{<\/p>\n<p>digitalWrite(13, HIGH); \u00a0 \/\/ turn the LED on (HIGH is the voltage level)<\/p>\n<p>delay(1000); \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\/\/ wait for a second<\/p>\n<p>digitalWrite(13, LOW); \u00a0 \u00a0\/\/ turn the LED off by making the voltage LOW<\/p>\n<p>delay(1000); \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\/\/ wait for a second<\/p>\n<p>}<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u0e41\u0e19\u0e30\u0e19\u0e33 \u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Atmega328 \u0e41\u0e1a\u0e1a\u0e15\u0e48\u0e2d\u0e40\u0e2d\u0e07 Arduino StandAlone \u0e02\u0e49\u0e2d\u0e14\u0e35\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e41\u0e1a\u0e1a StandAlone \u0e04\u0e37\u0e2d \u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e40\u0e2d\u0e07\u0e41\u0e25\u0e49\u0e27\u0e15\u0e31\u0e27\u0e1a\u0e2d\u0e23\u0e4c\u0e14\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e15\u0e48\u0e2d\u0e08\u0e30\u0e21\u0e35\u0e02\u0e19\u0e32\u0e14\u0e40\u0e25\u0e47\u0e01\u0e25\u0e07 \u0e41\u0e25\u0e30\u0e23\u0e32\u0e04\u0e32\u0e1b\u0e23\u0e30\u0e2b\u0e22\u0e31\u0e14\u0e01\u0e27\u0e48\u0e32<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-22161","post","type-post","status-publish","format-standard","hentry","category-13"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6cOVM-5Lr","_links":{"self":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/22161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22161"}],"version-history":[{"count":1,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/22161\/revisions"}],"predecessor-version":[{"id":22162,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/22161\/revisions\/22162"}],"wp:attachment":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}