Skip to content

My experience and possible issues #2

@philcolbourn

Description

@philcolbourn

My UNI-T UT61E has a RS232 interface, not a USB interface.

I ended up modifying miniterm to set 7 bits as it allows me to set everything else, DTR to +5V, RTS to -5V, 19200, and odd parity.

(Actually, I think voltage is closer to +-6V...)

On piping serial to es51922 I had to modify it to make it work:

  1. I needed just value - so not es51922 issue and I can work with es51922 stdout output

  2. es51922 does not flush stdout so I added sys.stdout.flush()

and for your information,

  1. why is CSV format using a semicolon ';' instead of a comma ','?

With these changes I can do this:

./miniterm.py --dtr 1 --rts 0 --parity O /dev/ttyUSB0 19200 \
  | ~/.local/bin/es51922 \
  | feedgnuplot --stream --lines --xlen 50 --xlabel sample --ylabel V

Which generates a nice strip-chart-like graph of last 50 (in this case) values.

[diff.txt](https://github.com/pklaus/ut61e_python/files/681999/diff.txt)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions