LM1117 notes

I pulled some LM1117 voltage regulators from a bunch of routers. I want to use them in another project so I knocked together a quick circuit to test them. Here is the basic LM1117 schematic:

lm1117

And here it is built up, using mostly random parts from my junk bin. R1 is 200Ohm, R2 is a 1K pot in series with a 200Ohm. The cap is 100uF. I should probably also have a cap on the input, but I’m running this from a bench supply and it seems fine.

lm1117made

The LM1117 is used in a number of applications are a jelly bean variable regular, I’ve seen it typically used as a 1.2 or 3.3v regulator. There’s an interesting application note on this application here.

You can find the datasheet, and some design notes for this part at the end of the post here were it’s used in a RT3050 PCB I was reverse engineering as a 3.3v regulator.

Simple gnuplot histogram example

The gnuplot histogram style wont automagically bin your data. To do this you need to either use an external program, or add some additional code, here a simple example:

set terminal png
set output "hist.png"
set boxwidth 1
set style fill solid
set style histogram 
set style data histogram
bw=1
bin(x,width)=width*floor(x/width) + bw/2.0
plot "test.dat" using (bin($1,bw)):(1.0) smooth freq with boxes

Using this data file:

1
2
3
4
5
5
5
5
5
5
5
5
5
5
5
7
8
9
10

You should see this output:

hist

HP 34401A Repair

34401A

This post documents the repair of a HP 34401A Multimeter, I’ll be updating this post as I work on it.

The meter powered up and appeared to be fine for DC voltage/current and resistance measurements. However AC and frequency measurements were showing 0 and the self test failed. Still pretty happy with it for 50USD.

First obvious problem was the following blown cap, sorry I didn’t take a pic before removing it:

deadcap

But wow it left it’s mark:

deadcomponents

You can also see a blown 3.3V regulator next to it. The LM317 which drives this appeared to be outputting 30V rather than 18 as it should. I’ve ordered replacements and will update when I’ve refitted the components.

The replaced regulator, not a great job I’m afraid, it was hard to get to:

lm317

4V p-p input, 1KHz, square:

func1

func2

The voltage is a bit off, but I’d probably blame my function generator (300USD Siglent).

And some resistance measurements for fun, first a 0.01% 100Ohm resistor:
multi2

And then a 10K:
multi

I measured the cables as 0.05Ohm, so this looks pretty good!

Tektronix TDS5052 repair

I picked up another broken Tektronix scope for about 200USD scope the other day. This one had no output on any on either VGA port or the integrated LCD. However the front panel LEDs did come up and it beeped on boot.

The TDS5000 series scopes follow a similar pattern to the TDS7000s with a x86 host and a PowerPC based system on the PCI bus. The layout however is a little more “normal” with the Power PC sitting in a PCI slot.

Once the BIOS was reset, I could get output on the integrated AGP graphics card of the Intel motherboard. I could even acquire snapshot measurements from both channels, a good sign that the acquisition hardware was working.

However still nothing on the Tektronixs PCI card which uses a Chips and Technologies 69000 graphics IC. In windows you could see the 69000 as a second display, and everything seemed fine. These scopes write the waveform directly to the 69000 display, as an overlay on the PC display, so you need it working to see any waveform.

Luckily, unlike the TDS7000 it’s possible to remove the motherboard and PCI card from the chassis and run them out of the case. This means you can easily probe around and see what’s going on.

Probing around the 69000 there was no output on the RGB lines for the VGA output. All the supplies look good too… except for U5, the DACVCC. shorting this to a 3.3v supply, suddenly the VGA output started working.

Tracing the circuit from U5 showed that this pin was connect too… nothing. It lead to an unplaced component E300. E301 sits on one of the other 3.3V supplies to the 69000, in almost exactly the same layout and is just a 0Ohm resistor. The other side of E300 was a 3.3v supply…

So I just shorted it as you can see in the picture below. I’m not sure why this wasn’t placed, perhaps VGA scope output was an optional extra on this model?

DACVCC

Once this was in place I could see a waveform on the scope (PCI/69000) VGA output:

tds5000ext

I also probed the LCD output, data was present, and there where no components in line between the 69000 and the LCD (a NL6448BC33-46) that would have failed. I ordered a replacement and success! Everything works fine:

tds5000ok

Chips and Technologies 69000 datasheet: m69000