Author Topic: Hantek LCR 1832C unlock  (Read 5791 times)

0 Members and 2 Guests are viewing this topic.

Offline ZhuraYuk

  • Contributor
  • Posts: 26
  • Country: ua
Hantek LCR 1832C unlock
« on: August 16, 2020, 10:27:38 am »
I recently purchased Hantek 1832C  nice looking LCR meter which promised good specs. There is older model 1833C which can go 100kHz and change test levels voltage. I hoped to unlock it with modifying firmware in same way as with similar portable oscilloscope Hantek 2C42 > 2C72. But after making changes the only thing that changed is system description, higher frequency setting remained locked. Obviously there is mode differences in firmware as well.
Does anyone have 1833C model to share their firmware? I would be good to have dump of main program  flash and boot loader as well. You can easily dump it via ST Link adapter and SWD interface

Attached my original and edited firmware files.
« Last Edit: August 17, 2020, 11:26:50 am by ZhuraYuk »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 3317
  • Country: ca
Re: Hantel LCR 1832C unlock
« Reply #1 on: August 16, 2020, 12:27:59 pm »
Would be nice to share the original fw you dumped before making any modifications,  someone could have poked in it ??
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 3317
  • Country: ca
Re: Hantel LCR 1832C unlock
« Reply #2 on: August 16, 2020, 12:33:11 pm »
Also known as Hantek TO11 and TO22,   they are ODM versions of the 1832c 1833c   at cheaper price on Aliexpress

teardown video :
 

Offline ZhuraYuk

  • Contributor
  • Posts: 26
  • Country: ua
Re: Hantel LCR 1832C unlock
« Reply #3 on: August 17, 2020, 09:14:24 am »
Would be nice to share the original fw you dumped before making any modifications,  someone could have poked in it ??
Edited first post with files included
 
The following users thanked this post: thm_w, coromonadalix

Offline Ries

  • Newbie
  • Posts: 1
  • Country: ru
Re: Hantek LCR 1832C unlock
« Reply #4 on: October 24, 2020, 02:53:37 pm »
I buy 1833c and run calibrating with connected type-c external power, now a can`t use device on battery power - only with external power. I think this is firmware bug, a iam ready to help you for dumping stm, but my device are corrupted :(
 

Offline diogoc

  • Contributor
  • Posts: 25
  • Country: pt
Re: Hantek LCR 1832C unlock
« Reply #5 on: February 20, 2021, 03:02:01 pm »
There are any update to this unlock?
 

Offline Microcheap

  • Regular Contributor
  • *
  • Posts: 222
  • Country: 00
Re: Hantek LCR 1832C unlock
« Reply #6 on: February 21, 2021, 04:46:17 am »
I am not sure if I got a different device with a wrong label, but I just downloaded the latest firmware from Hantek's website and installed it using Dfuse and now my 1832C works as a 1833C.

Can anyone confirm that?

[attach=1]
[attach=2]
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 3317
  • Country: ca
Re: Hantek LCR 1832C unlock
« Reply #7 on: February 21, 2021, 02:14:23 pm »
as i wrote on reply #2   they are sold under an oem / odm  numbers,    from Hantek you have 2 models  and 2 others oem models are known,  unless other obscur branding occurs ??

well  if you have a scope

Try to sniff out the 100khz test with a ceramic disk capacitor,  or something you can test at 100khz  ???


Maybe the 2 models are firmware locked, but have the same hardware, and you managed to unlock it to a 1833C 

Or Hantek made an huge mistake and pushed the 1833C  fw  only ???   loll   i don't know if the pcb has a short or an identifier part (resistor/short, a pin put to ground)  the tell the fw the model you use ?
« Last Edit: February 21, 2021, 02:48:03 pm by coromonadalix »
 

Offline Microcheap

  • Regular Contributor
  • *
  • Posts: 222
  • Country: 00
Re: Hantek LCR 1832C unlock
« Reply #8 on: February 21, 2021, 11:08:30 pm »
Try to sniff out the 100khz test with a ceramic disk capacitor,  or something you can test at 100khz  ???

That was the first thing I did, the test signal is a perfect 100kHz sine wave. All other frequency ranges are correct as well. The measurements are also on par with a DER-5000

Quote
Or Hantek made an huge mistake and pushed the 1833C  fw  only ???   loll   i don't know if the pcb has a short or an identifier part (resistor/short, a pin put to ground)  the tell the fw the model you use ?

I just downloaded the fw available in the product's page: http://hantek.com/products/detail/16180 and installed it.
But I didn't pay attention to the model number that was originally. I turned the device on, did a quick check and rushed to update the fw, only then I noticed it was working as a 1833C.
So, I don't know if I was lucky with my device or Hantek made a mistake with the fw update. We just need someone else with a HT1832C to update the fw and confirm it.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 3317
  • Country: ca
Re: Hantek LCR 1832C unlock
« Reply #9 on: February 22, 2021, 01:28:14 am »
Opening the dfu file i see some descriptors,  maybe an stm32 guru could help ???

The texts must be in Chinese ?
 

Offline diogoc

  • Contributor
  • Posts: 25
  • Country: pt
Re: Hantek LCR 1832C unlock
« Reply #10 on: February 22, 2021, 10:30:19 am »
Can you take some photos of the pcb to see if there is something different?
 

Offline Microcheap

  • Regular Contributor
  • *
  • Posts: 222
  • Country: 00
Re: Hantek LCR 1832C unlock
« Reply #11 on: February 23, 2021, 02:33:08 am »
Sorry, I did open it to check inside but I didn't take any picture. I did compare the PCB with the pictures in this blog though:

https://www.voltlog.com/hantek-to11-1832c-lcr-meter-review-teardown-voltlog-303/

and everything looks exactly the same. I am confident that the only difference between the 1832C and 1833C models is in the FW only.
 

Offline diogoc

  • Contributor
  • Posts: 25
  • Country: pt
Re: Hantek LCR 1832C unlock
« Reply #12 on: March 09, 2021, 06:35:57 pm »
I confirmed that updating the firmware with dfuse the device change to the 1833C  ;D
All new functions seems to work.
The downside is the version from the hantek page is a bit older than the factory version.
 
The following users thanked this post: paf, thm_w, Microcheap

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #13 on: March 22, 2021, 09:32:59 pm »
Possibly calibration data could be an issue. They probably save in labor by not performing 100KHz calibration on the cheaper 1832C devices. Ultimately this is the only difference (albeit not physical). Just a guess though.
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #14 on: March 22, 2021, 10:35:13 pm »
Btw, my Hantek 1832C still has the factory shipped firmware, which has version 20201120PM.

Cheers

Luis Teixeira
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #15 on: March 22, 2021, 11:11:21 pm »
Another interesting observation, while still staying in the stock 1832C firmware: I have connected the device to the PC via USB, opened the Keysight Connection Expert application, and in the Interaction IO utility, sent the command "FREQuency 100000". The frequency changes to 100 KHz, and in the oscilloscope I can confirm that this is the frequency it is outputting.

It is worth noting that when the device is connected via USB, the output has a significant DC offset, besides being somewhat noisy (see attached screenshot).

After removing the USB cable, the 100 KHz setting remains active until the power is cycled. The sine wave in this case is clean and has no DC offset.

Cheers
« Last Edit: March 22, 2021, 11:18:24 pm by teixeluis »
 
The following users thanked this post: thm_w

Offline Hydron

  • Frequent Contributor
  • **
  • Posts: 671
  • Country: gb
Re: Hantek LCR 1832C unlock
« Reply #16 on: March 23, 2021, 08:25:43 am »
Interesting - doesn't seem like much effort has been put into protecting the differences between models!

Is it possible that the offset is due to some form of ground loop? Maybe try with an isolated USB connection (e.g. from a laptop running on battery), or even measuring the output with a DMM in DCV mode, with no (grounded) scope connected?

Kinda regretting buying a DE-5000 now - I looked at the Hantek but it was before anyone had confirmed being able to change the version.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 3317
  • Country: ca
Re: Hantek LCR 1832C unlock
« Reply #17 on: March 23, 2021, 02:21:06 pm »
If you power it down, and try a test requiring manually settled  100hz up to 100khz  does it goes to 100khz ?
 

Offline usagi

  • Frequent Contributor
  • **
  • Posts: 372
  • Country: us
Re: Hantek LCR 1832C unlock
« Reply #18 on: March 23, 2021, 09:03:58 pm »
Interesting - doesn't seem like much effort has been put into protecting the differences between models!

Is it possible that the offset is due to some form of ground loop? Maybe try with an isolated USB connection (e.g. from a laptop running on battery), or even measuring the output with a DMM in DCV mode, with no (grounded) scope connected?

Kinda regretting buying a DE-5000 now - I looked at the Hantek but it was before anyone had confirmed being able to change the version.

This Hantek is better than the "gold standard" DE-5000?

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #19 on: March 23, 2021, 09:24:16 pm »
Is it possible that the offset is due to some form of ground loop? Maybe try with an isolated USB connection (e.g. from a laptop running on battery), or even measuring the output with a DMM in DCV mode, with no (grounded) scope connected?

Correct, I connected it to a power bank, and checked again with the oscilloscope, and the signal is clean and with no DC offset.

Connecting it again to the PC and checking with a DMM, I get nearly 0 DC Volts, and about 0.64 Volts AC wich is close to the 600 mV setting in the LCR.
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #20 on: March 23, 2021, 09:28:55 pm »
If you power it down, and try a test requiring manually settled  100hz up to 100khz  does it goes to 100khz ?

No, actually (and correcting my previous comment) if I power it down and then power it up, the 100 KHz setting will still be available until I change to a different frequency. After that you can only go to up to 40 KHz.

Also the LCR doesn't seem to accept setting it to 70 KHz (one of the frequencies available in the 1833), beeping when I give the command "FREQuency 70000".

Cheers
 

Offline Hydron

  • Frequent Contributor
  • **
  • Posts: 671
  • Country: gb
Re: Hantek LCR 1832C unlock
« Reply #21 on: March 23, 2021, 11:32:20 pm »
This Hantek is better than the "gold standard" DE-5000?

Some of the specs are a bit better, there are some extra options and frequencies, and it looks like it can be controlled via SCPI (DE-5000 is output only, and needs a special adapter for comms, though one can be DIY'd).

On the negative side, it's still a little more expensive, I don't think it comes with probes, and it's less proven than the DE-5000.

RE the offset thing - good news that it goes away, in real use you shouldn't end up with a ground loop if the DUT is a single component or isolated.
« Last Edit: March 23, 2021, 11:33:55 pm by Hydron »
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #22 on: March 24, 2021, 09:12:28 am »
On the negative side, it's still a little more expensive, I don't think it comes with probes, and it's less proven than the DE-5000.

Depending on the seller, the prices of both kind of overlap currently. The 1832C only comes with alligator clips for two-wire measurements.
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #23 on: March 24, 2021, 09:34:55 pm »
A few more details after playing a bit more with the SCPI commands:

 - regarding the intermediate frequency that I tested (70 KHz), it is legitimate that the LCR refused it because the valid frequency that is in the spec of the 1833 model is 75 KHz and not 70. Tried FREQ 75000 and it works. Output frequency is 75 KHz spot on;
 - the output level can also be changed to 0.3 Volts, by using the FUNCtion:LEVel 300 command. In my DMM it measures 0.327 V AC after this change, which is reasonably close. According to the manufacturer the 1832C is 600mV only. After disconnecting the USB cable I could switch to 600 mV but not back to 300 mV;

The ultimate candy would be to uncap these features by means of some undocumented SCPI command..better than flashing a potentially less recent firmware.
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #24 on: March 24, 2021, 11:42:07 pm »
Looking up for strings in the firmware dump, and with a bit of trial and error, there seem to be interesting SCPI commands beyond those documented in the manual.

This one in particular seems suggestive:

-> fact:model ?
<- model = Hantek1832C

I may do some experimenting with the write command, but I will first take a firmware dump with the ST tool just in case...
 
The following users thanked this post: thm_w, Hydron

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #25 on: March 26, 2021, 11:18:45 am »
You can easily dump it via ST Link adapter and SWD interface

Attached my original and edited firmware files.

ZhuraYuk how did you proceed with getting a dump of the STM32 flash? I struggled a bit to obtain the image: first I tried connecting all the 4 pins of the programming interface (including power) to a ST-Link V2 clone, and could not connect to the target device.

Then I tried not providing power from the ST-Link v2, but instead put the batteries in the LCR and power it up, and in that case was able to connect to the target and obtain the firmware image. Did that a couple of times with success. But afterwards I ran a open circuit self-calibration and tried to get another dump afterwards (to compare which areas are written when calibration is done), and was no longer able to connect to the device via the ST-Link.

How did you proceed exactly in your case?

Thank you

Cheers
 

Offline ZhuraYuk

  • Contributor
  • Posts: 26
  • Country: ua
Re: Hantek LCR 1832C unlock
« Reply #26 on: March 26, 2021, 07:40:05 pm »
You can easily dump it via ST Link adapter and SWD interface

Attached my original and edited firmware files.

ZhuraYuk how did you proceed with getting a dump of the STM32 flash? I struggled a bit to obtain the image: first I tried connecting all the 4 pins of the programming interface (including power) to a ST-Link V2 clone, and could not connect to the target device.

Then I tried not providing power from the ST-Link v2, but instead put the batteries in the LCR and power it up, and in that case was able to connect to the target and obtain the firmware image. Did that a couple of times with success. But afterwards I ran a open circuit self-calibration and tried to get another dump afterwards (to compare which areas are written when calibration is done), and was no longer able to connect to the device via the ST-Link.

How did you proceed exactly in your case?

Thank you

Cheers

I did in same way as you with powered on state  and on batteries, but did not performed any self calibration.
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #27 on: March 26, 2021, 11:06:15 pm »
Thanks for the feedback @ZhuraYuk

Meanwhile I was also able to successfully extract a dump via USB using DfuSe Demo (v3.0.6). By leaving the R-X button pressed while pressing the power button until it beeps, the device enters DFU mode (this is described in the manual btw). We are then able to use Dfuse Demo to obtain the dfu dump using the "Upload Action" feature. Curiosly the tool detects 3 different flash devices. Not sure what the deal is there, because I couldn't find in the PCB any devices minimally resembling the M25P64 or M29W128F flash chips listed in the tool (see attached photo).

The Internal flash dump is successful and matches the dump I have obtained before via ST-Link. There are a few bytes in a isolated region of the dump (address 0x00071800) which have different values. My guess is that this corresponds to the self-calibration data, because of open-circuit run that I have performed between dumps. In order to compare the two dumps, I have converted the dfu file obtained from DfuSe Demo into a regular bin file using the DfuFileMgr tool.

Selecting the M25P64 SPI flash causes the device to hang at 6 % into the download process. For the M29W128F NOR flash the process takes a while and produces a 16 MB dump, which besides a small header and footer is filled with 0x00.

I have also attached these dumps. At a first glance it seems relatively safe to play with the SCPI commands having these backups and assuming that all the factory calibration data is contained within. There is however one 8 pin chip in the board with the markings grinded off which could ultimately be an SPI flash, even though judging by the traces and where it is placed, it looks more like something related with the signal processing (perhaps some special trade secret ADC that they are using?  :P).

Cheers


 
The following users thanked this post: thm_w

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 3317
  • Country: ca
Re: Hantek LCR 1832C unlock
« Reply #28 on: March 27, 2021, 01:32:57 am »
could be a adc ??  since the preceding ic is a sgm3002 (dual switch)
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #29 on: March 27, 2021, 02:31:15 pm »
@coromonadalix, could be a good candidate.. Pin 2 and 3 seem to be differential inputs (each switched by the sgm3002). Maybe something similar to the MCP3201.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 3317
  • Country: ca
Re: Hantek LCR 1832C unlock
« Reply #30 on: March 27, 2021, 02:40:37 pm »
if the chip is buffered you could try with a wet finger or alcohol,  trying to see if you can read the ic markings ??
 

Offline bianchifan

  • Regular Contributor
  • *
  • Posts: 87
  • Country: de
Re: Hantek LCR 1832C unlock
« Reply #31 on: March 27, 2021, 03:24:38 pm »
could be a adc ??  since the preceding ic is a sgm3002 (dual switch)
Voltlog's teardown shows it as the same type as the one left down in crop -> AD8052ARZ

 
The following users thanked this post: teixeluis, coromonadalix

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3479
  • Country: lv
Re: Hantek LCR 1832C unlock
« Reply #32 on: March 27, 2021, 03:27:21 pm »
It is worth noting that when the device is connected via USB, the output has a significant DC offset, besides being somewhat noisy (see attached screenshot).

No wonder - because there's no isolation barrier in any of three instruments devices you interconnected.
« Last Edit: March 27, 2021, 03:34:57 pm by ogden »
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #33 on: March 28, 2021, 03:11:56 pm »
After a little more digging, and with the help of Ghidra, I was able to confirm my suspicion that this could also be done via SCPI.

As previously explained I first found that the 
Code: [Select]
fact:model command existed. I tried to use it for writing a different model string, but the command simply returns the same output as if I would be calling "fact:model ?" (query command).

Going through the code, I learned that debug mode had to be activated before being able to call commands that write factory data. The trick was how to enter debug mode.
Then I found that there is an SCPI command for doing just that.

In a nutshell, for changing the model, we have to first enter a SCPI session (I am using Keysight Connection Expert, which is the tool that is provided with this LCR meter), and do the following:

1. Enter debug mode:
Type:
Code: [Select]
calib:hantek_enter_debug_cmdand click "Send & Read"

2. Change the model string:
Type:
Code: [Select]
fact:model "Hantek1833C"and click "Send Command"

3. Save the changed setting to the flash:
Code: [Select]
fact:saveand click "Send & Read"

4. Exit debug mode:
Code: [Select]
calib:hantek_exit_debug_cmdand click "Send & Read"

After this is done, the expected model number should appear in the "SYSTEM INF" screen (pressing twice in the SET button). The 50/75 and 100 KHz frequency modes should now also become selectable via the buttons, as well as the 300 mV level.

I confirmed with the oscilloscope that the new frequencies and level are consistent with the selected values.

It is probably a good idea to run the user calibration for both open and closed circuit.

There is of course (as I mentioned initially) the high likelyhood that above 40 KHz the factory calibration is not accurate or valid, because it is doubtable that they would bother calibrating modes that are not intended to be accessible.

There are various other commands in the calib: group that appear to serve the purpose of setting the factory calibration, but I have not gone through those, and it is somewhat irrelevant without the proper reference equipment.

I hope this is helpful. In my perspective the advantage that I see  in this approach, is being able to use the factory firmware. In my particular unit it is apparently more recent than the one published in the vendor website.

You can find attached the screenshots of the sections of the flash memory that change after the commands are sent.

Cheers

« Last Edit: March 28, 2021, 03:25:20 pm by teixeluis »
 
The following users thanked this post: kripton2035, thm_w, coromonadalix, ogden, Microcheap, Dwaine

Offline Dwaine

  • Frequent Contributor
  • **
  • Posts: 295
  • Country: ca
Re: Hantek LCR 1832C unlock
« Reply #34 on: March 28, 2021, 06:08:27 pm »
I just bought one.  I'll try the SCPI commands and see if it works.   Thanks for this hard work.

 

Offline Microcheap

  • Regular Contributor
  • *
  • Posts: 222
  • Country: 00
Re: Hantek LCR 1832C unlock
« Reply #35 on: March 28, 2021, 06:43:36 pm »
There is of course (as I mentioned initially) the high likelyhood that above 40 KHz the factory calibration is not accurate or valid, because it is doubtable that they would bother calibrating modes that are not intended to be accessible.

Very nice work, thanks for all the details. I got my 1832 working as 1833 simply by installing the firmware update from Hantek website. After that, I compared some measurements with a DE-5000 and they were spot on or very close.
I will try to do a more detailed comparison and I'll post here the results.
 
The following users thanked this post: teixeluis

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #36 on: March 29, 2021, 03:55:32 pm »
I have added some more details regarding this work here:

https://www.creationfactory.co/2021/03/reverse-engineering-and-unlocking.html

I was able to discriminate between the factory calibration commands, but determining its syntax is still WIP.

Some measurements that I have taken suggest that above 40 KHz calibration might be somewhat off even though not unusable. More details there too.

Cheers
 
The following users thanked this post: thm_w, coromonadalix

Offline hpw

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ch
Re: Hantek LCR 1832C unlock
« Reply #37 on: April 14, 2021, 05:32:53 pm »

About those Hantek LCR's:

1) How you guys measure a 1pF SMD capacity  :-DD

2) Any know 4 pol cable set for external measurements (as SMD crap)  ;D

Hp
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #38 on: April 15, 2021, 11:35:36 am »

About those Hantek LCR's:

1) How you guys measure a 1pF SMD capacity  :-DD

2) Any know 4 pol cable set for external measurements (as SMD crap)  ;D

Hp

There is this guy who designed a custom PCB for the 4-wire measurements connector and shared a few indications on how to build one:

https://hackaday.com/2020/08/28/creating-kelvin-test-leads-for-four-wire-measurments/

His PCB can be ordered here:

https://www.tindie.com/products/voltlog/lcr-meter-kelvin-test-lead-adapter-pcb/

There is also this COTS product, which in principle should also fit in the Hantek LCR connector:

https://www.aliexpress.com/item/4001038783823.html?spm=a2g0o.productlist.0.0.5dc91ac6aML8W4&algo_pvid=26e04144-93b3-47df-a78e-11f9dbe4833e&algo_expid=26e04144-93b3-47df-a78e-11f9dbe4833e-0&btsid=0b0a556816184860906842581ef6d1&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

I personally did a slightly more makeshift cable using what I had available, except for the alligator clips, which I have ordered:

 

Offline hpw

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ch
Re: Hantek LCR 1832C unlock
« Reply #39 on: April 16, 2021, 06:41:54 am »

About those Hantek LCR's:

1) How you guys measure a 1pF SMD capacity  :-DD

2) Any know 4 pol cable set for external measurements (as SMD crap)  ;D

Hp

There is this guy who designed a custom PCB for the 4-wire measurements connector and shared a few indications on how to build one:

https://hackaday.com/2020/08/28/creating-kelvin-test-leads-for-four-wire-measurments/

His PCB can be ordered here:

https://www.tindie.com/products/voltlog/lcr-meter-kelvin-test-lead-adapter-pcb/

There is also this COTS product, which in principle should also fit in the Hantek LCR connector:

https://www.aliexpress.com/item/4001038783823.html?spm=a2g0o.productlist.0.0.5dc91ac6aML8W4&algo_pvid=26e04144-93b3-47df-a78e-11f9dbe4833e&algo_expid=26e04144-93b3-47df-a78e-11f9dbe4833e-0&btsid=0b0a556816184860906842581ef6d1&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

I personally did a slightly more makeshift cable using what I had available, except for the alligator clips, which I have ordered:

Thank you for the given links!!

I was searching on ali without any success... then showed up different probes and different LCR gears...

Do you have to calibrate each time you start the 1832c, while always about 7pF off/idle, then after calibration about 0.02pF off..

Also the question rises:

. whether the cables should be shielded (may to most important as to the end of the clips) as pairs or each as 4 cables have large idle capacity calibrate

. it is a pain that even Hantek do not provide any tools and information about

. how sensitive remains the clip touched or untouched

. any guidelines seen or given how to measure a 805 SMD 1pF

. while the display as in 0.000x pF and any successful/reachable measurements going that low  ::)

Hp

 
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #40 on: April 16, 2021, 05:29:14 pm »
Hi @hpw,



Do you have to calibrate each time you start the 1832c, while always about 7pF off/idle, then after calibration about 0.02pF off..

I had success with the following approach for sub-pF measurements. If it's accurate enough I can't tell, because I don't have a very exact 1 pF capacitor at hand:

 - perform the normal open and closed circuit calibrations;
 - press REL to zero out the reading. With the kelvin probes, the value barely fluctuates (0.1 - 0.2 pF at most when you grab these, compared to the 10+ pF with the regular  2 wire clips)

Also the question rises:

. whether the cables should be shielded (may to most important as to the end of the clips) as pairs or each as 4 cables have large idle capacity calibrate

It is expected that with shielding you are able to reduce the leakage current at the surface of the conductors, so it improves the accuracy slightly.
It should become more important if you use higher frequencies for the measurements.

. it is a pain that even Hantek do not provide any tools and information about

. how sensitive remains the clip touched or untouched

Much less than with the regular probes, as I have explained above.

. any guidelines seen or given how to measure a 805 SMD 1pF

. while the display as in 0.000x pF and any successful/reachable measurements going that low  ::)

The noise floor is quite high for anything below 0.1 pF. At least with my setup..

Cheers
 

Offline Dwaine

  • Frequent Contributor
  • **
  • Posts: 295
  • Country: ca
Re: Hantek LCR 1832C unlock
« Reply #41 on: April 20, 2021, 09:33:39 pm »
After a little more digging, and with the help of Ghidra, I was able to confirm my suspicion that this could also be done via SCPI.

As previously explained I first found that the 
Code: [Select]
fact:model command existed. I tried to use it for writing a different model string, but the command simply returns the same output as if I would be calling "fact:model ?" (query command).

Going through the code, I learned that debug mode had to be activated before being able to call commands that write factory data. The trick was how to enter debug mode.
Then I found that there is an SCPI command for doing just that.

In a nutshell, for changing the model, we have to first enter a SCPI session (I am using Keysight Connection Expert, which is the tool that is provided with this LCR meter), and do the following:

1. Enter debug mode:
Type:
Code: [Select]
calib:hantek_enter_debug_cmdand click "Send & Read"

2. Change the model string:
Type:
Code: [Select]
fact:model "Hantek1833C"and click "Send Command"

3. Save the changed setting to the flash:
Code: [Select]
fact:saveand click "Send & Read"

4. Exit debug mode:
Code: [Select]
calib:hantek_exit_debug_cmdand click "Send & Read"

After this is done, the expected model number should appear in the "SYSTEM INF" screen (pressing twice in the SET button). The 50/75 and 100 KHz frequency modes should now also become selectable via the buttons, as well as the 300 mV level.

I confirmed with the oscilloscope that the new frequencies and level are consistent with the selected values.

It is probably a good idea to run the user calibration for both open and closed circuit.

There is of course (as I mentioned initially) the high likelyhood that above 40 KHz the factory calibration is not accurate or valid, because it is doubtable that they would bother calibrating modes that are not intended to be accessible.

There are various other commands in the calib: group that appear to serve the purpose of setting the factory calibration, but I have not gone through those, and it is somewhat irrelevant without the proper reference equipment.

I hope this is helpful. In my perspective the advantage that I see  in this approach, is being able to use the factory firmware. In my particular unit it is apparently more recent than the one published in the vendor website.

You can find attached the screenshots of the sections of the flash memory that change after the commands are sent.

Cheers

I just got my device today.  Confirming that the above SCPI commands were successful at changing my device to a 1833C

Thanks
 
The following users thanked this post: teixeluis

Offline rickypr

  • Newbie
  • Posts: 2
  • Country: pr
Re: Hantek LCR 1832C unlock
« Reply #42 on: May 13, 2021, 12:22:12 pm »
Thanks for all the useful information.

I want to purchase my first LCR and have been researching for sub $150 units. The DE-5000 is the most recommended unit in this price range, but the Hantek unit got my attention for its TFT LCD, integrated USB-C and 18650 batteries. It is tempting to purchase the 1832C and unlocking the extra test frequencies and voltage. The Hantek 1832C costs $111.99 and the DE-5000 costs $103.87 on Amazon. Which one would you choose? Thanks!
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 3317
  • Country: ca
Re: Hantek LCR 1832C unlock
« Reply #43 on: May 13, 2021, 02:19:37 pm »
the hantek doesn't come with kelvin plugs or tweezers test plug  maybe add 20-25$ usd for each, even hacked  the calibration procedures are unknown (not the open close calibration)

the de5000 can come fully equiped for around 120$ usd,  minus the red casing and the usb interface,

At the moment i use an de5000,  cant ask more for now  loll

until the last bits of the 1832c to 1833c conversion are known,  personally i would not purchase it.
 

Offline rickypr

  • Newbie
  • Posts: 2
  • Country: pr
Re: Hantek LCR 1832C unlock
« Reply #44 on: May 13, 2021, 03:33:59 pm »
Thanks for your input!
 

Offline teixeluis

  • Contributor
  • Posts: 36
Re: Hantek LCR 1832C unlock
« Reply #45 on: June 03, 2021, 08:56:49 pm »
I haven't confirmed personally yet, but apparently there is a hardware tweak that is needed so that measurements above 40 KHz are correct. This was provided by a reader, it needs further confirmation, but sounds promising:

https://www.creationfactory.co/2021/03/reverse-engineering-and-unlocking.html?showComment=1622733342560#c2775361835350856538

Cheers
 
The following users thanked this post: thm_w, coromonadalix

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 3317
  • Country: ca
Re: Hantek LCR 1832C unlock
« Reply #46 on: June 04, 2021, 12:01:58 am »
Copy pasted from the previous link:

Capacitors C66, C67, C68, C69 are located near the reference resistors and form an RC filter with them at a frequency of 45 kHz. When calibrating, at a frequency higher than this, the capacitors shunt the reference resistors and the calibration is incorrect. I realized this when measuring an accurate resistor of 10,000kΩ, at a frequency of 100kHz it showed 30kΩ. After removing 4 capacitors and calibrating, it began to show 10,000 kΩ at all frequencies. To memorize the calibration results, press the SET button 3 times and after turning on the device, the calibration settings are saved




Just need an 1833 owner to confirm theses capacitors / resistors values
 

Offline Russ3000

  • Contributor
  • Posts: 8
  • Country: il
Re: Hantek LCR 1832C unlock
« Reply #47 on: June 04, 2021, 11:57:21 am »
Copy pasted from the previous link:

....... To memorize the calibration results, press the SET button 3 times and after turning on the device, the calibration settings are saved....


It has not been possible to do this yet, the device remembers the calibration only until it is turned off.

Posted by developers
https://www.eediscuss.com/forum.php?mod=viewthread&tid=15195&extra=page%3D1
« Last Edit: June 05, 2021, 09:19:07 am by Russ3000 »
 

Offline kreutz

  • Contributor
  • Posts: 5
  • Country: us
Re: Hantek LCR 1832C unlock
« Reply #48 on: June 04, 2021, 02:53:52 pm »
I haven't confirmed personally yet, but apparently there is a hardware tweak that is needed so that measurements above 40 KHz are correct. This was provided by a reader, it needs further confirmation, but sounds promising.............

Does the 1833 model have those capacitors installed?
 

Offline Russ3000

  • Contributor
  • Posts: 8
  • Country: il
 

Offline hpw

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ch
Re: Hantek LCR 1832C unlock
« Reply #50 on: June 24, 2021, 11:02:40 am »
I realized this when measuring an accurate resistor of 10,000kΩ, at a frequency of 100kHz it showed 30kΩ. After removing 4 capacitors and calibrating, it began to show 10,000 kΩ at all frequencies. To memorize the calibration results, press the SET button 3 times and after turning on the device, the calibration settings are saved

Just need an 1833 owner to confirm theses capacitors / resistors values

Will test the calibration overwriting procedure. I ordered various ALI 4 pol and for SMD only the crocodile made enugh pressure for good contacts otherwise fishing into dark...

Even SMD coils an 100kHz was required! But not for Audio transformers as 10H ..

Tested using my original 1833c with an 1206SMD 10k resistor.... 100kHz showed may 400E lower resistor value.

Will load soon the early given 2021 FW, while still not seen on Hantek web.

 

Offline hpw

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ch
Re: Hantek LCR 1832C unlock
« Reply #51 on: June 24, 2021, 12:51:12 pm »

So did the update procedure...

a) yeah, hold TX button while off and connect the PC, then the compare button lamp lights on

b) files are different in size as the old one (LCR2020101001.dfu = 125k, LCR2021061501.dfu = 513k)

c) after upload, it shows still as LCR2020101001, so what changed and what is different??  :-DD

d) did the calibration open and closed using 4 pol model, than 3 x SET and than ... open value shown as -------

e) tested the same SMD 1206 10K  resistor, 100Hz about 9.98K ... 100kHz about 9.977K  :-DD

Hp
 

Offline Russ3000

  • Contributor
  • Posts: 8
  • Country: il
Re: Hantek LCR 1832C unlock
« Reply #52 on: June 26, 2021, 08:38:47 am »
After flashing the device with a new firmware, it became 1832C again, I had to apply the Teixeluis method, everything worked out great.
But the device did not remember the calibration after turning off, I decided to try to enter the device into debug mode, while the red inscription "DEBUG" lights up on the device screen next to the battery, disconnected the device from the computer, the inscription remained, did the calibration open and closed, connected 1833C to computer, wrote the command "fact: save" and exited debug mode. Now, when you turn on the power, the device loads the calibration that I did.
Good luck!
 

Offline Russ3000

  • Contributor
  • Posts: 8
  • Country: il
Re: Hantek LCR 1832C unlock
« Reply #53 on: June 26, 2021, 08:45:17 am »

c) after upload, it shows still as LCR2020101001, so what changed and what is different??  :-DD


I have it flashed and shows version 20210615.
 

Offline hpw

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ch
Re: Hantek LCR 1832C unlock
« Reply #54 on: June 26, 2021, 07:58:52 pm »

@Russ300" I have it flashed and shows version 20210615."

Now have the  same FW...

I did used the "Upload action" as will come a "Save As" dialog.... so not really "rubio" proved  :-DD

so UPGRADE or Verify action is the group box to use

Than after calibration 3x set button.

Testing the resistor did not change any thing, values as already given

Thanks

Hp
 

Offline hpw

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ch
Re: Hantek LCR 1832C unlock
« Reply #55 on: June 26, 2021, 08:49:05 pm »

So did the the 3x SET button test, whether it holds latest calibration. Using a 4 pol kelvin smd probe

. switch on, change to Cap: 8.3pF

. switch to R and do open calibration while shorted does not influence the cap calibration

. do 3x SET button

. switch to Cap: about 0.04pF after calibration

. do 3x SET button

. switch off

. switch off

. on Cap : again 8.3pf, so calibration saving is a nightmare  |O

Hp
 

Offline Russ3000

  • Contributor
  • Posts: 8
  • Country: il
Re: Hantek LCR 1832C unlock
« Reply #56 on: June 27, 2021, 07:42:20 am »
How to make the device remember the calibration after turning off the power is described in my post above, for this you need the Keysight Interactive IO program.How to do it is described here
https://www.creationfactory.co/2021/03/reverse-engineering-and-unlocking.html?showComment=1622733342560#c2775361835350856538

Quote
I decided to try to enter the device into debug mode, while the red inscription "DEBUG" lights up on the device screen next to the battery, disconnected the device from the computer, the inscription remained, did the calibration open and closed, connected 1833C to computer, wrote the command "fact: save" and exited debug mode. Now, when you turn on the power, the device loads the calibration that I did.
 

Offline hpw

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ch
Re: Hantek LCR 1832C unlock
« Reply #57 on: June 27, 2021, 05:16:48 pm »
OK,

to get the calibration save, you need to put the device in debug mode.

While installed latest Keysight bunch, using Win 10 64bit as 20H1, installed Win8 64 bit driver, things went on... USB entry seen and then no connection

So the questions:

. OS used as Win??

. using IOLibSuite_17_2_20605_2 only

. installed also the driver as VCP_V1.5.0_Setup_W8_x64_64bits.exe ??

. and before starting the LCR, put the 183xC first in DFU mode or not??

IMHO it is not very clear to me, how your working setup is

Hp
 

Offline Russ3000

  • Contributor
  • Posts: 8
  • Country: il
Re: Hantek LCR 1832C unlock
« Reply #58 on: June 27, 2021, 06:53:43 pm »
OK,


So the questions:

. OS used as Win??

. using IOLibSuite_17_2_20605_2 only

. installed also the driver as VCP_V1.5.0_Setup_W8_x64_64bits.exe ??

. and before starting the LCR, put the 183xC first in DFU mode or not??

IMHO it is not very clear to me, how your working setup is

Hp

Win 7 64bits
Driver not install and no DFU mode.
I launch the Keysight Interactive IO program, turn on the device and plug in the USB connector, after 5 seconds the device is visible in the program and a green checkmark appears

[attach=1]

« Last Edit: June 27, 2021, 06:55:34 pm by Russ3000 »
 

Offline hpw

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ch
Re: Hantek LCR 1832C unlock
« Reply #59 on: June 27, 2021, 08:50:09 pm »

OK, important is to start the keysight stuff after device connections.

Did the procedure as on my 1833C, and did not helped on Cap, even now the resistors in open mode gets crazy on various frequencies even showing now negative resistor values as -20MOhms.  :-DD

So would love a real calibration store button sequence on the gear, what works even on Cap's  :popcorn:

Hp
 

Offline Russ3000

  • Contributor
  • Posts: 8
  • Country: il
Re: Hantek LCR 1832C unlock
« Reply #60 on: June 28, 2021, 06:27:15 am »
It is necessary to wash the board with isopropanol, after which the device works more stable.
 

Offline hpw

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ch
Re: Hantek LCR 1832C unlock
« Reply #61 on: June 28, 2021, 09:45:55 am »
It is necessary to wash the board with isopropanol, after which the device works more stable.

Look, as long my 1833C (not tweaked) is on warranty no openings will happen.

As

. 20210615 is from unknown source
. may a test field release with unknown changes as it looks as digits truncation's only)
. debug & save calibrations get's my into >:D
. cleaning to get ride of solder dust
. may re-soldering as Chinese Chicas / Rubias as none valuable

so Hantek should be more opened and serious what's going on in that matter   :popcorn:

Hp
 

Offline FlashPT

  • Newbie
  • Posts: 2
  • Country: pt
Re: Hantek LCR 1832C unlock
« Reply #62 on: July 25, 2021, 06:18:51 pm »
Hello,

Could you please tell me what are the values of capacitors
C66,C67, C68 AND C69https://www.eevblog.com/forum/Smileys/default/embarrassed.gif
Hantek 2833 100khzhttps://www.eevblog.com/forum/Smileys/default/bangheadonwall.gif

Thanks

Fernando
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf