实验器材:
MiniSTM32F103开发板V3版本
实验目的:
学习串口的使用(接收与发送)
硬件资源:
1,DS0(连接在PA8)
2,按键KEY0(PC5)/KEY1(PA15)/KEY_UP(PA0,也称之为WK_UP)
实验现象:
本实验,STM32通过串口1和上位机对话,STM32在收到上位机发过来的字符串(以回车换
行结束)后, 原原本本的返回给上位机。下载后,DS0闪烁,提示程序在运行,同时每
隔一定时间,通过串口1输出一段信息到电脑。
注意事项:
1,电脑端串口调试助手波特率必须是9600.
2,请使用XCOM/SSCOM串口调试助手,其他串口助手可能控制DTR/RTS导致MCU复位/程序不运行
3,串口输入字符串以回车换行结束.
4,请用USB线连接在USB_232,找到USB转串口后测试本例程.
5,请确保PA9/PA10通过跳线帽连接在RXD/TXD上.
正点原子@ALIENTEK
2014-3-06
广州市星翼电子科技有限公司
电话:020-38271790
传真:020-36773971
购买:http://shop62103354.taobao.com
http://shop62057469.taobao.com
公司网站:www.alientek.com
技术论坛:www.openedv.com
没有合适的资源?快使用搜索试试~ 我知道了~
基于STM32f103的智慧插座设计
共228个文件
h:45个
c:42个
d:38个
需积分: 0 6 下载量 132 浏览量
2023-11-15
18:38:04
上传
评论 1
收藏 785KB 7Z 举报
温馨提示
电流电压功率监控, 蓝牙/wifi远程控制开关, 报警, 自动断电
资源推荐
资源详情
资源评论
收起资源包目录
基于STM32f103的智慧插座设计 (228个子文件)
USART.uvguix.32846 91KB
USART.uvguix.Administrator 140KB
USART.axf 442KB
keilkilll.bat 399B
stm32f10x_tim.c 107KB
ILI93xx.c 67KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
stm32f10x_fsmc.c 35KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_gpio.c 23KB
stm32f10x_dac.c 19KB
core_cm3.c 17KB
stm32f10x_cec.c 11KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
usart2.c 8KB
delay.c 8KB
main.c 7KB
oled.c 7KB
misc.c 7KB
stm32f10x_exti.c 7KB
sys.c 6KB
stm32f10x_wwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
usart3.c 4KB
tpad.c 4KB
usart.c 4KB
stm32f10x_crc.c 3KB
stm32f10x_it.c 2KB
timer.c 2KB
wdg.c 2KB
key.c 2KB
exti.c 2KB
led.c 1KB
led.c 953B
beep.c 756B
ili93xx.crf 371KB
ili93xx_1.crf 371KB
stm32f10x_tim.crf 362KB
main.crf 360KB
usart2.crf 351KB
usart3.crf 350KB
stm32f10x_can.crf 349KB
stm32f10x_adc.crf 348KB
stm32f10x_rcc.crf 348KB
stm32f10x_flash.crf 348KB
usart.crf 347KB
stm32f10x_i2c.crf 347KB
stm32f10x_usart.crf 346KB
stm32f10x_fsmc.crf 346KB
stm32f10x_sdio.crf 345KB
stm32f10x_spi.crf 345KB
stm32f10x_gpio.crf 344KB
stm32f10x_dma.crf 344KB
sys.crf 343KB
stm32f10x_dac.crf 342KB
stm32f10x_cec.crf 342KB
system_stm32f10x.crf 342KB
timer.crf 342KB
delay.crf 342KB
stm32f10x_bkp.crf 342KB
stm32f10x_pwr.crf 342KB
stm32f10x_rtc.crf 342KB
led.crf 341KB
stm32f10x_exti.crf 341KB
beep.crf 341KB
stm32f10x_wwdg.crf 341KB
misc.crf 341KB
stm32f10x_iwdg.crf 340KB
stm32f10x_crc.crf 340KB
stm32f10x_it.crf 340KB
stm32f10x_dbgmcu.crf 340KB
core_cm3.crf 4KB
main.d 2KB
ili93xx_1.d 2KB
usart3.d 2KB
ili93xx.d 2KB
stm32f10x_dbgmcu.d 2KB
usart2.d 2KB
stm32f10x_flash.d 2KB
stm32f10x_usart.d 2KB
stm32f10x_fsmc.d 2KB
stm32f10x_sdio.d 2KB
stm32f10x_iwdg.d 2KB
stm32f10x_gpio.d 2KB
stm32f10x_exti.d 2KB
stm32f10x_wwdg.d 2KB
stm32f10x_rcc.d 2KB
stm32f10x_dac.d 2KB
stm32f10x_crc.d 2KB
共 228 条
- 1
- 2
- 3
资源评论
qq_45806714
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功