|

全部文章

第 2 / 5 页

2026 ESP32 Matter智能灯泡开发:SDK到配网全流程

ESP32 Matter智能灯泡开发完整指南:从ESP-IDF SDK环境搭建、Matter固件编译烧录,到手机配网与多平台联动测试。支持Apple HomeKit、Google Home、Amazon Alexa等主流平台,实现跨生态智能家居控制。含代码示例与常见配网问题解决方案。

LoRa SX1278 远距离组网实战:ESP32 无线通信模块教程 2026

在物联网项目里,WiFi 和蓝牙够用了——直到你需要覆盖几百米甚至几公里。 农场温湿度监控、园区安防、水库水位监测……这些场景里,WiFi 信号?不存在的。这时候 LoRa(Long Range)就派上用场了。 而 SX1278,是目前性价比最高的 LoRa 芯片之一。淘宝上 15 块钱就能买到一个模块,加上 ESP32 主控,就能搭建一个覆盖数公里的无线传感器网络。...

RISC-V 架构入门:从原理到第一块开发板

写在前面 过去二十年,处理器架构市场基本被两家瓜分:Intel 的 x86 统治 PC 和服务,ARM 统治移动端和 IoT。你想自己做一颗芯片?抱歉,先交一笔不便宜的授权费。 RISC-V 的出现打破了这个局面。 RISC-V 是一个完全开源的指令集架构(ISA)。任何人可以免费使用它设计、制造、销售芯片或基于 RISC-V 的产品,而无需向任何公司支付许可费。它由加州大学伯克利分校的...

2026 MQTT物联网实战:ESP32数据采集+Node-RED可视化

从零搭建完整MQTT物联网监控系统:Mosquitto服务器部署与配置、ESP32传感器数据采集上报、Node-RED实时仪表盘可视化展示。附完整源码、接线图和常见故障排查方案,涵盖QoS设置、断线重连等实战技巧,适合物联网初学者和开发者参考。

GNSS Positioning Module in Practice: ATGM336H GPS Tracker DIY, Let Your Device Know Where It Is

Why do you need positioning function? Friends doing IoT projects must have encountered this requirement: where is the device? How to make it report its location? Shared bikes, logistics tracking, pet positioning, outdoor adventure recorders... these scenarios all require GNSS positioning. Today we'll use the domestic ATGM336H module (Beidou + GPS dual mode) to build a simple GPS tracker, cost under 50 yuan, and can store location data to SD card or send to server via 4G. ⚠️ Note: GNSS...

Getting Started with Embedded Linux Driver Development: Writing Your First Character Device Driver

Why learn driver development? Having worked in embedded development for so long, I've always been working in user space: writing applications, calling libraries, playing with frameworks. But sometimes you'll find that some features just can't be handled in user space—like precise timing control, direct register operations, or hardware interrupt handling. At this point, you need to step into kernel space and write drivers. Many people are intimidated by kernel drivers, thinking 'kernel programming is dangerous, if you mess up the system will crash.' That's true, but it's not that scary. Today we'll start from scratch and write the simplest character device driver to help you take the first step...

2026 Zigbee Gateway DIY: ESP32+CC2652 Open Source Solution (Cost <¥100)

Build your own Zigbee 3.0 smart home gateway with ESP32+CC2652P, total cost under 100 yuan, more flexible than Aqara gateway. Supports Zigbee2MQTT and Home Assistant deep integration, local control works offline, 50+ devices online simultaneously. Includes complete hardware list, CC2652 firmware flashing, ESP32 code tutorial, and pairing troubleshooting guide.

Linux Cross-Compilation in Practice: Docker Containerized Build Guide

Embedded developers have all encountered this awkward situation: code compiles fine on the dev machine, but errors appear everywhere when switching environments. Dependency library versions are wrong, toolchains are missing, environment variables are chaotic... Today we'll talk about how to use Docker to 'package' the cross-compilation environment and take it anywhere, making the build process truly reproducible. Why do you need a containerized cross-compilation environment? Pain points of traditional cross-compilation: - Tedious environment configuration: you have to reconfigure the toolchain every time you reinstall the system - Inconsistent versions: team members using different compiler versions causes strange issues -...

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

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.