First, install and run OLEDTERM.
Then use the link below to pipe a command into tty:
https://unix.stackexchange.com/questions/138342/how-to-read-write-to-tty-device
My version of OLEDterm (on RPi0 2):
pi@raspberrypi:~/BeBoXGui $ python3 termwrap.py