SkillAgentSearch skills...

UltrasonicRanging

💠 51单片机 - 基于温度补偿的超声波测距系统

Install / Use

/learn @EchoShoot/UltrasonicRanging
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

UltrasonicRanging

STC89C51下基于温度补偿的超声波测距系统, 是我大三上期 "嵌入式开发课" 的课程设计项目. 所有的源码都是自己写的, 经过调优后比网上一些没有利用温度来修正的超声波测距源码要精确许多.

实验测试图

文件介绍

文件名称 | 文件作用 ------------ | ------------- Sonar.h \ Sonar.c | "HC-SR04超声波模块" temp.h \ temp.c | "DS18B20温度传感器模块" LCD1602.h \ LCD1602.c | "LCD1602显示温度与距离" Main.c | "程序运行逻辑"

程序流程

主程序流程图

flow_Main

HC-SR04超声波模块

flow_sonar

DS18B20温度传感器模块

flow_temp

硬件介绍

硬件连接图

硬件连接图

STC89C51

STC89C51

LCD1602

LCD1602

HC-SR04

HC-SR04

DS18B20

DS18B20

Related Skills

View on GitHub
GitHub Stars25
CategoryDevelopment
Updated5h ago
Forks0

Languages

C

Security Score

95/100

Audited on Apr 11, 2026

No findings