Hantek DSO-2xxx/52xx

From sigrok
Jump to: navigation, search

The Hantek DSO-2xxx/52xx is a series of inexpensive USB oscilloscopes. There are five models: the low-end DSO-2090, DSO-2150 and DSO-2250, and the somewhat higher-end DSO-5200 and DSO-5200A. They are also sold as Voltcraft or Protek (rebranded) device, with the same models numbers (example: Voltcraft DSO-2090). Prices range from €120 - €260.

All models are USB powered, though the standard 5V/500mA from a standard USB connection is not enough: the units come with a "Y" cable, connecting the device's USB-B port to two USB-A ports on a USB hub. Probes are included in the box, with a rating matching the model's analog bandwidth (see table below).

sigrok currently supports the DSO-2090, and support for the DSO-5200A is in progress.

Hardware

The following features are common to all models (vendor specifications):

Feature Value
Channels 2
Impedance 1MΩ 25pF
Coupling AC/DC/GND
DC accuracy 3%
Vertical adjustable Yes
Input protection Diode clamping
EXT. input Yes
Trigger slope +/-
Trigger level adjustable Yes
Trigger source CH1, CH2, EXT
Pre/post trigger 0-100%

These are the differences between the models:

Feature DSO-2090 DSO-2150 DSO-2250 DSO-5200 DSO-5200A
Bandwidth 40MHz 60MHz 100MHz 200MHz 200MHz
Single-shot bandwidth DC to 40MHz DC to 60MHz DC to 100MHz 80MHz 100MHz
Max. sample rate 100MS/s 150MS/s 250MS/s 200MS/s 250MS/s
Vertical resolution 8 bit 8 bit 8 bit 9 bit 9 bit
Buffer size 10KiB-32KiB/channel 10KiB-32KiB/channel 10KiB-512KiB/channel 10KiB-14KiB/channel 10KiB-512KiB/channel
Gain range 10mV-5V, 9 steps 10mV-5V, 9 steps 10mV-5V, 9 steps 10mV-10V, 10 steps 10mV-10V, 10 steps
Timebase range 4ns-1h, 38 steps 4ns-1h, 38 steps 4ns-1h, 38 steps 2ns-1h, 39 steps 2ns-1h, 39 steps
Shipped probes  ?  ?  ?  ? Protek PP-200

Extracting the firmware

The devices need firmware to be uploaded to them after they start up. This is a small file that is normally uploaded by the Hantek driver on Windows. The libsigrok driver does this as well, but you need to get the firmware file from the Windows driver first. To help you with this, we've made the tool sigrok-fwextract-hantek-dso, available in the sigrok-util repository.

Find the 32-bit driver installed on the Windows system (or find it on the included CD). It's typically called DSOxxxx1.sys or DsoxxxxX861.sys, where xxxx is your device's model. Use it like this:

$ sigrok-fwextract-hantek-dso Dso2090X861.sys
saved 4730 bytes to hantek-dso-2090.fw

Copy the resulting file over to the location where libsigrok expects to find its firmware files. By default this is /usr/local/share/sigrok-firmware. The libsigrok driver will find the firmware file there, and upload it to the device as needed.

Please check the manpage for additional info.

Protocol

All Hantek DSO-XXXX USB scope models use a very similar USB protocol, as described below.

TODO: List USB VID/PIDs, too.