{"id":5351,"date":"2021-07-28T12:00:00","date_gmt":"2021-07-28T03:00:00","guid":{"rendered":"http:\/\/www.nanghi.net\/?p=5351"},"modified":"2023-11-09T20:00:30","modified_gmt":"2023-11-09T11:00:30","slug":"led_1","status":"publish","type":"post","link":"https:\/\/www.nanghi.net\/?p=5351","title":{"rendered":"LED\u30c9\u30e9\u30a4\u30d0"},"content":{"rendered":"<p>\u3000MCU\u3067\u30b9\u30ad\u30e3\u30f3\u3059\u308b\u306e\u304c\u9762\u5012\u304f\u3055\u304f\u306a\u3063\u305f\u306e\u3067\uff08\u7b11\uff09\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20461\" src=\"https:\/\/www.nanghi.net\/wp-content\/uploads\/2021\/07\/2021071401.jpg\" alt=\"TM1630\" width=\"400\" height=\"300\" srcset=\"https:\/\/www.nanghi.net\/wp-content\/uploads\/2021\/07\/2021071401.jpg 400w, https:\/\/www.nanghi.net\/wp-content\/uploads\/2021\/07\/2021071401-200x150.jpg 200w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><br \/>\n\u3000<strong>TM1630<\/strong><\/p>\n<p>\u3000\u6df1\u5733\u306e\u534a\u5c0e\u4f53\u30e1\u30fc\u30ab\u30fcTitan Micro Electronics\uff08\u5929\u5fae\u7535\u5b50\u80a1\u4efd\u6709\u9650\u516c\u53f8\uff09\u306e\u30c7\u30d0\u30a4\u30b9\u3067\u591a\u6841LED\u30c9\u30e9\u30a4\u30d0\u3068\u30ad\u30fc\u30b9\u30ad\u30e3\u30f3\u5165\u529b\u306e\u8907\u5408\u30c7\u30d0\u30a4\u30b9\u3067\u3042\u308bTM1630\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u3000MCU\u3068\u306fSTB, DIO, CLK\u306e3\u7dda\u3067\u901a\u4fe1\u3057\u3001\u30bb\u30b0\u30e1\u30f3\u30c8\u306e\u30c9\u30e9\u30a4\u30d6\u3068\u6841\u30b9\u30ad\u30e3\u30f3\u306f\u5185\u90e8\u306e\u30ec\u30b8\u30b9\u30bf\u306b\u66f8\u8fbc\u3093\u3060\u30c7\u30fc\u30bf\u306b\u5f93\u3063\u3066\u30c7\u30d0\u30a4\u30b9\u304c\u884c\u3063\u3066\u304f\u308c\u307e\u3059\u3002\u8f1d\u5ea6\u30827\u6bb5\u968e\u306b\u5909\u66f4\u3067\u304d\u3066\u6700\u5927\u6841\u6570\uff15\u6841\uff087\u30bb\u30b0\u30e1\u30f3\u30c8\u306e\u307f\u306e\u5834\u5408\uff09\u3042\u308b\u3044\u306f\uff14\u6841\uff087\u30bb\u30b0\u30e1\u30f3\u30c8\uff0b1\u30bb\u30b0\u30e1\u30f3\u30c8\uff09\u306eLED\u3092\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u30c9\u30e9\u30a4\u30d6\u3057\u307e\u3059\u3002MAXIM\u306eMX7291\/MX7221\u3068\u540c\u69d8\u306b\u4f7f\u3048\u307e\u3059\u304c\u3001\u6841\u6570\u304c\u5c11\u306a\u3044\u5206\u304b\u306a\u308a\u30c7\u30d0\u30a4\u30b9\u4fa1\u683c\u304c\u6291\u3048\u3089\u308c\u3066\u3044\u3066\u624b\u3092\u51fa\u3057\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3000TM1630\u3068\u540c\u3058\u304f\u79cb\u6708\u96fb\u5b50\u3067\u8ca9\u58f2\u3055\u308c\u3066\u3044\u308b\u4e0a\u4f4d\u30c7\u30d0\u30a4\u30b9\u3067\u3042\u308bTM1637\u306fArduino\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3053\u3061\u3089\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u901a\u4fe1\u306f\u666e\u901a\u306b\u30af\u30ed\u30c3\u30af\u3092\u30d1\u30bf\u30d1\u30bf\u3055\u305b\u3066\u30b9\u30c8\u30ed\u30fc\u30d6\u3067\u78ba\u5b9a\u3068\u3044\u304674HC595\u306b\u4f3c\u305f\u4ed5\u69d8\u3067\u3057\u305f\u306e\u3067\u7df4\u7fd2\u3082\u517c\u306d\u3066\u30e9\u30a4\u30d6\u30e9\u30ea\u5316\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20462\" src=\"https:\/\/www.nanghi.net\/wp-content\/uploads\/2021\/07\/2021071402.jpg\" alt=\"\u30b5\u30f3\u30d7\u30eb\u30b9\u30b1\u30c3\u30c1\u52d5\u4f5c\u4e2d\" width=\"400\" height=\"300\" srcset=\"https:\/\/www.nanghi.net\/wp-content\/uploads\/2021\/07\/2021071402.jpg 400w, https:\/\/www.nanghi.net\/wp-content\/uploads\/2021\/07\/2021071402-200x150.jpg 200w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><br \/>\n\u3000<strong><a href=\"\/?p=2834\">\u30d7\u30ed\u30c8\u30b7\u30fc\u30eb\u30c9<\/a>\u3067\u30b5\u30f3\u30d7\u30eb\u30b9\u30b1\u30c3\u30c1\u52d5\u4f5c\u4e2d<\/strong><br \/>\n\u3000\uff08\u4e0a\u4e0b\u9006\u306a\u306e\u306f\u5c0f\u6570\u70b9\u3092\u5225\u306e\u7528\u9014\u3067\u4f7f\u3046\u305f\u3081\u306b\u5de6\u4e0a\u8868\u793a\u306b\u3057\u3066\u3044\u307e\u3059\uff09<br \/>\n\u3000\u30e9\u30a4\u30d6\u30e9\u30ea\uff1a<a href=\"\/wp-content\/uploads\/2022\/01\/TM1630.zip\">TM1630.zip<\/a><\/p>\n<p>\u3000\u30ea\u30f3\u30af\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3067\u30ea\u30f3\u30af\u5148\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u4e0b\u3055\u3044\u3002<br \/>\n\u3000\u30e9\u30a4\u30d6\u30e9\u30ea\u306fZIP\u5f62\u5f0f\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4e8b\u3067\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3000\u30b9\u30b1\u30c3\u30c1\u4f8b\u3068\u3057\u3066\uff11\u6841\u70b9\u706f\u306e\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u3092\u5165\u308c\u3066\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3000LED\u8868\u793a\u6a5f\u80fd\u306fArduino Diecimila\uff08\u79cb\u6708\u4e92\u63db\u30dc\u30fc\u30c9\uff09, Uno, Nano\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3000\u4fe1\u53f7\u7dda\u306e\u30d4\u30f3\u914d\u7f6e\u306fTM1630.h\u306e\u4e2d\u3067\u6b21\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f\u5f8c\u3001\u30e1\u30c3\u30bd\u30c3\u30c9begin()\u306e\u547c\u51fa\u3057\u524d\u306b\u5b9a\u7fa9\u3057\u76f4\u305b\u3070\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<br \/>\n#define TM1630_STB 13<br \/>\n#define TM1630_DIO 12<br \/>\n#define TM1630_CLK 11<br \/>\n\u3000\u3042\u3068\u4f7f\u7528\u4e0a\u306e\u6ce8\u610f\u304c\uff11\u70b9\u3002<br \/>\n\u3000\u30c7\u30d0\u30a4\u30b9\u306e\u4ed5\u69d8\u306a\u306e\u304b\u3001\u30ad\u30fc\u8aad\u307f\u53d6\u308a\u3092\u3057\u3066\u8f1d\u5ea6\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u3082\u6709\u52b9\u306b\u306a\u308a\u307e\u305b\u3093\u3002<br \/>\n\u3000\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306e\u30d5\u30ed\u30fc\u30c1\u30e3\u30fc\u30c8\u3067\u306f\u8868\u793a\u30c7\u30fc\u30bf\u9001\u4fe1\u5f8c\u306b\u8f1d\u5ea6\u8a2d\u5b9a\u3092\u884c\u3044\u3001\u305d\u306e\u5f8c\u306b\u30ad\u30fc\u30b9\u30ad\u30e3\u30f3\u3059\u308b\u3068\u3044\u3046\u6d41\u308c\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u521d\u671f\u72b6\u614b\u3082\u3057\u304f\u306f\u30ad\u30fc\u30b9\u30ad\u30e3\u30f3\u3067\u306f\u7121\u304f\u4f55\u3089\u304b\u306e\u8868\u793a\u30c7\u30fc\u30bf\u306e\u9001\u4fe1\u3092\u884c\u3063\u305f\u5f8c\u3067\u306a\u3044\u3068\u8f1d\u5ea6\u8a2d\u5b9a\u304c\u6709\u52b9\u306b\u306a\u3089\u306a\u3044\u69d8\u3067\u3059\u3002\u30ad\u30fc\u30b9\u30ad\u30e3\u30f3\u3092\u884c\u3063\u3066\u305d\u306e\u5024\u3092\u898b\u3066\u8f1d\u5ea6\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u3082\u4e00\u5411\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u306e\u3067\u304b\u306a\u308a\u60a9\u307f\u307e\u3057\u305f\u3002<br \/>\n\u3000\u30e9\u30a4\u30d6\u30e9\u30ea\u306fGPL v.2\u306b\u6e96\u62e0\u3057\u305f\u3082\u306e\u3068\u3057\u3001\u7121\u4fdd\u8a3c\u304b\u3064\u4f7f\u7528\u3057\u305f\u4e8b\u306b\u3088\u308a\u751f\u3058\u305f\u3044\u304b\u306a\u308b\u4e0d\u5177\u5408\u30fb\u4e8b\u6545\u305d\u306e\u4ed6\u306e\u4e8b\u8c61\u4e00\u5207\u306b\u5bfe\u3057\u3066\u4f5c\u8005\u306f\u8cac\u4efb\u3092\u6709\u3057\u307e\u305b\u3093\u3002\u5229\u7528\u306b\u5f53\u305f\u3063\u3066\u306f\u4f7f\u7528\u8005\u306e\u81ea\u5df1\u8cac\u4efb\u306e\u4e0b\u3067\u884c\u3046\u3082\u306e\u3068\u3057\u307e\u3059\u3002<br \/>\n\u3000\u3068\u3001\u307e\u3042\u3001\u3053\u3093\u306a\u304a\u7d04\u675f\u4e8b\u3092\u4e00\u5fdc\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u304c\u3001\u3054\u81ea\u7531\u306b\u3054\u5229\u7528\u4e0b\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000MCU\u3067\u30b9\u30ad\u30e3\u30f3\u3059\u308b\u306e\u304c\u9762\u5012\u304f\u3055\u304f\u306a\u3063\u305f\u306e\u3067\uff08\u7b11\uff09\u3002 \u3000TM1630 \u3000\u6df1\u5733\u306e\u534a\u5c0e\u4f53\u30e1\u30fc\u30ab\u30fcTitan Micro Electronics\uff08\u5929\u5fae\u7535\u5b50\u80a1\u4efd\u6709\u9650\u516c\u53f8\uff09\u306e\u30c7\u30d0\u30a4\u30b9\u3067\u591a\u6841LED\u30c9\u30e9\u30a4\u30d0\u3068\u30ad\u30fc\u30b9\u30ad\u30e3\u30f3\u5165\u529b\u306e\u8907\u5408\u30c7<\/p>\n","protected":false},"author":1,"featured_media":20461,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5213],"tags":[1650,4625,4626],"class_list":["post-5351","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-device","tag-arduino","tag-tm1630","tag-4626"],"_links":{"self":[{"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/posts\/5351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5351"}],"version-history":[{"count":4,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/posts\/5351\/revisions"}],"predecessor-version":[{"id":23860,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/posts\/5351\/revisions\/23860"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=\/wp\/v2\/media\/20461"}],"wp:attachment":[{"href":"https:\/\/www.nanghi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nanghi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}