跳到主要內容

發表文章

目前顯示的是 2019的文章

Openwrt 下設定 Cloudflare DDNS

先安裝 DDNS Luci 介面DDNS安裝參考連結  OpenWrt 設定 DDNS 自動向 Google Domains 更新IP 安裝 ddns-scripts_cloudflare.com-v4 另外需要安裝 ca-bundle 、curl 、jq 這三個 輸入指令 opkg install ca-bundle curl jq 或在Luci介面搜尋安裝 安裝完後到Luci介面 動態 DNS 新增然後編輯 DDNS服務商 選擇 cloudflare 域名前填寫萬用字元 星號 * 後面是你的網址 使用者名稱填寫 你的cloudflare帳號 密碼則填全局API密鑰 到我的資料> API密鑰 > 全局API密鑰 My Profile > API Tokens >  Global API Key 如果是用子域名的話 # option domain - "hostname@yourdomain.TLD" # syntax changed to remove split_FQDN() function and tld_names.dat.gz hostname@yourdomain.TLD !需要用  @ 分隔! 再點高階設定 將IP位址來源改成URL 後保存啟用即可

win10 開機卡30分鐘 關閉ULPS

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000] "EnableULPS"=dword:00000000 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0001] "EnableULPS"=dword:00000000 把上面這段代碼保存為後綴為reg的格式,比如ULPS_Disable.reg 雙擊導入註冊表,重啟即可測試效果。 下面這段代碼就是開啟ulps的,使用方法同上: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0000] "EnableULPS"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\0001] "EnableULPS"=dword:00000001 ============================================= This zip contains two files: ULPS_Disable.reg ULPS_Enable.reg Basically it will just change the value of "EnableUlps" in the registry from "0" (disable) or "1" (enabl

The installation of vCenter Server failed due to an internal error. vCSA 6.7 本地安裝注意事項

vCSA 6.7 安裝過程到第二階段 都會出現錯誤 如果是在本地端進行安裝的話 注意事項 第一階段 設定時 FQDN 不要設定網址 設定跟主機一樣IP 這個IP 就是 會在你的 ESXi 主機上建立一台VM的IP 而這台VM就會是你 vCSA伺服器 然後預設匝道跟 DNS伺服器 都指向你的路由器IP 在第二階段設置完SSH後 使用SSH登入vCSA主機 輸入Shell 第一 /etc/hosts条目全部#注释,添加如下 127.0.0.1 localhost localhost.domain 第二 /etc/resolv.conf 全部注释,添加如下 192.168.x.x ##这个是你的内部DNS地址,在DNS上添加vcsa的解析即可。

3D列印 Marlin 擠出頭、熱床 溫度控制 PID值校正

Marlin 有提供 PID 參數自動校正的功能 (PID Autotune) 執行G-code "M303 C8 S175" (自動調整PID參數,溫度震盪8次後停止,目標溫度175度)。 待收到 "PID Autotune finished! Put the Kp, Ki and Kd constants into Configuration.h" 的訊息,請用測試過程中最後一輪的 Kp, Ki and Kd 值,替換掉 Configuration.h 中的 DEFAULT_Kp, DEFAULT_Ki 和 DEFAULT_Kd。之後重新燒錄韌體,完成擠出頭溫度控制校正。 熱床則執行執行G-code "M303 E-1 C8 S90" (自動調整PID參數,溫度震盪8次後停止,目標溫度90度) 熱床則對應  bedKp 、 bedKi 、bedKd  如果執行兩次指令覺得數值差異很大的話 C8 震盪8次  改為 C16 震盪16次 讓他計算平均值 有些加熱器初始幅度較大 導致每次計算結果差異大

3D列印 加斷料檢測 Filament Runout Sensors

先找到板子上空的Pin 我看到D11沒再使用 所以把微動開關用杜邦端子壓接好後接這上面 在pins_RAMPS.h中,將282行更改為: #define FIL_RUNOUT_PIN 11 //這裡設定PIN11 預設是4 也就是D4 看你板子上哪個空的 就設哪個  在Configuration.h中取消註解: #define FILAMENT_RUNOUT_SENSOR 之後重新上傳韌體即可!