Rigol DS1054Z Repair dead keypad help needed! - Page 1
Forum section: electronics / repair

author: vlad0623
author_rank: Newbie
timestamp: March 23, 2024, 01:51:42 pm
content: Hi,I've got a Rigol DS1054Z that has a dead keyboard module (Keys and LEDs are not working). I've tried using it with Rigol UltraScope software, and everything else seems to be working fine. I disassembled it and checked it visually. Also, I've measured the power lines for the keyboard module. All seems to be fine.So I assume that the problem is the FPGA itself. It has a built-in flash, and it could be a dead chip or the internal flash is corrupted somehow. I'm not sure what was done to this device to get it in such a state. I've found here on the forum a few threads about reverse engineering this scope. From that, I've learned that It seems like this keypad FPGA could not be reprogrammed by the firmware upgrade. Also, the keypad module should use the UART line of the microcontroller.I found one of the lines and tried to measure the data transmission when I switched channels on and off from the PC. It looked like it was transmitting some data to control the corresponding LEDs. There wasn't any responses from the keypad itself.The ideal solution would be to rewrite the code for the original FPGA, but I have no experience with that, so it might be challenging. As an alternative, I could probably use some MCU to emulate the original keypad behaviour and replace that FPGA.I really need some help with that. I have no experience disassembling firmware. So it would be really helpful if somebody could provide a protocol for this keypad and UART baud rate either by disassembling the firmware or by capturing the traces with a logic analyzer.

author: m k
author_rank: Super Contributor
timestamp: March 29, 2024, 02:13:06 pm
content: Is it possible there is some sort of front panel lock?Don't know how it would affect the LEDs.

author: adinsen
author_rank: Regular Contributor
timestamp: March 30, 2024, 07:31:28 am
content: I haven't read the threads on reverse-engineering, but it sounds like your best bet wold be to either remote control the scope from a PC or getting a new board. Reverse engineering the protocol to make a custom PCB would probably be more expensive than getting a new keypad board from Rigol.

author: vlad0623
author_rank: Newbie
timestamp: March 30, 2024, 08:38:54 am
content: Quote from: m k on March 29, 2024, 02:13:06 pmI don't really think so. I'm unable to find such an option in the user's manual. During boot, all the LEDs stay off, which is wrong considering there should be a self-test. I also clearly see some communication happening on one of the traces that look exactly like some LEDs should switch on and off a few times before it's finally booted up.Quote from: adinsen on March 30, 2024, 07:31:28 amI don't really see how it could be very expensive? I think of maybe studying an FPGA and trying to reprogram the onboard one. Or use something like Atmega or STM8/STM32 for that. I think it's quite possible to make it for under $10, a keypad module would be much more expensive. It will definitely take some time, but it's not quite an issue, because electronics is more like a hobby for me. So it might be a fun project and an opportunity to finally try learning some FPGA stuff.But if you or somebody could suggest any options to buy such a keypad (or maybe a preprogrammed FPGA or a physically damaged module with a working FPGA) that is not very expensive, I'm open to offers. Please post it here or in a PM.

author: adinsen
author_rank: Regular Contributor
timestamp: March 30, 2024, 09:28:09 am
content: Quote from: vlad0623 on March 30, 2024, 08:38:54 amI checked ebay and ali and there are none. I think Rigol will supply them - at a price. Sounds like you have a fun project there, good luck!

author: GGMM
author_rank: Frequent Contributor
timestamp: March 30, 2024, 10:11:23 am
content: Hello,Demonstrate and check the panel before.I think I saw that sometimes an encoder can short-circuit or something? It shows and cleans.Let’s do a search on the net.Some examples here if it looks like it.See also the flat cable if not cut.cdt

author: GGMM
author_rank: Frequent Contributor
timestamp: March 30, 2024, 10:20:41 am
content: Look also here, it's Hantek panel Oscilloscope, but that will give some ideas for testscdt

author: vlad0623
author_rank: Newbie
timestamp: March 30, 2024, 07:54:07 pm
content: I have double-checked everything and found a suspicious VCC that was around 0.7v. I've looked to a datasheet and found that it should normally be around 1.5v, so I've tried to power it from a bench supply (removed that SOT23 and soldered a wire), and IT WORKED!!!. It's obvious that the problem is caused by a failed voltage reg circuit. So it's now a much more trivial repair.Now I need to figure out what that SOT23 part is and how that circuit is supposed to work. Or maybe just replace that with something like 1117-1.5v? Does somebody know what it could be? It looks like some BJT with a base connected to a divider (01C measures as 10k and 30C is around 20k).

author: adinsen
author_rank: Regular Contributor
timestamp: March 30, 2024, 08:11:13 pm
content: Quote from: vlad0623 on March 30, 2024, 07:54:07 pmHooray! Great to hearI hope someone else can identify the failed component as I don't have a clue

author: wasedadoc
author_rank: Super Contributor
timestamp: March 30, 2024, 08:29:29 pm
content: Quote from: vlad0623 on March 30, 2024, 07:54:07 pmThe 'Q' designator is conventionally used for transistors. Datasheet for G1 marking:https://www.s-manuals.com/pdf/datasheet/b/f/bfs20_zetex.pdf. Nothing special.

author: vlad0623
author_rank: Newbie
timestamp: March 31, 2024, 09:21:39 am
content: Quote from: wasedadoc on March 30, 2024, 08:29:29 pmYes, it's obvious that it's a BJT. I have the S8050, which I already soldered there, and it seems to work pretty well. The measured voltage is around 1.47v to 1.5v. I just can't understand how such a simple, low-power circuit could fail? Is it a factory defective transistor? Since I couldn't really find any other cases of such failures online, I think it's OK to just leave it with the original design. What do you think, guys?

author: GGMM
author_rank: Frequent Contributor
timestamp: March 31, 2024, 09:33:47 am
content: Hello,i thing it's a NPN transistorSee if some others on mother board and test with multimeter to compare values of jonctions with and equivalence transistordo some rétroingénieriesome indication here ??Dave speak of smd code in the video , I had to lower the sound if you go all the way. lol!!!here i found the frontboard schematichttps://fr.scribd.com/document/383431220/Rigol-DS1054Z-Schematic-FrontEndcdt

author: GGMM
author_rank: Frequent Contributor
timestamp: March 31, 2024, 09:34:48 am
content: Happy it's workcdt

author: vlad0623
author_rank: Newbie
timestamp: March 31, 2024, 01:56:49 pm
content: Thanks to all, especially to GGMM (you encouraged me to check everything once again).By the way, I got this scope on US eBay for around 170 USD, including shipping (without probes). I think it was worth the risk.

author: GGMM
author_rank: Frequent Contributor
timestamp: March 31, 2024, 02:49:09 pm
content: hello,There are some goods things on Ebay with scope...For me, 1052E for 60€..LolFor your 1054Z, humm.... See youtube if you want to perfect it, you know the word to add in your search. LOLcdt