9.小车测速实验.zip

  • T8_128337
    了解作者
  • 5.4MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-11 03:45
    上传日期
这个代码是基于STM32的智能小车测速代码,用超声波传感器进行实现,下载进去可以直接使用,本人亲测,绝对可靠。希望可以得到大家的喜欢
9.小车测速实验.zip
  • stm32f10x_conf.h
    3.2KB
  • motor.c
    3.9KB
  • IRCtrol.c
    3.9KB
  • IRCtrol.h
    269B
  • DebugConfig
  • armdemo_STM32F103ZE.dbgconf
    6.8KB
  • LCD1602.c
    4.3KB
  • SpeedCtrol.c
    2.5KB
  • HJduino.uvoptx
    20.5KB
  • JLinkLog.txt
    67.8KB
  • uart.h
    191B
  • uart.c
    2.3KB
  • LCD12864.c
    8.1KB
  • startup_stm32f10x_hd.s
    15.1KB
  • Dbg_RAM.ini
    1.3KB
  • SpeedCtrol.h
    371B
  • stm32f10x_it.c
    5.2KB
  • interface.h
    8KB
  • Listings
  • startup_stm32f10x_hd.lst
    47.9KB
  • htdemo.map
    140.4KB
  • Doc
  • readme.txt
    5.2KB
  • CMSIS
  • core_cm3.h
    83.7KB
  • stm32f10x.h
    606.9KB
  • system_stm32f10x.c
    31.2KB
  • core_cm3.c
    16.9KB
  • system_stm32f10x.h
    2KB
  • StdPeriph_Driver
  • inc
  • stm32f10x_bkp.h
    7.3KB
  • stm32f10x_usart.h
    16.1KB
  • stm32f10x_exti.h
    6.6KB
  • stm32f10x_pwr.h
    4.2KB
  • stm32f10x_gpio.h
    18.9KB
  • stm32f10x_dac.h
    14.7KB
  • stm32f10x_i2c.h
    28.8KB
  • stm32f10x_sdio.h
    21.3KB
  • stm32f10x_rcc.h
    29.5KB
  • stm32f10x_cec.h
    6.3KB
  • stm32f10x_dma.h
    20.1KB
  • stm32f10x_dbgmcu.h
    3.6KB
  • stm32f10x_crc.h
    2KB
  • stm32f10x_rtc.h
    3.7KB
  • stm32f10x_tim.h
    49.2KB
  • stm32f10x_adc.h
    21.1KB
  • stm32f10x_can.h
    20KB
  • stm32f10x_wwdg.h
    2.8KB
  • stm32f10x_fsmc.h
    25.7KB
  • misc.h
    8.7KB
  • stm32f10x_iwdg.h
    3.7KB
  • stm32f10x_spi.h
    17.6KB
  • stm32f10x_flash.h
    24.8KB
  • src
  • stm32f10x_dac.c
    18.7KB
  • stm32f10x_flash.c
    62.4KB
  • stm32f10x_rtc.c
    8.5KB
  • stm32f10x_pwr.c
    8.9KB
  • stm32f10x_sdio.c
    28.1KB
  • stm32f10x_rcc.c
    50KB
  • stm32f10x_iwdg.c
    4.7KB
  • stm32f10x_i2c.c
    42.7KB
  • stm32f10x_wwdg.c
    5.5KB
  • stm32f10x_bkp.c
    8.3KB
  • stm32f10x_exti.c
    6.7KB
  • stm32f10x_tim.c
    104.7KB
  • stm32f10x_dbgmcu.c
    4.9KB
  • stm32f10x_dma.c
    27.5KB
  • stm32f10x_spi.c
    29.4KB
  • stm32f10x_can.c
    31.1KB
  • stm32f10x_fsmc.c
    34.2KB
  • stm32f10x_crc.c
    3.3KB
  • misc.c
    6.8KB
  • stm32f10x_cec.c
    11.3KB
  • stm32f10x_adc.c
    45.9KB
  • stm32f10x_usart.c
    37.1KB
  • stm32f10x_gpio.c
    19.3KB
  • HJduino.uvprojx
    21.9KB
  • LCD12864.h
    392B
  • charcode.h
    10.2KB
  • HJduino.uvguix.MCU
    70.3KB
  • motor.h
    409B
  • JLinkSettings.ini
    375B
  • interface.c
    3.6KB
  • LCD1602.h
    179B
  • Objects
  • main.d
    899B
  • stm32f10x_iwdg.crf
    276.5KB
  • stm32f10x_gpio.o
    318KB
  • stm32f10x_i2c.o
    345KB
  • stm32f10x_wwdg.d
    1001B
  • stm32f10x_tim.crf
    296.1KB
  • misc.o
    299.2KB
  • speedctrol.crf
    280.3KB
  • interface.d
    867B
  • interface.crf
    280.5KB
  • stm32f10x_bkp.crf
    279.3KB
  • interface.o
    309KB
  • stm32f10x_exti.crf
    276.4KB
内容介绍
/** @page USART_Printf USART_Printf @verbatim ******************** (C) COPYRIGHT 2010 STMicroelectronics ******************* * @file USART/Printf/readme.txt * @author MCD Application Team * @version V3.3.0 * @date 04/16/2010 * @brief Description of the USART Printf Example. ****************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. ****************************************************************************** @endverbatim @par Example Description This example shows how to retarget the C library printf function to the USART. This implementation output the printf message on the Hyperterminal using USARTx. USARTx can be USART1 or USART2 depending on the EVAL board you are using. The USARTx is configured as follow: - BaudRate = 115200 baud - Word Length = 8 Bits - One Stop Bit - No parity - Hardware flow control disabled (RTS and CTS signals) - Receive and transmit enabled @par Directory contents - USART/Printf/stm32f10x_conf.h Library Configuration file - USART/Printf/stm32f10x_it.h Interrupt handlers header file - USART/Printf/stm32f10x_it.c Interrupt handlers - USART/Printf/main.c Main program @par Hardware and Software environment - This example runs on STM32F10x Connectivity line, High-Density, Medium-Density, XL-Density, Medium-Density Value line, Low-Density and Low-Density Value line Devices. - This example has been tested with STMicroelectronics STM32100B-EVAL (Medium-Density Value line), STM3210C-EVAL (Connectivity line), STM3210E-EVAL (High-Density and XL-Density) and STM3210B-EVAL (Medium-Density) evaluation boards and can be easily tailored to any other supported device and development board. To select the STMicroelectronics evaluation board used to run the example, uncomment the corresponding line in stm32_eval.h file (under Utilities\STM32_EVAL) - STM32100B-EVAL Set-up - Connect a null-modem female/female RS232 cable between the DB9 connector CN10 and PC serial port. - STM3210C-EVAL Set-up - Connect a null-modem female/female RS232 cable between the DB9 connector CN6 (USART2) and PC serial port. @note Make sure that jumpers JP19 and JP18 are open. - STM3210E-EVAL Set-up - Connect a null-modem female/female RS232 cable between the DB9 connector CN12(when USART1 is used) and PC serial port. - STM3210B-EVAL Set-up - Connect a null-modem female/female RS232 cable between the DB9 connector CN6(when USART1 is used) and PC serial port. - Hyperterminal configuration: - Word Length = 8 Bits - One Stop Bit - No parity - BaudRate = 115200 baud - flow control: None @par How to use it ? In order to make the program work, you must do the following : - Create a project and setup all project configuration - Add the required Library files : - stm32f10x_exti.c - stm32f10x_gpio.c - stm32f10x_rcc.c - stm32f10x_usart.c - stm32f10x_i2c.c - stm32f10x_spi.c - misc.c - stm32_eval.c (under Utilities\STM32_EVAL) - system_stm32f10x.c (under Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x) - Edit stm32f10x.h file to select the device you are working on. - Edit stm32_eval.h file to select the evaluation board you will use. @b Tip: You can tailor the provided project template to run this example, for more details please refer to "stm32f10x_stdperiph_lib_um.chm" user manual; select "Peripheral Examples" then follow the instructions provided in "How to proceed" section. - Link all compiled files and load your image into target memory - Run the example @note - Low-density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. - Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. - Medium-density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes. - Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes. - High-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes. - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 512 and 1024 Kbytes. - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers. * <h3><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h3> */
评论
    相关推荐
    • STM32 程序
      STM32一些自己写过的程序并应用过可以使用的,包括直流电机驱动,温度显示,oled显示,adc实验,PWM输出,定时器中断,全部都写在了main函数中,不过写的有一点乱。(pwm实验可以看我的博客)
    • STM32
      STM32 该存储库用于容纳我的学习项目,以便使用STM32开发板进行嵌入式系统编程。
    • stm32f103
      stm32f103c8t6资料,包括源码,原理图等等
    • STM32
      STM32
    • stm32 sim 7600
      stm32 ota sim 7600 stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600...
    • STM32 SPWM
      利用stm32的定时器产生spwm波形,进行调解,希望能对大家有所帮助。
    • stm32 pack
      keil5 中使用的 STM32包 其中包括 STM32F0 STM32F1 STM32F3 STM32L0 STM32L1
    • stm32cubemx
      stm32cubemx st的代码生成器,安装后可以进行图形化的代码生成,项目生成!
    • STM32CubeMX
      ST(意法半导体)公司为方便STM32的使用和学习,以及HAL库的推广,自行研发的可以通过配置,自动生成初始化代码的工具软件
    • STM32 JoyStickMouse
      今天终于把 STM32 的例程 JoyStickMouse 跑起来了,上传一份备忘。 注意要根据 stm32f10x_conf.h 中的注释去掉一些没用到的文件