Showing posts with label Interface. Show all posts
Showing posts with label Interface. Show all posts

Sunday, June 26, 2016

How to setup your NWT Spectrum Analyzer on Linux. (Ubuntu)

How to setup your NWT Spectrum Analyzer on Linux. (Ubuntu).



NWT70 in picture.

I got my Spectrum Analyzer and here are the steps I use to install and configure it on my Linux (Ubuntu) laptop.

Download the software here. http://www.dl4jal.eu/  link to the file http://www.dl4jal.eu/linnwt4_V4_11_10.tar.gz

Copy the file to your favorite directory
mkdir nwt
cd nwt
cp /home/anton/Downloads/linnwt4_V4_11_10.tar.gz  ./
Unzip the file in the directory.
unzip linnwt4_V4_11_10.tar.gz
Check if the files has unziped
There should be a directory linnwt4_V4_11_10 and cd to it.
cd linnwt4_V4_11_10
Check if you have qmake installed
qmake -v
 You need vertion QT 4 + if you don't have it, install it.
sudo apt-get install build-essential
now install QT
sudo apt-get install gcc qt4-qmake libqt4-dev
now create a directory build inside the linnwt4_V4_11_10 directory
mkdir build
Change to the build directory
cd build
run the gmake command
qmake -qt4 ../
Then run the make command
make
Get coffee ;-) it takes 2 min
There should the be a new file in exsiting directory called linnwt.
Connect your spectrum analizer to your laptop USB connector.
then run the apllication linnwt
sudo ./linnwt
mmmmm, its German!
no problem, run it with this parameter to get it in Englesh
sudo ./linnwt ../app_en.qm

USB device error could not find your NWT device.
So how do I identify my USB device and configure it in the software ?

Run the command tail -f /var/log/syslog


Then unplug your spectrum analyzer usb cable from laptop and reconnect it after 2 seconds to laptop.

There will be new text appearing in the terminal console. Something like this below.

Jun 26 11:55:07 anton-SATELLITE-P755 kernel: [51330.537093] usb 2-1.2: USB disconnect, device number 5
Jun 26 11:55:07 anton-SATELLITE-P755 kernel: [51330.537573] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Jun 26 11:55:07 anton-SATELLITE-P755 kernel: [51330.537628] ftdi_sio 2-1.2:1.0: device disconnected
Jun 26 11:55:10 anton-SATELLITE-P755 bluetoothd[800]: Authentication attempt without agent
Jun 26 11:55:10 anton-SATELLITE-P755 bluetoothd[800]: Access denied: org.bluez.Error.Rejected
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.756112] usb 2-1.2: new full-speed USB device number 6 using ehci-pci
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855421] usb 2-1.2: New USB device found, idVendor=0403, idProduct=6001
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855430] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855434] usb 2-1.2: Product: FT232R USB UART
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855437] usb 2-1.2: Manufacturer: FTDI
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.855440] usb 2-1.2: SerialNumber: AL01PTLP
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.858330] ftdi_sio 2-1.2:1.0: FTDI USB Serial Device converter detected
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.858406] usb 2-1.2: Detected FT232RL
Jun 26 11:55:11 anton-SATELLITE-P755 kernel: [51334.859036] usb 2-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
Jun 26 11:55:12 anton-SATELLITE-P755 mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Jun 26 11:55:12 anton-SATELLITE-P755 mtp-probe: bus: 2, device: 6 was not an MTP device

You will be looking for ttyUSB?? in the text.

I my example, my usb was ttyUSB0

So now enter your ttyUSB?? in this usb port detail screen below. and then save your configeration.

Select the Settings > Options Menu from the pulldown menu in LinNWT4 application.

Change the value to /dev/ttyUSB?? Your port number found above.
In my case it was /dev/ttyUSB0

O.k., lets now setup a Frequency Spectrum scan.

Add frequency svan limits and then select a single or continuos scan option.

Connect your filter or circuit for testing on SMA terminals.

Then click on your Graphics display to see the return loss of you filter or circuit under test.

Scan display.
Hope this helps.
This spectrum Analizer is available from Giga Technology http://www.giga.co.za/ocart/index.php?route=product/product&product_id=226

Friday, February 28, 2014

Baofeng HT Radios

Baofeng HT Radios. (UV-5RA) 2m (136-174Mhz) and 70cm (400-480Mhz) with a additional FM broadcast band Rx only (65-108Mhz) (the Transmitting power is (1 Low/4W High).
This radio should be ideal for Satellite work but it is not full duplex ;-(

Baofeng UV-5RA
Transceiver is available from http://www.giga.co.za
I have heard a lot about the small Baofeng HT radios and I was wondering how well they work.
Firstly when I looked around on the internet I found a whole range of the Devices with minor differences between them.

Here is some comparison differences I could found.

Radio Model Dual band Memory Channels Frequency range(s) Battery Power Tx Power Battery
UV-5R Yes 128 136 to 174 MHz and 400 to 480 MHz 12 hours 4/1W 1800-mAh
UV-3R Yes 99 136 to 174 MHz and 400 to 480 MHz broadcast band 68 to 108 MHz(RX) 10 hours 3 W 1800-mAh
UV-5RA Yes 128 136 to 174 MHz and 400 to 480 MHz broadcast band 68 to 108 MHz(RX) 12 hours 4/1W 1800-mAh
BF-888S No 16 400 to 470 MHz 8 hours 4W 1500-mAh
UV-100 Yes 99 136 to 174 MHz and 400 to 470 MHz Broadcast band 65 to 108 Mhz(RX) 10 hours 2W 1200mAh
UV-B5 Yes 99 136 to 174 MHz and 400 to 470 MHz 12 hours 5/1W 1800-mAh
UV-5RC Yes 128 136 to 174 MHz and 400 to 480 MHz broadcast band 68 to 108 MHz(RX)  ?? 4/1W 1800-mAh

Well I was surprised with the UV-5RA that I got and was reasonably easy to configure and program.
I got the repeater split set-up in no time after watching a YouTube video.

Here is the Microphone and external speaker connection details.

Both the modules is available from Giga Technology http://www.giga.co.za

Programming cable assembly.

Programming cable assembly.



Programming your Baofeng radio (UV-5R?)

Frequency Mode vs. Channel Mode
These two modes have different functions and often confused. 

  • Frequency Mode - Used for a temporary frequency assignment, such as a test frequency or quick field programming. 
  • Channel Mode - Used for selecting preprogrammed channels. 

All programming MUST be initially done in the Frequency Mode using the Upper Display only. From there you have the option of assigning the entered data to a specific channel for later access in the Channel Mode if desired.

IMPORTANT: Programming done using the Lower display cannot be saved and will be lost.  


Programming a Repeater Channel with Standard Offsets (600kHz minus offset)
  
This example is for:  146.700 MHz
600kHz minus offset
into channel 99
CTCSS tone 123.0

1.    Set radio to VFO Mode   (Frequency Mode)
      a.)     UV5R series - Press VFO/MR button
      b.)     UV82 - Turn radio OFF, then Press/Hold MENU button during PowerON.

2.    Select   Display A    (this is a must)
      a.)     UV5R/GT3 - Press     [A/B]      and select the Upper Display.
      b.)     UV82 - Press [EXIT A/B] and select the Upper Display.

3.    Disable TDR (Dual Watch/Dual RX) which toggles between A and B.
          Press  [Menu]   7   [Menu]
          Select OFF
          Press  [Menu]   [Exit]

4.    Delete Prior Data from the channel to be programmed.
          Press  [Menu]   2 8   [Menu]
          Enter   9 9   (Memory Channel to clear)
          Press  [Menu]   [Exit]

5.    Enter the Repeater Offset.
         Press [Menu]   2 6   [Menu]
         Enter  0 0 6 0 0
         Press  [Menu]   [Exit]

6.   Enter the Transmit Frequency Shift.
        Press  [Menu]   2 5   [Menu]
        Enter  2  for Minus shift. ( or    to  - )
        Press  [Menu]   [Exit]  

7.   Set CTCSS or DCS codes for Transmit. 
         ( example = CTCSS TX tone 123.0 Hz )
            Press  [Menu]   1 3   [Menu]
            Enter  1 2 3 0   [Menu]   [Exit]

8.   Enter the repeater output frequency,  1 4 6 . 7 0 0 

9.   Store RX frequency
        Press  [Menu]   2 7   [Menu] 
        Enter   9 9   (Memory Channel)  ( 000 to 127 )    
            This is the channel that was cleared in step 4. 
        Press  [Menu]   [Exit] 

10.  Press the [ * Scan ] button.     
         This activates  Reverse Mode and displays the TX frequency.

11.   Press  [Menu]   2 7   [Menu] 
         Enter the same Memory Channel entered above. 
         Press  [Menu] 

12.   Press the  [* Scan] again to exit the Reverse Mode.

13.   Press  [Exit]

This will now appear it in the channel list when you switch to Channel Mode. (MR)
Boafeng UV-VF5 Circuit diagram

REF http://www.uv3r.com/images/Schematic-Baofeng-UV5R.pdf

Radio programing details
here is a link to the Chirp program http://chirp.danplanet.com

Which antenna is best?

 It's all personal preference, but a good rule of thumb is:
 The longer the radiator, the better the range, especially on transmit.
 Short stubby antennas use a coil to match TX to 50 ohm, not radiate.
 The closer to 1/4 wavelength in the air, the better the performance.

NOTE:
      A field test was performed between 31 popular antennas.
     The results can be found HERE.   

Monday, February 17, 2014

Installing Zadig USB driver for RTL_dongle on windows 7

Installing Zadig USB driver for RTL_dongle on windows 7

Download the Zadig USB driver file from http://sourceforge.net/projects/libwdi/files/zadig/
If you don't have 7zip unzip program also download it from http://www.7-zip.org/
Here is where I install the 7Zip program


Here is where I use the 7zip program to unzip Zadig file that I have downloaded.



Unzip die the zadig_v2.0.1.160 (1).7z file and you should be left with the following file Zadig.exe
Plugin your RTL USB dongle.

I then Ran the Zadig.exe program


Select the Option menu and then all Devices.


Then select the Buil-in Interface (interface 0) and then replace driver or install driver



You will the get a warning  select the Install driver software anyway.


You should see a dialog box saying the driver was installed successfully,


Then unplug the USB RTL dongle wait for 5 seconds and reconnect the dongle.

Download the ExtIO_RTL.dll and copy it to the sdrSharp directory. ( I think the new SDRSharp version comes with the DLL) https://github.com/josemariaaraujo/ExtIO_RTL/raw/master/Release/ExtIO_RTL.dll

If you haven't installed the sdrSharp program before follow my instructions here http://zr6aic.blogspot.com/2014/01/how-to-install-sdr-sdrsharp-on-windows.html in how to do that.

If you have installed the SDRSharp software before then just select the RTL-SDR/USB in the option menu and you then  select start.
if all went well the SDR# should work now. ;-) "Have fun"



Here is the video of the SDR# connecting to RTL_TCP on Raspberry Pi.