Close

More pins, more serial and a wall

A project log for Extension card for TDS3000 scopes

TDS/3K32 Network and serial interface card for old TDS3000 scopes.

pmercierPMercier 06/17/2020 at 22:240 Comments

Before going to the serial port subject, I took some time to analyze the display pins.

The clocks were easy and matched what I found about some simple color LCD datasheets

The colors bus needed more work to distinguish the good colors and what pin were what color bit as it was impossible to see them on the photos of the board.

I had to play with the color schemes and the signal intensity to see emerging patterns to find the bits of each colors :

That done !

Now back to the serial port.

Yes, it's bugged me.

I came to the conclusion that i needed to force the scope to detect a "virtual legit card" with a serial port and a GPIB.

After some more time contemplating the board photos, it made sense that the TTLs had a role to play with that but no way to confirm it without a schematics of the board. It was at that time I sawn a wall. The photos where not clear enough to extract correctly the traces.

But came another EEVBlog member who gave me an important information : enabling the TDS3ENG application module activate the serial port !

Some more I2C programming, and i had the serial port activated !!!!

But ... it didn't respond to any GPIB commands !!!!

Bah at least I can now use the serial port to print the screen to my PC with a little quick and dirty python script.

from serial import Serial
from time import sleep
from time import time

s = Serial(port="/dev/ttyUSB4", baudrate=38400)
wait = -1
with open("dump.png", "wb") as f:
    while True:
        data = s.read_all()
        print("%s : Received %u ... " % (time(), len(data)))
        if len(data):
            f.write(data)
            wait = 3
        elif wait >= 1:
            wait -= 1

        if wait == 0:
            exit()

        sleep(1)

 many seconds later ... it's slow even at 38.4KBps

Even if i still need to find a way to simulate the presence of a card, i can now slowly print a screen capture to the serial port if needed.

Discussions