ankitaggarwal011 / piscope Goto Github PK
View Code? Open in Web Editor NEWTurn your Raspberry Pi into an Oscilloscope/XY Plotter with Python
Home Page: http://blog.ankitaggarwal.me/PiScope/
License: MIT License
Turn your Raspberry Pi into an Oscilloscope/XY Plotter with Python
Home Page: http://blog.ankitaggarwal.me/PiScope/
License: MIT License
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
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!
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:
Since the support for more ADCs are planned, it would be better to go with software triggers. Any suggestions are welcome. Thanks!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.