HOME ARTICLES DOWNLOADS CONTACT


Openschemes Feed
Main Menu
Openschemes Articles
Categories
Site Sponsors
Site Hits
Total Hits


Continued work on Protek D620 Serial

QRCode


Tags: , , , ,

Filed under: Protek D620 | October 15, 2009 @ 6:25 pm (Views: 468)

Hello again, fellow D620 users.  Based on RL’s latest findings at the first D620 post, we’re hazarding a guess that there is more to this device than it lets on.

We were trying out his findings today, and couldn’t resist the urge to start firing random hex bytes at the device.  Surprisingly enough, it responded to some of them!  After playing around with format, etc, we came up with a few rules.

Some functions can be queried (H? - Hold) and also set.  These functions will respond to just their main character (D, H) but will return junk - the standard header, but blank data.  Sometimes, that’s all you need.  Simply getting some output means that you have gotten your command past the RS232 receiving routine and into a command interpreter.  So by scanning the entire ASCII table, you could determine what characters have functions that return data.

Now wouldn’t it be nice to have an automated way to do that?  Enter D620Query!  An automated program to send queries to the device.  Anything that gets data back is logged in the bottom window.  Using this tool, we can easily scan for responsive characters, and additionally scan those characters with arbitrary commands to see what happens.  It’s doubtful that any of this will damage your meter (maybe erase a datalog accidentally) but regardless - you use this at your own risk.

Screenshot of Automatic RS-232 Query Tool for Protek D620.  Short Log Mode

Fig 1 - Main Window of D620Query

This program is kind of a hack on our other hack of a program, so the source not pretty.  No error checking is done, and formats are not checked for validity so buyer beware.  But it functions for our needs.

Continued on Next Page…

Bookmark and Share

Pages: 1 2 3


Related Posts:
  • Nandoori - SPMP8k Raw USB NAND Dumper (February 16, 2010)
  • SPMP8k FRMorp v1.1 - Improved the Linux side (February 9, 2010)
  • SPMP8k NAND Overview and NAND File Dump Tool - beta (January 29, 2010)
  • SPMP8000 NAND Dump Teaser! (January 25, 2010)
  • SPMP8000 - mydigit.cn SK8015C firmware request (January 24, 2010)

  • Metadata:

    2 Comments

    1. Comment by Petr Moravec:

      Hi! Could someone tell me if it is possible to measure for example charging/discharging curve with Protek D620 and PC? I hope, that there is some possibility to measure voltage, than store (log) this measured value, than change function to masure current, again store this value - in maybe 2 seconds interval. Is it possible to write some program, which can done it? I mean changing Protek function and storing up the data?
      Thank you.

    2. Comment by openschemes:

      That’s a great idea. I can’t tell you for sure whether it is possible or not, but one of our test setups was to measure voltage/current and compute power of an unknown component - so I believe that it *MAY* be possible. We’ll try it next time we see the D620 - it’s currently on loan to a local engineer.

    Leave a comment





    Contact Openschemes


    Copyright © 2003 by Openschemes  |   |  Design by 7dana.com