# STM32-Board-For-Education-Teaching **Repository Path**: dxg_Project/STM32-Board-For-Education-Teaching ## Basic Information - **Project Name**: STM32-Board-For-Education-Teaching - **Description**: 这是STM32用于教学方向的板卡。如果你也在这个领域,加入进来一定让你有收获。祝好。This is STM32 Board For Education Teaching info repository.If u are on Education join us, good for u.Good Luck, have fun. - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2021-08-19 - **Last Updated**: 2023-10-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # STM32教育教学板卡 - 这是一款专用于教育教学的STM32板卡。如果你也是这个行业内的加入我们,你会得到成长。 - 该板卡只需一根USB线,即可完成所有任务需求。 - 我们提供所有相关历程,你只需要沉浸其中。 - 有任何困难/疑问,欢迎提出issue。 ## 代码管理+语言 - ~~Github~~ - [~~@中文~~](https://github.com/Dxg-Tmy/STM32-Board-For-Education-Teaching/blob/main/README.zh.md) - [~~@英文~~](https://github.com/Dxg-Tmy/STM32-Board-For-Education-Teaching) - Gitee - [@中文](https://gitee.com/dxg_Project/STM32-Board-For-Education-Teaching/blob/main/README.zh.md) - [@英文](https://gitee.com/dxg_Project/STM32-Board-For-Education-Teaching) ## 功能描述 - 核心IC:STM32F103ZET6[pin:144] - 下载方式 > 1、把hex文件拖入U盘进行下载【需要固件支持,类似bootloader + app】 > > 2、把hex文件通过常规USB模拟出来的hid设备发送的方法进行下载 > > 3、通过串口USB,进行下载【常规串口下载/bootloader+app】 > > 4、通过SWD,用ST-LINK, J-LINK 进行下载 - 板载支持 > 通信接口 > > >- 1 * SWD调试接口:ST-Link / J-Link, 用于下载+在线调试 > > > >- 1 * 通信串口(MicroUSB)(CP2102/CH340):用于打印Debug信息、外联其他设备,也可以做串口下载程序/bootLoader+app构架 来更新程序; > > > >- 1 * 常规USB接口(MicroUSB):用于STM32模拟成U盘,HID设备[例如键鼠] 等 > > > >- 3 * I2C:[SCL, SDA, GND] > > > >- 3 * SPI:[SCK, MISO, MOSI, CS] > > > > 非通信外接接口 > > >- 4 * 5V电源:[5, G, S] > > > > 显示器件 > > >- [0.28英寸 4位数码管[非时钟版本]](https://item.taobao.com/item.htm?spm=a230r.1.14.16.39779968F6KT4C&id=558593334588&ns=1&abbucket=1#detail) > > - 可以考虑用TM1650来驱动;替代74*595 > > > >- 8路LED流水灯[贴片,用整P的IO口] > > > >- [LCD12864(串并软件可控)](https://m.tb.cn/h.fYIXHGM) > > > > 输入器件[非传感器] > > >- 16 * 按键 贴片 > > > > 输出器件 > > >- [pwm 控制 振动电机 10x10x2.7mm](https://detail.tmall.com/item.htm?spm=a230r.1.14.50.23935910KCgBZW&id=543135574236&ns=1&abbucket=1&skuId=3961459732087) > > > >- [pwm 控制 无源蜂鸣器 MLT-8530, 3.3V](https://item.taobao.com/item.htm?spm=a230r.1.14.22.181a55c576kMAS&id=555924156309&ns=1&abbucket=1#detail) > > > > 传感器[I2C、SPI为主] > > >- 温湿度传感器:[DHT11 单总线](https://item.taobao.com/item.htm?spm=a1z10.3-c-s.w4002-21223910208.18.413f6a4byPxbP5&id=641575273743) > > > >- 加速度+角速度传感器:[MPU6050 I2C addr:11010000](https://item.taobao.com/item.htm?spm=a1z10.3-c-s.w4002-21223910208.9.3abc6a4bBSuW3C&id=522554835655) > > > > 存储器件 > > >- [MicroSD卡槽[SDIO+SPI]](https://item.taobao.com/item.htm?spm=a1z10.3-c-s.w4002-21223910208.9.44726a4biD0VQh&id=522573245737) [8G MicroSD卡](https://blog.csdn.net/wofreeo/article/details/82389664) > > > >- 2k eeprom [AT24C02](https://item.taobao.com/item.htm?spm=a1z10.3-c-s.w4002-21223910208.13.3c1a6a4bCeuYrx&id=522573913640) ## 例程 [@C 例程](https://gitee.com/dxg_Project/STM32-Board-For-Education-Teaching/tree/main/Examples/C) ~~@python 例程~~ ## 硬件概述 ![](https://gitee.com/Dxg_Private_Soft/img/raw/master/202112141639045.png) ## 器件引脚连接说明图 ### J-Link/ST-Link 下载/Debug 接线说明图 ![](https://gitee.com/Dxg_Private_Soft/img/raw/master/STM32教育版-J/ST-Link.jpg) ### IO 模块引脚说明 ![image-20211221153707764](https://gitee.com/Dxg_Private_Soft/img/raw/master/STM32%E6%95%99%E8%82%B2%E7%89%88-IO%E5%BC%95%E8%84%9A%E8%AF%B4%E6%98%8E.png) ## 入门指南[串口下载hex程序] - 硬件[所需部件] > - STM32-Board-For-Education-Teaching x 1 > - PC 一台 > - USB Micro数据线 - 软件 > - [@Git/Gitee 安装教程](https://gitee.com/dxg_Project/dxg-share-memrory#gitgitee-%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B) > - [@下载](https://blog.csdn.net/qq_42748213/article/details/90486054)+[@安装](https://jingyan.baidu.com/article/f7ff0bfc63f27f6f27bb134e.html) keil5 for mdk 【如果有异常了,请issue告知,/抱拳】 > - 下载 例程项目[以[@数码管代码](https://gitee.com/dxg_Project/STM32-Board-For-Education-Teaching/tree/main/Examples/C/SEG)为例] - 下载第一个例程 > - 根据自身PC的系统安装[@CP2102驱动](https://gitee.com/dxg_Project/STM32-Board-For-Education-Teaching/blob/main/Tool/cp2102%E9%A9%B1%E5%8A%A8.rar); > - 1.把 Boot0 接 V3.3(保持 Boot1 接 GND )。2.按一下复位按键。 >- 打开 [@串口下载工具 ](https://gitee.com/dxg_Project/STM32-Board-For-Education-Teaching/blob/main/Tool/%E4%B8%B2%E5%8F%A3%E4%B8%8B%E8%BD%BD%E8%BD%AF%E4%BB%B6.rar),根据下图进行操作【图中路径为下载的SDK包中 数码管 的例程路径】![image-20211214173140530](https://gitee.com/Dxg_Private_Soft/img/raw/master/202112141731611.png) > - 为了让下下载完后可以按复位执行程序,我们建议大家下载完成后将Boot0和Boot1还原到默认状态