2021-09-25 19:14:04 索炜达电子 1002
项目编号:E1310
文件大小:12M
源码说明:带中文注释
开发环境:C编译器
简要概述:
模拟刹车系统,stm32主控,带iic模式oled屏,驱动一个电机,模拟汽车运动,实践表明,很稳定。需要自己下载去打板,资料很详细,程序、pcb、模块资料等等一应俱全。
1、采用STM32的原因是因为驱动简单,自带ADC,pwm输出,功耗也低。
2、L9110是电机驱动芯片,供电之后,给正反转引脚加pwm或者高低电平就行,而且隔离了控制端与电机端,能对控制端起到保护作用。
3、AO3401是PMOS管,在电路里面用了两个,构成防反接电路。
4、四线制swd下载方式,请自行百度,不再赘述。
5、为什么单独开了个串口不用,是因为在调试程序的过程中可以用他来返回调试信息,能更快的填好程序。
6、XL-1509-5V是开关电源芯片,选用他的原因是,它价格低,,使用简单,保证一个电感和电容即可稳定输出5V电源。
7、OLED是四线制iic通讯方式,程序简单,驱动快速,能显示中英文,字符等等,不管是在功能上还是接线方式上都比1602和12864简单。
目录│文件列表:
├ 刹车系统PCB+程序
│ └ 刹车系统pcb+程序
│ ├ PCB
│ │ └ PCB_Project
│ │ │ 刹车系统.PcbDoc
│ │ │ 刹车系统.PcbDoc.htm
│ │ └ 刹车系统.SchDoc
│ └ 程序
│ │ ADC IO 汇总.jpg
│ │ keilkill.bat
│ ├ Libraries
│ │ ├ 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
│ ├ Output
│ │ └ ADC-多通道-DMA读取.hex
│ ├ Project
│ │ └ RVMDK(uv5)
│ │ │ BH-F103.uvguix.ang99
│ │ │ BH-F103.uvguix.ERRUN
│ │ │ BH-F103.uvoptx
│ │ │ BH-F103.uvprojx
│ │ │ EventRecorderStub.scvd
│ │ │ JLinkSettings.ini
│ │ ├ DebugConfig
│ │ │ │ ADC-______-DMA_____STM32F103ZE_1.0.0.dbgconf
│ │ │ │ _________STM32F103C8_1.0.0.dbgconf
│ │ │ └ _________STM32F103ZE_1.0.0.dbgconf
│ │ └ RTE
│ │ └ RTE_Components.h
│ └ User
│ │ codetab.h
│ │ main.c
│ │ stm32f10x_conf.h
│ │ stm32f10x_it.c
│ │ stm32f10x_it.h
│ ├ adc
│ │ │ bsp_adc.c
│ │ └ bsp_adc.h
│ ├ Buzz
│ │ │ bsp_buzz.c
│ │ └ bsp_buzz.h
│ ├ Che
│ │ │ bsp_che.c
│ │ └ bsp_che.h
│ ├ IIC
│ │ │ bsp_i2c_gpio.c
│ │ └ bsp_i2c_gpio.h
│ ├ OLED
│ │ │ OLED_I2C.c
│ │ └ OLED_I2C.h
│ ├ PwmOutput
│ │ │ bsp_pwm_output.c
│ │ └ bsp_pwm_output.h
│ ├ SYSTICK
│ │ │ bsp_systick.c
│ │ └ bsp_systick.h
│ ├ Time
│ │ │ TIM2.c
│ │ └ TIM2.h
│ ├ UltrasonicWave
│ │ │ UltrasonicWave.c
│ │ └ UltrasonicWave.h
│ └ usart
│ │ bsp_usart.c
│ └ bsp_usart.h
└ 资料
└ 资料
│ AO3401(MOS场效应管)规格书.pdf
│ L9110.pdf
│ l9110s中文资料详解_引脚图及功能_工作原理_内部结构及应用电路 - 全文 - 电子常识 - 电子发烧友网.html
│ readme.txt
│ SWD说明 - 图文 - 百度文库.html
│ XL1509原厂最新资料.pdf
│ 中景园电子0.96寸OLED使用文档新手必看V2.0.pdf
│ 流程图.vsdx
└ 超声波测距模块_HC-SR04_用户手册-V2.0.pdf