Author Topic: Hantek 6022BE 20MHz USB DSO  (Read 859900 times)

0 Members and 2 Guests are viewing this topic.

Offline picandmix

  • Frequent Contributor
  • **
  • Posts: 395
  • Country: gb
Re: Hantek 6022BE 20MHz USB DSO
« Reply #925 on: May 19, 2016, 02:20:42 pm »
For the price the 6022BE is hard to beat, as long as you do not expect it to do more that its designed to do, a simple usb scope.

Also get a Saleae Logic analyzer clone to complement it.
 
The following users thanked this post: macinblack

Offline macinblack

  • Newbie
  • Posts: 9
  • Country: pt
Re: Hantek 6022BE 20MHz USB DSO
« Reply #926 on: May 19, 2016, 03:00:59 pm »
For the price the 6022BE is hard to beat, as long as you do not expect it to do more that its designed to do, a simple usb scope.

Also get a Saleae Logic analyzer clone to complement it.

But instead 6022BE I choose the 6022BL? it have logic analyser I think.
 

Offline TomC

  • Frequent Contributor
  • **
  • Posts: 670
  • Country: us
Re: Hantek 6022BE 20MHz USB DSO
« Reply #927 on: May 19, 2016, 03:29:46 pm »
You may want to consider this alternative for a few more dollars:

http://www.amazon.com/Owon-VDS1022-USB-Oscilloscope-100MS/dp/B00HC4KY2G

One advantage I see is the sampling rate, at 48MS/s the Hantek can't realistically be useful at 20MHz, the Owon comes a little closer with 100MS/s. Here is a link to the EEVblog thread:

https://www.eevblog.com/forum/testgear/owon-vds1022i-quick-teardown-(versus-the-hantek-6022be)/
« Last Edit: May 19, 2016, 03:33:07 pm by TomC »
 
The following users thanked this post: macinblack

Offline mixiom

  • Contributor
  • Posts: 11
  • Country: de
Re: Hantek 6022BE 20MHz USB DSO
« Reply #928 on: May 21, 2016, 11:18:39 pm »
Hello! I'm measuring a 1.2v battery with 100mv/div and get weird results. The 6022BE displays a 490mv line instead. I set the hardware probe to 1:1 and adjusted the software accordingly. Shouldnt this oscilloscope be able to display 20mv/div upto 5V/div with a 1:1 probe? The signal only gets display correctly when I select 500mv/div and above. Please have a look at this screenshot attachment, where I have said 1.2v battery connected. I am confused and need help :)
 

Offline TomC

  • Frequent Contributor
  • **
  • Posts: 670
  • Country: us
Re: Hantek 6022BE 20MHz USB DSO
« Reply #929 on: May 22, 2016, 03:21:46 pm »
Hello! I'm measuring a 1.2v battery with 100mv/div and get weird results. The 6022BE displays a 490mv line instead. I set the hardware probe to 1:1 and adjusted the software accordingly. Shouldnt this oscilloscope be able to display 20mv/div upto 5V/div with a 1:1 probe? The signal only gets display correctly when I select 500mv/div and above. Please have a look at this screenshot attachment, where I have said 1.2v battery connected. I am confused and need help :)
What you see is normal behavior! In general the scope can only display correctly what fits on the screen. So at 20mV/div you can only measure signals up to about 160mVpp. In your case you are trying to display 1200mVpp.
 
The following users thanked this post: mixiom

Offline roderick

  • Contributor
  • Posts: 29
  • Country: us
    • Small Projects
Re: Hantek 6022BE 20MHz USB DSO
« Reply #930 on: July 02, 2016, 02:47:29 am »
Apologies in advance for such an esoteric question, but has anyone had luck with the Hantek 6022BE SDK?  I know that RichardK wrote Open6022BE, and I looked at his source, but still can't figure out how dsoReadHardData() works, at least in several aspects.  I tried putting the following in a Windows application:
Code: [Select]
result = dsoReadHardData(
DeviceIndex,
CH1Data,
CH2Data,
130048, // unsigned long nReadLen
CalData, // short* pCalLevel,
Ch1VoltDiv, // int nCH1VoltDIV,
Ch2VoltDiv, // int nCH2VoltDIV,
1, // short nTrigSweep: SWPMODE-0: AUTO; 1: Normal; 2: Single
0, // short nTrigSrc,
150, // short nTrigLevel: Trigger level - 0 ~ 255
0, // short nSlope: Trigger Slope - 0: Rise; 1: Fall
TimeDiv, //int nTimeDIV,
50, // short nHTrigPos: Horizontal trigger position 0 ~ 100 *** IGNORED
5000, // unsigned long nDisLen, RY - maybe processed into display buffer w/ interpolation
&TrigPoint, // unsigned long * nTrigPoint, RY - loc of trigger in buffer?
0 // short nInsertMode RY - interpolation method?
);
The input is the 6022BE's own square wave to channel 1 (x1 probe).
Ch1VoltDiv = Ch2VoltDiv = 7, and was previously set to these values by dsoSetVoltDIV().
TimeDiv = 17, and was previously set to this value by dsoSetTimeDIV().

What I get is a return value of always 0.  I can look at the returned data, and see the square wave in it, bouncing between values of 128 and 179, approximately.  And in fact, if I render it on the screen using DrawWaveInYT(), it looks fine.  Just always a return value of 0 (I think that means no trigger), in spite of the trigger level being 150.  And also, TrigPoint ends up always being set to 0.

The behavior in Single sweep mode is the same, as far as I can tell.

If I set the sweep mode to Auto, then the function always returns 1, but the channel 1 data is messed up - bouncing between 0 and maybe 13 or so.

Am I doing something wrong?
 

Offline paulbianco

  • Newbie
  • Posts: 2
  • Country: ar
Re: Hantek 6022BE 20MHz USB DSO
« Reply #931 on: July 25, 2016, 05:49:59 pm »
One thing you can check is the USB id of the device. When you unplug the device, the firmware is lost. So each time you plug it in, the 6022be shows up as USB device 0x04b4:0x6022 IIRC. Then the firmware is loaded, and the USB id is changed to 0x04b5:0x6022 . So the USB id is an indicator, if the firmware was uploaded to the scope.

Hello! My 6022BE suddendly stopped being recognized by the notebook (and any other PC), the USB ID shows VID_04B4&PID_8613&REV_A001 as in the picture. Does it mean that the firmware is not uploaded? Should I replace the IC or the EEPROM now? Thanks!
 

Offline freebil

  • Regular Contributor
  • *
  • Posts: 50
  • Country: gr
Re: Hantek 6022BE 20MHz USB DSO
« Reply #932 on: July 26, 2016, 08:18:43 pm »
Hello. Does anyone use this scope on mac with openhantek or other program? Thanks.
 

Offline Techoisseur

  • Contributor
  • Posts: 10
  • Country: gb
  • EE (Retd)
Re: Hantek 6022BE 20MHz USB DSO
« Reply #933 on: August 03, 2016, 08:36:38 pm »
Hello,
Did you get your 6022BE working again?
I believe that Unknown Device appearing in Device Manager means that you need to choose 'Update Driver' (under Driver Tab), and navigate to the folder containing the appropriate Hantek6022BE.inf file (e.g. Hantek6022BE_V1.05\Driver, or HantekBE_V1.05\Win8Driver as appropriate). The Win8Driver is used for Win8 and Win10.
Disconnect and reconnect and repeat the above in order to load DRIVER 2.
If your USB device gets locked out, uninstall and try a different port.
I have successfully installed my new 6022BE under 4 different Windows versions:
WXP Home 32bit
W7 Home Premium 64bit,
W10 Home 32bit,
W10 Home 64bit.
The Hardware IDs appear (Left to Right) as in the attached image, for WXP 32Bit, W10 32Bit, W10 64Bit.

I hope this helps :)

 

Offline paulbianco

  • Newbie
  • Posts: 2
  • Country: ar
Re: Hantek 6022BE 20MHz USB DSO
« Reply #934 on: August 05, 2016, 03:32:38 pm »
Hi and thanks for your comments.

Unfortunately I couldn't get it back to work. Whenever I try to update the driver is not being found (neither the driver at the cd, nor the latest version downloaded from Hantek's website). I have tried on different PCs with W7.

The manufacturer advised me to replace the IC CY7C68013A. I just wanted to know if someone experimented this error before.

Thanks!
 

Offline Techoisseur

  • Contributor
  • Posts: 10
  • Country: gb
  • EE (Retd)
Re: Hantek 6022BE 20MHz USB DSO
« Reply #935 on: August 05, 2016, 06:41:01 pm »
Hi paulbianco,
Sorry that your 6022BE is not working :-BROKE, but it may be repairable if you can gain access to an AntiStatic SMD Work Station.
The hardware for this device has been examined early in this thread, notably by Fraser, with images of the PCB attached, in Replies #3, #4 and #9.
The IC labelled U2 is the Cypress Semiconductor USB Microcontroller CYC768013A-100AXC.
This is available, in UK, from Farnell for £13.35.
The other chip you mentioned is the EEPROM labelled U1, Microchip type 24L02BI/SN.
This is available, in UK, from Farnell at £0.208.
I would check that the +5V, +3.3V and -5V power rails are functional first, using a Digital Multimeter.

Good luck!


 

Offline freebil

  • Regular Contributor
  • *
  • Posts: 50
  • Country: gr
Re: Hantek 6022BE 20MHz USB DSO
« Reply #936 on: August 08, 2016, 10:09:34 pm »
Does 6022 have fft function? Thanks.
 

Offline Techoisseur

  • Contributor
  • Posts: 10
  • Country: gb
  • EE (Retd)
Re: Hantek 6022BE 20MHz USB DSO
« Reply #937 on: August 09, 2016, 11:12:34 am »
Hi freebil,
Yes, the standard installed OEM software Hantek6022BE provides FFT as an option under the Math feature.
The FFT choices are as follows:
Source: CH1, CH2
Window: Rectangle, Hanning, Hamming, Blackman
VERT Scale: 1.00mV, 2.00mV, 5.00mV, 10.0mV, 20.0mV, 50.0mV, 100mV, 200mV, 500mV, 1V, 2V, 5V
HORI Scale: x1, x2, x5, x10

Some excellent work has been done by contributors earlier in this thread, culminating in the development of Pre-Release "Open6022BE" improved versions of the software, by Richard Krupski (RichardK), and its User Manual by Andre le Roux (Matchless ?) (both Regular Cotributors) and others.
Many thanks to that team for their contributions.

This alternative software supports an enhanced FFT function, accessed from its own button on the Toolbar, instead of the Math button.
The FFT Settings include:
Source: Channel One, Channel Two, Math, Reference
Volt/DIV: 1.00mV, 2.00mV, 5.00mV, 10.0mV, 20.0mV, 50.0mV, 100mV, 200mV, 500mV, 1.00V, 2.00V, 5.00V
Render: Native, Lines, Polyline, Polygon
Window: Rectangular, Hamming, Hann, Cosine, Lanczos, Bartlett, Triangular, Gauss, Bartlettt Hann, Blackman, Nuttall, Blackman Harris, Blackman Nuttall, Flattop
Freq Bins: Auto, 256, 512, 1024, 2048, 4096, 8192, 16384
Postion: (Slider control for vertical position of trace)
Color: (Controls trace color from Color Picker Dialogue)
Scale in dB: (Check Box)
The Fundamental Frequency Detection controls are shown in their own Group Box, which includes:
Show Fundamentals: (Check Box)
Begin Peak Threshold: (Adjustable in stpes of 0.01)
End Peak Threshold: (Adjustable in steps of 0.01)

The Pre Release version 18 software can be downloaded from:
http://jmp.sh/k0tTgXg
The executable file Open6022BE_PR18.exe and associataed files should be saved in their own folder.

The latest User Manual for "Open6022BE", v1.0b19 2014/12/21, can be downloaded as a PDF file (57 pages), from:
http://jmp.sh/3RFfHFz

The Source Code (C/C++) for "Open6022BE", v1.0 beta PR19, has been released and can be downloaded from:
http://jmp/sh/sJKpC23
This includes executable file Open6022BE_PR19.exe

The Source Files can be built/compiled using Embarcadero/CodeGear C++Builder (part of RAD Studio, which also includes Delphi).
It will be necessary to install ToolBar2000 version 2.2.2, by Jordan Russell, available at:
http://www.jrsoftware.org/tb2k.php

This should be manually patched for use with later versions of RAD Studio.
See "15. How to install TB2K on Delphi 2009 and up" at:
http://www.silverpointdevelopment.com/sptbxlib/support.htm

Minor changes to the Open 6022BE Source Files may be required, e.g. to accommodate changes in location of units within later versions of RAD studio, etc.

I hope this helps :)
 
The following users thanked this post: racsantos

Offline racsantos

  • Newbie
  • Posts: 1
  • Country: br
Re: Hantek 6022BE 20MHz USB DSO
« Reply #938 on: September 11, 2016, 12:33:44 am »
Greetings everyone.

Friend, could provide again?

The Source Code (C / C ++) is "Open6022BE" v1.0 beta RP19, Has Been released and can be downloaded from:
http://jmp/sh/sJKpC23
This includes executable file Open6022BE_PR19.exe

the link to download the file is broken.

I am new to the forum and found nothing other posts

since I am already grateful to everyone's attention.

if you can indicate a link or file to run on Mac OS X :clap:
« Last Edit: September 11, 2016, 12:39:02 am by racsantos »
 

Offline Techoisseur

  • Contributor
  • Posts: 10
  • Country: gb
  • EE (Retd)
Re: Hantek 6022BE 20MHz USB DSO
« Reply #939 on: September 11, 2016, 09:50:37 pm »
Hi RacSantos,
Welcome to this Hantek 6022BE Users group.

My apologies, there is a typographical error in the link shown in my Reply #937 on this topic.
The correct link for the Open6022BE C/C++ Source Code for CodeGear Rad Studio is:
http://jmp.sh/sJKpC23

These links were first posted by the original contributors on this topic, as described below:

Open6022BE Pre Release version PR18 binary executable for Windows:
http://jmp.sh/k0tTgXg
Posted by RichardK on 2 April 2014 in Reply #540 at:
https://www.eevblog.com/forum/testgear/hantek-6022be-20mhz-usb-dso/msg418102/#msg418102

Open6022BE Pre Release version PR19 C/C++ Source Code & executable binary for CodeGear C++Builder (Rad Studio):
http://jmp.sh/sJKpC23
Posted by RichardK on 12 December 2014 in Reply #733 at:
https://www.eevblog.com/forum/testgear/hantek-6022be-20mhz-usb-dso/msg566881/#msg566881

Unofficial User Manual for Hantek 6022BE using Open6022BE software:
http://jmp.sh/3RFfHFz
Posted by Matchless on 22 December 2014 in Reply #747 at:
https://www.eevblog.com/forum/testgear/hantek-6022be-20mhz-usb-dso/msg572503/#msg572503

I can confirm that Open6022BE version PR19, with minor changes, successfully compiles under Idera / Embarcadero (formerly CodeGear) RAD Studio XE5.
Some minor changes changes were made to eliminate compiler warnings and errors.
It was first necessary to install ToolBar 2000 by Jordan Russell (manually patched for use with later versions of RAD Studio).
I have also been able to extend the code to allow generation of a CSV file for all selected channels, to allow convenient import of captured data into other software, e.g. MS Excel.

I regret that I have no knowledge of using this software on the MAC OS X, but suggest that you read carefully through all the messages on this topic to gather the information, as contributors have been accessing the Hantek 6022BE SDK from various other platforms.

Good luck  :-+
 
The following users thanked this post: racsantos

Offline s4rs

  • Newbie
  • Posts: 1
  • Country: us
Hantek 6022BL with Button Out
« Reply #940 on: September 29, 2016, 04:23:01 pm »
I picked up a Hantek USB scope to check a hall effect sensor on my boats fuel flow meter. So I finally got around to install the drivers and software. When The button is pushed in the device works and Windows events looks like this

- EventData

  DeviceInstanceId USB\VID_04B5&PID_602A\5&210294d2&0&1
  DriverName oem7.inf
  ClassGuid {79046022-7904-7904-1980-198007056022}
  ServiceName Hantek6022BL2
  LowerFilters 
  UpperFilters 
  Problem 0x0
  Status 0x0

With the button out the device fails and events look like this

- EventData

  DeviceInstanceId USB\VID_0925&PID_3881\5&210294d2&0&1
  LastDeviceInstanceId USB\VID_17EF&PID_1016\5&210294D2&0&1
  ClassGuid {36FC9E60-C465-11CF-8056-444553540000}
  LocationPath PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(1)
  MigrationRank 0xf000ffffffff0023
  Present false
  Status 0xc0000719

When I try to remove and install the driver again I get an error "Windows could not find the driver software for your device"

I downloaded the latest 6022BL drivers from Hantek and tried them without success. Any suggestions??
 

Offline Capiten

  • Newbie
  • Posts: 3
  • Country: pt
Re: Hantek 6022BE 20MHz USB DSO
« Reply #941 on: October 07, 2016, 11:48:31 pm »
Hi Everyone! Is good to see such an active forum!
So, i bought an oscilloscope recently, my 1st one :D
I bought the Hantek 6022BE as you can expect. But i have been having a huge problem...nether i get decent readings...nether can i calibrate it. I am running on win10 and i have tried both official and the open6022 binary, and in both a get the same problem, although better described in open6022...and that is...'Calibration error: CH1 20mV, 50mV, 100mV'...or has the open6022 puts it...too much noise in CH1. I have even tried to connect the ground output of the oscilloscope to the home wall ground Nothing changes.
Here's a pic of what comes up as soon as i hit 'Calibration'.


Hope some1 has an idea of how t fix...i'm really hoping i can get it fixed at home :S

Thanks!

Cheers, Capiten.
 

Offline roderick

  • Contributor
  • Posts: 29
  • Country: us
    • Small Projects
Re: Hantek 6022BE 20MHz USB DSO
« Reply #942 on: October 11, 2016, 04:24:22 am »
Regarding the calibration error, I never encountered that.

My suggestion would be to set the scope to the 1V/div scale, with 1x probes, and connect the alligator clip ground of the probes to the respective tips.  Make no other connections to the probes, especially not to any kind of other ground.  Do this for both channels.  Then try a calibrate again.
 

Offline Capiten

  • Newbie
  • Posts: 3
  • Country: pt
Re: Hantek 6022BE 20MHz USB DSO
« Reply #943 on: October 14, 2016, 08:25:11 pm »
I understand what you mean, and i did that, nothing changes. Contacted the ebay seller you told me co contact hantek, hantek finally answered, saying to change the brain (CY7C68013A-100AXC,QFP-100)...so i just bought a ruined oscilloscope and no one whats to take responsibility. Opening dispute in ebay right now. I don't advise to buy from 'Ameliazhou'.
 

Offline hui_wijaya

  • Newbie
  • Posts: 1
  • Country: id
Re: Hantek 6022BE 20MHz USB DSO
« Reply #944 on: October 15, 2016, 05:44:51 am »
i was too late to saw this topic  |O |O |O |O ... i d already bought this device and got ch1 only can't measure max 48.9V and ch2 measure only 51.8V ... could i use x100 Probe to solve this problem??? or any other solution..???  my device is Hantek 6022BL USB DSO ...
 

Offline roderick

  • Contributor
  • Posts: 29
  • Country: us
    • Small Projects
Re: Hantek 6022BE 20MHz USB DSO
« Reply #945 on: October 26, 2016, 10:29:12 pm »
Yes, a 100x probe will let you measure up to 500 volts, approximately.  Good 100x probes are not cheap, though.

Another option, if you don't need the storage aspect, is to get an old-fashioned CRT oscilloscope.  Then you could just use a common 10x probe.  I've seen perfectly good 100-275 Mhz HP or Tektronix scopes (without probes) going for $20-$50 at flea markets or craigslist.  Of course, you'll have to plug the old scope into AC power, and it will be the size of a carryon suitcase, only much heavier.  May or may not be a problem.
 

Offline Merlyn

  • Contributor
  • Posts: 35
Re: Hantek 6022BE 20MHz USB DSO
« Reply #946 on: November 06, 2016, 11:23:26 am »
Concerning high voltages how about adding and external shielded box with a 90M Ohm composite resistor inside?
According to a schematic posted here the probe has a 9M/235k 1x/10x onside the probe so an external 90MOhm resistor should create a 100x ratio. Maybe a variable pF cap should also be added for compensation.
 

Offline Seekonk

  • Super Contributor
  • ***
  • Posts: 1938
  • Country: us
Re: Hantek 6022BE 20MHz USB DSO
« Reply #947 on: November 06, 2016, 11:48:47 am »
What about capacitive effects?  I would think a little box with a parallel 235K to common would work for most people getting you up to 100V.  I think it has a X20 scale.  Or another divider for X3.
 

Offline itaipu

  • Newbie
  • Posts: 1
  • Country: br
Re: Hantek 6022BE 20MHz USB DSO
« Reply #948 on: December 01, 2016, 03:14:30 pm »
Hi, I'm new to the Blog, I have a Hantek 6022BE, I use it to analyze a low frequencies even to periods of 10 seconds, I understand that it is necessary to increase the deep memory, someone could help me and if it is possible to improve this damn instrument.
 

Offline mtx4

  • Newbie
  • Posts: 2
  • Country: it
Re: Hantek 6022BE 20MHz USB DSO
« Reply #949 on: December 17, 2016, 07:55:02 pm »
Hi
I'm new on this forum and I discovered this discussion.
I'm planning to buy this scope, I know its pro and cons, but I don't understand something.
I know it is connected to usb ground, so to my pc ground, but what does it mean?
What can I actually do without break anything, and what have I to do to blown something?
I have only a desktop and I should use the scope for some basic low frequency circuits at low voltage, so where is the danger ?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf