VISampler

Voltage and Current waveform with Halogen lamp and laptop connected

VISampler displays is a waveform sampler. The program is designed to give a feel of what the current and/or voltage waveforms look like.

Based on the same code as power logger but has an extra button called 'sample' sends a request to the Arduino to sample a small part of the voltage and current waveform and then send it in one lump to the VISampler program. This allows you to see the waveform in fair detail with the sampling rate adjustable from 5kHz to 35kHz if sampling voltage and current. Or twice that if sampling only current or voltage. Sample rate is set in the Arduino sketch.

Structure of both programs are detailed here.

18 October Note:  I have been using kst to do my computer based graphing recently, the below programs work but need a bit of polish to bring them up to scratch. I have added a couple of updated version for 1 and 2ch operation so that the program can be used with both the non invasive mains AC method and invasive method. The new versions also have higher sampling frequency setting available in the arduino sketches.

Steps to get VISampler 1 running:

  1. Download
  2. Unzip VISampler1.tar.gz
  3. Go to the VISampler1 directory in terminal
  4. Compile with: $ javac *.java
  5. Run it with $ java VISampler
  6. Press the 'Start' button to start recieving data from the Arduino.

 

When I started this project I had not used java before, and so the code is quite messy, if you see anything that could be done better Id be very thankful for any suggestions. The software is written in java partly because I wanted to learn java as it is the software of choice for other open source projects.