- Easyweather linux install#
- Easyweather linux drivers#
- Easyweather linux software#
- Easyweather linux code#
The aplay command plays the data stream on stdout at a rate of 48kHz.
![easyweather linux easyweather linux](https://www.weather-display.com/wifiprosetup/drive2.png)
The demodulator rtl_fm takes 200,000 samples per second on a frequency of 98.5MHz (the frequency of a radio transmitter). Another practical test would be to receive a local radio station: rtl_fm -f 98.5M -W -s 200000 -r 48000 - | aplay -r 48k -f S16_LE To find out about, for example, which frequency range the DVB-T stick covers. You can now read the hardware functions as follows rtl_test -t To do this, I had to expand the cmake call adding the -DINSTALL_UDEV_RULES = ON parameter and then still issue the following command: sudo make install-udev-rulesĪfter doing so. To prevent the modules from loading, the udev rules need to be modified.
Easyweather linux install#
Ubuntu users install the Debian packages of GNU Radio and Gqrx from a PPA: sudo add-apt-repository ppa:gqrx/snapshots You also need to restart udev as root before connecting the stick: service udev restart This command writes a new rule for udev that references the DVB-T stick. To this end, run lsusb to determine the vendor and product ID of your DVB-T stick and issue the following command as root: echo 'SUBSYSTEM="usb", ATTRS="Product_ID", GROUP="adm", MODE="0666", \ Rc_core 21266 3 dvb_usb_rtl28xxu,dvb_usb_v2īefore plugging in the hardware, Ubuntu users need to create a udev file.
Easyweather linux software#
Listing 2 shows a guide from the website for building the software from the source code.ĭvb_core 90402 3 rtl2830,rtl2832,dvb_usb_v2 My Mint system loaded the modules from Listing 1.
Easyweather linux drivers#
However, when certain drivers are loaded, the software fails to correctly talk to the stick.
![easyweather linux easyweather linux](https://www.frequencycast.co.uk/images/weatherdisplay05.jpg)
Gentoo and Arch Linux include prebuilt packages on Ubuntu, you can install the software from a PPA (see the “GNU Radio from a PPA” section).īuilding the software from the source works with cmake, but there’s a catch: RTL-SDR uses the libusb library to communicate with the stick. To use the DVB-T stick as a receiver, I first need the RTL SDR package.
![easyweather linux easyweather linux](https://www.maketecheasier.com/assets/uploads/2016/04/unity-launcher-install-tweak-tool.jpg)
Easyweather linux code#
The software automatically generates Python code that processes the data. This kind of kit even includes a graphical editor and supports raw data signal processing (optionally also in realtime) to create a target format with the help of various filters. The basis for the installation was a netbook with Mint 15 the GNU Radio Framework helped to analyze the received radio signals. The hardware cost me US$ 25 a rod antenna is included. On the recommendation of a colleague, I bought a Terratec Cinergy T Stick RC with Elonics chipset that covers the largest frequency range of the listed DVB-T receivers – and that includes the weather sensor’s frequency. Online sources list various chipsets and the frequency ranges they cover. The whole thing operates under the RTL SDR umbrella and relies on Librtlsdr library.Ī look at my weather station shows that it receives data on 868MHz.
![easyweather linux easyweather linux](https://i.pinimg.com/736x/34/7e/ab/347eabde9b0ef5a9320c865dad310ca0.jpg)
Although specially developed hardware is quite expensive, DVB-T sticks at around US$ 20 offer a very convenient entry point into SDR, as long as they use a Realtek chipset (RTL2832U). The first step is to find the right reception hardware. You only need to find the right hardware, which costs only a few dollars, as well as an editor to process the digitized radio data on your computer. The software does the majority of the work, so your soldering iron can stay safely in the cabinet. Applications for implementing SDR include GNU Radio, GNU Radio Companion, or Gqrx. Depending on the device, it can thus scan a very large frequency range. In the simplest case, an SDR-receiver consists of an antenna and an analog-to-digital converter plus software. Software-defined radio (SDR) picks up electromagnetic waves almost directly at the antenna and uses software to process them. Figure 1: Communication between a commercial weather station (left) and the associated sensor (right) can be evaluated with SDR