mmmm-Logo

From the Shop: Digital Scales - "The YADRO-Files" : Part 1


<back<  >next>


The ALDI-Present:

ALDI is one of the bigger food-discounters in Germany. Yes, sometimes they also sell digital scales, shoes, vacuum cleaners and whatever.

Recently (beginning of september 2005) Aldi offered a digital scale. The price tag was ¤ 9.99 (about USD 12). I could not resist, because I also hoped that this scale has a digital output. I took 4 of them and opened them and found what I hoped to find. A digital interface.

Now here it is. Cables already connected, battery cover missing and -after inserting the battery- a bit confused display. But you can interpret it as a hint. There is more in it than it seems.

Quality?

Oh, yes. There is quality, a bit of. No good workmanship, sharp corners etc. but it is precise:

I checked it with two gauge blocks with 25mm and 50mm. Both times the scale was 0,00mm off. Better than I hoped.


The PCB:

After opening the case and disassembling the pcb there where 4 highly suspicious pads. They -after connecting a scope to them- revealed to be the digital interface.But even more. There is a pad that looks like the 3 other pads that serve for the push buttons.

What is marked 1…4 is the digital interface connector. "A" is the additional pad for the switch. In the circle is a little secret. Be patient, I'll come back. All push buttons are pulling the corresponding pads high (H, plus of battery) and that's what I tried with the mystery pad "A". It didn't work. Later I decided that it must make some sense, so I traced the pcd to see where it is connected to. It was not connected. It ended under the artful tinn pickle I made (and that is marked with the circle). The trace ended in a pad and right beside that pad was another pad that cried for connecting both. I did as requested and the scale answered with new features. The push button that serves the pad "A" will -from now on- be called the phantom button.

It doesn't seem necessary to put a resistor in the trace. All the other switch pads don't have them too. If you want to be on the save side, use 100 … 500 Ohm.


Under the sticker:

click to enlarge

Note:
Chances are very high, that the numbers given in the picture are a bit off. It is quite resonable that all is etched in mils. So the 2.55mm would be 2.54mm. Also note, that we use the "," as decimal point.

That's how it looks if you peel off the sticker (with the ruler's numbers printed on). On the left is the calipers body (a part of it) with the sticker removed. To the right is the backside of the PCB. Sizes if you look at the enlarged picture. The pad on the PCB that is 30.5mm wide receives the signals. Those signals are coming from the 56 pads underneath.

I have lent me a HP 54645D. A wonderful mixed signal scope. 100MHz 2 channel analog + 16 channel digital. Quite old (mfg-date unknown) with a centronics interface that took 5 minutes to print one page. Then I scanned the pages. I had so much joy using it! Thanks a lot to the guys at eubus!

Here is a picture showing the signal (analog channel on top is the receiver pad).
C0…C7 are connected to the sender pads. How C0…C7 are connected to the 56 sender pads in a moment.

click to enlarge (1.2 MB!)

Here is a detail of the above screen dump (the part marked "see#2") (0.8 MB!)

Here are 3 parts of the digital signals strechted and timing handwritten into it: Digital part#1, part#2, part#3
You have to print that out and glue it together. :-)

C3 is connected to the leftmost sender pad, C2 to the second, C1 -> 3rd, C0 -> 4th, C7-> 5th, C6 -> 6th, C5 -> 7th, C4 -> 8th.
Then it starts all over again (C3, C2, C1, C0, C7, C6, C5, C4, ...). So every CX is connected to 7 sender pads.

Here is a drawing how the coupler-pcb and the slide-pcb work together:

click to enlarge

I name the parts:

  1. Slide PCB (with IC, LCD, buttons etc on it. Just the caps are shown)
  2. Receiver pad (on slide PCB)
  3. sender pads (56 pads) (on slide PCB)
  4. caliper body
  5. strip (forming the coupler PCB)
  6. Tee
  7. Comb

Part 5…7 are on the coupler-PCB that is glued into a recess of the body (4).

Part 5 doesn't seem to have some function. Drawing is to scale where necessary (especialy the relation of 3, 6, 7)


The modes of the "pimped scale":

  1. After (the first) switching on, the scale is in the normal mode. The button mm/inch and ZERO are self explaining.
  2. If you press the phantom button, you are in hold-mode. A H appears in the upper left corner of the LCD. The reading is kept, even when moving the slide.
  3. If you press the phantom button once more, you are in minimum-mode. Min. appears in the display. At the same time, F.T. appears in the lower left corner. More on that later. The reading only changes if you close the scale. If you open it, the minimum value is kept. Good for meassuring outer sizes.
  4. If you press the phantom button once more, you are in maximum-mode. Analog to the Min.-Modus, just for inner sizes.
  5. If you press the phantom button once more, you are back in normal mode.
  6. If you are in mode 2, 3 or 4 the Zero-button toggles the F.T.Mode. In F.T.-Mode (Fast Transfer), meassures take place about. 40 times a second, in contrast to the 3 times a second in non-F.T.-mode.


The interface:

Side note: You can only switch off the display, the digital interface stays active.

Attention: Ground planes and the scale itself are connected to battery +. But this should not concern you for now.

The Pins:
Pin 1: Battery -
Pin 2: Data
Pin 3: Clock
Pin 4: Battery +

Data is connected to the phantom button. This means, if you pull data to H, you switch the modes.
Clock is connected to the zero button. This means, if you pull clock to H, you either zero the reading or toggle the F.T. mode.

Nominal battery voltage is 1.55 V; L is < 0.2V; H is > 1.3V


The signal, or do the Chinese read from right to left?

The signal. Upper channel is clock, lower channel is data. A complete datagram is about 780us long. Every packet has 4 bits (BCD). The last packed transports additional information The whole datagram consists of 7 pakets. So you can transmit 6 digits that would result in a maximum range of 9999.99mm The LCD is only good for 999.99mm, but the IC could handle more. If you only cut the scales and put them in a row …

 

Two packets (the first two) at a closer look. Every packet has a lead in of 54us H. Following that are 4 clocks that signal the bits. Reading takes place at the falling edge of the clock. In the first paket is the lowest (LSB first) number. If the display reads 123.45mm, the packets read 5, then 4, then 3, etc.
In this shot you see the nuber 7 (binary 0111) in the first packet and the number 5 (binary 0101) in packet 2
So the display reads ???.57

 

A single packet with a closer look at the timing. Reading is always at the falling edge!

The last packet:

The last packet does not transmit numbers, but additional information

They are in detail (LSB first):

  • Bit 0: sign. L = +, H = -
  • Bit 1: in inch-mode H means +0,0005 inch, unused in mm-mode.
  • Bit 2: unit: mm/inch. H= mm; L= inch
  • Bit 3: unknown.