2021-09-27 18:49:08 索炜达电子 615
项目编号:E1336
文件大小:2M
源码说明:带中文注释
开发环境:C编译器
简要概述:
本次项目中我们利用SMART103平台中的硬件资源控制电机驱动、红外遥控模块从而实现对小车的前进,后退,左右转弯以及速度调整,并能够持续加减速。速度状态通过LED指示状态来识别。通过此次项目,可以掌握电机驱动模块跟红外遥控模块的使用、I/O口作为输出模式时,CPU对I/O口的基本操作和控制,系统滴答定时器的工作原理、高级定时器TIM1的PWM调制原理、以及红外遥控器的工作原理、对系统工作有个整体认识。
目录│文件列表:
└ Smartcar
│ keilkill.bat
├ Device
│ │ lcd12864.c
│ │ lcd12864.h
│ │ lcd1602.c
│ │ lcd1602.h
│ │ moto.c
│ │ moto.h
│ │ pid.c
│ │ pid.h
│ │ range.c
│ │ range.h
│ │ speed.c
│ │ speed.h
│ │ telecontral.c
│ │ telecontral.h
│ │ timer3.c
│ │ timer3.h
│ │ trail.c
│ └ trail.h
├ Libraries
│ │ stm32f10x_conf.h
│ ├ CMSIS
│ │ │ core_cm3.c
│ │ │ core_cm3.h
│ │ │ stm32f10x.h
│ │ │ system_stm32f10x.c
│ │ │ system_stm32f10x.h
│ │ └ startup
│ │ │ startup_stm32f10x_cl.s
│ │ │ startup_stm32f10x_hd.s
│ │ │ startup_stm32f10x_hd_vl.s
│ │ │ startup_stm32f10x_ld.s
│ │ │ startup_stm32f10x_ld_vl.s
│ │ │ startup_stm32f10x_md.s
│ │ │ startup_stm32f10x_md_vl.s
│ │ └ startup_stm32f10x_xl.s
│ └ FWlib
│ ├ inc
│ │ │ misc.h
│ │ │ stm32f10x_adc.h
│ │ │ stm32f10x_bkp.h
│ │ │ stm32f10x_can.h
│ │ │ stm32f10x_cec.h
│ │ │ stm32f10x_crc.h
│ │ │ stm32f10x_dac.h
│ │ │ stm32f10x_dbgmcu.h
│ │ │ stm32f10x_dma.h
│ │ │ stm32f10x_exti.h
│ │ │ stm32f10x_flash.h
│ │ │ stm32f10x_fsmc.h
│ │ │ stm32f10x_gpio.h
│ │ │ stm32f10x_i2c.h
│ │ │ stm32f10x_iwdg.h
│ │ │ stm32f10x_pwr.h
│ │ │ stm32f10x_rcc.h
│ │ │ stm32f10x_rtc.h
│ │ │ stm32f10x_sdio.h
│ │ │ stm32f10x_spi.h
│ │ │ stm32f10x_tim.h
│ │ │ stm32f10x_usart.h
│ │ └ stm32f10x_wwdg.h
│ └ src
│ │ misc.c
│ │ stm32f10x_adc.c
│ │ stm32f10x_bkp.c
│ │ stm32f10x_can.c
│ │ stm32f10x_cec.c
│ │ stm32f10x_crc.c
│ │ stm32f10x_dac.c
│ │ stm32f10x_dbgmcu.c
│ │ stm32f10x_dma.c
│ │ stm32f10x_exti.c
│ │ stm32f10x_flash.c
│ │ stm32f10x_fsmc.c
│ │ stm32f10x_gpio.c
│ │ stm32f10x_i2c.c
│ │ stm32f10x_iwdg.c
│ │ stm32f10x_pwr.c
│ │ stm32f10x_rcc.c
│ │ stm32f10x_rtc.c
│ │ stm32f10x_sdio.c
│ │ stm32f10x_spi.c
│ │ stm32f10x_tim.c
│ │ stm32f10x_usart.c
│ └ stm32f10x_wwdg.c
├ Project
│ │ JLinkSettings.ini
│ │ samartcar.uvguix.doob
│ │ samartcar.uvoptx
│ │ samartcar.uvprojx
│ ├ DebugConfig
│ │ │ Smartcar_STM32F103VB.dbgconf
│ │ └ Target_1_STM32F103VB.dbgconf
│ └ Objects
│ └ samartcar.hex
├ System
│ │ delay.c
│ │ delay.h
│ │ sys.c
│ │ sys.h
│ │ usart.c
│ └ usart.h
├ User
│ └ main.c
└ 笔记