|

全部文章

第 9 / 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) -...

Advanced Oscilloscope Tips: Trigger/Decode/Automated Measurements - Let the Waveforms Speak for Themselves

Introduction. When I first got my oscilloscope, I thought as long as I could see the waveform, everything was fine. Until one day I was debugging a strange SPI communication issue - the waveform 'looked normal' but the device just wouldn't work. Later, a senior engineer told me: 'You're using the oscilloscope as a multimeter!' Today we're going to talk about advanced oscilloscope techniques. Not teaching you how to turn it on and see waveforms, but how to make the oscilloscope help you 'read' signals. After mastering these techniques, you'll find that the same equipment can reveal completely different amounts of information. What do you need to prepare? Items...

Using Git in Hardware Projects: Practical Guide for Schematic/PCB Version Control

Why do hardware projects need Git? Software folks might not understand: isn't hardware design just drawing schematics and laying out boards? Why do you need version control? Until one day, you change a resistor value, find the board doesn't work, want to revert but can't find the original file; or when collaborating, two people modify the schematic at the same time, and in the end you don't know whose version to use... That's when you understand: hardware design is also code, and it also needs version management. Today we'll talk about how to use Git to manage hardware projects, especially files generated by EDA tools like KiCad and Eagle...

Open Source Hardware Business Model: How to Make Money by Publishing Blueprints?

After years of hardware development, I'm often asked: 'You've published the schematics and code, others can just copy them, how do you make money?' This is indeed a good question. Today we'll talk about the business model of open source hardware - this business that sounds a bit 'counterintuitive', how it actually works. Let's get to the conclusion first: open source hardware can make money, and can make big money. Don't be fooled by the word 'open source'. Open source doesn't mean free, and certainly doesn't mean charity. Look at these numbers: - Arduino: revenue exceeded 30 million US dollars in 2023, with millions of units shipped globally -...

3D Printer Controller in Practice: Klipper Firmware Migration, Reviving Old Printers

Why upgrade your 3D printer to Klipper? If you're still running your 3D printer with Marlin firmware, you might be missing an opportunity to improve print quality. Klipper is the hottest 3D printer firmware in recent years, with a clever core idea: moving heavy computational tasks from the printer's mainboard to a more powerful host computer (like a Raspberry Pi). What are the benefits? - Higher step frequency: Marlin on 8-bit boards can only reach 50kHz at most, Klipper easily exceeds...

CAN Bus Analyzer in Practice: Car Diagnostic Tool DIY, Understanding the Network on Wheels

CAN Bus Analyzer in Practice: Car Diagnostic Tool DIY, Understanding the Network on Wheels. As an embedded developer, have you ever wondered how communication works inside a car? Today we'll build a CAN bus analyzer that can not only read automotive OBD-II data but also be used for industrial CAN network debugging. Spend less than 200 yuan to get the core functions of a professional-grade diagnostic tool! What do you need to prepare? ...

Wireless Keyboard Receiver in Practice: NRF24L01+ Dual-Mode Design, Low-Cost Custom Input Device

Want to make your own wireless keyboard receiver? Those wireless keyboards costing just tens of yuan on the market actually use NRF24L01+ modules at their core. Today we'll disassemble this black box and build a dual-mode wireless keyboard receiver for less than 50 yuan - it can work as both a regular keyboard and a macro keyboard. The inspiration for this project came from the mess of cables in my workshop. Every time I switch devices, I have to unplug and replug USB, which is annoying. So I decided to make my own, with customizable key mappings - it's just awesome. What do you need to prepare? Items...

STM32 vs CH55x Cost and Performance Comparison Analysis: No More Hesitation in Embedded Selection

Doing embedded development, choosing a chip is like choosing a partner - there's no 'best', only 'most suitable'. Recently a friend asked me: 'For mass production, should I choose STM32F103 or CH552?' This question seems simple, but actually involves multiple dimensions like cost, performance, development ecosystem, and supply stability. Today I'll pull out these two classic chips for a thorough comparison to help you make a wise choice. What needs to be clarified first? Before starting the comparison, let's clarify one point: STM32 and CH55x have different positioning...

2026 MQTT Broker Self-Hosting Tutorial: Mosquitto Server Configuration and Optimization

Self-host MQTT broker with Eclipse Mosquitto on Linux server, complete data control without relying on public platforms. Covers Mosquitto installation and deployment, user authentication and ACL permission configuration, TLS/SSL encrypted communication, and connection tuning performance optimization tips. Suitable for IoT developers to build secure and reliable localized message hub.