by Danny | Aug 18, 2025 | News
M-EP1 This project has brought me many new insights. I want to use this blog post to record my thoughts and learning throughout the process, and hopefully provide some reference for friends who are interested in creation. The starting point was actually quite simple....
by Danny | Aug 18, 2025 | Chinese
M-EP1 這次負責這個案子,讓我有許多新的體會。想藉這篇文章,記錄下過程中的思考與學習,也希望能給有志於創作的朋友一些參考。 事情的起點其實很簡單。某天老闆交辦:「有一塊模組需要進行控制,或許未來可以發展成我們自己的產品!」收到這個指令後,我依照過去的習慣,迅速地把腦中的想法畫在紙上,簡單勾勒出初步的概念圖(如下圖)。 說來有點......,上一次自己設計電路板時,SMD元件還沒普及。這才驚覺,自己其實已經和這個產業的最新進展有點脫節了。...
by Danny | Aug 12, 2025 | Coding
This time, I want to share one of my favorite Node.js development tips. Once you understand the event loop, you’ll realize how important it is to manage execution efficiency in your code so the event loop can work as expected. I often use setTimeout to achieve a...
by Danny | Jun 17, 2025 | Software
Boost Your WordPress Writing with WP Markdown WP Markdown is a modern WordPress plugin that brings the power of Markdown and Mermaid diagrams to your website. Whether you are a blogger, developer, or technical writer, WP Markdown makes your content creation faster,...
by Danny | Jun 16, 2025 | Software
SocketMonitor A powerful network packet monitoring tool that acts as a proxy between clients and target servers. It provides real-time packet inspection and analysis capabilities. Screenshot Overview graph LR Client[Client] Proxy[SocketMonitor Proxy] Target[Target...
by Danny | Jun 15, 2025 | Software
USART Assistant A professional serial communication tool designed for developers and engineers. This comprehensive UART/USART debugging assistant provides real-time monitoring, data analysis, and control capabilities for serial communication. Key Features Serial...
by qadmin | Jun 10, 2025 | Coding
Experiences and Precautions of Using #pragma pack(1) in STM32/ESP32 MCU Development Recently, while developing on STM32, I encountered issues with data transfer using struct conversions. After some research, I found that in embedded system development—especially with...
by Danny | Feb 13, 2025 | Linux
Banana Pi UART0 配置指南:如何正確設置串口控制台 簡介 在 Banana Pi 開發板上,UART0 預設被用作內核除錯輸出。本文將介紹如何正確配置 UART0 作為串口控制台,以及可能遇到的常見問題。 背景說明 Armbian 系統在 Banana Pi 上預設使用 UART0 輸出除錯資訊。如果您希望將 UART0 用作串口控制台,需要特別注意 PWM 設備樹覆蓋(DT Overlays)的配置。 配置步驟 1. 檢查 PWM 設備樹覆蓋 根據 README.sun8i-h3-overlays 文件說明:...
by Danny | Nov 21, 2024 | Linux
使用 VSCode 遠端開發時發現把 public key 加入 authorized_key 還是失效,之後才知道可以加上參數進行檢查,於事先在"命令提示字元執行ssh`: ssh -i [private key path name] -v gw@192.168.19.38 結果發現真的有問題: : : debug1: Next authentication method: publickey debug1: Offering public key: id_rsa-dmgw RSA...
by Danny | Mar 5, 2024 | Linux, Web
建立nextcloud如果覺的檔案在網頁上顯示的內容與實際檔案有出入時可以透過occ來重新建立檔案的索引。 假設nextcloud建立在/var/www/html之中: cd /var/www/html sudo -u www-data php occ files:scan [使用者名稱] 重建完成後會看到如下: +---------+-------+--------------+ | Folders | Files | Elapsed time | +---------+-------+--------------+ | 13...