资源简介
1.CC2530F256测距,使用Zigbee协议栈开发,精度为小数点后1位,主程序入口提供详细文档解析,采用广播的方式组网,目前组网3个没问题,上位机串口调试助手显示距离;
2.协议栈使用rssi来计算距离,测量范围在0.1~3m区间误差不到百分之3;
3.如需定位,简单修改主函数套公式即可
4.程序使用ZStack-CC2530-2.3.1-1.4.0。
代码片段和文件信息
/**************************************************************************************************
Filename: hal_assert.c
Revised: $Date: 2010-01-07 10:10:43 -0800 (Thu 07 Jan 2010) $
Revision: $Revision: 21451 $
Description: Describe the purpose and contents of the file.
Copyright 2006-2010 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software his/her employer (which must be your employer)
and Texas Instruments Incorporated (the “License“). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use and you acknowledge that the Software may not be modified
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver which is integrated into your product. Other than for
the foregoing purpose you may not use reproduce copy prepare derivative
works of modify distribute perform display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED 揂S IS?WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED
INCLUDING WITHOUT LIMITATION ANY WARRANTY OF MERCHANTABILITY title
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT
NEGLIGENCE STRICT LIABILITY CONTRIBUTION BREACH OF WARRANTY OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL SPECIAL INDIRECT PUNITIVE
OR CONSEQUENTIAL DAMAGES LOST PROFITS OR LOST DATA COST OF PROCUREMENT
OF SUBSTITUTE GOODS TECHNOLOGY SERVICES OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF) OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/* ------------------------------------------------------------------------------------------------
* Includes
* ------------------------------------------------------------------------------------------------
*/
#include “hal_assert.h“
#include “hal_types.h“
#include “hal_board.h“
#include “hal_defs.h“
#include “hal_mcu.h“
#if (defined HAL_MCU_AVR) || (defined HAL_MCU_CC2430) || (defined HAL_MCU_CC2530) || \
(defined HAL_MCU_CC2533) || (defined HAL_MCU_MSP430)
/* for access to debug data */
#include “mac_rx.h“
#include “mac_tx.h“
#endif
/* -----------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 9816 2010-01-07 10:10 9 RSSI值测距离\Components\hal\common\hal_assert.c
文件 9190 2009-08-05 17:23 9 RSSI值测距离\Components\hal\common\hal_drivers.c
文件 6829 2009-12-03 16:14 9 RSSI值测距离\Components\hal\include\hal_adc.h
文件 5478 2009-02-16 18:03 9 RSSI值测距离\Components\hal\include\hal_assert.h
文件 28 2006-11-01 11:24 9 RSSI值测距离\Components\hal\include\hal_board.h
文件 2790 2008-10-07 15:36 9 RSSI值测距离\Components\hal\include\hal_ccm.h
文件 4969 2008-10-07 13:47 9 RSSI值测距离\Components\hal\include\hal_defs.h
文件 4701 2007-11-01 07:43 9 RSSI值测距离\Components\hal\include\hal_drivers.h
文件 6735 2008-09-02 14:10 9 RSSI值测距离\Components\hal\include\hal_flash.h
文件 5809 2007-11-01 07:43 9 RSSI值测距离\Components\hal\include\hal_key.h
文件 5735 2008-07-07 12:37 9 RSSI值测距离\Components\hal\include\hal_lcd.h
文件 4288 2007-11-01 07:43 9 RSSI值测距离\Components\hal\include\hal_led.h
文件 3043 2007-11-01 07:43 9 RSSI值测距离\Components\hal\include\hal_sleep.h
文件 8980 2007-11-01 07:43 9 RSSI值测距离\Components\hal\include\hal_timer.h
文件 7987 2009-03-09 04:27 9 RSSI值测距离\Components\hal\include\hal_uart.h
文件 12874 2009-12-17 13:13 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_adc.c
文件 5185 2010-01-08 13:24 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_aes.h
文件 19816 2014-10-16 15:57 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_board_cfg.h
文件 5475 2009-08-05 17:23 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_dma.c
文件 12742 2009-03-29 09:51 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_dma.h
文件 10936 2009-08-13 17:47 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_flash.c
文件 19104 2013-07-14 10:38 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_key.c
文件 21792 2013-07-14 12:31 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_lcd.c
文件 16518 2009-03-13 04:45 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_led.c
文件 3516 2009-06-05 08:21 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_mac_cfg.h
文件 8098 2009-03-18 09:57 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_mcu.h
文件 18025 2009-07-21 09:50 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_oad.c
文件 5252 2009-03-30 16:01 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_oad.h
文件 20766 2009-10-21 16:53 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_sleep.c
文件 4257 2009-03-12 15:25 9 RSSI值测距离\Components\hal\target\CC2530EB\hal_startup.c
............此处省略1023个文件信息
相关资源
- CC2530协议栈连接RFID模块
- zstack 2.5.1a 协议栈
- CC2530原理图和PCB(Protel设计)以及开
- 51单片机超声波测距 含源程序视频P
- 官方协议栈实验
- Z-Stack 3.0.2 和 2.5.1协议栈
- zigbee读取传感器组网上传服务器
- cc2530寄存器手册中文
- NRF51822SDK+S110协议栈
- 基于CC2530的超声波测距代码
- ZigBee-智能家居&实验室&农业-环境监控
- 源码包ZStack-CC2530-2.5.1a最新
- ZStack-CC2530-2.3.0-1.4.0156276
- cc2530采集温度的完整程序
- proteus仿真stm32测距.zip
- 基于Z-Stack协议栈的抢答系统案例设计
- STM32 串口激光测距 外加服务器程序,
- 基于osip/eXosip协议栈实现的sip客户端
- TI ZStack-CC2530-2.3.0-1.4.0.exe
- 基于51单片机的智能超声波测距
- ZStack-2.5.1aDemo.rar
- 基于CC2530的传感数据采集系统(含加
- STM32F107+LwIP 实现TCP/IP协议栈搭建
- OLED_CEJU.zip
- LwIP协议栈源码详解 .pdf
- nRF51822开发工具包 SDK包 协议栈 全
- STM32超声波测距代码-HC-SR04.zip
- ZigBee无线传感器网络设计与实现(非
- 基于STM8S103F3P6的超声波测距仪与温度
- ZStack-CC2530-2.3.1-1.4.0协议栈
评论
共有 条评论