Continued work on Protek D620 Serial
QRCode
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.
Fig 1 - Main Window of D620Query
Continued on Next Page…
Related Posts:
Metadata:





January 23, 2010 @ 1:22 pm
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.
January 24, 2010 @ 9:05 am
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.