-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added subdivisions, added a pause key, expanded README
- Loading branch information
Showing
3 changed files
with
53 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
# waterfall | ||
A waterfall spectrum analyzer for the ADALM-PLUTO, written in Odin, using fenster and libiio. Only on X11 (for now?). | ||
A waterfall spectrum analyzer for the ADALM-PLUTO SDR, written in Odin, using fenster and libiio. Only on X11 (for now?). | ||
This is a project that was made for the University of Twente First year's Electrical Engineering Wireless transmission project of 2023. | ||
|
||
## Dependencies | ||
X11 (so basically, Linux), [Odin](https://github.com/odin-lang/Odin), [libiio](https://github.com/analogdevicesinc/libiio), bash | ||
Linux, X11, [Odin](https://github.com/odin-lang/Odin), [libiio](https://github.com/analogdevicesinc/libiio), bash, gcc | ||
|
||
## Building and running | ||
First you build it:\ | ||
`$ ./make.sh`\ | ||
Then you can run it:\ | ||
Then, connect the ADALM-PLUTO to your pc.\ | ||
Now you can run it:\ | ||
`$ ./waterfall`\ | ||
It should bring up the window. Running it in the terminal is highly recommended. | ||
It should bring up the window. | ||
|
||
## Usage | ||
The middle of the screen is the '0-frequency' of the complex fourier transform. Pressing the up-and-down arrow keys changes the frequency that the ADALM 'focuses' on. | ||
How to actually interpret that is unclear, but I suspect it changes the center frequency as well. | ||
Pressing the up-and-down arrow keys changes the frequency that the ADALM-PLUTO 'focuses' on, and with it, the center frequency.\ | ||
The center frequency is at the middle of the screen. | ||
|
||
## Details | ||
It starts at 100MHz, a sampling rate of 60MHz (whatever that entails exactly), and an FFT bin size of 1024.\ | ||
It starts at 100MHz, a sampling rate of 60MHz (whatever that entails exactly), and an FFT bin size of 1024. Every frame is normalized, so if there's no one loud signal, you will see a lot of noise.\ | ||
In this repo, there are functions for reading and writing .WAV files, which can be implemented quite easily.\ | ||
There is currently a memory leak and more wierdness going on with closing the device and destroying the buffer. I am not sure why it won't destroy the buffer properly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
set -e | ||
|
||
(cd iio; bash make_lib.sh) | ||
(cd fenster; bash make_lib.sh) | ||
|
||
|