Code Monkey home page Code Monkey logo

openhantek's Introduction

OpenHantek Build Status Build status

OpenHantek is a free software for Hantek (Voltcraft/Darkwire/Protek/Acetech) USB digital storage oscilloscopes based on HantekDSO and has started as an alternative to the official Hantek DSO software.

Supported operating systems:

  • Linux
  • MacOSX
  • Windows (You need to download the WinUSB driver files and customize the inf file for your device yourself at the moment)

Image of main window

Image of main window

Supported hantek devices:

  • DSO2xxx Series
  • DSO52xx Series

Install prebuilt binary

Navigate to the Releases page

Building OpenHantek from source

You need the following packages, to build OpenHantek from source:

  • CMake 3.5+
  • Qt 5.3+
  • FFTW 3+ (prebuild files will be downloaded on windows)
  • libusb 1.x (prebuild files will be used on windows)

For debian based systems (Ubuntu, Mint) install named requirements like this:

apt-get install g++ cmake qttools5-dev qttools5-dev-tools libfftw3-dev binutils-dev libusb-1.0-0-dev

For rpm based distributions (Fedora) use this command:

dnf install cmake gcc-c++ qt5-qtbase-gui qt5-qttools-devel qt5-qttranslations fftw-devel binutils-devel libusb-devel

For MacOSX use homebrew

brew update
brew install libusb fftw qt5;

After you've installed the requirements either run cmake-gui or run the following commands inside the directory of this package:

mkdir build
cd build
cmake ../
make -j4 (for 4 concurrent compile jobs)
make install (optional, for installing only)

For MacOSX, the cmake command in the previous command list must include the directory where Qt5 is installed. Qt5 is installed in a directory with the same name of its version:

brew info qt5 For example, if brew showed 5.7.0, the cmake command should be: cmake ../ -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.7.0

You can specify an install prefix when running cmake:

cmake -DCMAKE_INSTALL_PREFIX=/usr

Firmware

Your DSO does not store its firmware permanently -- the firmware has to be sent to the device each time it is connected. The firmware directory of this project contains the binary firmware extracted from Hantek's Windows drivers, and a udev rule to upload the firmware to the device automatically each time it is plugged in.

  • You need binutils-dev autoconf automake fxload
  • Install the firmware/*.hex files into /usr/local/share/hantek/.

mkdir -p /usr/local/share/hantek
cp -r firmware/*.hex /usr/local/share/hantek/

  • Install the firmware/90-hantek.rules file into /etc/udev/rules.d/.

cp firmware/90-hantek.rules /etc/udev/rules.d/

  • install fxload (fxload is a program which downloads firmware to USB devices based on AnchorChips EZ-USB, Cypress EZ-USB FX, or Cypress EZ-USB FX2 microcontrollers.)

apt-get install fxload

  • Add your current user to the plugdev group.

usermod -a -G plugdev {user id}

For 6022BE

You can adjust samplerate and use software triggering for 6022BE.

  • Support 48, 24, 16, 8, 4, 2, 1 M and 500, 200, 100 k Hz samplerates with modded firmware by jhoenicke
  • Support software trigger by detecting rising or falling edge of signal. Use software trigger item on the trigger menu. For trigger level, adjust left arrow on the right-side of the graph.
  • Note that I dropped first 1000 samples due to unstable/unusual reading.

Credits

@KimBP helped to fix triggering to generate a steady drawing and make samplerate adjust to chosen timebase.

Contribute

Please use Github Issues to report any problems or enhancements or send us pull requests. Some random notes:

Other open source software

openhantek's People

Contributors

oliverhaag avatar swkim01 avatar dipusone avatar davidgraeff avatar drothlis avatar kimbp avatar fabiobaltieri avatar saogalde avatar gjedeer avatar sanddorn avatar wmanley avatar

Watchers

Henri Gomez avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.