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

0 Members and 35 Guests are viewing this topic.

Offline das

  • Newbie
  • Posts: 9
  • Country: fr
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3850 on: August 01, 2025, 06:51:06 pm »
Quote
It's always nice to hear feedback like this. Any feedback is also good, since I can make things differently or get better ideas.

There's more showing up on screen which is always good.
Also when moving the vertical graduations they now don't end on stupid offsets such as 0.012V, it's a nice snappy 0V.
That's all I've seen for now, I'm not a power user anyways, it's mostly used for troubleshooting glitching setups.

Quote
Got some photos of the final result?

I've attached a picture of the fan hack, nothing much, just opened the scope and plugged the fan to the +12V. The 92mm low profile (15mm) would work with a scope on a bench, not VESA mounted but I'm not sure about a standard fan (25mm IIRC).

Quote
BTW. I was thinking about making a software fan control (separate app in the background or via the kernel) in order to maintain stable temperature inside. There are at least four GPIO pins (hw code, which is unused in my mod) that can be used for anything. Linux kernel (used in Android) has a PWM driver and even without recompiling it, it should be simple to use modified kernel module from the DHO4000 which uses exact same kernel (change of gpio pin number in the compiled module is very easy).  That will require less parts than making it fully electronically.

This might be helpful for others that don't want to open their scopes. But I don't regret doing the swap, this is much more peaceful. You can probably do it without opening the scope anyways, I just wanted to plug to the original header.

Quote
Can You provide a screenshot? All channels are the same? For a comparison, I attached screenshot from the upcoming v0.3, which has exactly the same layout of channels in the "navigation bar" - different color makes it clearly distinguishable, at least for me.

The screenshot shows that I have two channels active, but in the lower bar it doesn't display well which one is selected so it's a game of hit and miss when I want to open its options. I've played with it a bit and now I see that the 1 pixel vertical bar to the right of the selected channel changes color, but it's hard to see really compared to the original interface I was used to. They wasted screen real estate but it made more sense visually at least to me.
 
The following users thanked this post: shapirus

Offline stasalt

  • Newbie
  • Posts: 8
  • Country: am
    • https://www.eevblog.com/forum/register2/
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3851 on: August 01, 2025, 06:57:33 pm »
The question is experienced, I order a Rigol 804 in China and it arrives already converted into a 924, the question is whether to pick it up or refuse.
 
The following users thanked this post: cncjerry

Offline shapirus

  • Super Contributor
  • ***
  • Posts: 1963
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3852 on: August 01, 2025, 09:27:52 pm »
I've attached a picture of the fan hack, nothing much, just opened the scope and plugged the fan to the +12V.
An actual 12V or whatever's on the original fan connector? Because the latter is actually about 8V.

Either way, nice mod. I did similar, but I used a slim 120mm fan (with the voltage reduced further down to 5.4V), and it made using the VESA mount impossible (but I don't need it anyway). Yours still allows to use the VESA mount, which is cool.
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 18058
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3853 on: August 02, 2025, 12:17:23 am »
The question is experienced, I order a Rigol 804 in China and it arrives already converted into a 924, the question is whether to pick it up or refuse.

Does it work? Is it dirty or damaged?

If it works and the price was good then...  :-//

Make sure the "warranty void" sticker is intact and the power supply is the original one.
 

Offline norbert.kiszka

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3854 on: August 02, 2025, 03:18:20 am »
There's more showing up on screen which is always good.

I was thinking about making fullscreen mode, more or less like the others did, but when I was fixing bugs related to roll mode and LA, I noticed that waveform screen area is hardcoded in many places. Without the source code it will be very difficult to change those sizes and offsets dynamically. As always I need to manage my work time. Fullscreen mode with only 9% increase of waveform window (or other windows) to make it fully properly, can take maybe even two weeks. I already experienced many times that whole Android, Java and C++ languages are nothing else than reinventing the wheel. But instead of a circle shape, it ended as a triangle... If that things would be written in C with enabled compiler optimizations, it should boot (system+app) in like 10 seconds or maybe even less. Also working with properly written code in C is much easier and faster than working with the crap like the most of Java/C++ "software engineers" do - including Rigol ones.

Currently in my mod, space for the windows (one waveform window by default) as I calculated some time ago, is roughly 91%. I think this is good enough to work comfortably with this scope. Even it's quite good with the LA with all channels enabled. If that is not enough (more windows, decoders, etc), it should be better to connect PC monitor. With my very old 21'' Eizo (much better than today popular crap and current price is around 30 $) I can read everything from a couple meters.

On the side note, in Android framebuffer size can be easily changed to anything - for example, if somebody has a 1920x1080 monitor, it can be used in native resolution without interpolating pixels. But it will also affect internal LCD, which will be more or less unreadable, until framebuffer size will be changed back to the size of this LCD panel (1024x600). GPU in the RK3399 in most cases (it's complicated in details) can make a screen output up to the 1920x1080, so generally this is a maximum.

Once somebody asked here how to use HDMI monitor as a separate screen on this scope. On the hardware side this is possible (proof), but the current kernel has a driver compiled as built-in and with enabled mirroring on the kernel configuration side. I have other reasons to compile more modern kernel version, so this likely should also fit together.

Also when moving the vertical graduations they now don't end on stupid offsets such as 0.012V, it's a nice snappy 0V.

I see three possibilities. You are doing something differently or I did another feature by accident. Like a unintended bug, but it's feature instead. Or it was one of many very small changes that it was too small to make an effort to put this into changelog and later it become completely forgotten. I did a lot of small changes like that.

it's mostly used for troubleshooting glitching setups.

In that case, "fast" acquisition in v0.3 can be useful for You. It does up to 100 k waveform updates per second with 10 kpts mem. depth. With lower mem. depth and linear interpolation, there is a bug in FPGA firmware - on the screen it looks like it's somewhere more than 100 k, but trigger output (AUX socket at the back) gives something around 23 Hz...

Quote
BTW. I was thinking about making a software fan control (separate app in the background or via the kernel) in order to maintain stable temperature inside. There are at least four GPIO pins (hw code, which is unused in my mod) that can be used for anything. Linux kernel (used in Android) has a PWM driver and even without recompiling it, it should be simple to use modified kernel module from the DHO4000 which uses exact same kernel (change of gpio pin number in the compiled module is very easy).  That will require less parts than making it fully electronically.

This might be helpful for others that don't want to open their scopes. But I don't regret doing the swap, this is much more peaceful. You can probably do it without opening the scope anyways, I just wanted to plug to the original header.

I had in mind unused GPIO pins that are available on PCB (my mod doesn't read hw code, In most places it's hardcoded to 0 like in DHO4000, which enables some features). Originally, both fan and the LCD backlight power (looks like it's doubled...) are driven by the same GPIO pin. "Sleep mode" kills the app and pulls down this one gpio pin. In this case, I think the only one logical option to drive the fan programmatically, is by using "hw code" GPIO pins. But maybe somebody else has better idea than mine.

As I said, point of this is to maintain more or less the same temperature all the time. In that case we should have more stable vertical offset. This is one of the reasons why self calibration exists.

Quote
Can You provide a screenshot? All channels are the same? For a comparison, I attached screenshot from the upcoming v0.3, which has exactly the same layout of channels in the "navigation bar" - different color makes it clearly distinguishable, at least for me.

The screenshot shows that I have two channels active, but in the lower bar it doesn't display well which one is selected so it's a game of hit and miss when I want to open its options. I've played with it a bit and now I see that the 1 pixel vertical bar to the right of the selected channel changes color, but it's hard to see really compared to the original interface I was used to. They wasted screen real estate but it made more sense visually at least to me.

I misunderstood You earlier. Right now, You can look at the vertical scale on the grid (1V, 2V, 3V, etc), because it's color is the same as the selected channel color. Original thick background (which had channel color if this one was selected, grey otherwise) literally I changed to the line on the right side. If You watch closely, it changes color in the same way as in the original app. Now You made me idea to make this line thicker. Right now it's 1 px. I think 3 px or maybe 4 px should be good enough to see which one is selected.

On the other hand, probably it will be literally ugly with almost everything else being 1 px thick. Also, Android uses very crazy and developer unfriendly things, so that one change can take much more time than the same thing in CSS used in web pages - in CSS it's just a simple change of a single number in a text file or change line with path with the background image to something like: border: 1px solid color_name_or_value and that's it. Anyway, I will look into that later.

Speaking of the vertical scale, in v0.2.1 and earlier versions it's being moved from right to left when You open measurements. I changed this behavior in v0.3 to be always on the left side.

Offline norbert.kiszka

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3855 on: August 02, 2025, 03:19:06 am »
Does it work? Is it dirty or damaged?

I think no. It doesn't work, but it can fly like a rocket.

If it works and the price was good then...

What else You expect?

Make sure the "warranty void" sticker is intact and the power supply is the original one.

I almost choked myself. Somebody sells scope(s) with the hardware modifications - I guess it was opened at least once. Also those stickers on the legal side has no power to void the warranty, but making a hole on the front and back covers is a another story.

What is "original power supply"? Rigol doesn't make PSUs for this series. You are here long enough to know that they supplied those scopes with different PSU brands, in which only one is safe and reliable (Delta).

Online Fungus

  • Super Contributor
  • ***
  • Posts: 18058
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3856 on: August 02, 2025, 05:34:31 am »
I almost choked myself. Somebody sells scope(s) with the hardware modifications - I guess it was opened at least once. Also those stickers on the legal side has no power to void the warranty, but making a hole on the front and back covers is a another story.

Who said anything about a hardware mod?

He said "I order a Rigol 804".

in which only one is safe and reliable (Delta).

I mean the Delta one, not some deathtrap phone charger or something.
 
The following users thanked this post: kd7eir

Offline norbert.kiszka

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3857 on: August 02, 2025, 12:57:46 pm »
Original thick background (which had channel color if this one was selected, grey otherwise) literally I changed to the line on the right side. If You watch closely, it changes color in the same way as in the original app. Now You made me idea to make this line thicker. Right now it's 1 px. I think 3 px or maybe 4 px should be good enough to see which one is selected.

I changed it to the 3 px and it doesn't look as bad as I suspected - quite the opposite. Also I didn't know before, there was a second one line of top of first - because of it, color was not much visible. So I removed it.

I attached screenshots for each channel selected.

Offline norbert.kiszka

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3858 on: August 02, 2025, 01:13:47 pm »
I mean the Delta one, not some deathtrap phone charger or something.

I don't know if You missed quite long discussion on this forum, but Rigol provided this series with different power supplies. Each one, except Delta, are the death traps.

Maybe in EU selling unsafe products is highly regulated and basically forbidden, but there is no one, that checks what is in the ship containers or packages. Maybe their "authorized resellers" had some issues from authorities or they have seen this discussion and decided to provide Delta brand instead. Hard to tell, because Rigol doesn't give a sh*t, unless situation can cause significant decline in sales.

As I wrote in this mentioned discussion, I tested my own Lite-On with the Riso meter (insulation tester in other words) and very quickly I had a proof that this PSU was very far from being safe.

Offline norbert.kiszka

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3859 on: August 02, 2025, 04:10:38 pm »
I changed date format from yyyy/MM/dd to the MM.dd.yyyy. How does it look?

Offline norbert.kiszka

  • Super Contributor
  • ***
  • Posts: 1049
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3860 on: August 02, 2025, 04:30:15 pm »
I did a mistake with editing. Month should be in the middle. Now it's dd.MM.yyyy.

Offline emoned

  • Newbie
  • Posts: 8
  • Country: bg
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3861 on: August 03, 2025, 09:58:50 am »
Hello. I bought a project V0.2.1 with 125M memory depth, but I don't have time to install it yet. I'll probably make a live usb stick with Debian for easier use.
In the original Rigol application there is a bug related to the overall screen brightness - it doesn't remember it after turning it off and starts at maximum again. Did you manage to fix the problem?
« Last Edit: August 03, 2025, 03:37:38 pm by emoned »
 
The following users thanked this post: Songhua

Offline 0x00

  • Contributor
  • Posts: 11
  • Country: us
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3862 on: August 03, 2025, 10:24:38 pm »
Does the USB-C port on the rear support using a USB-C hub to connect USB devices? I know there’s a USB host port on the front, but I’m trying to use a single cable for everything.
 

Offline lantcant

  • Newbie
  • Posts: 2
  • Country: cz
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3863 on: August 06, 2025, 12:12:10 pm »
Hello, didn't found it so if already known please point me to the post, is it known already what ICs are missing at dho800 PCB for logic analyzer? Is there dho900 PCB image available for public somewhere in good resolution?
 

Offline dzebrys

  • Contributor
  • Posts: 18
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3864 on: August 06, 2025, 03:45:59 pm »
hi,

here is dho800 teardown by David: https://www.flickr.com/photos/eevblog/albums/72177720310962700/with/53165528039
if u search this thread u might find dho924 internals pics from Norbert.

the LA missing parts are:
- 40 dip connector (2x40P 2.54mm Pitch)
- 2x K4B4G1646E-BCNB DDR3L 2866 (improve LA acquisition speed)
- 1x MPPX3630
- 2x TP1282L1-VR

see https://live.staticflickr.com/65535/53164740007_247a1d6c45_3k.jpg for LA connector and missing op-amp section just above

and https://live.staticflickr.com/65535/53165761460_9c043444ca_3k.jpg for FPGA DDR3 memory and (missing) AFG section

br/Piotr
« Last Edit: August 06, 2025, 03:51:31 pm by dzebrys »
 
The following users thanked this post: kd7eir, lantcant

Offline lantcant

  • Newbie
  • Posts: 2
  • Country: cz
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3865 on: August 07, 2025, 08:23:13 pm »
Are those ddr3 chips really used? If I flow them in unit will automatically detect extra mem but otherwise will work ok as well?
 

Offline dzebrys

  • Contributor
  • Posts: 18
  • Country: pl
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3866 on: August 08, 2025, 07:50:35 am »
hi,

i've not done modification yet, just ordered parts are ready and awaiting high zen.
here is S2084 vlog showing the difference when doing LA:

br/Piotr
 

Offline mrisco

  • Regular Contributor
  • *
  • Posts: 225
  • Country: pe
    • Github Profile
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3867 on: August 13, 2025, 05:24:04 am »


I would like to express my gratitude for the reception of my work. It allows me to continue improving the usability of our equipment without compromising its main function, which is to work as a calibrated instrument. As usual, all people who have purchased the version compatible with firmware 00.01.04 will have access to the new version free of charge.

Regards

MRiscoC

Offline iMo

  • Super Contributor
  • ***
  • Posts: 6302
  • Country: sm
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3868 on: August 15, 2025, 12:24:36 pm »
Guys, would it be difficult to add simple averaging of N FFT spectra (by entering N, N=1 to 10000 for example), and an option for creating the FFT graph with log10(frequency), for example?
PS: and the best case - when entering in a pre-amplifier gain (like A=1 to 1E6) it will show the noise power density (or basically a simple math with the FFT bins)?
« Last Edit: August 15, 2025, 12:33:56 pm by iMo »
Readers discretion is advised..
 

Offline mrisco

  • Regular Contributor
  • *
  • Posts: 225
  • Country: pe
    • Github Profile
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3869 on: August 15, 2025, 12:45:18 pm »
Guys, would it be difficult to add simple averaging of N FFT spectra (by entering N, N=1 to 10000 for example), and an option for creating the FFT graph with log10(frequency), for example?
PS: and the best case - when entering in a pre-amplifier gain (like A=1 to 1E6) it will show the noise power density (or basically a simple math with the FFT bins)?

Something like this?


Offline iMo

  • Super Contributor
  • ***
  • Posts: 6302
  • Country: sm
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3870 on: August 15, 2025, 12:54:42 pm »
The "averaging" means that you see the static graph (not a waterfall) in some format (like log-lin, log-log) and the FFT spectra there get smoother and smoother with each new FFT measurement increment..
At X averagings you will see a nice line (not a hairy one).
Here we talk noise signals, but it works for any "stationary signal".
With FFT if you want to be say 1% around the "real mean" with the noise spectra you have to average 10000 FFTs (an example only, it goes 1/sqrt(N), where N is number of averaged spectra).

« Last Edit: August 15, 2025, 01:02:00 pm by iMo »
Readers discretion is advised..
 

Offline mrisco

  • Regular Contributor
  • *
  • Posts: 225
  • Country: pe
    • Github Profile
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3871 on: August 15, 2025, 12:58:30 pm »
The "averaging" means that you see the static graph (not a waterfall) in some format (like log-lin, log-log) and the FFT spectra there get smoother and smoother with each new increment..

In the upper left plot, the yellow trace is an N-average of the FFT trace.
 
The following users thanked this post: iMo

Offline iMo

  • Super Contributor
  • ***
  • Posts: 6302
  • Country: sm
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3872 on: August 15, 2025, 01:04:51 pm »
Aaah, ok, I see..

..and to beat the Siglent - could the freq be in log10(freq)?  :D
Such we see the bins "evenly" (sort of, they will be not, but such they are visible) distributed through decades?
Like you have 10div each 100secs (example only) so the lowest frequency in the fft could be in milliHertz (or lower) and the highest in XXkHz - that is many decades (afaik the FFT is always max 1Mpts, so 5-6)..
A typical graph people want see after N averagings:

« Last Edit: August 15, 2025, 01:34:43 pm by iMo »
Readers discretion is advised..
 

Offline mrisco

  • Regular Contributor
  • *
  • Posts: 225
  • Country: pe
    • Github Profile
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3873 on: August 15, 2025, 01:43:57 pm »
Aaah, ok, I see..

..and to beat the Siglent - could the freq be in log10(freq)?  :D
Such we see the bins "evenly" (sort of) distributed through decades?
Like you have 10div each 100secs (example only) so the lowest frequency in the fft could be in milliHertz (or lower) and the highest in XXkHz - that is many decades..

You need to press the XLog button on the top row. But you are going to have a non uniform plot:

Image from an old version of DHOtools:

« Last Edit: August 15, 2025, 06:48:11 pm by mrisco »
 

Online gf

  • Super Contributor
  • ***
  • Posts: 1661
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #3874 on: August 15, 2025, 02:36:58 pm »
Such we see the bins evenly distributed through decades?

This would contradict the mathematical definition of a DFT (or FFT). A DFT calculates linearly spaced frequency domain samples. While you are, of course, free to plot these samples on a log scale, their native spacing remains uniform in linear space.

Rather than sampling the DTFT spectrum of the windowed signal using a DFT, one could use a CZT instead. This would enable the DTFT spectrum to be sampled non-uniformly (e.g. on a logarithmic scale, or even an arbitrary scale). However, the spectrum analysis filter still retains the same shape and bandwidth at each frequency point.

If you want the filter bandwidths of the filter bank to be non-uniform as well, you will need to use something like a wavelet transform, which is no longer a DFT or FFT at all.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf