资源简介

本实验是基于ZigbeeCC2530协议栈的利用DHT11传感器采集温度和湿度并利用串口助手显示的实验。下载后解压放在C:\Texas Instruments\ZStack-CC2530-2.3.0-1.4.0\Projects\zstack\Samples路径下即可。

资源截图

代码片段和文件信息

function analyzBuffer(handlesrecievedSignalprocessedRecivedSignalsumedCells)

Fs = str2num( get(handles.samplingRate‘string‘) ) * 1e3;   %Fs was entered in Khz
Th = 10^get(handles.Th‘value‘);
nPRI = str2num( get(handles.bufferSize‘string‘) ) ;
PRI = str2num( get(handles.PRI‘string‘) )/1e3;

figure;
subplot(211);
N = length(recievedSignal);
plot([0:N-1]/Fsabs(recievedSignal));
hold on;
semilogy([0:N-1]/Fsabs(processedRecivedSignal)‘g‘);
title(‘Buffer Content‘);
legend( {‘Recived Signal‘ ; ‘Signal after match Filter‘} );
xlabel(‘[sec]‘);    ylabel(‘volt (log scale)‘);

rangeCells = length(sumedCells);
subplot(212);
semilogy( [1:rangeCells]/Fs/1e3*3e8/2 sumedCells );
hold on;
semilogy(  [1 rangeCells]/Fs/1e3*3e8/2 [Th Th] ‘r‘);
legend( {‘Summed signal in range cells‘ ; ‘used Threshold‘} );
xlabel(‘Range Cells [Km]‘);
ylabel(‘volt (log scale)‘);

signalInRangeCells = reshape( processedRecivedSignal[]nPRI);

figure;
imagesc( [1:rangeCells]/Fs*3e8/2/1e3 [1:nPRI]*PRI*1e3 log(abs(signalInRangeCells‘))/log(10));
ylabel(‘Time [msec] (PRI steps)‘);xlabel(‘Range Cells [Km]‘); title(‘Amplitude in range Cells (logarythmic scale)‘);
colorbar;

figure;
imagesc( [1:rangeCells]/Fs*3e8/2/1e3[1:nPRI]*PRI*1e3 angle(signalInRangeCells‘));
ylabel(‘Time [msec] (PRI steps)‘);xlabel(‘Range Cells [Km]‘); title(‘Phase in range Cells‘);
colorbar;

% signalInRangeCells = signalInRangeCells - repmat(mean(signalInRangeCells)1001);
% figure;
% imagesc(log(abs(fft(signalInRangeCells‘))));
% figure;
% imagesc(angle(fft(signalInRangeCells‘)));

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1600  2006-09-18 17:03  RADAR simulation code\analyzBuffer.m

     文件        708  2008-03-30 13:38  RADAR simulation code\buildAntenaGain.m

     文件        873  2006-08-25 11:03  RADAR simulation code\createTargets.m

     文件       1711  2006-08-26 16:08  RADAR simulation code\displayTargets.m

     文件        520  2006-09-18 16:50  RADAR simulation code\handleRadarControlls.m

     文件       1296  2006-08-25 12:15  RADAR simulation code\MTIcalcTargetsV.m

     文件        400  2006-08-20 21:06  RADAR simulation code\placeClutter.m

     文件        449  2006-08-26 16:03  RADAR simulation code\plotDistLines.m

     文件       2709  2006-09-12 23:44  RADAR simulation code\plotFOV.m

     文件      29388  2008-03-29 09:33  RADAR simulation code\radarSimulation.asv

     文件      11440  2006-09-12 16:20  RADAR simulation code\radarSimulation.fig

     文件      29388  2008-03-29 09:34  RADAR simulation code\radarSimulation.m

     文件     229376  2008-03-29 09:33  RADAR simulation code\radar_detector_sfun.mexw32

     文件      11959  2008-03-31 22:30  RADAR simulation code\runRadarSim.asv

     文件      11959  2006-08-26 15:56  RADAR simulation code\runRadarSim.m

     文件       1022  2006-08-25 17:48  RADAR simulation code\targetsReturn.m

     文件      47772  2008-03-29 09:32  RADAR simulation code\sfprj\build\radar_detector\sfun\src\c1_radar_detector.c

     文件       1334  2008-03-29 09:32  RADAR simulation code\sfprj\build\radar_detector\sfun\src\c1_radar_detector.h

     文件      53107  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\c1_radar_detector.obj

     文件        384  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\lccstub.obj

     文件         67  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun.bat

     文件       4969  2008-03-29 09:32  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun.c

     文件         56  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun.exp

     文件        983  2008-03-29 09:32  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun.h

     文件       2824  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun.lib

     文件       1919  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun.lmk

     文件        553  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun.lmko

     文件       5061  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun.obj

     文件      12999  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun_debug_macros.h

     文件       5030  2008-03-29 09:33  RADAR simulation code\sfprj\build\radar_detector\sfun\src\radar_detector_sfun_registry.c

............此处省略12个文件信息

评论

共有 条评论