Author Topic: Hacking the Rigol DHO800/900 Scope  (Read 1942990 times)

gf, KSzaw, norbert.kiszka, Proxy64, Evi and 15 Guests are viewing this topic.

Offline helmy

  • Contributor
  • Posts: 12
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3600 on: April 14, 2025, 01:59:48 pm »
... are there any other hacks available?...

You can improve the UI of your DHO924


In this video, how did you access the launcher with that swipe-down gesture from the top edge of the screen? Also, which launcher are you using?
 

Offline mrisco

  • Regular Contributor
  • *
  • Posts: 167
  • Country: pe
    • Github repo
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3601 on: April 14, 2025, 02:33:55 pm »
In this video, how did you access the launcher with that swipe-down gesture from the top edge of the screen? Also, which launcher are you using?

I used Zone Launcher
DHO800-900 Extended UI: https://youtu.be/mT4ivaMY7zg
 
The following users thanked this post: helmy

Online Fungus

  • Super Contributor
  • ***
  • Posts: 17781
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3602 on: April 14, 2025, 04:15:32 pm »
are there any other hacks available?

It's also an Android device so you can install a launcher and any other apps you want to.
 
The following users thanked this post: helmy

Online norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 613
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3603 on: April 14, 2025, 04:17:37 pm »
Android device

In my case, it's a Debian Linux device. This can run anything, since it's a regular ARM processor (RK3399).

Online shapirus

  • Super Contributor
  • ***
  • Posts: 1809
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3604 on: April 14, 2025, 06:12:19 pm »
Android device

In my case, it's a Debian Linux device. This can run anything, since it's a regular ARM processor (RK3399).
Have you been able to run the actual scope app under debian yet?
 

Online norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 613
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3605 on: April 14, 2025, 06:38:20 pm »
Android device

In my case, it's a Debian Linux device. This can run anything, since it's a regular ARM processor (RK3399).
Have you been able to run the actual scope app under debian yet?

Yes, but it was in a temporary way, which made it incredibile slow. In January I was close to make working environment for it, but I had to do my job and I left it as it was.

Anyway, the goal is to run (modified) existing open source app or make a new one. Rigol app working under Debian will make it much easier to do reverse engineering.


Online norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 613
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3607 on: April 15, 2025, 06:30:50 pm »
https://github.com/Andy-Big/Rigol-DHO800-900-Sparrow_mod

https://github.com/mriscoc/RIGOL_DHO800_DHO900_GUI/tree/master

Can anyone explain the differences between them?

Price? Everything other is visible and only one is open source (kinda... because both are based on decompiled code).

The choice is Yours.

Offline mrisco

  • Regular Contributor
  • *
  • Posts: 167
  • Country: pe
    • Github repo
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3608 on: April 15, 2025, 06:42:02 pm »
Can anyone explain the differences between them?

The extended UI version on Patreon is intended for advanced users, you can use the DHO Actions panel to run SCPI scripts, save usage profiles and easily recall them from the same panel, etc. Here is a video showing some of the features:

DHO800-900 Extended UI: https://youtu.be/mT4ivaMY7zg
 
The following users thanked this post: helmy

Offline mrisco

  • Regular Contributor
  • *
  • Posts: 167
  • Country: pe
    • Github repo
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3609 on: April 15, 2025, 06:46:00 pm »
And this is an example of the DHO Actions panel:
DHO800-900 Extended UI: https://youtu.be/mT4ivaMY7zg
 
The following users thanked this post: helmy

Offline helmy

  • Contributor
  • Posts: 12
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3610 on: April 16, 2025, 05:57:03 am »
Is there a way to save the recording frames to a file? It feels like an obvious feature to have, but I haven’t been able to figure out how to do it. The only related option I found was under “Storage,” which seems to deal with saving waveforms — but nothing that explains how to save a full “recording” of, say, 200 frames all at once to disk.

If this isn’t currently possible, would it be feasible to add this as a feature in the extended UI?
 

Offline dzwer

  • Contributor
  • Posts: 23
  • Country: bg
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3611 on: April 16, 2025, 11:50:02 am »
Did you try to configure in the Quick menu for Recording and use the Quick button on the front panel?
Nothing moves you like a hydropneumatic Citroen...
 

Online norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 613
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3612 on: April 16, 2025, 06:05:46 pm »
Finally today I added more capacitors parallel with others - after switching regulators and after LDO (is it LDO?). Just in ~11 places, which is less than half of my plans. Result is 2-3 times lower noise on modified channels (3 and 4 - increased bandwidth). Unmodified channels has 1-2 % less noise...

Now it's way more usable with normal acquisition instead of average acquisition (last screenshot).

Offline helmy

  • Contributor
  • Posts: 12
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3613 on: April 18, 2025, 12:50:53 am »
Finally today I added more capacitors parallel with others - after switching regulators and after LDO (is it LDO?). Just in ~11 places, which is less than half of my plans. Result is 2-3 times lower noise on modified channels (3 and 4 - increased bandwidth). Unmodified channels has 1-2 % less noise...

Now it's way more usable with normal acquisition instead of average acquisition (last screenshot).

Where can I find more information about adding more capacitors? and modifying the channels for more bandwidth.
 

Offline helmy

  • Contributor
  • Posts: 12
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3614 on: April 18, 2025, 02:40:33 am »
Did you try to configure in the Quick menu for Recording and use the Quick button on the front panel?

Yes, I tried that, but it only saves the current waveform regardless of whether the record window was open or not. What I'm looking for is how to save all the recorded frames to either one or multiple files
 

Offline helmy

  • Contributor
  • Posts: 12
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3615 on: April 18, 2025, 02:55:14 am »
I think there might be an issue related to sleep mode and potential screen burn-in on the oscilloscope. If this has already been discussed, I’d appreciate a link to the relevant thread.

I left the oscilloscope in sleep mode for several hours. When I pressed the power button to wake it, I noticed the RIGOL boot logo appeared with a noticeably brighter area around it. That lighter “shadow” remained visible even after the system fully loaded.

Running a screen test confirmed it — the RIGOL logo from the boot screen was clearly visible during solid color tests. The ghost image faded gradually after repeating the screen test a few times.

Interestingly, while the oscilloscope is in sleep mode, I can still access Web Control via a browser. The remote screen shows the Rigol logo displayed on a black background with a spinning animation. So the screen isn’t truly off — it’s just dimmed to 0 brightness while still displaying the same static image for hours.

This seems to explain the temporary burn-in effect.
 

Online norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 613
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3616 on: April 18, 2025, 07:25:03 am »
Where can I find more information about adding more capacitors? and modifying the channels for more bandwidth.

I have 470 nF from Samsung (CL21B474KBFNNNG). I just added to missing places and on top of another. Off course only bypass capacitors. First 12 capacitors gave me result as in my previous post. Currently Im adding more as an trial and error nothing. Still I didn't added anything close to AFE or ADC - that theoretically should give best results - maybe I will do this today.

On this forum, there was a link to a Russian forum, where somebody changed LC filters (just below ADC) from 250 MHz to 400 MHz. Increasing BW to 400 MHz gives little more noise. After removing first or all two stages, noise is quite big, very big. Which makes it almost unusable, unless You are using averaging acquisition or you will decrease noise in another way (like I did). Also, You have to remember, that there is a capacitor before those two stages, added for line termination at higher frequencies (coils impedance). So You have to change it value accordingly - I remember it was something like 10 or 15 pF.

From my own reverse engineering, looks like most noise comes from AFE power supply - as I wrote here before.

I think there might be an issue related to sleep mode and potential screen burn-in on the oscilloscope.

Script quick_boot_test.sh (/rigol/shell/quick_boot_test.sh) and Linux kernel modified by Rockchip, gives some answers. Since GPU, VOP, MIPI, panel-simple, etc drivers are compiled as built-in, LCD screen most likely will not be switched off. If mipi driver will be compiled as module, unloading it (rmmod command) should switch off the panel completely (I made a port of RK3399 MIPI driver from one kernel to another, so I learned code in this module a bit).

Rigol didn't gave source code of kernel, beside of GPL licence that requires them to do it. But I did not one, but two kernels with recreated drivers (based on decompiled code and some tests), so theoretically You should be able to make Your own kernel. Also there was a post of compiling kernel modules from (maybe) original kernel, so maybe it's also an option (with or without drivers that I did).

Offline iMo

  • Super Contributor
  • ***
  • Posts: 5749
  • Country: li
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3617 on: April 18, 2025, 09:00:54 am »
In case of switchers there it would be better to add an LC or CLC filter (would need to cut the trace, however)..
Readers discretion is advised..
 

Online norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 613
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3618 on: April 18, 2025, 09:02:36 am »
Low noise LDO for AFE should give better results than filters.

Online norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 613
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3619 on: April 18, 2025, 03:36:53 pm »
Now I disabled AFE (same as before - commented insmod), measured noise across channels, added capacitors (bypass off course) around ADC (looks like both analog power lines) and I did same measurements. With those capacitors, noise is around 20% less than before.


Offline ptluis

  • Frequent Contributor
  • **
  • Posts: 528
  • Country: pt
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3620 on: April 21, 2025, 07:35:02 pm »
The oscilloscope's normal consumption is around 35W. Are there possible ways to reduce consumption to make it more efficient when using a power bank? What is the lowest consumption you can get with this oscilloscope? Has anyone try it?
 

Online norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 613
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3621 on: April 21, 2025, 07:44:36 pm »
You can turn off PLL and AFG. It will drop to around 10-15 W.

Edit: put backlight to 0. Somewhere in /sys

Offline ptluis

  • Frequent Contributor
  • **
  • Posts: 528
  • Country: pt
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3622 on: April 21, 2025, 08:22:28 pm »
You can turn off PLL and AFG. It will drop to around 10-15 W.

Edit: put backlight to 0. Somewhere in /sys

The DHO804 doesn't have AFG, my mistake, didn't specify the model I'm refering to. Even lowering the backlight the best I can is 31W.
 

Online norbert.kiszka

  • Frequent Contributor
  • **
  • Posts: 613
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3623 on: April 24, 2025, 06:25:09 pm »
Ok.. so I did some experiments with adding capacitors parallel to existing ones (decoupling only off course) and even I put wires to decrease ground impedance and... I did false positive - as on my previous screenshots from scope, when noise was 2-3 times lower (on modified channels only).

So, at some point I noticed noise came back to original value  :-BROKE After some hard thinking, I noticed, that previously I omitted two screws from heatsink.

Finally I developed couple possibilities to make lower noise (practically only on channels with increased bandwidth) - I can't say which one is the best and which one will work at less modified scopes than mine:

1. Remove screws 3 and 4.
2. Remove screw 1.
3. Place electrical tape on shield (between PCB and front panel) under screws 2, 3 and 4.
4. Point 2 and 3 - that's what I have right now.

I also did experiments with other screws, but finally I spent too much time on it. Maybe somebody else will develop something better.

Offline Thripster

  • Newbie
  • Posts: 4
  • Country: gb
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3624 on: May 03, 2025, 10:29:32 am »
I thought he stated at the start that the power bank is 20,000mAh?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf