Giter VIP home page Giter VIP logo

piscope's People

Contributors

ankitaggarwal011 avatar audioninja avatar habbie 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

piscope's Issues

installing pylab

I had some problems to get pylab up and running on my pi. I tried to install them through pip install pylab.
Maybe you could mention that the needed dependencies can be installed through
sudo apt-get install python-numpy python-scipy python-matplotlib python-tk

Support for more ADCs

Currently, only ADS1015 analog to digital converter is supported by this project. It would be beneficial to add support for more ADCs, for example MCP3008.

The interface protocol could be either of the supported protocols by Raspberry Pi, for example, I2C, SPI, etc. While the library is implemented in Python, it is possible to use interfaces implemented in C using CPython for better performance.

Any suggestions are welcome. Thanks!

Adding level and slope trigger

Trigger is an important feature of the oscilloscopes. The feature has been suggested and requested by users as part of the feedback.

It's possible to implement the triggers in two ways:

  • Hardware trigger: This method would require the ADC chips to include a digitally programmable comparator (e.g. ADS1015). This would not work for all ADCs.
  • Software trigger: In this method, one can simply compare the measured value with the trigger value and thus plot the required signal. This is easy to implement and would work irrespective of the type of an ADC.

Since the support for more ADCs are planned, it would be better to go with software triggers. Any suggestions are welcome. Thanks!

IOError: [Errno 2] No such file or directory [Raspberry Pi 2]

Hello I'm a newbie to the Pi and Python I'm getting this error with my new Raspberry Pi 2 but this code worked flawlessly with my old Raspberry Pi Model B. Any Suggestions on what might be causing this error? Thanks

root@raspberrypi:/home/pi/PiScope# python example_oscilloscope.py
Initializing the PiScope...
Setting up the channels...
Plotting will start in a new window...
Reading channels...
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in call
return self.func(_args)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 498, in callit
func(_args)
File "/home/pi/PiScope/PiScope.py", line 122, in draw
self.read() #read current values
File "/home/pi/PiScope/PiScope.py", line 111, in read
adc = ADS1x15()
File "/home/pi/PiScope/Adafruit_ADS1x15.py", line 142, in init
self.i2c = Adafruit_I2C(address)
File "/home/pi/PiScope/Adafruit_I2C.py", line 40, in init
busnum if busnum >= 0 else Adafruit_I2C.getPiI2CBusNumber())
IOError: [Errno 2] No such file or directory
Quitting program.

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.