2021-09-27 18:49:08 索煒達(dá)電子 614
項(xiàng)目編號(hào):E1336
文件大?。?M
源碼說(shuō)明:帶中文注釋
開(kāi)發(fā)環(huán)境:C編譯器
簡(jiǎn)要概述:
本次項(xiàng)目中我們利用SMART103平臺(tái)中的硬件資源控制電機(jī)驅(qū)動(dòng)、紅外遙控模塊從而實(shí)現(xiàn)對(duì)小車的前進(jìn),后退,左右轉(zhuǎn)彎以及速度調(diào)整,并能夠持續(xù)加減速。速度狀態(tài)通過(guò)LED指示狀態(tài)來(lái)識(shí)別。通過(guò)此次項(xiàng)目,可以掌握電機(jī)驅(qū)動(dòng)模塊跟紅外遙控模塊的使用、I/O口作為輸出模式時(shí),CPU對(duì)I/O口的基本操作和控制,系統(tǒng)滴答定時(shí)器的工作原理、高級(jí)定時(shí)器TIM1的PWM調(diào)制原理、以及紅外遙控器的工作原理、對(duì)系統(tǒng)工作有個(gè)整體認(rèn)識(shí)。
目錄│文件列表:
└ 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
└ 筆記