|

全部文章

第 3 / 5 页

2026工业物联网实战:ESP32 Modbus RTU转MQTT协议桥接

手把手教你用ESP32搭建Modbus RTU转MQTT工业数据采集网关,让传统RS485设备(PLC、温湿度传感器、电表等)无缝接入物联网平台。包含完整硬件接线图、ESP32代码示例与MQTT Broker配置步骤,快速实现工业现场数据上云与远程监控。

2026 DIY智能门铃:人脸识别+微信推送(成本<¥300)

用树莓派+摄像头模块DIY智能门铃,集成AI人脸识别和微信消息推送功能。总成本不到300元,可自动识别家庭成员、陌生人按铃实时报警、快递到达即时通知。含完整硬件清单、Python代码和微信Server酱推送配置教程,周末即可完成的安防项目。

GNSS 定位模块实战:ATGM336H GPS 追踪器 DIY,让设备知道自己在哪

为什么需要定位功能? 做物联网项目的同学肯定遇到过这种需求:设备在哪?怎么让它上报位置?共享单车、物流追踪、宠物定位、户外探险记录仪……这些场景都离不开 GNSS 定位。 今天咱们用国产的 ATGM336H 模块(北斗 + GPS 双模)做一个简易 GPS 追踪器,成本不到 50 元,还能把位置数据存到 SD 卡或者通过 4G 发送到服务器。 ⚠️ 注意:GNSS...

TensorFlow Lite 部署实战:ESP32-S3 TinyML 边缘AI推理完整指南 2026

为什么需要 TensorFlow Lite? 大家好,我是 MakerOnsite。今天我们来聊聊如何在嵌入式设备上运行 AI 模型。 你可能已经用过 TensorFlow 训练模型,但有没有想过:怎么把训练好的模型放到树莓派、ESP32 或者单片机上运行? 这就是 TensorFlow Lite 要解决的问题。 传统的 TensorFlow 模型太大、太慢,根本跑不动嵌入式设备。而...

嵌入式 Linux 驱动开发入门:编写你的第一个字符设备驱动

为什么需要学驱动开发? 做嵌入式开发这么久,一直都是在用户空间折腾:写应用、调库、玩框架。但有时候你会发现,有些功能用户空间就是搞不定——比如精确的时序控制、直接操作寄存器、或者硬件中断处理。这时候,你就需要踏入内核空间,写驱动了。 很多人对内核驱动有畏惧心理,觉得"内核编程很危险,搞错了系统就挂了"。确实如此,但没那么可怕。今天我们就从零开始,写一个最简单的字符设备驱动,让你迈出第一步。...

2026 Zigbee网关DIY:ESP32+CC2652开源方案(成本<¥100)

用ESP32+CC2652P自制Zigbee 3.0智能家居网关,总成本不到100元,比Aqara网关更灵活。支持Zigbee2MQTT与Home Assistant深度集成、本地化控制断网可用、50+设备同时在线。附完整硬件清单、CC2652固件烧录、ESP32代码教程和配对排错指南。

Linux 交叉编译环境实战:Docker 容器化构建指南

做嵌入式开发的朋友都遇到过这个尴尬场景:代码在开发机上编译得好好的,换个环境就各种报错。依赖库版本不对、工具链缺失、环境变量混乱……今天我们来聊聊如何用 Docker 把交叉编译环境"打包"带走,让构建过程真正可复现。 为什么需要容器化的交叉编译环境? 传统交叉编译的痛点: - 环境配置繁琐:每次重装系统都要重新配置工具链 - 版本不一致:团队成员使用不同版本的编译器导致奇怪的问题 -...

示波器进阶技巧:触发/解码/自动化测量,让波形自己说话

引言 记得刚入手第一台示波器时,我觉得只要能看到波形就万事大吉了。直到有一次调试一个奇奇怪怪的 SPI 通信问题——波形明明"看起来正常",但设备就是不工作。后来一位老工程师告诉我:"你这是在用示波器当万用表使啊!" 今天我们就来聊聊示波器的进阶玩法。不是教你怎么开机看波形,而是如何让示波器帮你"读懂"信号。掌握这些技巧后,你会发现同样的设备,能看出完全不同的信息量。 需要准备什么? 物品 ...

Git 在硬件项目中的使用:原理图/PCB 版本管理实战指南

为什么硬件项目也需要 Git? 做软件的朋友可能无法理解:硬件设计不就是画个图、布个板子吗?要什么版本控制? 直到有一天,你改了个电阻值,发现板子不工作了,想回退却找不到原来的文件;或者团队协作时,两个人同时改了原理图,最后不知道用谁的版本…… 这时候你就明白了:硬件设计也是代码,也需要版本管理。 今天我们就来聊聊,如何用 Git 管理硬件项目,特别是 KiCad、Eagle 这些 EDA...

开源硬件的商业模式:如何靠公开图纸赚钱?

做硬件开发这么多年,经常被问到一个问题:"你把原理图、代码都公开了,别人直接抄走,你怎么赚钱?" 这确实是个好问题。今天我们就来聊聊开源硬件的商业模式——这个听起来有点"反直觉"的生意,到底是怎么运转的。 先说结论:开源硬件能赚钱,而且能赚大钱 别被"开源"两个字骗了。开源不等于免费,更不等于做慈善。看看这些数字: - Arduino:2023 年营收超过 3000 万美元,全球出货量数百万 -...

3D 打印机控制器实战:Klipper 固件移植,让老打印机焕发新生

为什么要把 3D 打印机升级到 Klipper? 如果你还在用 Marlin 固件跑 3D 打印机,那你可能错过了一个提升打印质量的机会。Klipper 是近年来最火的 3D 打印机固件,它的核心思路很聪明:把繁重的计算任务从打印机主板移到性能更强的上位机(比如树莓派)上。 这样做有什么好处? - 更高的步进频率:Marlin 在 8 位主板上最高只能跑到 50kHz,Klipper 轻松突破...

CAN 总线分析仪实战:汽车诊断工具 DIY,读懂车轮上的网络

CAN 总线分析仪实战:汽车诊断工具 DIY,读懂车轮上的网络 作为一名嵌入式开发者,你是否好奇汽车内部是如何通信的?今天我们就来动手制作一台 CAN 总线分析仪,不仅能读取汽车 OBD-II 数据,还能用于工业 CAN 网络调试。花不到 200 元,就能拥有专业级诊断工具的核心功能! 需要准备什么? ...

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...

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...

WCH CH559: A Powerful Enhanced 8-bit USB Microcontroller

In today's rapidly developing embedded systems, microcontrollers (MCUs) play a crucial role. The CH559 chip from WCH (Nanjing Qinheng Microelectronics) is an enhanced 8-bit USB microcontroller that combines high-performance processing capability with rich peripheral features, making it highly competitive in various application scenarios. 1. CH559 Features The CH559 is a microcontroller based on the E8051 core, compatible with the MCS51 instruction set. Its key features include: - High-speed processing...

Next-Generation Microcontroller: A Deep Dive into Raspberry Pi RP2350

The Raspberry Pi RP2350 is a new-generation microcontroller from Raspberry Pi, with major improvements over its predecessor RP2040. This article explores RP2350's features, comparisons with RP2040, differences between A and B variants, development options and limitations, GPIO pin characteristics, and application cases, with special focus on USB host and device emulation examples. 1. RP2350 Features RP2350...

Top 5 Most Common Wireless Communication Protocols in IoT

Today I'll discuss the 10 most widely used wireless communication protocols in the IoT field. The rapid development of IoT has made our lives more convenient, but the emergence of various wireless communication protocols also brings considerable trouble to product selection. Below, I'll introduce in detail the 10 most important wireless communication technologies in the current IoT field, ranked by usage frequency from high to low. 1. Bluetooth/BLE Bluetooth is a short-distance, low-power wireless connection technology, mainly used to connect fixed devices and mobile devices. Its main advantages include: -...

2026 RJ45 and POE Pinout Guide

In today's connected world, we're all linked together. The pinout definitions for the most basic RJ45 interface (commonly called crystal head) may be essential reference material for engineering or troubleshooting. However, the POE protocol built on RJ45 is also frequently used in video surveillance, device power supply, and other applications. This article briefly summarizes the different pin definitions in RJ45 interfaces and POE specifications to help engineers with quick reference.