-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathREADME
More file actions
134 lines (84 loc) · 3.85 KB
/
README
File metadata and controls
134 lines (84 loc) · 3.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Introduction
============
This is a spectrum sensing application for the VESNA platform. It presents
a unified interface to different radiofrequency energy detection modules
through a serial terminal. It also serves as an example use of hardware
drivers using the low-level spectrum sensing API.
All spectrum sensing devices supported by this application work by tuning
to a radiofrequency channel and estimating the power level at the antenna
interface. The range of frequencies that can be sensed is determined by a
hardware configuration. Each device may support one or more configurations.
A configuration is characterized by the frequency of the bottom-most
channel, channel spacing, channel bandwidth, number of channels and the
time it takes the device to perform a measurement for a single channel.
Currently the following hardware models are supported (selectable via the
MODEL environment variable when invoking make):
- sne-crewtv
VESNA SNC + SNE-CREWTV hardware configuration
wide-band energy detection in the UHF band using NXP TDA18219HN tuner
(also requires proprietary libtda18219 VESNA library)
- sne-ismtv-uhf
VESNA SNC + SNE-ISMTV-UHF hardware configuration
wide-band energy detection in the UHF band using NXP TDA18219HN tuner
(also requires proprietary libtda18219 VESNA library)
- sne-ismtv-868
VESNA SNC + SNE-ISMTV-868 hardware configuration
energy detection in the 868 MHz ISM band using Texas Instruments
CC1101.
- snr-trx-868
VESNA SNC + SNR-TRX-868 hardware configuration
energy detection in the 868 MHz ISM band using Texas Instruments
CC1101.
- sne-ismtv-2400
VESNA SNC + SNE-ISMTV-2400 hardware configuration
energy detection in the 2.4 GHz ISM band using Texas Instruments
CC2500.
- snr-trx-2400
VESNA SNC + SNR-TRX-2400 hardware configuration
energy detection in the 2.4 GHz ISM band using Texas Instruments
CC2500.
- null
VESNA SNC hardware configuration
dummy software-only device, returning noise and zero measurements
For more info on VESNA, see http://sensorlab.ijs.si/hardware.html
Compilation
===========
To compile and upload firmware to a VESNA using OpenOCD and Olimex
ARM-USB-OCD:
$ make MODEL=sne-crewtv spectrum-sensor.u
Set the MODEL variable to the name of the hardware model you are
using.
If you want to run the application using the VESNA bootloader, add
"LDSCRIPT=vesna_app.ld" to the make command-line.
Usage
=====
Connect VESNA to a serial terminal using 115200 baud, 8 data bits, 1 stop
bit, no parity.
You can then use the terminal to interact with the application in a
command-line fashion (conclude each command with a new line)
Type "help" to print a list of available commands with brief descriptions.
A typical session consists of:
1. "list" command to get the list of hardware configurations available
2. "select" command to select a configuration and setup the spectrum sweep
parameters.
3. "report-on" command to start the sweep.
4. "report-off" command to stop the sweep.
The python/ directory includes Python classes that abstract this interface.
Please refer to the README in that directory for details.
License
=======
Copyright (C) 2012 SensorLab, Jozef Stefan Institute
http://sensorlab.ijs.si
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Authors: Tomaz Solc, <tomaz.solc@ijs.si>
Zoltan Padrah
Ales Verbic