diff --git a/docs/assets/css/main-min.css b/docs/assets/css/main-min.css index 01b3c88b..8f0fe722 100644 --- a/docs/assets/css/main-min.css +++ b/docs/assets/css/main-min.css @@ -1 +1 @@ -:root{--theme-color:hsl(204,90%,45%)}@font-face{font-family:Montserrat;font-style:normal;src:url("https://static-cdn.m5stack.com/image/product_jpg/assets/font/montserrat_n5.e72d00d31ae5399d260a80ec70322c62c1819762.woff2") format("woff2")}*{font-family:Montserrat}a{text-decoration:none !important;color:#007bff}img{z-index:51}.product_pic img{width:30%}@media screen and (max-width:768px){.product_pic img{width:100%}}#pc_anchor{position:fixed;top:50%;left:50px;transform:translateY(-50%);z-index:50;border-radius:10px;overflow:hidden;box-shadow:0 1px 20px 1px #e6e6e6;z-index:1880}#pc_anchor .el-submenu .el-menu-item{min-width:195px}#pc_anchor .el-menu{border:0}#pc_anchor .el-menu .el-menu-item-group__title{background-color:#ececee}#pc_anchor .el-menu .el-menu-item span,.el-submenu__title span{display:inline-block;padding-left:10px;width:70%;overflow:hidden}#pc_anchor img{height:30px}@media screen and (max-width:1460px){#pc_anchor{left:20px}}@media screen and (max-width:1300px){#pc_anchor{left:5px}#pc_anchor .el-menu-vertical-demo{width:210px}}@media screen and (max-width:970px){#pc_anchor{left:-45px}}#mb_header{display:none}.el-menu-vertical-demo:not(.el-menu--collapse){width:210px;min-height:400px}#mb_header{position:fixed;top:50%;transform:translateY(-50%);box-shadow:-5px 1px 20px 0 #e7e5e5;z-index:999;border-radius:10px;right:0}#mb_header .el-menu{border-right:0;border-radius:10px}#mb_header .el-submenu__title,.el-menu-item{padding:0 10px !important;text-align:center}#mb_header .el-menu-item div{padding:0 10px !important}#mb_header .el-menu-item li{height:30px}#pc_header{position:fixed;z-index:999;left:0;top:0;right:0;background-color:white;box-shadow:0 0 10px #ddd;padding:0 20px;display:flex;justify-content:space-between}#pc_header .el-menu{display:inline-block;padding:10px 0 0 0;border-bottom:0}.markdown-section{max-width:70%;margin-top:50px}.markdown-section a{color:hsl(211,100%,50%)}body[data-page="index.md"] .search{display:inline-block}body[data-page="en/faq.md"] .search{display:inline-block}body[data-page="zh_CN/README.md"] .search{display:inline-block}body[data-page="zh_CN/faq.md"] .search{display:inline-block}body[data-page="index.md"] .markdown-section{margin-top:0;max-width:75%}body[data-page="zh_CN/README.md"] .markdown-section{margin-top:0;max-width:75%}body[data-page="en/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="en/quick_start/m5stickv/m5stickv_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickv/m5stickv_quick_start.md"] article.markdown-section{max-width:100%}.pic{width:30%}.video_size{width:50%}.uiflow_banner{position:relative}.row a{color:white;text-decoration:none}.row a:hover{color:white;text-decoration:none}.uiflow_p{height:100px}.item{width:150px;margin-right:10px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none;background-color:white;box-shadow:1px 1px 20px 0 #f7f7f7a1}.related_links{position:fixed;top:35%;right:0;z-index:900;width:50px}.related_links a{display:block;width:50px;height:50px;text-decoration:none;transition:all .25s ease;float:right}.related_links a:first-child{border-top-left-radius:3px;background-color:#76c5f0}.related_links a:nth-child(2){background-color:#007cc2}.related_links a:nth-child(3){background-color:#dc214c}.related_links a:nth-child(4){background-color:#1f1a17}.related_links a:nth-child(5){border-bottom-left-radius:3px}.related_links a:hover{width:90px}.related_links a img{position:relative;top:5px;left:5px;width:40px}.related_links a:nth-child(4) img{top:3.5px;left:3.5px;width:43px}.related_links div img{position:relative;top:10px;left:0;width:50px;transition:all .25s ease}.related_links div img:hover{transform:scale(1.05)}@media screen and (max-width:768px){.related_links{display:none}.markdown-section{max-width:100% !important}}.item-title{white-space:nowrap;text-align:center;margin-top:0 !important;margin-bottom:28px !important}.item a{color:black;text-decoration:none}.mask{position:absolute;top:0;left:0;width:150px;height:100%;background:rgba(0,0,0,0.28);color:#fff;opacity:0}.mask h3{text-align:center}.product_page .item:hover{transform:scale(1.3);transition:all .2s ease;z-index:31 !important;box-shadow:0 0 10px #6ab2ff}.product_page .item:hover .quickstart_btn{display:block}.mask-btn1{border:0;width:90px;background-color:#007bffc7;color:white;border-radius:10px;height:19px}.product_list div.btn-group-vertical{display:none}.product_list:hover div.btn-group-vertical{position:fixed;display:block;margin:0;z-index:9999}.item .mask_sku{position:absolute;bottom:0;width:100%;text-align:center;font-size:19px}main>.content{margin:0}div.card-img-overlay{background-color:rgba(0,0,0,0.6)}div.card-img-overlay:hover{background-color:rgba(0,0,0,0.25);color:blue !important}.banner{width:100%;height:300px;background-color:#fffbff}.product_page{margin-left:60px;margin-top:100px}.search{position:fixed;z-index:2000;top:22px;left:260px;padding:0 20px}.search input{border-radius:40px;border:0;outline:0;background:#eee;width:240px;height:38px;padding:0 0 0 20px}.search .search-btn{position:absolute;top:10px;right:40px;border-radius:100px;width:30px;height:30px}.search i{position:absolute;top:6px;right:7px;font-size:18px}.search .search_point{background-color:#f7f7f7;margin:2px 22px;display:none;overflow-y:auto;max-height:300px;box-shadow:0 2px 0 0 #007bff;max-width:260px;z-index:2000}.search .search_point a{padding:4px 20px;display:block}.search .search_point a:hover{color:#007bff}@media screen and (max-width:768px){.dropdown{display:block}#pc_anchor{display:none !important}#mb_header{display:block}#pc_header{display:none}.markdown-section{max-width:100%;margin-top:0;padding-left:45px;padding-right:45px}.banner div.card-img-overlay h4{font-size:1.3em;color:#fff;text-align:center}.banner{margin-left:8px;margin-right:0;width:130px}.item{width:130px;margin-left:5px;margin-right:5px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none}.uiflow_p{height:auto}.pc-navigation{display:none}.product_page{margin-left:0;margin-top:0}.mb-navigation{z-index:9999;position:fixed;top:0;left:0;right:50px;height:50px;color:#343a40;border-radius:0;background:white;line-height:inherit;display:block;box-shadow:-12px -1px 10px #888}.nav-content{position:fixed;top:50px;left:0;color:white;right:0;z-index:999}.search{position:fixed;top:15px !important;left:50% !important;right:auto !important;transform:translateX(-50%)}.video_size{width:100%}}@media screen and (max-width:768px){.pic{width:50%}}mark{background-color:#2673ffe0;color:white;border-radius:1px}.faq-class{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.faq-class h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.search-tips{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.search-tips h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.faq-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.faq-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}.faq-title.open{max-height:600px}.faq-title::before{background-color:#007bff;content:"";width:20px;height:20px;border-radius:20px;position:absolute;right:0;top:0;bottom:0;margin:auto}.faq-button{height:0;margin:0 !important}.faq-button::after{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;z-index:10}.faq-button::before{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;transform:rotate(90deg);z-index:10}.faq-answer{border:0;outline:0;font-weight:400;max-height:0;overflow:auto;transition:max-height .35s ease}.faq-answer div{padding-top:30px;color:#666 !important}.faq-answer div span{display:block}.faq-item .faq-title.open+.faq-answer{max-height:600px}.faq-img{margin-top:20px;margin-bottom:20px;width:40%;display:inline-block}.cases-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.cases-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}@media screen and (max-width:1180px){#pc_header>a{display:none}.search{right:30px;left:auto}}.easyloader-box{display:flex;flex-direction:row;width:80%}.easyloader-box>div{position:relative;width:50%;overflow:hidden}.easyloader-box img,video{width:100%}.easyloader-box p{margin:10px 25px;color:white}.easyloader-box p:last-child{overflow-y:scroll;height:20%;font-size:10px}.easyloader-mask{position:absolute;right:0;bottom:6px;height:100%;width:100%;background-color:black;opacity:.7;transition:all .3s;display:flex;flex-direction:column;justify-content:center}.easyloader-mask a{margin-top:50px;text-align:center}.video_play{bottom:-100%}.easyloader-btn{position:absolute;display:flex;flex-direction:row;justify-content:space-around;bottom:7%;width:100%;padding:0 20px}.easyloader-btn a{width:90px;text-align:center;padding:2px 10px;background-color:#007bff;color:white !important;border-radius:10px}.easyloader-btn a:hover{background-color:#45a9ff}@media screen and (max-width:768px){.easyloader-box{flex-direction:column;width:100%}.easyloader-box>div{width:100%}}.platform-box{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.platform-item{position:relative;overflow:hidden;margin:20px;box-shadow:0 0 5px 0 #dbdbdb;border-radius:15px;width:200px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:2px;height:300px;background-color:#d9d9d9;right:-22px;top:43px}.platform-item h3{position:absolute;top:50%;transform:translateY(-50%);width:100%;text-align:center;font-size:20px;font-weight:normal;color:#fff;z-index:11}.platform-tag{position:absolute;top:50%;left:50%;width:150px;height:150px;background:#333;opacity:.8;border-radius:50%;z-index:10;-webkit-transform:scale(1,1);-moz-transform:scale(1,1);transform:scale(1,1);-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .5s cubic-bezier(0.23,0.53,0.22,0.93);transform:translate(-50%,-50%)}.platform-item a:hover .platform-tag{transform:translate(-50%,-50%) scale(4.3,4.3)}@media screen and (max-width:768px){.platform-box{margin-top:30px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:300px;height:2px;background-color:#d9d9d9;left:50%;top:105%;transform:translateX(-50%)}}.markdown-section h1{font-family:Montserrat;font-weight:1000;font-size:48px;display:inline}.markdown-section h2{font-family:Montserrat;font-weight:600;font-size:25px;padding:0;padding-top:110px;margin-top:-70px}.markdown-section p{font-family:Montserrat}.product_sku_tag{margin-left:5px;margin-top:5px}table thead,table tr{border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc}table{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aabfdc;border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc;overflow:auto;display:table !important}table td,table th{padding:5px 10px;font-size:13px;font-family:Montserrat;color:#597da1 !important;border-color:hsl(212,42%,88%);min-width:50px}table tr:nth-child(even){background:#d3dfed !important}table tr:nth-child(odd){background:#FFF !important}@media screen and (max-width:768px){table{display:block !important;overflow:scroll}}.files_download{display:flex;flex-direction:row;justify-content:space-evenly;flex-wrap:wrap;margin:45px}.files_download .item{display:flex;justify-content:center;width:200px;box-shadow:4px 4px 7px 0 #cecece;transition:all .25s ease}.files_download .item:hover{transform:scale(1.2)}#tag_title{position:absolute;color:#fff;width:160px;font-size:14px;padding:4px;background:#007bffc7;border:solid 1px #e9f7f6;border-radius:5px;text-align:center;z-index:40}#tag_title::after{content:" ";position:absolute;top:50%;left:-18px;width:0;height:0;border-width:8px;border-style:solid;border-color:transparent #007bffc7 transparent transparent;transform:translateY(-50%)}.el-icon-loading{font-size:88px}[v-cloak]{display:none}#search_cover{z-index:1998;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000087;overflow:scroll}#search_contant_box{margin:90px 15% 10% 15%;padding:50px 100px 50px 100px;background-color:#ffffffd6;overflow:scroll}#close_search{position:fixed;right:20%;font-size:30px;z-index:2000}@media screen and (max-width:768px){#search_contant_box{margin:0;padding:60px 20px 60px 20px;height:100%}#search_contant_box .el-tabs__header{margin-left:55px}#close_search{right:15px}}#product_result img{width:100%}.quickstart_btn{position:absolute;border:0;color:white;left:30px;bottom:38px;transform:scale(1);font-size:9px;display:none;bottom:6px}.box-card .el-tag{margin-top:5px;cursor:pointer} +:root{--theme-color:hsl(204,90%,45%)}@font-face{font-family:Montserrat;font-style:normal;src:url("https://static-cdn.m5stack.com/image/product_jpg/assets/font/montserrat_n5.e72d00d31ae5399d260a80ec70322c62c1819762.woff2") format("woff2")}*{font-family:Montserrat}a{text-decoration:none !important;color:#007bff}img{z-index:51}.product_pic img{width:30%}@media screen and (max-width:768px){.product_pic img{width:100%}}#pc_anchor{position:fixed;top:50%;left:50px;transform:translateY(-50%);z-index:50;border-radius:10px;overflow:hidden;box-shadow:0 1px 20px 1px #e6e6e6;z-index:1880}#pc_anchor .el-submenu .el-menu-item{min-width:195px}#pc_anchor .el-menu{border:0}#pc_anchor .el-menu .el-menu-item-group__title{background-color:#ececee}#pc_anchor .el-menu .el-menu-item span,.el-submenu__title span{display:inline-block;padding-left:10px;width:70%;overflow:hidden}#pc_anchor img{height:30px}@media screen and (max-width:1460px){#pc_anchor{left:20px}}@media screen and (max-width:1300px){#pc_anchor{left:5px}#pc_anchor .el-menu-vertical-demo{width:210px}}@media screen and (max-width:970px){#pc_anchor{left:-45px}}#mb_header{display:none}.el-menu-vertical-demo:not(.el-menu--collapse){width:210px;min-height:400px}#mb_header{position:fixed;top:50%;transform:translateY(-50%);box-shadow:-5px 1px 20px 0 #e7e5e5;z-index:999;border-radius:10px;right:0}#mb_header .el-menu{border-right:0;border-radius:10px}#mb_header .el-submenu__title,.el-menu-item{padding:0 10px !important;text-align:center}#mb_header .el-menu-item div{padding:0 10px !important}#mb_header .el-menu-item li{height:30px}#pc_header{position:fixed;z-index:999;left:0;top:0;right:0;background-color:white;box-shadow:0 0 10px #ddd;padding:0 20px;display:flex;justify-content:space-between}#pc_header .el-menu{display:inline-block;padding:10px 0 0 0;border-bottom:0}.markdown-section{max-width:70%;margin-top:50px}.markdown-section a{color:hsl(211,100%,50%)}body[data-page="index.md"] .search{display:inline-block}body[data-page="en/faq.md"] .search{display:inline-block}body[data-page="zh_CN/README.md"] .search{display:inline-block}body[data-page="zh_CN/faq.md"] .search{display:inline-block}body[data-page="index.md"] .markdown-section{margin-top:0;max-width:75%}body[data-page="zh_CN/README.md"] .markdown-section{margin-top:0;max-width:75%}body[data-page="en/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="en/quick_start/m5stickv/m5stickv_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickv/m5stickv_quick_start.md"] article.markdown-section{max-width:100%}.pic{width:30%}.video_size{width:50%}.uiflow_banner{position:relative}.row a{color:white;text-decoration:none}.row a:hover{color:white;text-decoration:none}.uiflow_p{height:100px}.item{width:150px;margin-right:10px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none;background-color:white;box-shadow:1px 1px 20px 0 #f7f7f7a1}.related_links{position:fixed;top:35%;right:0;z-index:900;width:50px}.related_links a{display:block;width:50px;height:50px;text-decoration:none;transition:all .25s ease;float:right}.related_links a:first-child{border-top-left-radius:3px;background-color:#76c5f0}.related_links a:nth-child(2){background-color:#007cc2}.related_links a:nth-child(3){background-color:#dc214c}.related_links a:nth-child(4){background-color:#1f1a17}.related_links a:nth-child(5){border-bottom-left-radius:3px}.related_links a:hover{width:90px}.related_links a img{position:relative;top:5px;left:5px;width:40px}.related_links a:nth-child(4) img{top:3.5px;left:3.5px;width:43px}.related_links div img{position:relative;top:10px;left:0;width:50px;transition:all .25s ease}.related_links div img:hover{transform:scale(1.05)}@media screen and (max-width:768px){.related_links{display:none}.markdown-section{max-width:100% !important}}.item-title{white-space:nowrap;text-align:center;margin-top:0 !important;margin-bottom:28px !important}.item a{color:black;text-decoration:none}.mask{position:absolute;top:0;left:0;width:150px;height:100%;background:rgba(0,0,0,0.28);color:#fff;opacity:0}.mask h3{text-align:center}.product_page .item:hover{transform:scale(1.3);transition:all .2s ease;z-index:31 !important;box-shadow:0 0 10px #6ab2ff}.product_page .item:hover .quickstart_btn{display:block}.mask-btn1{border:0;width:90px;background-color:#007bffc7;color:white;border-radius:10px;height:19px}.product_list div.btn-group-vertical{display:none}.product_list:hover div.btn-group-vertical{position:fixed;display:block;margin:0;z-index:9999}.item .mask_sku{position:absolute;bottom:0;width:100%;text-align:center;font-size:19px}main>.content{margin:0}div.card-img-overlay{background-color:rgba(0,0,0,0.6)}div.card-img-overlay:hover{background-color:rgba(0,0,0,0.25);color:blue !important}.banner{width:100%;height:300px;background-color:#fffbff}.product_page{margin-left:60px;margin-top:100px}.search{position:fixed;z-index:2000;top:22px;left:260px;padding:0 20px}.search input{border-radius:40px;border:0;outline:0;background:#eee;width:240px;height:38px;padding:0 0 0 20px}.search .search-btn{position:absolute;top:10px;right:40px;border-radius:100px;width:30px;height:30px}.search i{position:absolute;top:6px;right:7px;font-size:18px}.search .search_point{background-color:#f7f7f7;margin:2px 22px;display:none;overflow-y:auto;max-height:300px;box-shadow:0 2px 0 0 #007bff;max-width:260px;z-index:2000}.search .search_point a{padding:4px 20px;display:block}.search .search_point a:hover{color:#007bff}@media screen and (max-width:768px){.dropdown{display:block}#pc_anchor{display:none !important}#mb_header{display:block}#pc_header{display:none}.markdown-section{max-width:100%;margin-top:0;padding-left:45px;padding-right:45px}.banner div.card-img-overlay h4{font-size:1.3em;color:#fff;text-align:center}.banner{margin-left:8px;margin-right:0;width:130px}.item{width:130px;margin-left:5px;margin-right:5px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none}.uiflow_p{height:auto}.pc-navigation{display:none}.product_page{margin-left:0;margin-top:0}.mb-navigation{z-index:9999;position:fixed;top:0;left:0;right:50px;height:50px;color:#343a40;border-radius:0;background:white;line-height:inherit;display:block;box-shadow:-12px -1px 10px #888}.nav-content{position:fixed;top:50px;left:0;color:white;right:0;z-index:999}.search{position:fixed;top:15px !important;left:50% !important;right:auto !important;transform:translateX(-50%)}.video_size{width:100%}}@media screen and (max-width:768px){.pic{width:50%}}mark{background-color:#ffa105e0;color:white;border-radius:1px}.faq-class{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.faq-class h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.search-tips{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.search-tips h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.faq-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.faq-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}.faq-title.open{max-height:600px}.faq-title::before{background-color:#007bff;content:"";width:20px;height:20px;border-radius:20px;position:absolute;right:0;top:0;bottom:0;margin:auto}.faq-button{height:0;margin:0 !important}.faq-button::after{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;z-index:10}.faq-button::before{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;transform:rotate(90deg);z-index:10}.faq-answer{border:0;outline:0;font-weight:400;max-height:0;overflow:auto;transition:max-height .35s ease}.faq-answer div{padding-top:30px;color:#666 !important}.faq-answer div span{display:block}.faq-item .faq-title.open+.faq-answer{max-height:600px}.faq-img{margin-top:20px;margin-bottom:20px;width:40%;display:inline-block}.cases-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.cases-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}@media screen and (max-width:1180px){#pc_header>a{display:none}.search{right:30px;left:auto}}.easyloader-box{display:flex;flex-direction:row;width:80%}.easyloader-box>div{position:relative;width:50%;overflow:hidden}.easyloader-box img,video{width:100%}.easyloader-box p{margin:10px 25px;color:white}.easyloader-box p:last-child{overflow-y:scroll;height:20%;font-size:10px}.easyloader-mask{position:absolute;right:0;bottom:6px;height:100%;width:100%;background-color:black;opacity:.7;transition:all .3s;display:flex;flex-direction:column;justify-content:center}.easyloader-mask a{margin-top:50px;text-align:center}.video_play{bottom:-100%}.easyloader-btn{position:absolute;display:flex;flex-direction:row;justify-content:space-around;bottom:7%;width:100%;padding:0 20px}.easyloader-btn a{width:90px;text-align:center;padding:2px 10px;background-color:#007bff;color:white !important;border-radius:10px}.easyloader-btn a:hover{background-color:#45a9ff}@media screen and (max-width:768px){.easyloader-box{flex-direction:column;width:100%}.easyloader-box>div{width:100%}}.platform-box{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.platform-item{position:relative;overflow:hidden;margin:20px;box-shadow:0 0 5px 0 #dbdbdb;border-radius:15px;width:200px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:2px;height:300px;background-color:#d9d9d9;right:-22px;top:43px}.platform-item h3{position:absolute;top:50%;transform:translateY(-50%);width:100%;text-align:center;font-size:20px;font-weight:normal;color:#fff;z-index:11}.platform-tag{position:absolute;top:50%;left:50%;width:150px;height:150px;background:#333;opacity:.8;border-radius:50%;z-index:10;-webkit-transform:scale(1,1);-moz-transform:scale(1,1);transform:scale(1,1);-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .5s cubic-bezier(0.23,0.53,0.22,0.93);transform:translate(-50%,-50%)}.platform-item a:hover .platform-tag{transform:translate(-50%,-50%) scale(4.3,4.3)}@media screen and (max-width:768px){.platform-box{margin-top:30px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:300px;height:2px;background-color:#d9d9d9;left:50%;top:105%;transform:translateX(-50%)}}.markdown-section h1{font-family:Montserrat;font-weight:1000;font-size:48px;display:inline}.markdown-section h2{font-family:Montserrat;font-weight:600;font-size:25px;padding:0;padding-top:110px;margin-top:-70px}.markdown-section p{font-family:Montserrat}.product_sku_tag{margin-left:5px;margin-top:5px}table thead,table tr{border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc}table{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aabfdc;border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc;overflow:auto;display:table !important}table td,table th{padding:5px 10px;font-size:13px;font-family:Montserrat;color:#597da1 !important;border-color:hsl(212,42%,88%);min-width:50px}table tr:nth-child(even){background:#d3dfed !important}table tr:nth-child(odd){background:#FFF !important}@media screen and (max-width:768px){table{display:block !important;overflow:scroll}}.files_download{display:flex;flex-direction:row;justify-content:space-evenly;flex-wrap:wrap;margin:45px}.files_download .item{display:flex;justify-content:center;width:200px;box-shadow:4px 4px 7px 0 #cecece;transition:all .25s ease}.files_download .item:hover{transform:scale(1.2)}#tag_title{position:absolute;color:#fff;width:160px;font-size:14px;padding:4px;background:#007bffc7;border:solid 1px #e9f7f6;border-radius:5px;text-align:center;z-index:40}#tag_title::after{content:" ";position:absolute;top:50%;left:-18px;width:0;height:0;border-width:8px;border-style:solid;border-color:transparent #007bffc7 transparent transparent;transform:translateY(-50%)}.el-icon-loading{font-size:88px}[v-cloak]{display:none}#search_cover{z-index:1998;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000087;overflow:scroll}#search_contant_box{margin:90px 15% 10% 15%;padding:50px 100px 50px 100px;background-color:#ffffffd6;overflow:scroll}#close_search{position:fixed;right:20%;font-size:30px;z-index:2000}@media screen and (max-width:768px){#search_contant_box{margin:0;padding:60px 20px 60px 20px;height:100%}#search_contant_box .el-tabs__header{margin-left:55px}#close_search{right:15px}}#product_result img{width:100%}.quickstart_btn{position:absolute;border:0;color:white;left:30px;bottom:38px;transform:scale(1);font-size:9px;display:none;bottom:6px}.box-card .el-tag{margin-top:5px;cursor:pointer} diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 7352fa99..fbd59378 100755 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -578,7 +578,7 @@ div.card-img-overlay:hover { } mark { - background-color: #2673ffe0; + background-color: #ffa105e0; color: white; border-radius: 1px; } diff --git a/docs/assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_01.webp b/docs/assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_01.webp new file mode 100644 index 00000000..70d6418a Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_01.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_02.webp b/docs/assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_02.webp new file mode 100644 index 00000000..f64f0656 Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_02.webp differ diff --git a/docs/assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_03.webp b/docs/assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_03.webp new file mode 100644 index 00000000..21290798 Binary files /dev/null and b/docs/assets/img/product_pics/atom_base/atomhub_switch_d/atom_switch_d_03.webp differ diff --git a/docs/en/atom/atomhub_switch_d.md b/docs/en/atom/atomhub_switch_d.md index bdc1a239..6e6fc696 100644 --- a/docs/en/atom/atomhub_switch_d.md +++ b/docs/en/atom/atomhub_switch_d.md @@ -2,11 +2,11 @@ SKU:K042-D -
+
## Description -**Atom Hub Switch D** is a dual relay expansion kit. The D in the name stands for “Direct” since the power supply is directly connected to the relays. The AC/DC power supply flows to the NO(Normally Open) contacts of the two relays and can be controlled via the M5Atom. When in use, the user only needs to connect the electrical load to the relay, and there is no need to connect the power line separately. Compared with the previous relay control scheme, this module will be more concise and efficient in controlling the electric load. In addition to the power supply for the relay, the input power supply will also provide 5V/1A DC power supply for the ATOM through the built-in step-down module. In order to ensure the safety of use, the power input circuit has overheating and short-circuit protection, when the current is too high or a short circuit occurs It can effectively disconnect the circuit to prevent damage to the components. A built-in SP485EE level conversion chip, provides an RS485 communication interface to support multi-device communication. It also integrates a 9-24V step-down 5V circuit to adapt to the power demand in industrial scenarios, and expand power supply capabilities. +**Atom Hub Switch D** is a dual relay expansion kit. The D in the name stands for "Direct" since the power supply is directly connected to the relays. The AC/DC power supply flows to the NO(Normally Open) contacts of the two relays and can be controlled via the M5Atom. When in use, the user only needs to connect the electrical load to the relay, and there is no need to connect the power line separately. Compared with the previous relay control scheme, this module will be more concise and efficient in controlling the electric load. In addition to the power supply for the relay, the input power supply will also provide 5V/1A DC power supply for the ATOM through the built-in step-down module. In order to ensure the safety of use, the power input circuit has overheating and short-circuit protection, when the current is too high or a short circuit occurs It can effectively disconnect the circuit to prevent damage to the components. A built-in SP485EE level conversion chip, provides an RS485 communication interface to support multi-device communication. It also integrates a 9-24V step-down 5V circuit to adapt to the power demand in industrial scenarios, and expand power supply capabilities. A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I/O devices. Combined with ATOM's built-in Bluetooth and WIFI functions, ATOM HUB SWITCH D can quickly build remote device switch applications. @@ -22,7 +22,7 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I ## Include -- 1x ATOM SWITCH +- 1x ATOM SWITCH D - 1x ATOM Lite - 4x Magnet - 1x double-side tape @@ -38,6 +38,31 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I - Intelligent switch +## Switch & Switch-D Compared + + + + + + + + + + + + + + + + + + + + + + +
/SwitchSwitch-D
Relay CurrentAC 250V/10AAC 250V/5A
Power InputHT3.96R 2PHT3.96R 3P
Relay Interface(NO,NC,COM) x2(NO(AC power supply), COM) x2
+ ## Specification @@ -87,26 +112,8 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I >EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver) -
-
-
-
- Windows - MacOS -
-
-
- -
- - -

Description:

-

Press the key to control the switch. The status of breathing light indicates the relay serial number and switch status. When the red light or green light is on, press the key to switch the status

-
-
-
+- **Windows** + - [FactoryTest](https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/CORE/EasyLoader_M5Paper_FactoryTest.exe) ## Related Link @@ -117,12 +124,12 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I
- +
ATOM221933232521
ATOM HUB SWITCHRelay1Relay2RXTXSDASCL
ATOM HUB SWITCH DRelay1Relay2RXTXSDASCL
## Schematic - + ## Example @@ -132,9 +139,15 @@ A pair of HY2.0-4P ports are included to connect to I2C peripherals or general I +## Video + + +