Java Application for automated memristor experiments and data collection based on Digilent's Analog Discovery 2 USB Oscilloscope and Knowm's Memristor Discovery Board.
Failed to load latest commit information.
AppCircuitDiagrams initial Dec 7, 2016
_img initial Dec 7, 2016
src Added alert dialog to QC app. Increased R_TARGET to 150kOhms. Dec 7, 2016
.gitignore initial Dec 7, 2016
CONTRIBUTING update CLA link Dec 7, 2016
LICENSE initial Dec 7, 2016 readme updates Dec 7, 2016 initial Dec 7, 2016
pom.xml update version to 0.0.2-SNAPSHOT Dec 7, 2016

Pre-requisites For Running Memristor Discovery

Install Java 8 Runtime Environment

Option #1: Download and Install From Oracle

Download the Java SE Runtime Environment 8 from Oracle's Website and run the installer.

Option #2: Install via Homebrew on Mac OSX

brew update
brew cask install java

Option #3: Install on Ubuntu

sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
sudo apt-get -y install oracle-java8-installer
java -version

Install DWF Framework on Mac OSX

Move the dwf.framework to /Library/Frameworks, as indicated during the install of Waveforms from the DMG:

Install DWF Framework on Linux

Download .deb files from here:

sudo mv ~/Downloads/digilent.waveforms_3.3.7_amd64.deb /var/cache/apt/archives
cd /var/cache/apt/archives
sudo dpkg -i digilent.waveforms_3.3.7_amd64.deb

sudo mv ~/Downloads/digilent.adept.runtime_2.16.5-amd64.deb /var/cache/apt/archives
cd /var/cache/apt/archives
sudo dpkg -i digilent.adept.runtime_2.16.5-amd64.deb

Calibrate the AD2 Device

Open up Waveforms2015 and select from the Menu Settings ==> Device Manager. In the Window that pops up, select Calibrate. The rest is self explanatory. Make sure to calibrate "Waveform Generator 1 Low Gain" followed by "Oscilloscope".

For Developers Only



mvn clean package  
mvn javadoc:javadoc  


mvn license:check
mvn license:format
mvn license:remove

Running from Eclipse

Right-click on, Run As... ==> Java Application.

Building Executable Jar

Maven is used to build the executable jar and it will contain all the dependencies within that single jar as well. The jar memristor-discovery.jar will be found in the directory target.

mvn clean install
java -jar memristor-discovery.jar

Design Notes

  1. Help images should be 500 x 500 px.