标准版
#第六届立创电赛#stm32手势控制器

创建时间:3年前

1464 0

视频

描述

<div class="document"> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">* 1、项目功能介绍</h3> <hr class="horizontal-splitline normal-bold-2"> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">通过以stm32芯片为核心,通过使用MPU6050检测手势,并将检测后的结果通过NRF24L01发给另外一个带有NRF24L01设备进行无线控制,并通过OLED屏幕显示控制状态,此外,设计中还带有按键、LED灯、EEPROM等外设,可实现多种功能,并且设备间stm32的每各引脚都单独引出,可实现功能的扩展。本项目也可以看作一个stm32开发板,板子上有CH340下载电路可以实现程序的下载,还有ST-link接口,可以实现程序的调试。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">*2、项目属性</h3> <hr class="horizontal-splitline normal-bold-2"> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">该项目是首次公开并开源的项目,属于原创作品。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">* 3、开源协议</h3> <hr class="horizontal-splitline normal-bold-2"> <p style="line-height: 1.8;">本项目遵循GPL3.0开源协议,项目内容全公开,供大家参考学习</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">*4、硬件部分</h3> <hr class="horizontal-splitline normal-bold-2"> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">1、硬件部分主要由:stm32芯片及其驱动部分,CH340下载电路,oled模块、mpu6050模块、nrf24l01模块、开关、LED电路、EEPROM电路、稳压电路组成,详情可参照原理图,以下介绍的是各部分电路组成、功能以及说明。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">(1)stm32f103c8t6芯片及其驱动部分</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">这里采用最常见的stm32c8t6芯片作为主控,外接晶振电路、复位电路、boot跳线电路,PCB画板时将芯片的每个引脚都引出,方便功能扩展。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">(2)CH340下载电路</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">CH340下载电路由USB接口、开关、CH340T芯片、12M晶振电路组成,该部分通过USB接口为整个电路提供电源,并且可作为串口下载程序。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">(3)LED电路</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">电路包含两个LED、其中一个电源指示灯、另一个由stm32芯片控制,。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">(3)oled模块、mpu6050模块、nrf24l01模块</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">OLED模块:使用IIC总线控制,可用于显示调试结果、图片等。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">mpu6050模块:使用IIC总线控制,作为姿态解算器,使stm32得到手的运动状态。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">nrf24l01模块:使用SPI总线控制,用于发射手势状态信息。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">(4)EEPROM电路</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">作为单片机的外储存器,可用于储存信息。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">(5)稳压电路</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">为整个电路提供3v与5v的转化。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">2、功能的实现</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">该电路通过MPU6050解算手势姿态、并将信息传递给stm32芯片、stm32芯片将接受到的信息处理后将信息通过nrf模块将信息发射出去,其他外设可自由控制。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><img src="//image.lceda.cn/pullimage/1ys0gvRVpxosylcF5WPRat066djhgLxCv6F9pyiV.png" width="690" height="522"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height: 1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">*5、软件部分</h3> <hr class="horizontal-splitline normal-bold-2"> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">1、该设备使用MDK keil5编写程序,使用cubemx辅助开发,程序可通过串口进行烧写、可以用ST-link进行调试,程序已通过附件上传。</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">2、功能模块图</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><img src="//image.lceda.cn/pullimage/jXZCWtaF68z68WyjzRBHimnPi7XbuwVsNGkyi78A.png"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt pap-left-indent-1.6em" style="line-height: 1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">*6、BOM清单</h3> <hr class="horizontal-splitline normal-bold-2"> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><img src="//image.lceda.cn/pullimage/dzPb583t9Y9fkIFgyusSg5U1ef2vN8kETk8SKgEA.png"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><img src="//image.lceda.cn/pullimage/4KZeamY5aWD6KxEwrj0BaPYZeng0LU1T17L9ZFXs.png"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><img src="//image.lceda.cn/pullimage/ZFI2w7Gx2QjAarrOK2yFmevhNcscticPaJV1RekW.png"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">*7、大赛LOGO验证</h3> <hr class="horizontal-splitline normal-bold-2"> <p style="line-height: 1.8;"><img src="//image.lceda.cn/pullimage/L3RNRUuV7YY6a2gQnH8BjKdVjgtotwBb0gRY1vra.png"></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> <h3 class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">* 8、演示您的项目并录制成视频上传</h3> <hr class="horizontal-splitline normal-bold-2"> <p style="line-height: 1.8;"> </p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><span style="color: #95a5a6; font-size: 14px;">视频要求:请横屏拍摄,分辨率不低于1280×720,格式Mp4/Mov,单个视频大小限100M内;</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><span style="color: #95a5a6; font-size: 14px;">视频标题:立创电赛:{项目名称}-{视频模块名称};如立创电赛:《自动驾驶》-团队介绍。</span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">视频链接:<a href="https://pan.baidu.com/s/1bioVbR3rmv29aBK_4Zarfg" target="_blank">https://pan.baidu.com/s/1bioVbR3rmv29aBK_4Zarfg</a></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;">提取码:7qe5</p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"><span style="font-size: 14px;">更多详情:<a href="/posts/06c94d90c2c447dfbd9ed7339ff4a5b1" target="_blank">https://diy.szlcsc.com/posts/06c94d90c2c447dfbd9ed7339ff4a5b1</a></span></p> <p class="paragraph text-align-type-left pap-line-1.3 pap-line-rule-auto pap-spacing-before-3pt pap-spacing-after-3pt" style="line-height: 1.8;"> </p> </div>

文档

stm32手势控制器_原理图

stm32手势控制器二代_PCB

BOM

ID Name Designator Footprint Quantity Manufacturer Part Manufacturer Supplier Supplier Part
1 K4-6×6_SMD KEY2,KEY3 KEY-SMD_4P-L6.0-W6.0-P3.90-LS10.0 2
2 4.7K R16-4.7K,R15-4 R0603 2
3 FC LED1,LED7,LED6,LED5,LED4,LED3,LED2 LED0805-RD 7
4 20pF C15-20PF,C16-20PF C0603 2
5 K2-3.6×6.1_SMD KEY1 KEY-SMD_2P-L6.2-W3.6-LS8.0 1
6 32.768KHz 32.768K CRYSTAL_SMD_SEIKOEPSON_MC156-4PIN_7.1X2.5MM 1
7 1K R2-1K,R3-1K,R4-1K,R14-1K R0805 4
8 M3 M1,M4,M3,M2 M3.3 4
9 100nF C14-100NF,C16-100NF,C15-100NF C0603 3
10 8MHz 8M HC-49S_L11.4-W4.8 1
11 10uf C2-106,C1-106 C0603 2
12 S8550_C181159 Q1 SOT-23-3_L2.9-W1.6-P1.90-LS2.8-BR 1
13 12MHz 12M OSC-SMD_L5.0-W3.2 1
14 NRF24L01 SPL2 WIRELM-SMD_NRF24L01 1
15 104 C6-104,C18-104,C8-104,C13-104,C17-104,C5-104,C7-104 C0603 7
16 22P C4-22PF,C3-22PF,C2-22PF,C1-22PF C0603 4
17 CH340T U8 SSOP-20_L7.5-W5.2-P0.65-LS8.0-BL 1
18 STM32F103C8T6 U1 LQFP-48_L7.0-W7.0-P0.50-LS9.0-BL 1
19 BL24C02F-PARC U6 SOP-8_L5.0-W4.0-P1.27-LS6.2-BL 1
20 HDR-IDC-2.54-2X3P P1 HEADER_PRG_2X3 1
21 220S-1*4P H=8.5MM Ytype Gold-plated ST-LINK DIP-1X4P2.54 1
22 USB-Micro_2 USB2 MICRO-USB-SMD_5P_C40957 1
23 AMS1117-3.3 U2 SOT-223-3_L6.5-W3.4-P2.30-LS7.0-BR 1
24 10k R2-10K,R3-10K,R1-10K R0805 3
25 510R R2-510R,R1-510R R0603 2
26 1M R1-1M R0805 1
27 Header-Female-2.54_1x20 P2,P3 HDR-TH_20P-P2.54-V 2
28 GY-521 MPU6050集成模块 U5 GY-521 MPU6050集成模块 1
29 10K R10-10K R0805 1
30 SS-12D02-VG4 SW1 SW-TH_SS-12D02-VG4 1
31 OLED_IIC2 U3 OLED_IIC 1
32 1K R13-1K,R11-1K,R12-1K R0805 3
33 S8050_C414195 Q2 SOT-23_L2.9-W1.3-P0.95-LS2.4-BR 1

附件

附件名 下载
控制程序.zip
BOM_#第六届立创电赛#stm32手势控制器_2021-09-06.pdf

成员

评论(0)

  • 表情
    emoji
    小嘉工作篇
    小嘉日常篇
  • 图片
成功
工程所有者当前已关闭评论
goToTop
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow