Products > Test Equipment

Reverse engineering Tektronix TDS3GV module for TDS3000 series oscilloscopes?

<< < (8/21) > >>

Hairystuff:

--- Quote from: pmercier on November 14, 2019, 09:14:35 pm ---Ok, i tested the tds3eng for the serial port on my TDS3014 with a USB/TTL.

I can print over the serial port, but ... the GPIB commands seem to be unavailables :\
Sent a "*IDN?" but got nothing in return.

Just to be sure i did the same on my TDS3032C and the answer where returned.

Damn !

Okay now i can stop taking photos of the screen so it's already a small win, but it bug me  |O

--- End quote ---

Is the 3.39 firmware on the scope, I've heard the newer 3.41FW does not support the hack.

james_s:
That's a good point, yes you do need the earlier firmware for it to work.

Hairystuff:
It's good news that pmercier was able to communicate with the ENG app module installed in conjunction with the RS232TTL interface, hopefully it's just the firmware that's only holding it back from being unlocked, plus the price gouging and rarity of the interface modules is prohibitive in taking full advantage of the scope's capabilities.

Icchan:
OMG! The work and interest you all have put into this... this was a real joy to see when I opened this old thread after few months (i've been forgetful on my old topics on this forum). I threw a rock at the lake and didn't think much of it... Thank you everyone for taking part in this!   :clap:
One of the greatest communities around! :)

stas_last:
Hello everyone. The pinout is correct. only instead of 3.3v I have 5v. but this is not critical. I’ll wait a long time for this connector, so I took the oscilloscope apart and soldered to the board). CPU2102 is working correctly. But for me, usb is not suitable for work for many reasons. therefore, to take screenshots, I connected esp32. RX TX GND and 5V. Who is interested in the program for screenshots on wifi.
--- Code: ---#include <WiFi.h>
#include <WiFiClient.h>
#include <WiFiAP.h>
extern "C" {
#include "libb64/cencode.h"
}

const char *ssid = "Tek";
const char *password = "12345678";

WiFiServer server(80);
String inputString = "";
boolean stringComplete = false;
void setup() {
  Serial.begin(38400);
  WiFi.softAP(ssid, password);
  IPAddress myIP = WiFi.softAPIP();
  server.begin();
}

void loop() {
  serialEvent();
  WiFiClient client = server.available();
  if (client) {
    while (client.connected()) {
      if (client.available()) {         
        client.println("HTTP/1.1 200 OK");
        client.println("Content-Type: text/html");
        client.println();
        client.println("<html>");
        client.println("  <body>");
        if (stringComplete) {       
          client.print("    <img src=\"data:image/png;base64,");
          client.print(base64_encode_utf((uint8_t*)&inputString[0], inputString.length()));
          client.println("\" alt=\"\" />");
          inputString = "";
          stringComplete = false;
        }
        client.println("    <p>Tektronix tds3000 snapshot</p>");
        client.println("  </body>");
        client.println("</html>");
        break;
      }
    }
    client.stop();   
  }
}
String base64_encode_utf(uint8_t * data, size_t length)
{
    size_t size = base64_encode_expected_len(length) + 1;
    char * buffer = (char *) malloc(size);
    if(buffer) {
        base64_encodestate _state;
        base64_init_encodestate(&_state);
        int len = base64_encode_block((const char *) &data[0], length, &buffer[0], &_state);
        len = base64_encode_blockend((buffer + len), &_state);
        String base64 = String(buffer);
        free(buffer);
        return base64;
    }
    return String("-FAIL-");
}
void serialEvent() {
  while (Serial.available()) {
    char inChar = (char)Serial.read();
    inputString += inChar;
    if (inChar == '\n') {         
      stringComplete = true;
    }
  } 
}
--- End code ---
set the speed on the device to 38400, instead of printing to the printer, select printing to the serial port. press the print button, the data will go to esp32, and when connected from the browser the picture will fly there. generally interesting idea for the weekend)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod