{"id":86591,"date":"2022-09-28T09:03:35","date_gmt":"2022-09-28T02:03:35","guid":{"rendered":"http:\/\/httl.com.vn\/wiki\/blynk-la-gi\/"},"modified":"2022-09-28T09:03:35","modified_gmt":"2022-09-28T02:03:35","slug":"blynk-la-gi","status":"publish","type":"post","link":"https:\/\/httl.com.vn\/wiki\/blynk-la-gi\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t v\u00e0 s\u1eed d\u1ee5ng Blynk New 2.0 tr\u00ean Arduino IDE v\u1edbi ESP8266 – Nshop"},"content":{"rendered":"
h\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t v\u00e0 s\u1eed d\u1ee5ng blynk new 2.0 tr\u00ean arduino Ide v\u1edbi esp8266 <\/p>\n
<\/figure>\n
Blynk l\u00e0 m\u1ed9t n\u1ec1n t\u1ea3ng v\u1edbi c\u00e1c \u1ee9ng d\u1ee5ng \u0111i\u1ec7n tho\u1ea1i th\u00f4ng minh cho ph\u00e9p b\u1ea1n c\u00f3 th\u1ec3 d\u1ec5 d\u00e0ng t\u01b0\u01a1ng t\u00e1c v\u1edbi b\u1ed9 vi \u0111i\u1ec1u khi\u1ec3n nh\u01b0: Arduino, Esp8266, Esp32 ho\u1eb7c Raspberry qua Internet.<\/p>\n
\u1ee8ng d\u1ee5ng blynk l\u00e0 m\u1ed9t trang t\u1ed5ng quan k\u1ef9 thu\u1eadt s\u1ed1 cho ph\u00e9p b\u1ea1n t\u1ea1o giao di\u1ec7n \u0111\u1ed3 h\u1ecda cho d\u1ef1 \u00e1n c\u1ee7a m\u00ecnh b\u1eb1ng c\u00e1ch k\u00e9o v\u00e0 th\u1ea3 c\u00e1c ti\u1ec7n \u00edch con kh\u00e1c nhau do nh\u00e0 cung c\u1ea5p thi\u1ebft k\u1ebf. <\/p>\n
blynk kh\u00f4ng b\u1ecb r\u00e0ng bu\u1ed9c v\u1edbi b\u1ea3ng ho\u1eb7c t\u1ea5m ch\u1eafn c\u1ee5 th\u1ec3. thay v\u00e0o \u0111\u00f3, n\u00f3 t\u01b0\u01a1ng th\u00edch v\u1edbi ph\u1ea7n c\u1ee9ng m\u00e0 b\u1ea1n l\u1ef1a ch\u1ecdn. Cho d\u00f9 Arduino hay Raspberry Pi c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c k\u1ebft n\u1ed1i v\u1edbi Internet qua Wi-Fi, Ethernet ho\u1eb7c chip ESP8266, Blynk s\u1ebd gi\u00fap b\u1ea1n lu\u00f4n k\u1ebft n\u1ed1i v\u00e0 s\u1eb5n s\u00e0ng cho c\u00e1c d\u1ef1 \u00e1n IoT. <\/p>\n
m\u00e1y ch\u1ee7 blynk: ch\u1ecbu tr\u00e1ch nhi\u1ec7m v\u1ec1 t\u1ea5t c\u1ea3 giao ti\u1ebfp gi\u1eefa \u0111i\u1ec7n tho\u1ea1i th\u00f4ng minh v\u00e0 ph\u1ea7n c\u1ee9ng. b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng \u0111\u00e1m m\u00e2y blynk ho\u1eb7c ch\u1ea1y c\u1ee5c b\u1ed9 m\u00e1y ch\u1ee7 blynk ri\u00eang c\u1ee7a m\u00ecnh. n\u00f3 l\u00e0 m\u00e3 ngu\u1ed3n m\u1edf, c\u00f3 th\u1ec3 d\u1ec5 d\u00e0ng x\u1eed l\u00fd h\u00e0ng ngh\u00ecn thi\u1ebft b\u1ecb v\u00e0 th\u1eadm ch\u00ed c\u00f3 th\u1ec3 ch\u1ea1y tr\u00ean raspberry pi. <\/p>\n
th\u01b0 vi\u1ec7n blynk, d\u00e0nh cho t\u1ea5t c\u1ea3 c\u00e1c n\u1ec1n t\u1ea3ng ph\u1ea7n c\u1ee9ng ph\u1ed5 bi\u1ebfn, cho ph\u00e9p giao ti\u1ebfp v\u1edbi m\u00e1y ch\u1ee7 v\u00e0 x\u1eed l\u00fd t\u1ea5t c\u1ea3 c\u00e1c l\u1ec7nh \u0111\u1ebfn v\u00e0 \u0111i. <\/p>\n
m\u1ed7i khi b\u1ea1n nh\u1ea5n m\u1ed9t n\u00fat trong \u1ee9ng d\u1ee5ng blynk, th\u00f4ng b\u00e1o s\u1ebd truy\u1ec1n \u0111\u1ebfn kh\u00f4ng gian \u0111\u00e1m m\u00e2y c\u1ee7a blynk v\u00e0 \u0111\u1ebfn ph\u1ea7n c\u1ee9ng c\u1ee7a b\u1ea1n. <\/p>\n
m\u1ecdi th\u1ee9 b\u1ea1n c\u1ea7n \u0111\u1ec3 t\u1ea1o v\u00e0 qu\u1ea3n l\u00fd ph\u1ea7n c\u1ee9ng \u0111\u01b0\u1ee3c k\u1ebft n\u1ed1i: cung c\u1ea5p thi\u1ebft b\u1ecb, hi\u1ec3n th\u1ecb d\u1eef li\u1ec7u c\u1ea3m bi\u1ebfn, \u0111i\u1ec1u khi\u1ec3n t\u1eeb xa v\u1edbi \u1ee9ng d\u1ee5ng web v\u00e0 thi\u1ebft b\u1ecb di \u0111\u1ed9ng, c\u1eadp nh\u1eadt ch\u01b0\u01a1ng tr\u00ecnh c\u01a1 s\u1edf k\u1ebft n\u1ed1i m\u1ea1ng, b\u1ea3o m\u1eadt, ph\u00e2n t\u00edch d\u1eef li\u1ec7u, qu\u1ea3n l\u00fd ng\u01b0\u1eddi d\u00f9ng v\u00e0 truy c\u1eadp, c\u1ea3nh b\u00e1o, t\u1ef1 \u0111\u1ed9ng h\u00f3a v\u00e0 h\u01a1n th\u1ebf n\u1eefa … <\/p>\n
c\u00e1c t\u00ednh n\u0103ng m\u1edbi li\u00ean t\u1ee5c \u0111\u01b0\u1ee3c th\u00eam v\u00e0o! <\/p>\n
n\u00ean theo m\u00ecnh app m\u1edbi cho ng\u01b0\u1eddi d\u00f9ng doanh nghi\u1ec7p l\u00e0 ch\u00ednh, ph\u1ee9c t\u1ea1p h\u01a1n cho l\u1eadp tr\u00ecnh vi\u00ean v\u00ec c\u00e1ch c\u1ea5u h\u00ecnh nhi\u1ec1u b\u01b0\u1edbc h\u01a1n, nh\u01b0ng c\u00f3 nhi\u1ec1u t\u00ednh n\u0103ng m\u1edbi, m\u1eabu m\u00e3 \u0111\u1eb9p, c\u00f3 ota l\u00e0 m\u1ed9t \u0111i\u1ec3m c\u1ed9ng. . \u1ee8ng d\u1ee5ng tr\u00ean ph\u00f9 h\u1ee3p v\u1edbi sinh vi\u00ean, nh\u1eefng ng\u01b0\u1eddi c\u00f3 nhu c\u1ea7u nghi\u00ean c\u1ee9u, l\u00e0m \u0111\u1ed3 \u00e1n, d\u1ef1 \u00e1n nh\u1ecf … <\/p>\n
y\u00eau c\u1ea7u: <\/strong> trong ph\u1ea7n m\u1ec1m arduino Ide c\u00f3 c\u00e0i \u0111\u1eb7t bo m\u1ea1ch esp8266, h\u00e3y th\u00eam th\u01b0 vi\u1ec7n blynk m\u1edbi <\/p>\n t\u1ea3i xu\u1ed1ng th\u01b0 vi\u1ec7n blynk t\u1ea1i \u0111\u00e2y: <\/strong> https:\/\/github.com\/blynkkk\/blynk-library <\/p>\n sau khi t\u1ea3i l\u00ean arduino Ide, h\u00e3y ch\u1ecdn sketch – & gt; bao g\u1ed3m th\u01b0 vi\u1ec7n – & gt; th\u00eam th\u01b0 vi\u1ec7n .zip <\/strong> v\u00e0 ch\u1ecdn t\u1ec7p \u0111\u00e3 t\u1ea3i xu\u1ed1ng. <\/p>\n tr\u01b0\u1edbc ti\u00ean h\u00e3y truy c\u1eadp https:\/\/blynk.cloud\/ <\/strong> \u0111\u0103ng nh\u1eadp, n\u1ebfu b\u1ea1n ch\u01b0a c\u00f3 t\u00e0i kho\u1ea3n, h\u00e3y ch\u1ecdn t\u1ea1o t\u00e0i kho\u1ea3n m\u1edbi <\/strong> \u0111\u1ec3 \u0111\u0103ng k\u00fd. Nh\u1eadp t\u00ean email c\u1ee7a b\u1ea1n, sau \u0111\u00f3 ch\u1ecdn \u0111\u0103ng k\u00fd <\/strong>. <\/p>\n H\u1ecd s\u1ebd g\u1eedi mail v\u1ec1 cho b\u1ea1n, sau \u0111\u00f3 ch\u1ecdn Create Paswor<\/strong>d \u0111\u1ec3 t\u1ea1o m\u1eadt kh\u1ea9u. Sau khi c\u00f3 t\u00e0i kho\u1ea3n, b\u1ea1n \u0111\u0103ng nh\u1eadp v\u00e0o ch\u1ecdn New Template, <\/strong>nh\u1eadp t\u00ean v\u00e0 ch\u1ecdn \u0111\u1ea7y \u0111\u1ee7 nh\u01b0 h\u00ecnh d\u01b0\u1edbi:<\/p>\n Sau khi t\u1ea1o xong s\u1ebd hi\u1ec7n giao di\u1ec7n b\u00ean d\u01b0\u1edbi, ta copy m\u00e3 Template \u0111\u1ec3 d\u00e1n v\u00e0o code, link t\u1ea3i code m\u00ecnh s\u1ebd \u0111\u1ec3 \u1edf ph\u1ea7n d\u01b0\u1edbi.<\/p>\n Ti\u1ebfp theo, ch\u1ecdn Datastreams <\/strong>-> Virtual Pin<\/strong> -> nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 datastream<\/strong> c\u1ee7a Pin -> Create<\/strong><\/p>\n \u1ede v\u00ed d\u1ee5 n\u00e0y m\u00ecnh l\u00e0m g\u1eedi d\u1eef li\u1ec7u c\u1ea3m bi\u1ebfn nhi\u1ec7t \u0111\u1ed9, \u0111\u1ed9 \u1ea9m l\u00ean Blynk n\u00ean c\u00e1c b\u1ea1n t\u1ea1o t\u01b0\u01a1ng t\u1ef1 m\u1ed9t Pin V1 l\u00e0 \u0111\u1ed9 \u1ea9m, v\u00e0 t\u1ea1o V3 l\u00e0 Pin \u0111i\u1ec1u khi\u1ec3n Led:<\/p>\n Sau khi t\u1ea1o Pin xong, ta ch\u1ecdn Web Dashboard<\/strong>, k\u00e9o c\u00e1c Gauge<\/strong> b\u00ean tr\u00e1i qua \u0111\u1ec3 hi\u1ec3n th\u1ecb nhi\u1ec7t \u0111\u1ed9 v\u00e0 \u0111\u1ed9 \u1ea9m, Switch<\/strong> \u0111\u1ec3 l\u00e0m c\u00f4ng t\u1eafc b\u1eadt t\u1eaft Led, m\u1ed9t bi\u1ec3u \u0111\u1ed3 chart<\/strong> \u0111\u1ec3 \u0111\u1ec3 hi\u1ec3n th\u1ecb nhi\u1ec7t \u0111\u1ed9 (b\u1ea3n free ch\u1ec9 hi\u1ec3n th\u1ecb \u0111\u01b0\u1ee3c 1 bi\u1ec3u \u0111\u1ed3), nh\u1ea5n bi\u1ec3u t\u01b0\u1ee3ng c\u00e0i \u0111\u1eb7t \u0111\u1ec3 ch\u1ecdn t\u1eebng Pin hi\u1ec3n th\u1ecb ph\u00f9 h\u1ee3p.<\/p>\n Sau khi ch\u1ecdn xong ta \u1ea5n Save<\/strong> \u0111\u1ec3 l\u01b0u c\u00e0i \u0111\u1eb7t:<\/p>\n Ti\u1ebfp theo, ch\u1ecdn bi\u1ec3u t\u01b0\u1ee3ng Seach<\/strong> -> New Device<\/strong> \u0111\u1ec3 ch\u1ecdn thi\u1ebft b\u1ecb t\u1eeb From template:<\/strong><\/p>\n Ch\u1ecdn t\u00ean template m\u00e0 b\u1ea1n \u0111\u00e3 t\u1ea1o -> Create<\/strong>, sau \u0111\u00f3 xem k\u1ebft qu\u1ea3:<\/p>\n tr\u00ean \u0111i\u1ec7n tho\u1ea1i c\u1ee7a b\u1ea1n sau khi t\u1ea3i \u1ee9ng d\u1ee5ng blynk m\u1edbi, h\u00e3y m\u1edf \u1ee9ng d\u1ee5ng \u0111\u00f3 l\u00ean r\u1ed3i \u0111\u0103ng nh\u1eadp v\u00e0o t\u00e0i kho\u1ea3n \u0111\u00e3 t\u1ea1o tr\u00ean web, tr\u00ean web s\u1ebd hi\u1ec3n th\u1ecb t\u00ean thi\u1ebft b\u1ecb m\u00e0 b\u1ea1n \u0111\u00e3 t\u1ea1o tr\u01b0\u1edbc \u0111\u00f3: <\/p>\n T\u01b0\u01a1ng t\u1ef1 nh\u01b0 b\u1ea3n c\u0169, c\u00e1c b\u1ea1n ch\u1ecdn bi\u1ec3u t\u01b0\u1ee3ng Button<\/strong> \u0111\u1ec3 \u0111i\u1ec1u khi\u1ec3n led, Value Display<\/strong> \u0111\u1ec3 hi\u1ec3n th\u1ecb nhi\u1ec7t \u0111\u1ed9, \u0111\u1ed9 \u1ea9m\u2026 nh\u1edb ch\u1ecdn ch\u00e2n Pin cho t\u1eebng m\u1ee5c:<\/p>\n Th\u00e0nh qu\u1ea3 sau khi t\u1ea1o xong, c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 thay \u0111\u1ed5i m\u00e0u, thi\u1ebft k\u1ebf giao di\u1ec7n cho t\u1eebng d\u1ef1 \u00e1n:<\/p>\n s\u1ea3n ph\u1ea9m b\u1ea1n c\u1ea7n cho v\u00ed d\u1ee5 n\u00e0y: <\/p>\n M\u00f4-\u0111un thu ph\u00e1t wifi esp8266 g\u1eadt \u0111\u1ea7u cp2102, esp-12f ai-thinker x1 <\/p>\n M\u00f4-\u0111un c\u1ea3m bi\u1ebfn nhi\u1ec7t \u0111\u1ed9 v\u00e0 \u0111\u1ed9 \u1ea9m dht22 <\/p>\n 1 m\u00f4-\u0111un chuy\u1ec3n ti\u1ebfp v\u1edbi c\u00e1ch ly quang h \/ l (5vdc) x1 <\/p>\n b\u1ed9 \u0111\u1ed5i ngu\u1ed3n 5v 2a x1 <\/p>\n k\u1ebft qu\u1ea3: <\/strong> trong \u1ee9ng d\u1ee5ng blynk m\u1edbi n\u00e0y, b\u1ea1n c\u00f3 th\u1ec3 truy c\u1eadp b\u1eb1ng tr\u00ecnh duy\u1ec7t web, b\u1ea1n c\u00f3 th\u1ec3 xem d\u1eef li\u1ec7u v\u00e0 \u0111i\u1ec1u khi\u1ec3n thi\u1ebft b\u1ecb gi\u1ed1ng nh\u01b0 tr\u00ean \u0111i\u1ec7n tho\u1ea1i, d\u1eef li\u1ec7u \u0111\u01b0\u1ee3c \u0111\u1ed3ng b\u1ed9 h\u00f3a r\u1ea5t nhi\u1ec1u, ch\u1eb3ng h\u1ea1n nh\u01b0 khi b\u1ea1n \u0111i\u1ec1u khi\u1ec3n \u0111\u00e8n b\u1eb1ng \u0111i\u1ec7n tho\u1ea1i, tr\u1ea1ng th\u00e1i c\u1ee7a \u0111\u00e8n c\u0169ng s\u1ebd \u0111\u01b0\u1ee3c c\u1eadp nh\u1eadt tr\u00ean giao di\u1ec7n web v\u00e0 ng\u01b0\u1ee3c l\u1ea1i. <\/p>\n","protected":false},"excerpt":{"rendered":" h\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t v\u00e0 s\u1eed d\u1ee5ng blynk new 2.0 tr\u00ean arduino Ide v\u1edbi esp8266 m\u1ee5c l\u1ee5c: gi\u1edbi thi\u1ec7u v\u1ec1 c\u00e1c t\u00ednh n\u0103ng c\u1ee7a blynk \u0111\u00e1nh gi\u00e1 v\u1ec1 \u1ee9ng d\u1ee5ng blynk m\u1edbi 2.0 so v\u1edbi phi\u00ean b\u1ea3n tr\u01b0\u1edbc c\u1ee7a blynk \u01b0u \u0111i\u1ec3m c\u1ee7a blynk m\u1edbi 2.0 nh\u01b0\u1ee3c \u0111i\u1ec3m c\u1ee7a \u1ee9ng d\u1ee5ng blynk 2.0 m\u1edbi thi\u1ebft…<\/p>\n","protected":false},"author":1,"featured_media":86592,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"_links":{"self":[{"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/posts\/86591"}],"collection":[{"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/comments?post=86591"}],"version-history":[{"count":0,"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/posts\/86591\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/media\/86592"}],"wp:attachment":[{"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/media?parent=86591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/categories?post=86591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/httl.com.vn\/wiki\/wp-json\/wp\/v2\/tags?post=86591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} thi\u1ebft l\u1eadp blynk tr\u00ean m\u00e1y t\u00ednh c\u1ee7a b\u1ea1n: <\/h3>\n
Thi\u1ebft l\u1eadp Blynk tr\u00ean \u0111i\u1ec7n tho\u1ea1i: <\/h3>\n
3. S\u01a1 \u0111\u1ed3 k\u1ebft n\u1ed1i v\u00e0 code tham kh\u1ea3o:<\/h2>\n
s\u01a1 \u0111\u1ed3 k\u1ebft n\u1ed1i m\u1ea1ch: <\/h3>\n
Code tham kh\u1ea3o: https:\/\/drive.google.com\/drive\/folders\/1VdOt5U214K7W3gcn_AGho4NL1z1oQUo2?usp=sharing<\/h3>\n