GithubHelp home page GithubHelp logo

freqshow's Introduction

freqshow's People

Contributors

tdicola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freqshow's Issues

freqshow.py error with ads7846 touchscreen

Hello all from a total pi newbie.

I recently purchased an ads7846 touchscreen and after a little while got the display working. Now running well. I tried to expand into freqshow and having trouble when running freqshow.py

I now get error message saying:

File "freqshow.py", line 77, in
    pygame.display.init()
pygame.error: Unable to open mouse

Grateful for any advice on this one.

Shane

The sound output

Does the sound output through line-out? If not, it is planned?

CMake error

After doing the 'make install' I keep getting the same hiccup where it tries to install rtl-sdr.rules

-- Installing: /etc/udev/rules.d/rtl-sdr.rules
CMake Error at cmake_install.cmake:44 (FILE):
file INSTALL cannot copy file "home/pi/rtl-sdr/rtl-sdr/rules" to "/etc/udev/rules.d/rtl-sdr.rules".

Makefile:62 recipe for target 'install' failed
make: *** [install] Error 1

And I tried changing the permissions on the file but still this error persists. Any help troubleshooting this issue is much appreciated.

ERROR: mouse not found

hello, I have been haviong an issue with Freq Show because whenever I want to run the application thias error message is the only thing that apperas

File "freqshow.py", line 77, in
pygame.display.init()
pygame.error: unable to open mouse

sincerely have not idea what could have caused this error.

BTW I am using a 4D Systems 3.5" 4DPi-35 primary display for my raspi b

Thanks in advance

Kernel driver issue

I'm trying to run freqshow.py following the installation instructions found [here] (https://learn.adafruit.com/freq-show-raspberry-pi-rtl-sdr-scanner/overview), I have managed to install all the rtlsdr dependencies no problem and aside from a ca-certificates error that I can't fix (but shouldn't matter, I cloned the repo no problem after over-riding the git config file)

I am getting the following error though and I am unsure why:

Kernel driver is active, or device is claimed by second instance of librtlsdr. In the first casr, please either detatch or blacklist the kernel module (dvb_usb_rtl128xxu), or enable automatic detatching at compile time.


usb_ claim_interface error -6
Traceback (most recent call last):
    File "freqshow.py", line 85, in <module>
        fsmodel = model.FreqShowModel(size[0], size[1])
    File "/home/pi/FreqShow/model.py", line 45, in __init__
        self.sdr = RtlSdr()
    File "/usr/local/lib/python2.7/dist-packages/rtlsdr/rtlsdr.py", line 164, in open
        % (result, device_index))
IOError: Error code -6 when opening SDR (device index = 0)

I only have a Realtek SDR transciever, HDMI and Keyboard plugged into my pi, no touchscreen. I also deleted PiTFT lines within the code.
This code is running on Linux raspberrypi 4.14.34-v7+
Raspberry pi model 3 b+

not registering screen touches with 3rd party touchscreenI Osyoo/KeDei Version 6.3

Hi, sorry if this is wrong place to report issue. I'm using RPi3 + non-Adafruit (they were out of stock) 3.5" touch screen display. Installing Raspbian Jessy image from Osyoo (with display drivers already loaded and configured) and following steps works OK, FreqShow.py runs fine, but doesn't register screen presses (but screen presses register fine in the X GUI).

Any ideas?

thanks,
David

Zoom on waterfall

Hello,
I have picked up the IF of my rig (68.330 MHz) to make a panadapter.
The only issue that I have with FreqShow is the width of the RTL.
The minimum value is 1 MHz but I need to see just 60 kHz (+30/-30).
It's possible to "zoom" on the waterfall?
Thank you,
Diego.
IZ1JFT.

freqshow.py error with ads7846 touchscreen

Hello all from a total pi newbie.

I recently purchased an ads7846 touchscreen and after a little while git the display working. Now running well. I tried to expand into freqshow and hiring trouble when running freqshow.py

I now get error message saying:

File "freqshow.py", line 77, in
    pygame.display.init()
pygame.error: Unable to open mouse

Grateful for any advice on this one.

Shane

IndexError: index out of bounds

Hi,

I am running this software on a RP2, and also via a monitor. I removed the lines:

os.putenv('SDL_VIDEODRIVER', 'fbcon')
os.putenv('SDL_FBDEV' , '/dev/fb1')
os.putenv('SDL_MOUSEDRV' , 'TSLIB')
os.putenv('SDL_MOUSEDEV' , '/dev/input/touchscreen')

and it loads the splash screen on the monitor then it crashes with the following error:

Detached kernel driver
Found Rafael Micro R820T tuner
Traceback (most recent call last):
File "freqshow.py", line 103, in
fscontroller.current().render(screen)
File "/home/pi/FreqShow/views.py", line 364, in render
self.render_spectrogram(screen.subsurface(spect_rect))
File "/home/pi/FreqShow/views.py", line 471, in render_spectrogram
y = freqs[i]
IndexError: index out of bounds

Any ideas ?

Thanks for your help in advance.

Richard

No Screen Pointer - Fixed

On a RPi3, I could not get screen taps to do anything. Touch screen works in everything else. I had to change

pygame.mouse.set_visible(False)
to
pygame.mouse.set_visible(True)

Runs like a champ up to 3.2 MS/s.

FreqShow on "official" 7" touch display

is there a way to make FreqShow work on an "official" 7" touch display? and would it also work with a funcube? if so, would you make some instructions available?

Can't get it to run.

I've followed the instructions and can't get FreqShow to run. Even after re-install.

Error:
pi@raspberrypi ~/FreqShow $ sudo python freqshow.py
Traceback (most recent call last):
File "freqshow.py", line 30, in
import controller
File "/home/pi/FreqShow/controller.py", line 27, in
from views import *
File "/home/pi/FreqShow/views.py", line 32, in
import freqshow
File "/home/pi/FreqShow/freqshow.py", line 31, in
import model
File "/home/pi/FreqShow/model.py", line 26, in
from rtlsdr import *
ImportError: No module named rtlsdr

What can be the issue?

Thanks.

git clone problem

I am getting an error ("fatal: unable to connect to git.osmocom.org:") when using this line from the Freq-Show directions (in the setting up Dependencies section):
git clone git://git.osmocom.org/rtl-sdr.git

As a "Newbie" to the Rasberry Pi I'd really appreciate some help! :-(

 Barry

IOError on 64bit laptop aflter the splashscreen is displayed

I have this config:

# Application configuration.
SDR_SAMPLE_SIZE = 1922
CLICK_DEBOUNCE  = 0.4

if __name__ == '__main__':
        # Initialize pygame and SDL to use the PiTFT display and touchscreen.
        os.putenv('SDL_VIDEODRIVER', 'fbcon')
        os.putenv('SDL_FBDEV'      , '/dev/fb0')
        os.putenv('SDL_MOUSEDRV'   , 'TSLIB')
        os.putenv('SDL_MOUSEDEV'   , '/dev/input/mouse2')
        pygame.display.init()
        pygame.font.init()
        pygame.mouse.set_visible(True)

and I get this error message:

Found Rafael Micro R820T tuner
rtlsdr_demod_write_reg failed with -9
r82xx_write: i2c wr failed=-9 reg=06 len=1
Traceback (most recent call last):
  File "freqshow.py", line 103, in <module>
    fscontroller.current().render(screen)
  File "/root/FreqShow/views.py", line 364, in render
    self.render_spectrogram(screen.subsurface(spect_rect))
  File "/root/FreqShow/views.py", line 461, in render_spectrogram
    freqs = self.model.get_data()
  File "/root/FreqShow/model.py", line 159, in get_data
    samples = self.sdr.read_samples(freqshow.SDR_SAMPLE_SIZE)[0:self.width+2]
  File "/usr/lib64/python2.7/site-packages/rtlsdr/rtlsdr.py", line 337, in read_samples
    raw_data = self.read_bytes(num_bytes)
  File "/usr/lib64/python2.7/site-packages/rtlsdr/rtlsdr.py", line 321, in read_bytes
    % (result, num_bytes))
IOError: Error code -8 when reading 3844 bytes

working with 4DPi-24-HAT

im installing the FreqShow on a 2.4” 320x240 DPi-24-HAT touchcreen display. the problem is the display cannot receive the touchscreen input. in raspbian i can use the touchscreen but not in the FreqShow application. how to resolve this?

No audio 3.5mm jack

Hi, I'm trying freqshow.py on Raspberry Pi 3 Model B V1.2 following the Adafruit tutorial, using Raspbian Stretch 2018-03-13 image. The Python app works fine but no audio out via either HDMI or 3.5 mm jack. I've verified audio is working OK, e.g. mpg321 plays .mp3 file fine through the audio jack output.

Another Non-PiTFT issue

I had the same problem as described in this issue:
If I make the changes for pygame described there, I run into another issue.
Found Fitipower FC0012 tuner Traceback (most recent call last): File "/home/pi/rtl-sdr/build/FreqShow/freqshow.py", line 105, in <module> fscontroller.current().render(screen) File "/home/pi/rtl-sdr/build/FreqShow/views.py", line 364, in render self.render_spectrogram(screen.subsurface(spect_rect)) File "/home/pi/rtl-sdr/build/FreqShow/views.py", line 471, in render_spectrogram y = freqs[i] IndexError: index 1022 is out of bounds for axis 0 with size 1022
I tried a cheap if i>1000: i=1000
just to see if it would work but clearly there was no love because it just moved the line number the error occurred in down two.

I'm using a 1920x1080 HDMI monitor on a Pi3B with that Tuner and 2.4ghz GearHead dongled mouse/kbd combo.

Any ideas?

Work whit out touchscreen

Is there a way to work this great program whit out touchscreen but whit mouse and keyboard on usb?

Kind regards,

Martijn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.