chirp

EE123: Digital Signal Processing

chirp

Spring, 2018

IMPORTANT MESSAGE:

SINCE WE WILL BE USING RASPBERRY PI, THESE INSTRUCTIONS ARE DEPRECATED AND MEANT ONLY FOR OUTSIDE PEOPLE WHO AUDIT THIS MATERIAL AND DO NOT HAVE THE RIGHT HARDWARE

IF YOU ARE IN EE123 SP18 - DO NOT FOLLOW THEM

We will be using Python 2.7 in the course along with other important packages including matplotlib, numpy, scipy, pyaudio, bokeh and pyrtlsdr. Anaconda from Continuum Analytics provides an easy way of installing them.

Notice that pyrtlsdr is only a wrapper for the RTL-SDR software. To install the RTL-SDR software, see rtl-sdr/Install

MAC OSX:

  • Download Anaconda installer: 10.7+

  • After downloading the installer double click the .pkg file and follow the instructions on the screen.

  • You will be given an option to add anaconda to path. If you did not add it you will need to run the folowing before using python:

>> export PATH=/Users/$USER/anaconda/bin:${PATH}
  • Post install:

>> conda update conda
>> conda update ipython
>> conda update pip
>> conda install bokeh
>> conda install jupyter
>> pip install pyrtlsdr
>> pip install pyserial

Windows:

  • Download Anaconda installer:
    Windows 32-bit, Windows 64-bit

  • After downloading the installer, double click the .exe file and follow the instructions on the screen.

  • Choose the appropriate location and options but make sure you select the following options during the installation:

  • To test whether the installation is successful, open a new command line prompt and type the command “conda -h”. This should display a help menu from anaconda.


  • Post install - Run these in the commandline:

>> conda update conda
>> conda update ipython
>> conda update pip
>> conda install bokeh
>> conda install jupyter
>> pip install pyrtlsdr
>> pip install pyserial
  • To install PyAudio, download the following package from MIT:
    PyAudio-2.7

  • Double click the .exe file and follow the instructions on the screen