基于STM32的物联网体感控制机械臂

摘****要

随着我国微型电子技术和嵌入式系统的发展,目前行业内相对比较传统的机械臂无法满足客户的需求。为了改进传统机械臂在控制上得短板问题,在本次毕业设计中,将使用相对先进、快捷、智能的控制机制。该系统的控制大脑为核心控制器32系列嵌入式开发系统,主要采用数字控制技术,将输入的连续模拟电压信号转换成离散的数字信号,实现无线控制。该基于STM32单片机的机械臂具有智能控制、无线传输等功能,而且性价比高、度准确、能耗较低、制作简易、使用方便快捷等特点,给人民生活带来了很大的影响,在市场上很受欢迎。

本设计的技术点主要在于STM32的PWM输出和STM32对MPU6050的信号接收。设计内容需要STM32微处理器、数字舵机、无线模块、MIPU6050等器件,提供基于STM32的PWM技术的数字舵机控制系统和STM32对MPU6050的信号接收与转换系统。 统采用STM32为核心,在Keil Uvision4的开发环境下进行编程。

基于单片机STM32区别于51单片机,所以针对STM32各部分功能进行了系统型简介。内容精简易懂,明确了重点内容,保障STM32的入门,零基础也可以开发。

该智能控制系统设计主要从国内外发展状况,硬件控制部件选择,根据控制原理绘制硬件电路,控制系统软件程序设计开发等方面进行详细讲解。该控制系统使用STM32嵌入式开发系统、无线控制部分、数字舵机等组成智能机械臂控制系统。

关键词:MPU6050传感器;机械臂;STM32;数字舵机;单片机

Abstract

With the development of micro electronic technology and embedded system in China, the traditional manipulator in the industry can not meet the needs of customers. In order to improve the traditional mechanical arm in the control of the shortcomings of the problem, in this graduation project, will use relatively advanced, fast, intelligent control mechanism. The control brain of the system is the core controller of the 32 series embedded development system, which mainly uses digital control technology to convert the input continuous analog voltage signal into discrete digital signal to achieve wireless control. The mechanical arm based on STM32 microcontroller has intelligent control, wireless transmission and other functions, and has the characteristics of high cost performance, accuracy, low energy consumption, simple production, convenient and fast use, which has brought a great impact on people's life and is very popular in the market.

The technical point of this design mainly lies in the PWM output of STM32 and the signal receiving of STM32 to MPU6050. The design content needs STM32 microprocessor, digital steering gear, wireless module, MIPU6050 and other components to provide digital steering gear control system based on STM32 PWM technology and SIGNAL receiving and conversion system of STM32 to MPU6050. The system uses STM32 as the core and is programmed in Keil Uvision4 development environment.

Based on the STM32 MCU is different from 51 MCU, so the function of each part of STM32 system is introduced. The content is simple and easy to understand, clear the key content, guarantee the entry of STM32, zero foundation can also be developed.

The intelligent control system design mainly from the domestic and foreign development, the choice of hardware control components, according to the control principle to draw the hardware circuit, control system software program design and development, etc. The control system is composed of STM32 embedded development system, wireless control part and digital steering gear.

Keywords: MPU6050 sensor; Mechanical arm; STM32; Digital steering gear; Single chip microcomputer

目录

[ ... 2](#摘 要... 2)

[第一章 绪论... 5](#第一章 绪论... 5)

[1.1 研究课题背景... 5](#1.1 研究课题背景... 5)

[1.2 国内外发展概况... 7](#1.2 国内外发展概况... 7)

[1.3 课题研究的目的... 8](#1.3 课题研究的目的... 8)

[1.4 课题的研究内容及章节安排... 9](#1.4 课题的研究内容及章节安排... 9)

[第二章 机械臂 控制系统的设计方案... 11](#第二章 机械臂控制系统的设计方案... 11)

[2.1 设计任务及要求... 11](#2.1 设计任务及要求... 11)

[2.2 机械臂总体设计方案... 11](#2.2 机械臂总体设计方案... 11)

[2.3 方案的论证与分析... 12](#2.3 方案的论证与分析... 12)

[第三章 系统硬件部分设计... 13](#第三章 系统硬件部分设计... 13)

[3.1 总体设计... 13](#3.1 总体设计... 13)

[3.2 主控制器设计... 14](#3.2 主控制器设计... 14)

[3.2.1 芯片介绍... 14](#3.2.1 芯片介绍... 14)

[3.2.2 最小系统电路设计... 16](#3.2.2 最小系统电路设计... 16)

[3.2.3 时钟电路设计... 17](#3.2.3 时钟电路设计... 17)

[3.2.4 复位电路设计... 17](#3.2.4 复位电路设计... 17)

[3.2.5 下载电路设计... 18](#3.2.5 下载电路设计... 18)

[3.3 显示模块... 18](#3.3 显示模块... 18)

[3.4 二氧化碳检测电路... 20](#3.4 二氧化碳检测电路... 20)

[3.5 温湿度检测电路... 22](#3.5 温湿度检测电路... 22)

[3.6 报警电路... 24](#3.6 报警电路... 24)

[第四章 系统软件部分设计... 25](#第四章 系统软件部分设计... 25)

[4.1 主程序流程图... 25](#4.1 主程序流程图... 25)

[4.2 显示程序设计... 25](#4.2 显示程序设计... 25)

[第五章 系统调试部分... 27](#第五章 系统调试部分... 27)

[5.1 软件研发的背景... 27](#5.1 软件研发的背景... 27)

[5.2 软件程序设计... 28](#5.2 软件程序设计... 28)

[5.3 电路图绘制... 29](#5.3 电路图绘制... 29)

[第六章 总结展望... 30](#第六章 总结展望... 30)

[参考文献... 31](#参考文献... 31)

[致 谢... 32](#致 谢... 32)

[附录A.. 33](#附录A.. 33)

[附录B.. 33](#附录B.. 33)

完整版论文及程序点击如下链接下载:

https://download.csdn.net/download/weixin_45905610/88515801

基于STM32的物联网体感控制机械臂资源-CSDN文库

相关推荐
sramdram7 小时前
基于32位微控制器的FOC汽车水泵方案
单片机·嵌入式硬件·汽车·微控制器·32位微控制器
十月的皮皮9 小时前
stm20260720-从新手 C 到量产 STM32 工程:程序设计推导指南
c语言·开发语言·stm32·stm32cubemx·hal库
开发笔记-阿牛10 小时前
解析一款有意思的产品||CK6159A语音芯片设计的儿童专注力训练机-舒尔特玩具
stm32·单片机·嵌入式硬件·音频
玩转4G物联网11 小时前
FS800DTU 新品上线|免费使用 DMP 设备管理平台,支持远程批量配置 & OTA 升级
物联网·网络协议·tcp/ip·云平台·核心板·fs800dtu·iot管理平台
残影飞雪11 小时前
ESP32-C5下载烧录固件失败报错的原因
单片机·嵌入式硬件
鉴生Eric12 小时前
IoT基础设施产品商的未来:回归本质的三层能力
物联网
搞全栈小苏12 小时前
SIMetrix_simplis8.4安装教程——附安装包
stm32·单片机·嵌入式硬件·电力电子
MetrixAeroCore12 小时前
畜牧牛羊定位耳标物联网卡纽扣电池供电与休眠唤醒策略优化
物联网
智圣新创0113 小时前
存量团学系统效能跃升:智圣新创“青春科大”智慧团学平台二期升级的全周期建设参考
大数据·人工智能·物联网
qq_5739678213 小时前
STM32控制器
stm32·单片机·嵌入式硬件