Safari Jupyter Notebook - ArrowElectronics/arrow-safari GitHub Wiki

Arrow Logo ADI Logo


Description: Using Jupyter Notebook you can pull up plots for the various sensors connected to the inputs of the Safari board.

Note: This requires a different image to be placed onto the SD card than is used to run the standalone GUI. Instructions for this are contained in the section Flashing the SD Card below.

Table of Contents

  1. Software Installation
  2. Hardware Components
  3. Power Test
  4. Input Test
  5. Connect Sensors
  6. Running the Demo
  7. Modifying the AD7124 Register Settings
  8. Theory of Operation

Prerequisites

  1. Windows 10 PC
  2. Meerkat 96Board
  3. Safari 96Board Mezzanine Card
  4. Git (optional)

Software Installation

  • Note: These first 3 steps are for initial installation only. If Anaconda is already installed, step #2 may be skipped. If the Safari environment has already been imported into Anaconda, step #3 may be skipped also.
  1. Obtain this repository
  2. Install Anaconda 3
  3. Import Safari environment into Anaconda
  4. Start Jupyter notebook with the Safari environment
  5. Open the Notebook

Obtain This Repository

The repository includes all of the files required to run the plotting application using Jupyter Notebooks, including the image containing the Linux OS and programs which will need to be transferred to the SD card.

Directions:

Create the directory C:\Users\username\arrow_demos. Download and extract this repository to the newly created directory.
Alternatively, if you have Git installed you can clone it to your local machine by opening Git, cd'ing to this directory and entering the following command:
git clone https://github.com/ArrowElectronics/arrow-safari.git

Installing Anaconda

  1. Download and install Anaconda

    • Leave all settings as the default
  2. Launch Anaconda Navigator

Importing Safari Environment

  1. In Anaconda Navigator, select the Environments tab


    Anaconda Import

  2. Select Import
    Import Select

  3. In the window that opens name your environment Safari as shown in the picture below.

  4. Click on the folder icon and navigate to C:\Users\username\arrow_demos\arrow-safari-master\safari_env.yaml.


    Import


    Import Filled

  5. Select Import. Note: This takes a few minutes- be patient!

  6. Once the import is complete, you will see a new environment named Safari in the list of available environments


    Safari Imported

Start Jupyter Notebook

  1. After the Safari environment has been imported, Select the Home tab


    Safari Home

  2. Ensure the Applications on dropdown menu is set to Safari


    Home Apps

  3. Find the Jupyter Notebook application and select Launch


    Jupyter Launch

  4. Select your preferred browser
    Browser selection

  5. Jupyter will launch a web browser and allow you to run the Notebook


    Jupyter Running

⚠️ **GitHub.com Fallback** ⚠️