资源简介
STM32,5110液晶显示声纳探鱼器200KHz,带电路图,精确到厘米
MC34063升压,大声压发射,实际板子上滤波电路没要(电路图上的滤波电阻电容电感没焊,开路或者短路)。一般200KHz的换能器在水里面的耦合比较好,在空气中发射出来的(或者接收的)强度很低。
用的MOSFET Relay,contact和release时间都可以做到很小,不过选的是比较低端器件,所以最近测量距离为70cm。
开源啦开源啦
架构为状态机+任务流,Task都是放在函数指针数组里面的
Task分两种,routine的和错误处理的
5110液晶的SPI用的DMA
基本上STM32和C语言高阶的特征都用上了,稍微修改直接可以商用
Open Issue
偶尔会hardware fault或者memory fault,然后watchdog重启,
应该比较好解决,仔细检查下就好
有什么问题代码的file comment里面有我联系地址
有能搞到好的器件也请知会我,多谢了
接下来准备把它装到船模上,用以前四轴的那套东西,就看什么时候有时间了

代码片段和文件信息
/**
******************************************************************************
* @file misc.c
* @author MCD Application Team
* @version V3.5.0
* @date 11-March-2011
* @brief This file provides all the miscellaneous firmware functions (add-on
* to CMSIS functions).
******************************************************************************
* @attention
*
* 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.
*
* © COPYRIGHT 2011 STMicroelectronics
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “misc.h“
/** @addtogroup STM32F10x_StdPeriph_Driver
* @{
*/
/** @defgroup MISC
* @brief MISC driver modules
* @{
*/
/** @defgroup MISC_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Defines
* @{
*/
#define AIRCR_VECTKEY_MASK ((uint32_t)0x05FA0000)
/**
* @}
*/
/** @defgroup MISC_Private_Macros
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Variables
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_FunctionPrototypes
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Functions
* @{
*/
/**
* @brief Configures the priority grouping: pre-emption priority and subpriority.
* @param NVIC_PriorityGroup: specifies the priority grouping bits length.
* This parameter can be one of the following values:
* @arg NVIC_PriorityGroup_0: 0 bits for pre-emption priority
* 4 bits for subpriority
* @arg NVIC_PriorityGroup_1: 1 bits for pre-emption priority
* 3 bits for subpriority
* @arg NVIC_PriorityGroup_2: 2 bits for pre-emption priority
* 2 bits for subpriority
* @arg NVIC_PriorityGroup_3: 3 bits for pre-emption priority
* 1 bits for subpriority
* @arg NVIC_PriorityGroup_4: 4 bits for pre-emption priority
* 0 bits for subpriority
* @retval None
*/
void NVIC_PriorityGroupConfig(uint32_t NVIC_PriorityGroup)
{
/* Check the parameters */
assert_param(IS_NVIC_PRIORITY_GROUP(NVIC_PriorityGroup));
/* Set the PRIGROUP[10:8] bits according to NVIC_PriorityGroup value */
SCB->AIRCR = AIRCR_VECTKEY_MASK | NVIC_PriorityGroup;
}
/**
* @brief Initializes the NVIC p
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 218 2013-05-06 21:53 Sonar200KHz_II\.project
文件 12288 2013-05-12 18:23 Sonar200KHz_II\Debug\FIshingSonar_200K_SH.vpb
文件 101848 2013-06-30 20:40 Sonar200KHz_II\FishingSonar_200K_SH.map
....... 141635 2013-06-30 20:52 Sonar200KHz_II\FishingSonar_200K_SH.uvgui.Zulolo
....... 141628 2013-06-16 21:45 Sonar200KHz_II\FishingSonar_200K_SH.uvgui_Zulolo.bak
....... 25347 2013-06-30 20:52 Sonar200KHz_II\FishingSonar_200K_SH.uvopt
....... 20913 2013-06-12 18:38 Sonar200KHz_II\FishingSonar_200K_SH.uvproj
文件 6644 2013-06-15 17:24 Sonar200KHz_II\FIshingSonar_200K_SH.vpj
文件 215 2013-03-10 17:10 Sonar200KHz_II\FIshingSonar_200K_SH.vpw
文件 6757 2013-06-30 20:52 Sonar200KHz_II\FIshingSonar_200K_SH.vpwhist
文件 1810432 2013-06-30 20:40 Sonar200KHz_II\FIshingSonar_200K_SH.vtg
文件 50662 2013-06-30 20:40 Sonar200KHz_II\FishingSonar_200K_SH_STM32F103_200K_SH.dep
文件 362 2013-03-10 16:46 Sonar200KHz_II\FishingSonar_200K_SH_Target 1.dep
文件 25086 2013-04-24 21:38 Sonar200KHz_II\FishingSonar_200K_SH_uvopt.bak
文件 20869 2013-04-07 22:39 Sonar200KHz_II\FishingSonar_200K_SH_uvproj.bak
文件 345628 2013-06-12 20:48 Sonar200KHz_II\Hex\com.crf
文件 1246 2013-06-12 20:48 Sonar200KHz_II\Hex\com.d
文件 374856 2013-06-12 20:48 Sonar200KHz_II\Hex\com.o
文件 3581 2013-06-12 20:47 Sonar200KHz_II\Hex\core_cm3.crf
文件 102 2013-06-12 20:47 Sonar200KHz_II\Hex\core_cm3.d
文件 10376 2013-06-12 20:47 Sonar200KHz_II\Hex\core_cm3.o
文件 364286 2013-06-30 20:03 Sonar200KHz_II\Hex\detecting.crf
文件 1672 2013-06-30 20:03 Sonar200KHz_II\Hex\detecting.d
文件 387080 2013-06-30 20:03 Sonar200KHz_II\Hex\detecting.o
文件 351 2013-06-30 20:03 Sonar200KHz_II\Hex\detecting.__i
文件 19 2013-06-13 21:15 Sonar200KHz_II\Hex\ExtDll.iex
文件 437740 2013-06-30 20:40 Sonar200KHz_II\Hex\FishingSonar_200K_SH.axf
文件 73258 2013-06-30 20:40 Sonar200KHz_II\Hex\FishingSonar_200K_SH.hex
文件 95954 2013-06-30 20:40 Sonar200KHz_II\Hex\FishingSonar_200K_SH.htm
文件 1038 2013-06-30 20:40 Sonar200KHz_II\Hex\FishingSonar_200K_SH.lnp
............此处省略181个文件信息
相关资源
- STM32读CS1237实现秤重测量
- 基于STM32单片机的心率体温测量仪
- 基于STM32F103ZET6控制舵机旋转(ts90a/
- stm32f103zet6控制蓝牙小车
- STM32F407驱动OLED显示DS18B20数字温度
- vscode作为编辑器开发stm32f103c8
- STM32 多路PWM输出
- STM32烧写算法flash包
- STM32 LIN通信数据发送实现 测试通过
- FFT电流检测 stm32f4
- DS1302万年历设计 stm32
- 超声波定高(基于STM32)
- STM32(神舟III号 串口1发送实验程序)
- STM32 模拟信号采集
- STM32-ads1256
- STM32跑马灯实验58159
- STM32429的串口收发程序
- STM32连接EC20使用内置MQTT协议接入阿里
- ADS1256-STM32参考程序
- stm32 AD7506
- STM32F10实现照相功能照相机
- 基于STM32的嵌入式flash读写控制
- stm32f103c8t6开发板原理图+pcb
- STM32内部FLASH模拟eerom
- stm32的半导体除湿机程序
- stm32实现高精度频率测定
- stm32库函数代码自动生成器V1.2
- stm32 DMA例程
- stm32蓝牙小车
- 显示屏操作(stm32f103c8t6(SAN))
评论
共有 条评论