
{"id":6777,"date":"2017-12-22T19:21:49","date_gmt":"2017-12-22T10:21:49","guid":{"rendered":"https:\/\/okiraku-camera.tokyo\/blog\/?p=6777"},"modified":"2018-09-11T11:42:06","modified_gmt":"2018-09-11T02:42:06","slug":"%e3%82%a8%e3%82%a2%e3%82%b3%e3%83%b3%e7%94%a8%e3%81%ae%e8%b5%a4%e5%a4%96%e7%b7%9a%e3%83%aa%e3%83%a2%e3%82%b3%e3%83%b3%e3%82%92%e4%bd%9c%e6%88%90","status":"publish","type":"post","link":"https:\/\/okiraku-camera.tokyo\/blog\/?p=6777","title":{"rendered":"\u30a8\u30a2\u30b3\u30f3\u7528\u306e\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u3063\u305f\u8a71"},"content":{"rendered":"<h1>\u6982\u8981<\/h1>\n<p>\u5c45\u9593\u3067\u4f7f\u3063\u3066\u3044\u308b\u30a8\u30a2\u30b3\u30f3\u7528\u306e\u30ea\u30e2\u30b3\u30f3\u306e\u3001\u4e00\u756a\u809d\u5fc3\u306a\u300c\u958b\u59cb\u300d\u30dc\u30bf\u30f3\u306e\u53cd\u5fdc\u304c\u60aa\u304f\u306a\u3063\u305f\u3002\u30dc\u30bf\u30f3\u304c\u52a3\u5316\u3057\u305f\u304b\u30b4\u30df\u304c\u6e9c\u307e\u3063\u305f\u3082\u306e\u3068\u601d\u308f\u308c\u308b\u3002\u5206\u89e3\u3057\u3066\u5177\u5408\u3092\u898b\u305f\u308a\u6383\u9664\u3057\u305f\u308a\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3082\u306e\u306e\u3001\u30d3\u30b9\u304c\u898b\u5f53\u305f\u3089\u306a\u3044\u3002\u89d2\u306b\u30c4\u30e1\u3092\u7acb\u3066\u3066\u958b\u3051\u3088\u3046\u3068\u3057\u305f\u304c\u3001\u3061\u3087\u3063\u3068\u529b\u3092\u5165\u308c\u308b\u3068\u30d0\u30ad\u30c3\u3068\u58ca\u308c\u305d\u3046\u3067\u3042\u308b\u3002\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067\u53d6\u308a\u6025\u304e\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u30a8\u30a2\u30b3\u30f3\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u306f\u3061\u3087\u3063\u3068\u524d\u306b\u4f5c\u3063\u305fTFT\u6db2\u6676\u3092\u4f7f\u3063\u305f\u30ea\u30e2\u30b3\u30f3\u3067\u3082\u3084\u3063\u3066\u3044\u308b\u304b\u3089\u3001\u7279\u306b\u6280\u8853\u7684\u306a\u8ab2\u984c\u306f\u306a\u3044\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u76ee\u6a19\u8a2d\u5b9a\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u30c6\u30fc\u30d6\u30eb\u306b\u7f6e\u3044\u3066\u3082\u90aa\u9b54\u306b\u306a\u3089\u306a\u3044\u7a0b\u5ea6\u306e\u5927\u304d\u3055<\/li>\n<li>\u624b\u306e\u3072\u3089\u306b\u8f09\u305b\u305f\u308a\u63e1\u3063\u305f\u72b6\u614b\u3067\u4f7f\u3048\u308b<\/li>\n<li>\u6a5f\u80fd\u306f\u6700\u5c0f\u9650<\/li>\n<li>\u6570\u65e5\u3067\u4f5c\u308c\u308b\u3053\u3068<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u30013\u65e5\u9593\u307b\u3069\u3067\u5b8c\u6210\u3057\u305f\u306e\u304c\u3053\u3061\u3089\u3002<\/p>\n<figure id=\"attachment_6779\" aria-describedby=\"caption-attachment-6779\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/16fa3c1a38c3f53c86075bedfc4f24c4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6779\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/16fa3c1a38c3f53c86075bedfc4f24c4-552x414.jpg\" alt=\"\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6779\" class=\"wp-caption-text\">\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3<\/figcaption><\/figure>\n<p>4\u3064\u3067100\u5186\u3067\u58f2\u3063\u3066\u3044\u305f\u5c0f\u578b\u306e\u30bf\u30c3\u30d1\u30fc\u3092\u4f7f\u3063\u305f\u3002<\/p>\n<p>TFT\u6db2\u6676\u3092\u4f7f\u3063\u305f\u30ea\u30e2\u30b3\u30f3\u306b\u3064\u3044\u3066\u306f\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u306e\u8a66\u4f5c\u3067\u306f\u3046\u307e\u304f\u3044\u3063\u305f\u3082\u306e\u306e\u3001\u5c0f\u3055\u306a\u6db2\u6676\u3092\u898b\u306a\u304c\u3089\u30b9\u30bf\u30a4\u30e9\u30b9\u30da\u30f3\u3067\u64cd\u4f5c\u3059\u308b\u306e\u306f(\u306f\u3058\u3081\u304b\u3089\u5206\u304b\u3063\u3066\u306f\u3044\u305f\u3082\u306e\u306e)\u5b9f\u7528\u7684\u3067\u306f\u306a\u304b\u3063\u305f\u3002\u624b\u3067\u30ea\u30e2\u30b3\u30f3\u3092\u63e1\u3063\u305f\u72b6\u614b\u3067\u3001\u5bfe\u8c61\u7269(\u30a8\u30a2\u30b3\u30f3\u3068\u304b\u30c6\u30ec\u30d3\u3068\u304b)\u306bIrLED\u306e\u767a\u5149\u90e8\u3092\u5411\u3051\u3001\u5bfe\u8c61\u7269\u3092\u898b\u306a\u304c\u3089\u64cd\u4f5c\u3059\u308b\u306e\u304c\u81ea\u7136\u3060\u308d\u3046\u3002IrLED\u306f\u6307\u5411\u6027\u304c\u5f37\u3044\u306e\u3067\u3001\u30c6\u30fc\u30d6\u30eb\u306b\u7f6e\u3044\u305f\u72b6\u614b\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3082\u5384\u4ecb\u3060\u3063\u305f\u3002<\/p>\n<h1>\u69cb\u6210\u306e\u6982\u8981<\/h1>\n<p>\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\/\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u5171\u306b\u4ee5\u524d\u306b\u4f5c\u3063\u305f<a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6230\">\u30b7\u30e3\u30ef\u30fc\u30c8\u30a4\u30ec\u7528\u306e\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3<\/a>\u3068\u307b\u3068\u3093\u3069\u540c\u3058\u69cb\u6210\u3068\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u6db2\u6676\u306a\u3069\u306e\u8868\u793a\u88c5\u7f6e\u306f\u7121\u3057\u3002\u30ad\u30fc\u64cd\u4f5c\u3068\u30a8\u30a2\u30b3\u30f3\u306e\u53cd\u5fdc\u3060\u3051\u3067\u4f7f\u3048\u308b\u3088\u3046\u306a\u30ea\u30e2\u30b3\u30f3\u3068\u3059\u308b\u3002<\/li>\n<li>Arduino PRO MINI 3.3V\/8MHz\u52d5\u4f5c\u7248\u3092\u4f7f\u3046\u3002\u305f\u3060\u3001BODLEVEL FUSE\u306f1.8V\u306b\u5909\u66f4(FUSE\u306e\u5909\u66f4\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6381\">\u3053\u3061\u3089\u3092\u53c2\u7167<\/a>)\u3057\u30012.7V\u3067\u30ea\u30bb\u30c3\u30c8\u304c\u304b\u304b\u3089\u306a\u304f\u3059\u308b\u3002<\/li>\n<li>\u96fb\u6e90\u306f\u53584\u96fb\u6c602\u672c\u3001\u96fb\u5727\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\u7121\u3057(3.3\uff5e2.0V\u306e\u7bc4\u56f2\u3067\u306e\u52d5\u4f5c\u3092\u60f3\u5b9a)\u3002\u96fb\u6c60\u306f\u30a2\u30eb\u30ab\u30ea\u3092\u8003\u3048\u3066\u3044\u308b\u304c\u3001NiMH\u5145\u96fb\u6c60\u3067\u3082\u52d5\u304f\u3060\u308d\u3046\u3002<\/li>\n<li>IrLED(<a href=\"http:\/\/akizukidenshi.com\/catalog\/g\/gI-04311\/\">OSI5LA5113A<\/a>)\u306f1\u672c\u3068\u3057\u30013.3V\u6642\u306b\u6700\u5927\u306790mA\u7a0b\u5ea6\u6d41\u3059\u3053\u3068\u306b\u3059\u308b\u3002<\/li>\n<li>\u30ad\u30fc\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u306f3\u00d72\u3068\u3057\u30666\u30ad\u30fc\u3002\u904b\u8ee2\u306e\u958b\u59cb\u3068\u7d42\u4e86\u306e\u4ed6\u3001\u6e29\u5ea6\u3068\u98a8\u91cf\u3092\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002\u6ec5\u591a\u306b\u3084\u3089\u306a\u3044\u6696\u623f\u3068\u51b7\u623f\u306e\u5207\u63db\u306f\u3001\u57fa\u677f\u306b\u30b9\u30e9\u30a4\u30c9\u30b9\u30a4\u30c3\u30c1\u3067\u4ed8\u3051\u308b\u3053\u3068\u3067\u5bfe\u5fdc\u3059\u308b\u3002\u30c9\u30e9\u30a4(\u9664\u6e7f)\u904b\u8ee2\u306f\u3068\u308a\u3042\u3048\u305a\u3042\u304d\u3089\u3081\u305f\u3002<\/li>\n<li>\u96fb\u6c60\u306e\u6d88\u8017\u3092\u6700\u5c0f\u9650\u3068\u3059\u308b\u305f\u3081\u3001\u30de\u30a4\u30b3\u30f3\u306f\u57fa\u672c\u7684\u306b\u30b9\u30ea\u30fc\u30d7\u72b6\u614b(SLEEP_MODE_PWR_DOWN)\u3068\u3059\u308b\u3002\u3044\u305a\u308c\u304b\u306e\u30ad\u30fc\u306e\u62bc\u4e0b\u306b\u3088\u3063\u3066\u30b9\u30ea\u30fc\u30d7\u72b6\u614b\u304b\u3089\u5fa9\u5e30\u3057\u3001\u5bfe\u5fdc\u3059\u308b\u30b3\u30fc\u30c9\u3092\u8d64\u5916\u7dda\u3092\u4f7f\u3063\u3066\u767a\u5c04\u3057\u6b21\u7b2c\u30b9\u30ea\u30fc\u30d7\u306b\u623b\u308b\u3002\u7701\u96fb\u529b\u306e\u305f\u3081\u306b\u3001\u3044\u308d\u3044\u308d\u3084\u308b\u3002<\/li>\n<li>ATmega328P\u306b\u5916\u90e88MHz\u30af\u30ed\u30c3\u30af\u3092\u4e0e\u3048\u308b\u5834\u5408\u30012.7V\u4ee5\u4e0b\u3067\u306e\u52d5\u4f5c\u306f\u904b\u6b21\u7b2c\u3068\u601d\u308f\u308c\u308b\u3002\u30ea\u30bb\u30c3\u30c8\u6642\u306bATmega328P\u306e\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u3092\u4f7f\u3063\u3066\u5185\u90e8\u30af\u30ed\u30c3\u30af\u30924MHz\u3068\u3059\u308b\u3053\u3068\u3067\u3001+1.8V\u307e\u3067\u52d5\u3044\u3066\u304f\u308c\u308b\u3053\u3068\u3092\u671f\u5f85\u3057\u3066\u3044\u308b\u3002\u57fa\u672c\u7684\u306b\u96fb\u6c60\u3092\u5916\u3059\u307e\u3067\u30ea\u30bb\u30c3\u30c8\u306f\u304b\u304b\u3089\u306a\u3044\u3002<\/li>\n<\/ul>\n<h1>\u56de\u8def<\/h1>\n<figure id=\"attachment_6781\" aria-describedby=\"caption-attachment-6781\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/A_PRO_MINI_IR_AC2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6781\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/A_PRO_MINI_IR_AC2-552x345.png\" alt=\"\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\" width=\"552\" height=\"345\" \/><\/a><figcaption id=\"caption-attachment-6781\" class=\"wp-caption-text\">\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\u306e\u56de\u8def\u56f3<\/figcaption><\/figure>\n<p>\u56de\u8def\u3082\u4ee5\u524d\u3068\u3042\u307e\u308a\u5909\u308f\u3089\u306a\u3044\u3002\u30ad\u30fc\u306e\u6570\u304c\u5897\u3048\u305f\u3053\u3068\u3068\u30b9\u30e9\u30a4\u30c9\u30b9\u30a4\u30c3\u30c1\u3092\u7740\u3051\u305f\u304f\u3089\u3044\u304b\u3002<\/p>\n<h3>\u30de\u30a4\u30b3\u30f3\u5468\u308a<\/h3>\n<p>\u4f8b\u306b\u3088\u3063\u3066\u3001Arduino PRO MINI (The SIMPLE) \u306b\u8f09\u3063\u3066\u3044\u308b\u5b9a\u96fb\u5727\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\u3068\u30d1\u30ef\u30fc\u30aa\u30f3LED\u306f\u30cf\u30f3\u30c0\u30b4\u30c6\u3092\u3042\u3066\u3066\u306f\u305a\u3057\u305f\u3002\u5199\u771f\u306f\u5f8c\u534a\u3067\u3002<\/p>\n<h3>IrLED\u5468\u308a<\/h3>\n<p>IrLED\u3092\u99c6\u52d5\u3059\u308b\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u5468\u8fba\u306e\u62b5\u6297(R1\u3068R2)\u306f\u3001\u96fb\u6e90\u96fb\u5727\u304c3.3V\u6642\u306bIrLED\u306b\u6d41\u308c\u308b\u96fb\u6d41(IF)\u304c\u3001\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u3084IrLED\u306e\u7d76\u5bfe\u6700\u5927\u5b9a\u683c(100mA)\u3092\u8d85\u3048\u306a\u3044\u7a0b\u5ea6\u306e\u5024\u3068\u3059\u308b\u3002R1=22\u03a9\u3068\u3059\u308b\u3053\u3068\u3067\u300190mA(@3.3V)\u300132mA(@2.0V)\u3068\u306a\u308b\u306f\u305a\u3002<br \/>\nR2\u306b\u3064\u3044\u3066\u306f\u30012.0V\u6642\u306b\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u306e\u30d9\u30fc\u30b9\u96fb\u6d41\u30922mA\u4ee5\u4e0a\u3068\u3059\u308b\u305f\u3081\u306b680\u03a9\u3068\u3057\u305f\u3002\u3053\u308c\u306f\u3001\u30b3\u30ec\u30af\u30bf-\u30a8\u30df\u30c3\u30bf\u9593\u306b\u751f\u3058\u308b\u306e\u96fb\u4f4d\u5dee\u3092\u306a\u308b\u3079\u304f\u5c0f\u3055\u304f\u3059\u308b\u305f\u3081\u306b\u3001\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u3092\u98fd\u548c\u9818\u57df\u3067\u4f7f\u3046\u3053\u3068\u3092\u610f\u56f3\u3057\u305f\u3002<\/p>\n<p>\u96fb\u6e90\u96fb\u5727\u304c2.0V\u307e\u3067\u4f4e\u4e0b\u3057\u305f\u3068\u304d\u306b\u30a8\u30a2\u30b3\u30f3\u306e\u64cd\u4f5c\u304c\u3067\u304d\u308b\u306e\u304b\u3069\u3046\u304b\u306b\u3064\u3044\u3066\u306f\u3001\u3057\u3070\u3089\u304f\u4f7f\u3063\u3066\u308b\u3046\u3061\u306b\u5206\u304b\u308b\u3060\u308d\u3046\u3002+1.8V\u306b\u306a\u3063\u3066\u3082\u8d64\u5916\u7dda\u4fe1\u53f7\u304c\u6b63\u3057\u304f\u767a\u5c04\u3055\u308c\u308b\u3053\u3068\u306fArduino nano\u3092\u4f7f\u3063\u305f\u53d7\u5149\u7528\u306e\u4ed5\u639b\u3051\u3092\u4f7f\u3063\u3066\u78ba\u8a8d\u3057\u305f\u3002<\/p>\n<figure id=\"attachment_6363\" aria-describedby=\"caption-attachment-6363\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/0a5becaeb9b155eebbbaf44337c8513a.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6363\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/09\/0a5becaeb9b155eebbbaf44337c8513a-552x414.jpg\" alt=\"Arduno Nano\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6363\" class=\"wp-caption-text\">\u30ea\u30e2\u30b3\u30f3\u30c7\u30fc\u30bf\u3092\u89e3\u6790\u3059\u308b\u305f\u3081\u306e\u9053\u5177<\/figcaption><\/figure>\n<h3>\u30ad\u30fc\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u3068\u30ef\u30a4\u30e4\u30fc\u30c9OR\u56de\u8def<\/h3>\n<p>\u56de\u8def\u56f3\u306e\u3088\u3046\u306a\u30ad\u30fc\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u3092\u7d44\u3080\u5834\u5408\u3001\u30b9\u30a4\u30c3\u30c1\u304c\u30aa\u30f3\u306b\u306a\u3063\u305f\u3053\u3068\u3092\u691c\u51fa\u3059\u308b\u305f\u3081\u306b\u30c7\u30fc\u30bf\u5074(D6,D7,D8)\u306e\u30e9\u30a4\u30f3\u306b\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u3092\u4ed8\u3051\u308b\u306e\u304c\u666e\u901a\u306a\u306e\u3060\u3051\u3069\u3001\u90e8\u54c1\u70b9\u6570\u3092\u6e1b\u3089\u3059\u305f\u3081\u306bATmega328P\u306e\u5185\u90e8\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u3067\u4ee3\u7528\u3057\u305f\u3002<em>pinMode(port, INPUT_PULLUP);<\/em> \u3068\u3057\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u7d0430K\u03a9\u306e\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u3092\u4ed8\u3051\u308b\u306e\u3068\u540c\u3058\u3053\u3068\u306b\u306a\u308b (\u62b5\u6297\u5024\u306b\u3064\u3044\u306f\u8af8\u8aac\u3042\u308b?)\u3002<\/p>\n<p>\u30b9\u30a4\u30c3\u30c1\u30f3\u30b0\u30c0\u30a4\u30aa\u30fc\u30c9(1SS270)\u30923\u672c\u4f7f\u3063\u3066\u3001\u30ad\u30fc\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u306e\u30c7\u30fc\u30bf\u5074\u3092\u30ef\u30a4\u30e4\u30fc\u30c9OR\u3057\u3066\u3044\u308b\u3002\u3053\u308c\u306f\u3001\u3044\u305a\u308c\u304b\u306e\u30ad\u30fc\u304c\u62bc\u3055\u308c\u305f\u3068\u304d\u3001\u30dd\u30fc\u30c8D2(INT0)\u306bH\u30ec\u30d9\u30eb\u306e\u4fe1\u53f7\u3092\u751f\u3058\u3055\u305b\u3001\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u5fa9\u5e30\u3059\u308b\u305f\u3081\u306e\u5272\u8fbc\u307f\u6e90\u3068\u3059\u308b\u305f\u3081\u3067\u3042\u308b\u3002<br \/>\n\u30b9\u30ea\u30fc\u30d7\u306b\u5165\u308b\u76f4\u524d\u306b\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u306e\u30b9\u30ad\u30e3\u30f3\u5074(D4,D5)\u3092\u00a0<em>pinMode(port, INPUT_PULLUP);<\/em> \u3068\u3057\u3066\u5185\u90e8\u30d7\u30eb\u30a2\u30c3\u30d7\u62b5\u6297\u306b\u63a5\u7d9a\u3057\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u3044\u305a\u308c\u304b\u306e\u30ad\u30fc\u304c\u62bc\u3055\u308c\u308b\u3068\u30c0\u30a4\u30aa\u30fc\u30c9\u306e\u30a2\u30ce\u30fc\u30c9\u5074\u306b\u96fb\u5727\u304c\u751f\u3058\u3066D2\u306fH\u30ec\u30d9\u30eb\u3068\u306a\u308b\u3002\u5168\u30ad\u30fc\u30aa\u30d5\u306a\u3089\u3070100K\u03a9\u306e\u30d7\u30eb\u30c0\u30a6\u30f3\u62b5\u6297\u306b\u3088\u308aL\u30ec\u30d9\u30eb\u304c\u7dad\u6301\u3055\u308c\u308b\u3002<\/p>\n<p>\u30b9\u30e9\u30a4\u30c9\u30b9\u30a4\u30c3\u30c1(SW7)\u306f\u3001\u6696\u623f\u3068\u30af\u30fc\u30e9\u30fc\u306e\u5207\u63db\u3048\u7528\u300210K\u03a9\u3067\u30d7\u30eb\u30a2\u30c3\u30d7\u3057\u305fH\u5074(\u6696\u623f)\u3068GND\u306b\u76f4\u7d50\u3059\u308bC\u5074(\u30af\u30fc\u30e9\u30fc)\u306e\u3044\u305a\u308c\u304b\u304cCOM(Common)\u306b\u5e38\u6642\u63a5\u7d9a\u3055\u308c\u308b\u306e\u3067\u3001\u30b9\u30ea\u30fc\u30d7\u304b\u3089\u5fa9\u5e30\u3059\u308b\u305f\u3073\u3054\u3068\u306b\u3001\u305d\u306e\u5024\u3092D3\u30dd\u30fc\u30c8\u3067\u8aad\u3080\u3053\u3068\u3067\u904b\u8ee2\u30e2\u30fc\u30c9\u3092\u6c7a\u3081\u308b\u3002<\/p>\n<h1>\u88fd\u4f5c<\/h1>\n<p>\u81ea\u5206\u306e\u5834\u5408\u3001\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u3067\u306e\u96fb\u5b50\u5de5\u4f5c\u904a\u3073\u3067\u306f\u306a\u304f\u3066\u5b9f\u969b\u306b\u4f7f\u3046\u3082\u306e\u3092\u4f5c\u308b\u3068\u304d\u306b\u4e00\u756a\u60a9\u3080\u306e\u306f\u30cf\u30b3\u3001\u5165\u308c\u7269\u3002\u30a2\u30eb\u30df\u30b1\u30fc\u30b9\u3067\u306f\u51b7\u305f\u3044\u3057\u3001\u7acb\u6d3e\u306a\u30d7\u30e9\u30b1\u30fc\u30b9\u3067\u306f\u52a0\u5de5\u304c\u9762\u5012\u3067\u3042\u308b\u3002\u305d\u306e\u305f\u3081\u3001100\u5186\u30b7\u30e7\u30c3\u30d7\u306e\u53f0\u6240\u7528\u54c1\u3084\u30b3\u30b9\u30e1\u7528\u54c1(\u30aa\u30b7\u30e3\u30ec\u3063\u307d\u3044\u30b1\u30fc\u30b9)\u306e\u30b3\u30fc\u30ca\u30fc\u3092\u30a6\u30ed\u30c4\u30a4\u3066\u7269\u8272\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3002\u4eca\u56de\u306f\u6700\u521d\u306e\u5199\u771f\u306e\u3088\u3046\u306a\u30014\u3064\u3067100\u5186(\u7a0e\u629c\u304d)\u306e\u5c0f\u3055\u304f\u3066\u30c1\u30fc\u30d7\u306a\u30bf\u30c3\u30d1\u30fc\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002\u5bf8\u6cd5\u306f90(W)\u00d765(D)\u00d740(H)mm\u3067\u3001\u62b5\u6297\u3084\u30b3\u30f3\u30c7\u30f3\u30b5\u306a\u3069\u306e\u7d20\u6750\u3092\u6574\u7406\u3057\u3066\u304a\u304f\u306e\u306b\u3082\u3061\u3087\u3046\u3069\u3044\u3044\u3002<\/p>\n<p>\u3053\u306e\u30bf\u30c3\u30d1\u30fc\u306e\u30d5\u30bf\u3068\u3001\u79cb\u6708\u96fb\u5b50\u3067\u58f2\u3063\u3066\u3044\u308b\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb\u57fa\u677f(72\u00d747mm \u4e21\u9762\u30b9\u30eb\u30fc\u30db\u30fc\u30eb\u3001\u30ac\u30e9\u30b9\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8)\u306e\u5927\u304d\u3055\u304c\u3046\u307e\u304f\u30de\u30c3\u30c1\u3059\u308b\u3002\u30bf\u30c3\u30d1\u30fc\u306e\u30d5\u30bf\u306b\u57fa\u677f\u3092\u30cd\u30b8\u6b62\u3081\u3057\u3001\u30bf\u30c3\u30d1\u30fc\u672c\u4f53\u5074\u306b\u306f\u96fb\u6c60\u30dc\u30c3\u30af\u30b9\u3092\u5165\u308c\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<figure id=\"attachment_6784\" aria-describedby=\"caption-attachment-6784\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/eff5773a7bb50205b9e9927f9be9726d.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6784\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/eff5773a7bb50205b9e9927f9be9726d-552x414.jpg\" alt=\"\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6784\" class=\"wp-caption-text\">\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3<\/figcaption><\/figure>\n<p>\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb\u57fa\u677f\u306b\u7a7a\u3044\u3066\u3044\u308b\u30cd\u30b8\u7a74\u306b\u3042\u308f\u305b\u3066\u30d5\u30bf\u306e\u56db\u9685\u306b\u30c9\u30ea\u30eb\u3067\u7a74\u3092\u958b\u3051\u3001\u57fa\u677f\u306b\u4e26\u3079\u305f\u30ad\u30fc\u30b9\u30a4\u30c3\u30c1(\u3084\u306f\u308a\u79cb\u6708\u306e\u30bf\u30af\u30c8\u30b9\u30a4\u30c3\u30c1\uff08\u5927\uff09\uff11\uff10\u500b\u30bb\u30c3\u30c8)\u306b\u3042\u308f\u305b\u3066\u30d5\u30bf\u306e\u5185\u5074\u3092\u5207\u308a\u629c\u3044\u305f\u3002<\/p>\n<figure id=\"attachment_6785\" aria-describedby=\"caption-attachment-6785\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/f11030b28fbd98dcf4e647d8fcbc3871.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6785\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/f11030b28fbd98dcf4e647d8fcbc3871-552x414.jpg\" alt=\"\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6785\" class=\"wp-caption-text\">\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3<\/figcaption><\/figure>\n<p>\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3067\u8a66\u4f5c\u3059\u308b\u306e\u3082\u9762\u5012\u3060\u3063\u305f\u306e\u3067\u3059\u3050\u306b\u57fa\u677f\u306b\u30cf\u30f3\u30c0\u4ed8\u3051\u3057\u305f\u3002\u8868\u5074\u306f\u30b9\u30a4\u30c3\u30c1\u3068\u62b5\u6297\u3001\u30c0\u30a4\u30aa\u30fc\u30c9\u306a\u3069\u3092\u53d6\u308a\u4ed8\u3051\u305f\u3002\u5de6\u5074\u306e\u4f59\u767d\u306e\u88cf\u5074\u306b\u3001Arduino PRO MINI\u3092\u76f4\u4ed8\u3051\u3057\u3066\u3044\u308b\u3002<\/p>\n<figure id=\"attachment_6790\" aria-describedby=\"caption-attachment-6790\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/71cdef30551858503ae119f1c27fb6a6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6790\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/71cdef30551858503ae119f1c27fb6a6-552x414.jpg\" alt=\"\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6790\" class=\"wp-caption-text\">\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3<\/figcaption><\/figure>\n<p>\u57fa\u677f\u306f\u5c0f\u578b\u306e\u51f8\u578b\u30b9\u30da\u30fc\u30b5\u30fc(\u9ad8\u30555mm)\u3092\u4f7f\u3063\u3066\u30bf\u30c3\u30d1\u30fc\u306e\u30d5\u30bf\u306b\u56fa\u5b9a\u3057\u3066\u3044\u308b\u30025mm\u3057\u304b\u306a\u3044\u306e\u3067\u3001\u57fa\u677f\u306e\u539a\u307f\u3092\u306f\u3055\u307e\u306a\u3044\u3068\u30d7\u30e9\u30cd\u30b8\u304c\u7de0\u307e\u3089\u306a\u304b\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_6786\" aria-describedby=\"caption-attachment-6786\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/1bf3ff1c8ef745511ea18aa8e5fb9ee7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6786\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/1bf3ff1c8ef745511ea18aa8e5fb9ee7-552x414.jpg\" alt=\"\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6786\" class=\"wp-caption-text\">\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3<\/figcaption><\/figure>\n<p>\u30bf\u30c3\u30d1\u30fc\u306e\u30d5\u30bf\u3068\u57fa\u677f\u306e\u9593\u306e\u9699\u9593\u3092\u5c0f\u3055\u304f\u3067\u304d\u308b\u3088\u3046\u306b\u3001Arduino PRO MINI\u3084\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u3001IrLED\u306f\u88cf\u5074\u306b\u53d6\u308a\u4ed8\u3051\u3066\u3044\u308b\u3002IrLED\u306e\u30a2\u30ce\u30fc\u30c9\u5074\u3068\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u306e\u30a8\u30df\u30c3\u30bf\u306b\u63a5\u7d9a\u3059\u308bVCC\u3068GND\u306b\u3064\u3044\u3066\u306f\u3001\u30ed\u30b8\u30c3\u30af\u7528\u3068\u306f\u7570\u306a\u308b\u3061\u3087\u3063\u3068\u592a\u3081\u306e\u30b1\u30fc\u30d6\u30eb\u3092\u4f7f\u3063\u305f\u3002<\/p>\n<figure id=\"attachment_6788\" aria-describedby=\"caption-attachment-6788\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/8a69d7f318df7db9c29748cec727e468.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6788 size-large\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/8a69d7f318df7db9c29748cec727e468-552x414.jpg\" alt=\"\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6788\" class=\"wp-caption-text\">\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\u306eArduino PRO MINI<\/figcaption><\/figure>\n<p>\u96fb\u6c60\u30dc\u30c3\u30af\u30b9\u306f\u4e21\u9762\u30c6\u30fc\u30d7\u3067\u30bf\u30c3\u30d1\u30fc\u672c\u4f53\u306e\u5e95\u90e8\u306b\u63a5\u7740\u3057\u3066\u3044\u3066\u3001\u96fb\u6c60\u30dc\u30c3\u30af\u30b9\u304b\u3089\u306e\u30ea\u30fc\u30c9\u7dda\u306fPRO MINI\u306eVCC\u3068GND\u306b\u76f4\u7d50\u3057\u3066\u3044\u308b\u3002\u4e0a\u306e\u5199\u771f\u306e\u3088\u3046\u306b\u3001PRO MINI\u306b\u3082\u3068\u3082\u3068\u8f09\u3063\u3066\u3044\u305fPON LED\u306e\u76f4\u5217\u62b5\u6297\u3068\u96fb\u5727\u30ec\u30ae\u30e5\u30ec\u30fc\u30bf\u306f\u7701\u96fb\u529b\u306e\u305f\u3081\u306b\u9664\u53bb\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u305d\u306e\u3042\u305f\u308a\u3092\u5916\u3057\u3066\u3057\u307e\u3046\u306a\u3089\u3001Arduino PRO MINI\u3067\u306f\u306a\u304f\u7d20\u306eATmega328P\u3092\u4f7f\u3046\u3053\u3068\u3082\u8003\u3048\u3089\u308c\u308b\u304c\u3001\u3053\u306e\u72b6\u614b\u3067\u3082VCC-GND\u9593\u306e\u30d0\u30a4\u30d1\u30b9\u30b3\u30f3\u30c7\u30f3\u30b5\u3084\u30ea\u30bb\u30c3\u30c8\u30b9\u30a4\u30c3\u30c1\u3001\u3055\u3089\u306bD13\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308bLED\u304c\u751f\u304d\u3066\u3044\u308b\u3002\u307e\u305f\u3001\u8868\u9762\u5b9f\u88c5\u30bf\u30a4\u30d7\u306e\u30de\u30a4\u30b3\u30f3\u3092\u3046\u307e\u304f\u6271\u3046\u81ea\u4fe1\u3082\u306a\u3044\u3002\u3057\u304b\u3082\u3001Arduino PRO MINI (The Simple)\u306f300\u5186\u7a0b\u5ea6\u3067\u5165\u624b\u3067\u304d\u308b\u308f\u3051\u3060\u304b\u3089\u3001\u3053\u306e\u3084\u308a\u65b9\u304c\u4e00\u756a\u3044\u3044\u3088\u3046\u306b\u611f\u3058\u3066\u3044\u308b\u3002<\/p>\n<p>\u73fe\u5728\u3082\u5199\u771f\u306b\u767b\u5834\u3059\u308b\u53584\u30b5\u30a4\u30ba\u306eNiMH\u5145\u96fb\u6c60\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u304c\u3001\u30d5\u30eb\u5145\u96fb\u72b6\u614b\u30672.65V\u7a0b\u5ea6\u306e\u96fb\u6e90\u96fb\u5727\u3060\u3063\u305f\u3002\u3053\u306e\u96fb\u6e90\u96fb\u5727\u3067\u306f\u3001BODLEVEL FUSE\u306e\u66f8\u304d\u63db\u3048\u3092\u884c\u308f\u306a\u3051\u308c\u3070\u8d77\u52d5\u3082\u3067\u304d\u306a\u3044\u3002ATmega328P\u306f\u52d5\u4f5c\u96fb\u5727\u7bc4\u56f2\u3082\u5e83\u304f\u3001\u6d88\u8cbb\u96fb\u529b\u3082\u5c0f\u3055\u304f\u3066\u5c0f\u898f\u6a21\u306a\u96fb\u5b50\u5de5\u4f5c\u306b\u306f\u3068\u3066\u3082\u4f7f\u3044\u3084\u3059\u3044\u3002<\/p>\n<figure id=\"attachment_6787\" aria-describedby=\"caption-attachment-6787\" style=\"width: 552px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/4beba856b2c506ed2e348a15a22e3ef8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6787\" src=\"https:\/\/okiraku-camera.tokyo\/blog\/wp-content\/uploads\/2017\/12\/4beba856b2c506ed2e348a15a22e3ef8-552x414.jpg\" alt=\"\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3\" width=\"552\" height=\"414\" \/><\/a><figcaption id=\"caption-attachment-6787\" class=\"wp-caption-text\">\u30a8\u30a2\u30b3\u30f3\u7528\u30ea\u30e2\u30b3\u30f3<\/figcaption><\/figure>\n<p>\u30b9\u30b1\u30c3\u30c1\u306e\u6295\u5165\u3084\u521d\u671f\u306e\u30c6\u30b9\u30c8\u306f\u3001USB-\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u7528\u306eAE-FT231X\u304b\u3089\u3001PRO MINI\u306e\u30b7\u30ea\u30a2\u30eb\u63a5\u7d9a\u7528\u306e\u30dd\u30fc\u30c8\u306b\u30b8\u30e3\u30f3\u30d1\u30b1\u30fc\u30d6\u30eb\u3092\u63a5\u7d9a\u3057\u3066\u304a\u3053\u306a\u3063\u305f\u3002\u3053\u306e\u3068\u304d\u306f\u3001\u96fb\u6c60\u3092\u629c\u3044\u3066USB\u5074\u304b\u3089\u96fb\u6e90(+3.3V)\u3092\u4f9b\u7d66\u3057\u3066\u3044\u308b\u3002\u30b7\u30ea\u30a2\u30eb\u63a5\u7d9a\u7528\u306e\u30d4\u30f3\u30d8\u30c3\u30c0\u3092\u3064\u3051\u305f\u307e\u307e\u3067\u3082\u30d5\u30bf\u304c\u9589\u307e\u308b\u306e\u304c\u30df\u30bd\u3002<\/p>\n<h1>\u30b9\u30b1\u30c3\u30c1<\/h1>\n<p>\u30b9\u30b1\u30c3\u30c1\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3002<\/p>\n<pre class=\"lang:c++ decode:true\">#include &lt;avr\/sleep.h&gt;\r\n#include &lt;avr\/wdt.h&gt;\r\n#include &lt;avr\/pgmspace.h&gt;\r\n\r\n#define PRESCALE_RATIO 2\r\n#define PDELAY(msec) delay((msec &lt; PRESCALE_RATIO ? PRESCALE_RATIO : msec) \/ PRESCALE_RATIO);\r\n#define LED 13\r\n#define PWM_OC1A  9\r\n#define PWM_OC1B  10\r\n#define SCAN_123  4\r\n#define SCAN_456  5\r\n#define KEY_14  6\r\n#define KEY_25  7\r\n#define KEY_36  8\r\n#define SW7 3   \/\/ \u30b9\u30e9\u30a4\u30c9\u30b9\u30a4\u30c3\u30c1\u306eCOMM\u30d4\u30f3\u3092\u63a5\u7d9a\u3002\r\n\r\n#define TRIGGER_PIN 12  \/\/ PWM\u6ce2\u89b3\u6e2c\u6642\u306e\u30c8\u30ea\u30ac\u7528\r\n\r\n\r\n\/\/ --------------------- KEY-PAD related.\r\n\/\/ setup KEY related ports\r\nvoid setup_port(bool sleep) {\r\n  if (sleep) {\r\n    pinMode(SCAN_123, INPUT_PULLUP);\r\n    pinMode(SCAN_456, INPUT_PULLUP);\r\n    pinMode(KEY_14, INPUT);\r\n    pinMode(KEY_25, INPUT);\r\n    pinMode(KEY_36, INPUT);\r\n  } else {\r\n    pinMode(SCAN_123, OUTPUT);\r\n    pinMode(SCAN_456, OUTPUT);\r\n    pinMode(KEY_14, INPUT_PULLUP);\r\n    pinMode(KEY_25, INPUT_PULLUP);\r\n    pinMode(KEY_36, INPUT_PULLUP);\r\n  }\r\n}\r\n\r\nint scan() {\r\n  int n = 0;\r\n  digitalWrite(SCAN_123, 0);\r\n  digitalWrite(SCAN_456, 1);\r\n  PDELAY(1);\r\n  n |= digitalRead(KEY_14);\r\n  n |= (digitalRead(KEY_25) &lt;&lt; 1);\r\n  n |= (digitalRead(KEY_36) &lt;&lt; 2);\r\n  digitalWrite(SCAN_123, 1);\r\n  digitalWrite(SCAN_456, 0);\r\n  PDELAY(1);\r\n  n |= (digitalRead(KEY_14) &lt;&lt; 3);\r\n  n |= (digitalRead(KEY_25) &lt;&lt; 4);\r\n  n |= (digitalRead(KEY_36) &lt;&lt; 5);\r\n  digitalWrite(SCAN_123, 0);\r\n  return n;  \r\n}\r\nint get_key() {\r\n  int scan_result = 0x3f;\r\n  for(int i = 0; i &lt; 3; i++) {\r\n    PDELAY(10);\r\n    scan_result &amp;= ~scan();\r\n  }\r\n  if (scan_result &amp; 1) return 1;\r\n  if (scan_result &amp; 2) return 2;\r\n  if (scan_result &amp; 4) return 3;\r\n  if (scan_result &amp; 8) return 4;\r\n  if (scan_result &amp; 16) return 5;\r\n  if (scan_result &amp; 32) return 6;\r\n  return 0;\r\n}\r\n\/\/------------------ IR related.\r\n#define NEC_T (int)(560 \/ PRESCALE_RATIO)\r\n#define AEHA_T  (int)(420 \/ PRESCALE_RATIO)\r\nint format_T = AEHA_T; \/\/ \u57fa\u6e96\u30d5\u30ec\u30fc\u30e0\u6642\u9593\r\n\r\n\/\/ system clk = 8MHz. (no prescaler)\r\n\/\/ 38KHz, duty 1:3\r\n\/\/ 26.3&lt;s 7 0.125 = 210 : \u5468\u671f\r\n\/\/ 6.3&lt;s 7 0.125 = 52.8 : H\u671f\u9593\r\n\/\/ FastPWM mode. WGM(13-11)=1111\r\nvoid pwm_out(int t_count) {\r\n  TCNT1 = 0;\r\n  TCCR1A = B01100011;  \/\/ Inverted, HIGH at BOTTOM, LOW on match.\r\n  TCCR1B = B00011001; \/\/ ICNC1 = 0, ICES1 = 0, no prescaler.\r\n  OCR1A = (210 \/ PRESCALE_RATIO) - 1;  \/\/ TOP value. \r\n  OCR1B = (53 \/ PRESCALE_RATIO) - 1;  \/\/  H period of OC1B\r\n  delayMicroseconds(format_T * t_count);\r\n  TCCR1A = B00000000;  \r\n  TCCR1B = B00000000; \r\n}\r\ninline void send_bit(int value) {\r\n  pwm_out(1);\r\n  delayMicroseconds(value ? format_T * 3 : format_T);\r\n}\r\nvoid send_byte(byte value) {\r\n  send_bit(value &amp; 1);\r\n  send_bit(value &amp; 2);\r\n  send_bit(value &amp; 4);\r\n  send_bit(value &amp; 8);\r\n  send_bit(value &amp; 16);\r\n  send_bit(value &amp; 32);\r\n  send_bit(value &amp; 64);\r\n  send_bit(value &amp; 128);\r\n}\r\nvoid send_leader() {\r\n  if  (format_T == NEC_T) {\r\n    pwm_out(16);\r\n    delayMicroseconds(format_T * 8);   \r\n  } else {\r\n    pwm_out(8);\r\n    delayMicroseconds(format_T * 4);   \r\n  }\r\n}\r\n\/\/ '0'\u30924\u56de\u9001\u4fe1\u3002\r\nvoid send_preframe() {\r\n  for(int i = 0; i &lt; 4; i++)\r\n    send_bit(0);\r\n}\r\nvoid send_trailer() {\r\n  send_bit(0);\r\n  PDELAY(10);\r\n}\r\n\r\nvoid send_frame(uint8_t* p, int8_t bytes) {\r\n  send_leader();\r\n  for(int i = 0; i &lt; bytes; i++)\r\n    send_byte(p[i]);\r\n  send_trailer();\r\n}\r\n\r\n#define AC_DRIVE_STOP 0\r\n#define AC_DRIVE_COOL 1\r\n#define AC_DRIVE_HEAT 2\r\n#define AC_DRIVE_DRY 3\r\n\r\n#define AC_TEMP_H_DEF 23\r\n#define AC_TEMP_C_DEF 25\r\n\r\n#define AC_INTENSITY_MAX  5\r\n#define AC_INTENSITY_MIN  2\r\n#define AC_INTENSITY_AUTO  1\r\n#define AC_HDIR_MAX     5\r\n#define AC_HDIR_MIDDLE  3\r\n#define AC_HDIR_MIN     1\r\n\r\n#define AC_VDIR_UP  1\r\n#define AC_VDIR_MIDDLE  2\r\n#define AC_VDIR_DOWN  3\r\n\r\n\/\/ \u30a8\u30a2\u30b3\u30f3\u306e\u52d5\u4f5c\u72b6\u614b\r\nstatic int8_t ac_drive = 0;  \/\/ 0:\u505c\u6b62\u30011:\u51b7\u623f\u30012:\u6696\u623f\u30013:\u30c9\u30e9\u30a4\r\nstatic int8_t ac_temp = AC_TEMP_H_DEF;\r\nstatic int8_t ac_temp_max;\r\nstatic int8_t ac_temp_min;\r\n\r\nstatic int8_t ac_wind_intensity = AC_INTENSITY_MAX;  \/\/ \u98a8\u91cf\u30011\uff5e5 1 = AUTO.\r\nstatic int8_t ac_h_dir = AC_HDIR_MAX;   \/\/ \u6c34\u5e73\u65b9\u5411\u3001\u5de6 1 -- 3 -- 5 \u53f3\r\nstatic int8_t ac_v_dir = AC_VDIR_DOWN;   \/\/ 1 : \u6c34\u5e73\u5411\u304d\u30012 : \u4e2d\u9593\u30013 : \u4e0b\u5411\u304d\r\n\r\n\/\/ 0xff\u306e\u90e8\u5206\u306f\u8a2d\u5b9a\u306b\u5fdc\u3058\u3066\u5909\u66f4\u3055\u308c\u308b\u3002\r\nconst PROGMEM uint8_t ac_sequence1[] = {2, 0x20, 0xe0, 4, 0, 0, 6 };\r\nconst PROGMEM uint8_t ac_sequence2[] = {2, 0x20, 0xe0, 4, 0, 0xff, 0xff, 0x80, 0xff, 0xf, 0, 0xe, 0xe0, 0, 0, 0x81, 0, 0, 0xff} ;\r\n\r\n\/\/ \u7b2c2\u30d5\u30ec\u30fc\u30e0\u306e\u4f5c\u6210\u3002\r\nvoid setup_ac_frame(uint8_t* p, int8_t bytes) {\r\n  uint8_t val = 0;\r\n  if (ac_drive == AC_DRIVE_COOL)\r\n    val = 0x39;\r\n  else if (ac_drive == AC_DRIVE_HEAT)\r\n    val = 0x49;\r\n  else if (ac_drive == AC_DRIVE_DRY)\r\n    val = 0x29;\r\n  p[5] = val;\r\n\r\n  if (ac_drive == AC_DRIVE_DRY)\r\n    val = 0xc0 | (((ac_temp - 8) &amp; 0xf) &lt;&lt; 1);\r\n  else\r\n    val = 0x20 | (((ac_temp - 16) &lt;&lt; 1) &amp; 0x1e);\r\n  p[6] = val;  \/\/ \u8a2d\u5b9a\u6e29\u5ea6\r\n\r\n  val = ac_wind_intensity == 1 ? 0xa0 : (ac_wind_intensity + 1) &lt;&lt; 4;\r\n  if (ac_wind_intensity == AC_INTENSITY_MAX)\r\n    val |= 0x10;\r\n  if (ac_v_dir == AC_VDIR_DOWN)\r\n    val |= 3;\r\n  else if (ac_v_dir == AC_VDIR_UP)\r\n    val |= 1;\r\n  else if (ac_v_dir == AC_VDIR_DOWN)\r\n    val |= 5;\r\n  p[8] = val;  \/\/ \u4e0a\u4e0b\u98a8\u5411\u3068\u98a8\u91cf\r\n  \r\n  if (ac_h_dir == AC_HDIR_MIDDLE)\r\n    val = 6;\r\n  else if (ac_h_dir &lt; AC_HDIR_MIDDLE)\r\n    val= ac_h_dir + 8;\r\n  else\r\n    val = ac_h_dir + 7;\r\n  p[9] = val;  \/\/ \u5de6\u53f3\u98a8\u5411\r\n  p[13] = 0x00; \/\/ \u30aa\u30d7\u30b7\u30e7\u30f3\r\n  val = 0;\r\n  for(int8_t i = 0; i &lt; bytes -1; i++)\r\n    val += p[i];\r\n  p[18] = val; \/\/ \u30c1\u30a7\u30c3\u30af\u30b5\u30e0\r\n}\r\n\r\nvoid send_command(int key) {\r\n  uint8_t data[20]; \/\/ \u6700\u592720\u30d0\u30a4\u30c8\u307e\u3067\u3002\r\n  int8_t data_count;\r\n  if (key != 1 &amp;&amp; key != 4 &amp;&amp; ac_drive == AC_DRIVE_STOP)  \/\/ \u52d5\u4f5c\u4e2d\u3067\u306a\u3051\u308c\u3070\u7121\u8996\u3002\r\n    return;\r\n  data_count = sizeof(ac_sequence1) ;\r\n  memcpy_P(data, ac_sequence1, data_count);\r\n  send_frame(data, data_count);\r\n  data_count = sizeof(ac_sequence2) ;\r\n  memcpy_P(data, ac_sequence2, data_count);\r\n  if (key == 4) { \/\/ \u5de6\u4e0a\u306e\u30ad\u30fc\u3092\u30aa\u30f3\u3068\u3059\u308b\u3002\r\n    \/\/ \u30aa\u30f3\u306e\u3068\u304d\u306b\u5e38\u306b\u521d\u671f\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u3002\r\n    if (!digitalRead(SW7)) { \/\/ \u30b9\u30e9\u30a4\u30c9\u30b9\u30a4\u30c3\u30c1\u3092\u8aad\u3080\r\n      ac_drive = AC_DRIVE_COOL;\r\n      ac_temp = AC_TEMP_C_DEF;\r\n    } else {\r\n      ac_drive = AC_DRIVE_HEAT;\r\n      ac_temp = AC_TEMP_H_DEF;\r\n    }\r\n    ac_temp_max = ac_temp + 3;\r\n    ac_temp_min = ac_temp - 3;      \r\n    ac_wind_intensity = AC_INTENSITY_MAX; \r\n  } else if (key == 1)\r\n    ac_drive = AC_DRIVE_STOP;\r\n    \r\n  else if (key == 5 &amp;&amp; ac_temp &lt; ac_temp_max)  \/\/ \u5de6\u5074\u306e\u30ad\u30fc2\u3064\u3067\u6e29\u5ea6\r\n    ac_temp++;\r\n  else if (key == 6 &amp;&amp; ac_temp &gt; ac_temp_min)\r\n    ac_temp--;\r\n  else if (key == 2 &amp;&amp; ac_wind_intensity &lt; AC_INTENSITY_MAX)  \/\/ \u53f3\u5074\u306e\u30ad\u30fc2\u3064\u3067\u98a8\u91cf\r\n    ac_wind_intensity++;\r\n  else if (key == 3 &amp;&amp; ac_wind_intensity &gt; AC_INTENSITY_MIN)\r\n    ac_wind_intensity--;\r\n  \/\/ \u98a8\u91cf\u81ea\u52d5\u306f\u7121\u3057\u3002\r\n  setup_ac_frame(data, data_count);\r\n  send_frame(data, data_count);\r\n}\r\n\r\nvoid setup() {\r\n  \/\/ Serial.begin(115200); \/\/ \u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u30671\/2\u3057\u3066\u308b\u306e\u3067\u3001\u7aef\u672b\u5074\u306f57600bps\u3068\u306a\u308b\u3002\r\n  PDELAY(100);\r\n  byte save_SREG = SREG;\r\n  cli();\r\n  CLKPR = 0x80; \r\n  CLKPR = 1;  \/\/ \u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u8a2d\u5b9a\u3002\u30af\u30ed\u30c3\u30af\u3092\u534a\u5206\u306b\u3002\r\n  ADCSRA &amp;= 0x7f;  \/\/ ADC\u7981\u6b62\u3002MSB \u3092 0\u306b\u3002\r\n  ACSR |= 0x80;    \/\/ \u30a2\u30ca\u30ed\u30b0\u30b3\u30f3\u30d1\u30ec\u30fc\u30bf\u7981\u6b62\r\n  SREG = save_SREG;\r\n\r\n  pinMode(2, INPUT);\r\n  pinMode(3, INPUT);\r\n  for(int i = 4; i &lt; 17; i++) \/\/ INPUT_PULLUP\r\n    pinMode(i, INPUT_PULLUP);\r\n  pinMode(LED, OUTPUT);\r\n  pinMode(PWM_OC1A, OUTPUT);\r\n  pinMode(PWM_OC1B, OUTPUT);\r\n  pinMode(TRIGGER_PIN, OUTPUT);\r\n  digitalWrite(LED, 0);\r\n  digitalWrite(PWM_OC1A, 0);\r\n  digitalWrite(PWM_OC1B, 0);\r\n  digitalWrite(TRIGGER_PIN, 0);\r\n  wdt_disable();\r\n}\r\n\r\nvoid isr() { }\r\nvoid loop() {\r\n  setup_port(true);\r\n  PDELAY(4);\r\n  attachInterrupt(0, isr, RISING );\r\n  set_sleep_mode(SLEEP_MODE_PWR_DOWN);\r\n  sleep_enable();\r\n  MCUCR |= 0x60;\r\n  MCUCR = (MCUCR &amp; 0xdf) | 0x40;\r\n  sleep_cpu();  \r\n  detachInterrupt(0);\r\n  digitalWrite(LED, 1);\r\n  setup_port(false);\r\n  int n = get_key();\r\n \/\/ Serial.println(n);\r\n  PDELAY(20);\r\n  if ( n &gt;=1 &amp;&amp; n &lt;= 6)\r\n    send_command( n );\r\n  digitalWrite(LED, 0);\r\n}<\/pre>\n<p>\u30b9\u30b1\u30c3\u30c1\u3082\u4ee5\u524d\u306e\u30ea\u30e2\u30b3\u30f3\u3068\u3055\u307b\u3069\u5909\u308f\u3089\u306a\u3044\u3002\u30b9\u30ad\u30e3\u30f3\u3059\u308b\u30ad\u30fc\u6570\u304c6\u3064\u306b\u5897\u3048\u305f\u3053\u3068\u3068\u3001AEHA\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u4f7f\u3063\u3066\u3044\u308b\u3053\u3068\u304f\u3089\u3044\u304b\u3002<br \/>\n\u30c7\u30e5\u30fc\u30c6\u30a3\u30fc\u6bd41:4\u306e38KHz\u306e\u8d64\u5916\u7dda\u767a\u5149\u306f\u3001ATmega328P\u306eTC1(Timer Counter1)\u306ePWM\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u884c\u3063\u3066\u3044\u308b\u3002\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u30d7\u30ea\u30b9\u30b1\u30fc\u30e9\u3092\u4f7f\u3063\u30664MHz\u30af\u30ed\u30c3\u30af\u52d5\u4f5c\u3068\u3057\u3066\u3044\u308b\u306e\u3067\u3001PWM\u7528\u306e\u30ec\u30b8\u30b9\u30bf\u306b\u4e0e\u3048\u308b\u30ab\u30a6\u30f3\u30c8\u5024\u3092\u5206\u5468\u6bd4(PRESCALE_RATIO == 2)\u3067\u5272\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u610f\u3002<\/p>\n<h2>\u30a8\u30a2\u30b3\u30f3\u306e\u5236\u5fa1\u30c7\u30fc\u30bf<\/h2>\n<p>\u5bb6\u96fb\u3092\u5236\u5fa1\u3059\u308b\u305f\u3081\u306e\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u304c\u9001\u51fa\u3059\u308b\u30b3\u30fc\u30c9\u306f\u5404\u5bb6\u96fb\u3054\u3068\u306b\u7570\u306a\u3063\u3066\u3044\u308b\u3002\u3046\u3061\u306e\u30a8\u30a2\u30b3\u30f3\u306e\u8a73\u7d30\u3092\u66f8\u3044\u3066\u3082\u4ed6\u3067\u4f7f\u3048\u308b\u308f\u3051\u3067\u3082\u306a\u3044\u306e\u3067\u3001\u7279\u5fb4\u7684\u306a\u90e8\u5206\u3060\u3051\u6319\u3052\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u304b\u3002<\/p>\n<ul>\n<li>AEHA\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u30672\u30d5\u30ec\u30fc\u30e0\u69cb\u6210\u3002<\/li>\n<li>\u7b2c\u4e00\u30d5\u30ec\u30fc\u30e0\u306e\u30c7\u30fc\u30bf\u306f(\u8abf\u3079\u305f\u9650\u308a\u306b\u304a\u3044\u3066)\u5e38\u306b\u56fa\u5b9a\u3002<\/li>\n<li>\u7b2c\u4e8c\u30d5\u30ec\u30fc\u30e0\u304c\u904b\u8ee2\u72b6\u614b(\u904b\u8ee2\u30e2\u30fc\u30c9\u3001\u6e29\u5ea6\u3001\u98a8\u91cf\u3001\u98a8\u5411\u306a\u3069)\u3092\u8868\u3059\u3002<\/li>\n<li>\u7b2c\u4e00\u3001\u7b2c\u4e8c\u30d5\u30ec\u30fc\u30e0\u5171\u306b\u6700\u7d42\u30d0\u30a4\u30c8\u306f\u30c1\u30a7\u30c3\u30af\u30b5\u30e0(\u30d5\u30ec\u30fc\u30e0\u5168\u4f53\u306e\u548c\u306e\u4e0b\u4f4d8\u30d3\u30c3\u30c8)\u3002<\/li>\n<li>\u6e29\u5ea6\u3084\u98a8\u91cf\u306e\u307f\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u3082\u3001\u30ea\u30e2\u30b3\u30f3\u304c\u77e5\u3063\u3066\u3044\u308b\u52d5\u4f5c\u72b6\u614b\u3059\u3079\u3066\u304c\u9001\u51fa\u3055\u308c\u308b\u3002<\/li>\n<\/ul>\n<p>\u4eca\u56de\u306e\u30ea\u30e2\u30b3\u30f3\u3067\u306f\u3001\u904b\u8ee2\u958b\u59cb\u30dc\u30bf\u30f3(SW4)\u3092\u62bc\u3057\u305f\u3068\u304d\u306b\u30b9\u30e9\u30a4\u30c9\u30b9\u30a4\u30c3\u30c1\u3092\u8aad\u3093\u3067\u904b\u8ee2\u30e2\u30fc\u30c9\u3092\u6c7a\u3081\u308b\u3002\u305d\u3057\u3066\u3001\u5404\u904b\u8ee2\u30e2\u30fc\u30c9\u3054\u3068\u306b\u30b9\u30b1\u30c3\u30c1\u3067\u6c7a\u3081\u305f\u6e29\u5ea6\u3001\u98a8\u91cf\u3001\u98a8\u5411\u3092\u521d\u671f\u5024\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u3057\u305f(\u98a8\u5411\u306f\u5909\u66f4\u3067\u304d\u306a\u3044)\u3002\u672c\u7269\u306e\u30ea\u30e2\u30b3\u30f3\u3067\u306f\u3001\u30ea\u30e2\u30b3\u30f3\u306e\u6db2\u6676\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u6e29\u5ea6\u3001\u98a8\u91cf\u3001\u98a8\u5411\u3092\u9001\u308a\u51fa\u3059\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u4eca\u56de\u306e\u30ea\u30e2\u30b3\u30f3\u3067\u3082\u5404\u72b6\u614b\u306f\u5909\u6570\u306b\u8a18\u61b6\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u524d\u56de\u904b\u8ee2\u6642\u306e\u6e29\u5ea6\u3084\u98a8\u91cf\u3067\u958b\u59cb\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u308f\u304b\u308a\u6613\u3055\u306e\u305f\u3081\u306b\u521d\u671f\u5024\u3092\u4e0e\u3048\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<em>setup_ac_frame(); send_command();<\/em> \u306e\u5404\u95a2\u6570\u3092\u53c2\u7167\u306e\u3053\u3068\u3002AEHA\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u7528\u306e\u30d5\u30ec\u30fc\u30e0\u30c7\u30fc\u30bf\u306e\u9001\u51fa\u306f\u3001<em>send_frame();<\/em> \u95a2\u6570\u3067\u884c\u3063\u3066\u3044\u308b\u3002\u30d5\u30ec\u30fc\u30e0\u7d42\u7aef\u3092\u4f5c\u308b\u00a0<em>send_trailer();<\/em> \u306b\u304a\u3044\u306610msec\u306e\u7121\u4fe1\u53f7\u671f\u9593\u3092\u304a\u3044\u3066\u3044\u308b\u304c\u3001\u3053\u308c\u304c\u306a\u3044\u3068\u3046\u307e\u304f\u52d5\u304b\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>\u5404\u30d5\u30ec\u30fc\u30e0\u306e\u57fa\u672c\u3068\u306a\u308b\u30c7\u30fc\u30bf\u306f\u3001<\/p>\n<pre class=\"nums:false lang:default decode:true \">const PROGMEM uint8_t ac_sequence1[] = {2, 0x20, 0xe0, 4, 0, 0, 6 };\r\nconst PROGMEM uint8_t ac_sequence2[] = {2, 0x20, 0xe0, 4, 0, 0xff, 0xff, 0x80, 0xff, 0xf, 0, 0xe, 0xe0, 0, 0, 0x81, 0, 0, 0xff} ;<\/pre>\n<p>\u3068\u3057\u3066\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306b\u304a\u3044\u3066\u3044\u308b\u3002\u307e\u3041\u3001\u307b\u3068\u3093\u3069\u30c7\u30fc\u30bf\u306e\u306a\u3044\u30b9\u30b1\u30c3\u30c1\u306a\u306e\u3067\u3075\u3064\u3046\u306bSRAM\u306b\u7f6e\u3044\u3066\u3082\u826f\u304b\u3063\u305f\u306e\u3060\u3051\u3069\u3001PROGMEM\u3092\u4f7f\u3044\u305f\u304b\u3063\u305f\u304b\u3089\u3001\u3068\u3044\u3063\u305f\u3068\u3053\u308d\u3002<br \/>\n\u306a\u304a\u3001Arduino IDE\u3067\u30d3\u30eb\u30c9\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n<pre class=\"lang:default decode:true \">\u6700\u592730720\u30d0\u30a4\u30c8\u306e\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306e\u3046\u3061\u3001\u30b9\u30b1\u30c3\u30c1\u304c2696\u30d0\u30a4\u30c8\uff088%\uff09\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\r\n\u6700\u59272048\u30d0\u30a4\u30c8\u306eRAM\u306e\u3046\u3061\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u304c18\u30d0\u30a4\u30c8\uff080%\uff09\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u30672030\u30d0\u30a4\u30c8\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/pre>\n<p>\u5bb9\u91cf\u7684\u306b\u306f\u3082\u3063\u3068\u5c0f\u898f\u6a21\u306a\u30de\u30a4\u30b3\u30f3\u3067\u3082\u5341\u5206\u3060\u308d\u3046\u3002<\/p>\n<h1>\u304d\u3087\u3046\u306e\u307e\u3068\u3081<\/h1>\n<p>\u5229\u7528\u958b\u59cb\u6642\u70b9\u3067\u96fb\u6e90\u96fb\u5727\u306f2.65V\u3060\u3063\u305f\u3002IrLED\u3092\u6b63\u78ba\u306b\u30a8\u30a2\u30b3\u30f3\u306b\u5411\u3051\u305f\u5834\u5408\u3001\u7d045m\u307b\u3069\u306e\u8ddd\u96e2\u304b\u3089\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30023m\u7a0b\u5ea6\u3067\u64cd\u4f5c\u3067\u304d\u308c\u3070\u5b9f\u7528\u7684\u306a\u306e\u3067\u3001\u3082\u3046\u3059\u3053\u3057\u96fb\u6c60\u304c\u6d88\u8017\u3057\u3066\u3082\u5927\u4e08\u592b\u3060\u308d\u3046\u3002\u4eca\u5f8c\u306e\u77e5\u898b\u306e\u305f\u3081\u3001\u5b9f\u7528\u7684\u306a\u64cd\u4f5c\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3068\u304d\u306e\u96fb\u6e90\u96fb\u5727\u3092\u6e2c\u308b\u306e\u304c\u697d\u3057\u307f\u3067\u3082\u3042\u308b\u3002<\/p>\n<p>\u3053\u306e\u624b\u306e\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u3063\u305f\u306e\u306f\u4e8c\u5ea6\u76ee\u306a\u306e\u3067\u3001\u524d\u3088\u308a\u306f\u624b\u65e9\u304f\u3067\u304d\u305f\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002\u305f\u3060\u3001\u76ee\u304c\u60aa\u304f\u306a\u3063\u3066\u5c0f\u3055\u306a\u3082\u306e\u306e\u30cf\u30f3\u30c0\u4ed8\u3051\u306f\u5384\u4ecb\u306a\u306e\u3067\u3001\u30c6\u30ec\u30d3CM\u3067\u3082\u304a\u306a\u3058\u307f\u306e\u30e1\u30ac\u30cd\u578b\u30eb\u30fc\u30da\u3092\u8cb7\u3046\u304b\u3069\u3046\u304b\u8ff7\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>TFT\u6db2\u6676\u3092\u4f7f\u3063\u305f\u96c6\u7d04\u578b\u30ea\u30e2\u30b3\u30f3\u306e\u767a\u5c55\u5f62\u3092\u8003\u3048\u308b\u3068\u3001\u3069\u3046\u3057\u3066\u3082\u30b9\u30de\u30db\u3067\u64cd\u4f5c\u3059\u308b\u3068\u3053\u308d\u306b\u884c\u304d\u7740\u304f\u3002\u8d64\u5916\u7dda\u767a\u5149\u90e8\u306f\u76ee\u7acb\u305f\u306a\u3044\u5834\u6240\u306b\u56fa\u5b9a\u3057\u3066\u304a\u304d\u3001Bluetooth\u3067\u767a\u5149\u3059\u3079\u304d\u30c7\u30fc\u30bf\u3092\u9001\u308a\u3064\u3051\u3066\u3084\u308b\u3053\u3068\u306b\u306a\u308b\u3060\u308d\u3046\u3002\u305f\u3060\u3001\u753b\u9762\u30bf\u30c3\u30c1\u3067\u64cd\u4f5c\u3059\u308b\u306e\u3067\u306f\u3064\u307e\u3089\u306a\u3044\u306e\u3067\u3001\u30b9\u30de\u30db\u3092\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u3064\u306a\u3044\u3067\u97f3\u58f0\u8a8d\u8b58\u3055\u305b\u3001\u305d\u306e\u7d50\u679c\u3092\u89e3\u91c8\u3057\u3066BT\u3067\u30b3\u30de\u30f3\u30c9\u3092\u9001\u308b\u306e\u306f\u3069\u3046\u304b\u3068\u8003\u3048\u3066\u3044\u308b\u3068\u3053\u308d\u3002<\/p>\n<h5 style=\"padding-top: 14px;padding-bottom: 14px;\">\u95a2\u9023\u3059\u308b\u6295\u7a3f<\/h5><div style=\"font-size: 14px; padding-left:1em\"><ul style=\"margin:0 0 0 1em; padding:0;\"><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6667\">\u30bf\u30c3\u30c1\u30d1\u30cd\u30eb\u4ed8TFT\u6db2\u6676\u3092\u4f7f\u3063\u305f\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3 \u305d\u306e2<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6648\">\u30bf\u30c3\u30c1\u30d1\u30cd\u30eb\u4ed8TFT\u6db2\u6676\u3092\u4f7f\u3063\u305f\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3 \u305d\u306e1<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6487\">\u30bf\u30c3\u30c1\u30d1\u30cd\u30eb\u4ed8TFT\u6db2\u6676\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6381\">Arduino PRO MINI\u306eBODLEVEL\u30d2\u30e5\u30fc\u30ba\u306e\u66f8\u304d\u63db\u3048<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6352\">8MHz\u306eArduino PRO MINI\u3067\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b \u305d\u306e2<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6230\">8MHz\u306eArduino PRO MINI\u3067\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u3092\u4f5c\u3063\u3066\u307f\u308b \u305d\u306e1<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6148\">Arduino PRO MINI\u3068\u30ad\u30fc\u30bf\u30c3\u30c1\u30e2\u30b8\u30e5\u30fc\u30eb \u305d\u306e2<\/a><\/li><li><a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6130\">\u9759\u96fb\u5bb9\u91cf\u30bf\u30c3\u30c1\u30ad\u30fc\u3092Arduino PRO MINI\u306b\u63a5\u7d9a<\/a><\/li><\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u5c45\u9593\u3067\u4f7f\u3063\u3066\u3044\u308b\u30a8\u30a2\u30b3\u30f3\u7528\u306e\u30ea\u30e2\u30b3\u30f3\u306e\u3001\u4e00\u756a\u809d\u5fc3\u306a\u300c\u958b\u59cb\u300d\u30dc\u30bf\u30f3\u306e\u53cd\u5fdc\u304c\u60aa\u304f\u306a\u3063\u305f\u3002\u30dc\u30bf\u30f3\u304c\u52a3\u5316\u3057\u305f\u304b\u30b4\u30df\u304c\u6e9c\u307e\u3063\u305f\u3082\u306e\u3068\u601d\u308f\u308c\u308b\u3002\u5206\u89e3\u3057\u3066\u5177\u5408\u3092\u898b\u305f\u308a\u6383\u9664\u3057\u305f\u308a\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3082\u306e\u306e\u3001\u30d3\u30b9\u304c\u898b\u5f53\u305f\u3089\u306a\u3044\u3002\u89d2\u306b\u30c4\u30e1\u3092 &hellip; <a href=\"https:\/\/okiraku-camera.tokyo\/blog\/?p=6130\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u9759\u96fb\u5bb9\u91cf\u30bf\u30c3\u30c1\u30ad\u30fc\u3092Arduino PRO MINI\u306b\u63a5\u7d9a<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[65,86],"class_list":["post-6777","post","type-post","status-publish","format-standard","hentry","category-programming","tag-arduino","tag-remocon"],"_links":{"self":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6777"}],"version-history":[{"count":0,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6777\/revisions"}],"wp:attachment":[{"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okiraku-camera.tokyo\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}