0: R0: 0x00
1: R1: 0x01
2: R2: 0x02
3: R3: 0x03
4: R4: 0x04
5: R5: 0x05
6: R6: 0x06
7: R7: 0x07
8: R8: 0x08
9: R9: 0x09
10: R10: 0x0a
11: R11: 0x0b
12: R12: 0x0c
13: R13: 0x0d
14: R14: 0x0e
15: R15: 0x0f
16: XPSR: 0x10
17: MSP: 0x11
18: PSP: 0x12
19: RAZ: 0x13
20: CFBP: 0x14
21: APSR: 0x15
22: EPSR: 0x16
23: IPSR: 0x17
24: PRIMASK: 0x18
25: BASEPRI: 0x19
26: FAULTMASK: 0x1a
27: CONTROL: 0x1b
28: BASEPRI_MAX: 0x1c
29: IAPSR: 0x1d
30: EAPSR: 0x1e
31: IEPSR: 0x1f
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
1.通过红外来控制小车前进转弯与洒水,也可以实现其他功能; 2.红外头接单片机,接的时候一定小心,管脚特别容易弄错,我今天调试的时候就烧了一个,幸亏还有一块,否则就完了。管脚向下,上面半圆柱那面凸起的向着脸这个方向,然后从左到右管脚分别是 信号线、地线、3.3v电源线,千万别错了,最好接之前再确认一下; 3.红外头信号线我接的是单片机的A4管脚,记得不要接错了; 4.插上j_link直接编译下载程序,下载后板子上LED2会亮起来(LED1是有没有接通电源的显示灯),表明程序已经运行; 5.用小遥控来控制,小遥控的左上角红色按钮为前进,第一行第二个Mode按钮为停止,第二行后面两个分别为向左向右,这个一看遥控就知道了,第三行后两个第一个为洒水,第二个为停止洒水;可以对照我附带的图片来对照; 6.小车驱动管脚与洒水管脚仍然用之前的管脚,不记得的话去led.h文件的11-17行查询一下,别插错了; 7.板子上有1个5v的管脚和3个3.3v的管脚,记得区别使用,不够的需要外接。
资源推荐
资源详情
资源评论
收起资源包目录
基于stm32红外控制代码 (119个子文件)
Template.uvgui.Administrator 68KB
keilkilll.bat 399B
stm32f10x_tim.c 107KB
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
stm32f10x_it.c 7KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_wwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
led.c 4KB
stm32f10x_crc.c 3KB
hwjs.c 3KB
main.c 3KB
usart.c 2KB
printf.c 2KB
exti.c 2KB
time.c 2KB
systick.c 1KB
key.c 1KB
public.c 23B
License.doc 39KB
stm32f10x.h 619KB
core_cm3.h 84KB
stm32f10x_tim.h 51KB
stm32f10x_rcc.h 30KB
stm32f10x_i2c.h 29KB
stm32f10x_can.h 27KB
stm32f10x_fsmc.h 26KB
stm32f10x_flash.h 25KB
stm32f10x_sdio.h 21KB
stm32f10x_adc.h 21KB
stm32f10x_dma.h 20KB
stm32f10x_gpio.h 20KB
stm32f10x_spi.h 17KB
stm32f10x_usart.h 16KB
stm32f10x_dac.h 15KB
misc.h 9KB
stm32f10x_bkp.h 7KB
stm32f10x_exti.h 7KB
stm32f10x_cec.h 6KB
stm32f10x_pwr.h 4KB
stm32f10x_it.h 4KB
stm32f10x_rtc.h 4KB
stm32f10x_iwdg.h 4KB
stm32f10x_dbgmcu.h 4KB
stm32f10x_conf.h 3KB
stm32f10x_wwdg.h 3KB
led.h 3KB
stm32f10x_crc.h 2KB
system_stm32f10x.h 2KB
key.h 451B
public.h 234B
hwjs.h 195B
exti.h 151B
printf.h 147B
systick.h 121B
time.h 113B
usart.h 102B
工程模板.hex 29KB
工程模板.build_log.htm 2KB
JLinkSettings.ini 285B
红外接线图片.jpg 2.71MB
遥控图片.jpg 2.05MB
startup_stm32f10x_xl.s 16KB
startup_stm32f10x_cl.s 16KB
startup_stm32f10x_hd.s 16KB
startup_stm32f10x_xl.s 16KB
startup_stm32f10x_cl.s 15KB
startup_stm32f10x_hd_vl.s 15KB
startup_stm32f10x_hd_vl.s 15KB
startup_stm32f10x_hd.s 15KB
startup_stm32f10x_hd.s 15KB
startup_stm32f10x_md_vl.s 14KB
startup_stm32f10x_ld_vl.s 13KB
startup_stm32f10x_md_vl.s 13KB
startup_stm32f10x_xl.s 13KB
startup_stm32f10x_xl.s 13KB
startup_stm32f10x_hd.s 13KB
startup_stm32f10x_cl.s 13KB
startup_stm32f10x_ld_vl.s 13KB
startup_stm32f10x_md.s 13KB
startup_stm32f10x_md.s 12KB
共 119 条
- 1
- 2
资源评论
yogwnn163
- 粉丝: 34
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功