|

全部文章

第 10 / 13 页

无线键盘接收器实战:NRF24L01+ 双模设计,低成本自定义输入设备

想不想自己做一个无线键盘接收器?市面上那些几十块的无线键盘,其实核心就是 NRF24L01+ 模块。今天我们来拆解这个黑盒子,用不到 50 元的成本,做一个支持双模切换的无线键盘接收器——既能当普通键盘用,也能当宏键盘使。 这个项目的灵感来自于我工作室里那堆乱七八糟的线缆。每次切换设备都要拔插 USB,烦得要死。索性自己做一个,还能自定义按键映射,简直不要太爽。 需要准备什么? 物品 ...

STM32 vs CH55x 成本与性能对比分析:嵌入式选型不再纠结

做嵌入式开发,选芯片就像选对象——没有最好的,只有最合适的。 最近有个朋友问我:"项目要量产,STM32F103 和 CH552 选哪个?"这个问题看似简单,实则涉及成本、性能、开发生态、供货稳定性等多个维度。今天我就把这两款经典芯片拉出来好好对比一下,帮你做出明智的选择。 需要先明确什么? 在开始对比之前,我们先明确一点:STM32 和 CH55x 定位不同。STM32 是 ARM...

2026 MQTT代理自建教程:Mosquitto服务器配置与优化

用Eclipse Mosquitto在Linux服务器上自建MQTT代理,数据完全掌控不依赖公共平台。涵盖Mosquitto安装部署、用户认证与ACL权限配置、TLS/SSL加密通信,以及连接数调优等性能优化技巧。适合物联网开发者搭建安全可靠的本地化消息中枢。

硬件 I2C 调试技巧:逻辑分析仪抓包实战

搞嵌入式开发的朋友都知道,I2C 这协议说起来简单,就两根线(SDA 和 SCL),真用起来能把你折腾得怀疑人生。设备不响应、数据读不对、时序有问题……今天我就用逻辑分析仪实战演示一下,怎么把这些奇奇怪怪的 I2C 问题一个个揪出来。 需要准备什么? 物品 型号/规格 价格 --- --- --- 逻辑分析仪 Saleae Logic 8 / 国产克隆版 ¥80-300 ...

从命令行检查 Linux 硬件和软件版本

本文将提供一个全面的指南,介绍如何使用各种命令行工具来检查你的 Linux 系统的硬件和软件版本。内容将分为硬件和软件两部分,并对不同类型的硬件和软件进行详细说明。 软件版本检查 1. 操作系统发行版版本 - 使用 /etc/os-release 文件: 在现代 Linux 系统中, /etc/os-release 文件包含了操作系统标识数据,包括发行版版本。可以使用 cat...

使用 Python 安装 Certbot 实现 Let's Encrypt SSL 证书自动续签

在当前的网络安全环境下,为网站启用 HTTPS 已经成为基本要求。主流浏览器会对未启用 SSL 的网站给出明显的安全警告,而近年来各大云服务商与免费 CA 机构提供的 SSL 证书有效期已进一步缩短至 30 天。如果运维人员忘记及时续签证书,极易导致 HTTPS 失效,进而引发业务中断。 为了解决这一问题,Let's Encrypt 提供了完全自动化的免费证书颁发服务,而 Certbot...

通用 SBC 温度与电压健康检查 — 快速参考指南

适用于:树莓派 3/4/5、NanoPi(NEO/R2S/R4S/R5S)、Orange Pi、Radxa、Libre Computer 等 🔥 1. 如何查看温度(通用方法) ✔️ 方法 1:读取 /sys/class/thermal/ — 所有 Linux SBC 都支持 示例输出: ✔️ 方法 2:使用 sensors 命令(如已安装) ⚠️ 并非所有传感器都会显示 —...

EDID完全指南 — 原理,数据结构和操作指南

✅ 什么是EDID? EDID(Extended Display Identification Data)是显示器(包括显示器、电视、投影仪)向视频源(如电脑、HDMI设备)发送的数据结构,用于描述其核心能力: - 支持的分辨率(如1920x1080, 3840x2160) - 刷新率(如60Hz, 120Hz) - 音频格式(如立体声, 5.1, Dolby) -...

Hardware I2C Debugging Tips: Logic Analyzer Packet Capture in Practice

Friends doing embedded development all know that I2C protocol sounds simple - just two wires (SDA and SCL) - but when you actually use it, it can drive you crazy questioning your life choices. Device not responding, data reading incorrectly, timing issues... Today I'll demonstrate with a logic analyzer how to catch these strange I2C problems one by one. What do you need to prepare? Items...

Checking Linux Hardware and Software Versions from the Command Line

This article provides a comprehensive guide on how to use various command-line tools to check hardware and software versions of your Linux system. The content is divided into hardware and software sections, with detailed explanations for different types of hardware and software. Software Version Check 1. Operating System Distribution Version - Using the /etc/os-release file: In modern Linux systems, the /etc/os-release file contains operating system identification data, including distribution version. You can use the cat command to view the file contents...

Automate Let's Encrypt SSL Certificate Renewal with Python Certbot

Enabling HTTPS has become a baseline requirement for websites. Modern browsers warn users about sites without SSL, and SSL certificate validity from major cloud providers and free CAs has been further reduced to just 30 days. If operators forget to renew on time, HTTPS breaks and causes service outages. To solve this, Let's Encrypt offers fully automated free certificate issuance, and Certbot is the officially recommended management tool. This article walks through installing Certbot via Python (pip) to automate SSL certificate provisioning and renewal, eliminating the operational risk of certificate expiration.

Universal SBC Temperature & Voltage Health Check — Quick Reference Guide

For: Raspberry Pi 3/4/5, NanoPi (NEO/R2S/R4S/R5S), Orange Pi, Radxa, Libre Computer, and more 🔥 1. How to check temperature (universal methods) ✔️ Method 1: Read /sys/class/thermal/ — supported on all Linux SBCs ✔️ Method 2: Use the sensors command (if installed) ⚠️ Not all sensors will be displayed — depends on kernel and hardware monitoring support...

EDID Complete Guide - Principles, Data Structure, and Operations

✅ What is EDID? EDID (Extended Display Identification Data) is a data structure sent by displays (including monitors, TVs, projectors) to video sources (such as computers, HDMI devices) to describe their core capabilities: - Supported resolutions (such as 1920x1080, 3840x2160) - Refresh rates (such as 60Hz, 120Hz) - Audio formats (such as stereo, 5.1, Dolby) -...

Building an Easy-to-Control and Fun Drone with ESP32

Drones are the favorite of tech enthusiasts, and developing your own drone with ESP32 is not only low-cost but also brings a great sense of achievement! ESP32 is a powerful microcontroller with integrated Wi-Fi and Bluetooth, perfect for DIY drone projects. This article will introduce how to build an easy-to-control drone with excellent user experience using ESP32, recommend several popular projects, and share build steps and practical tips. Whether you're a beginner or an experienced maker, this article will help you get started quickly!...

Linux C++ Build Tools Comparison: Make, CMake, Ninja, Meson and More

Introduction - explains the importance of build tools in software development. - emphasizes the impact of choosing the right build tool on development efficiency, performance, and maintainability. - explains the purpose of this article: comparing common Linux C++ build tools to help developers choose the right one. 1. Make - History: Created by Stuart Feldman in 1977 at Bell Labs. - Originally used to build Unix software, later became the standard build tool in Unix environments. Introduction: - Uses...

M4 Mac mini: Rational Review and Independent Thinking

Apple's latest Mac Mini M4 series has once again attracted the attention of many users with its compact design and powerful performance. The Mac Mini M4 offers two choices: the standard M4 chip and the more powerful M4 Pro chip, designed to meet the needs of different users. This article will explore in depth the performance, features, ports, pricing, and pros and cons of the Mac Mini M4, and provide you with purchase advice. 1. Mac Mini M4 Performance, Features and Ports The Mac Mini M4 uses Apple's latest...