Программа Terminal 1.9b является монитором COM порта персонального компьютера. С помощью программы можно легко отправлять и принимать данные через COM порт компьютера по протоколу RS232. Среди достоинств Terminal гибкая настройка программы под различные режимы работы. Интерфейс программы прост и понятен.
Смотрите ещё:
Преобразователь USB-UART на базе PL2303HX. Скачать драйвера для windows
Преобразователь USB-UART на базе CH340G. Скачать драйвера для windows
Программа очень удобная для связи AVR микроконтроллеров и компьютером по UART/USART.
Основные возможности Terminal 1.9b:
- работает без установки. Вся программа — один exe-файл размером около 300Кб
- есть счетчик переданных и принятых байтов
- возможность отправлять файлы
- помимо стандартных скоростей (baudrate) есть возможность установить свою нестандартную
- поддерживает до 64 COM-портов
- можно весь лог работы записывать в файл
- можно назначить до 24 макросов
- реализованы Pascalе-подобные скрипты (правда документации по этому скриптовому языку я не нашел. В архиве есть несколько примеров применения скриптов и это все)
Программа очень удачная, легкая, интуитивно-понятная.
Скачать
Terminal 1.9b
Похожие записи
I hope that this blog post is found and helps someone. I wasn’t sure what to title it. Hope Google Juice got you here!
Read this whole post, there’s a lot initially but there’s really just two or three small pieces. It’ll be worth it because you’ll be able to have a nice one click menu and drop directly into a serial port terminal on Windows in the Windows Terminal
Often when you’re doing embedded systems development you’ll want to monitor or talk to the COM/Serial Port just like you SSH into remote system. Folks ask questions like «How to connect to a serial port as simple as using SSH?»
On Linux you’ll use things like «screen /dev/ttyS0» for COM0. With Windows, however, the historical guidance has always been to use Putty. It’ll work but it’s somewhat old, quirky, and it doesn’t integrate well with the Windows Terminal and a more modern workflow.
Say I have a small embedded microcontroller device that talks over a COM Port (usually via a USB->COM bridge) like an Arduino.
Let’s assume this device talks to the COM port as if it were a terminal and it’s outputting stuff I want to see. I’ll use this great little CLI example app for Arduino from Mads Aasvik to simulate such a device.
Here’s what it looks like under Arduino’s Serial Monitor, for example. This is a Windows app doing serial communication with its own interface wrapping around it. I want to do this at a command line, and bonus points if it’s in Windows Terminal.
Setup WSL1
If you have Windows 10 you can the Windows Subsystem for Linux quickly with this command at a Admin prompt:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Then go to the Windows Store and get any small Linux. Ubuntu or Kali will do for our purposes. Run it and set your user and password. (I tried Alpine but it still has issues with screen and /dev/null/utmp)
NOTE: If you are using WSL2 and have set it as default, run wsl —list -v and ensure that your new distro is using WSL1 as only WSL1 will let us talk to the COM Ports. You can change it to WSL1 with «wsl —set-version DISTRONAME 1» from any command prompt.
To test this out now, run your new distro from any command line prompt like this. Add the «screen» app with sudo apt update
» and «sudo app install screen
«.
You can see here that my Arduino serial device is on COM4. On Linux that device is /dev/ttyS4
That means that I should be able to talk it from any WSL1 Linux Distro on Windows like «screen /dev/ttyS4 9600
» where 9600 is the speed/baud rate.
> wsl --list -v
NAME STATE VERSION
* Ubuntu-18.04 Stopped 2
kali-linux Stopped 1
Ubuntu-20.04 Stopped 2
WLinux Stopped 2
Get Minicom on your WSL1 distro
Screen is somewhat persnickety for Serial Port work so try Minicom. Minicom is a nice little text com program. Install with apt install minicom and run for the first time with «sudo minicom -s» to set your default. Note I’ve change the default port from /dev/modem to /dev/ttyS4 and the speed, in my case, to 9600.
Then I hit enter and save settings as the dft (default) in minicom. You can also turn on Local Echo with «Ctrl-A E» and toggle it if needed. Now I can talk to my Arudino with minicom.
Ensure dialout permissions to talk to the COM port
NOTE: If you get «cannon open /dev/ttyS4: Permission denied, you may need to add your user to the dialout group. This way we don’t need to sudo and get no prompt when running minicom!
> wsl -d kali-linux minicom
minicom: cannot open /dev/ttyS4: Permission denied
> wsl -d kali-linux
$ groups scott
scott : scott adm cdrom sudo dip plugdev
$ sudo gpasswd --add scott dialout
[sudo] password for scott:
Adding user scott to group dialout
I can now run minicom on my configured COM port 4 (/dev/ttyS4) with wsl -d DISTRONAME minicom without sudo
.
Here I’m talking to that Arduino program. This embedded app doesn’t need to me hit enter after I type, so remember your own embedded devices will vary.
Make a nice menu
Bonus points, now I’ll add a menu item for Minicom by changing my Windows Terminal settings AND I’ll get more points for adding a nice serial port icon!
I hit settings and add a new profile like this at the top under profiles in the «list.» Again, your distro name will be different.
{
"guid": "{61c54bbd-a2c6-5271-96e7-009a87fa45cf}",
"name": "Minicom on Serial COM4",
"hidden": false,
"commandline": "wsl -d kali-linux minicom",
"startingDirectory": "%USERPROFILE%",
"icon": "C:/Users/scott/Desktop/serial_port_icon_138204.png"
},
To review:
- Use a WSL1 distro
- Install minicom, run with minicom -s once to make settings
- Make sure you are using the right /dev/ttyS0 device for your situation
- Ensure your flow control, baud, etc are all correct in minicom
- Add your user to the dialout group so you don’t have to sudo minicom
- Make a menu item in Windows Terminal
- or run minicom manually in your WSL1 instance whenever you like
Hope this helps!
Sponsor: Suffering from a lack of clarity around software bugs? Give your customers the experience they deserve and expect with error monitoring from Raygun.com. Installs in minutes, try it today!
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
Hosting By
Serial port communications automation & simulation tool for hardware & software developers
HHD Software Automated Serial Terminal is a software utility that allows you to send/receive data via COM ports in various formats and to automate communications using scripts. This program facilitates the development and debugging, reverse engineering, testing/analysis of serial applications and hardware devices that use RS232/RS422/RS485 serial interfaces. It allows both communication with modems, routers, GPS receivers/transmitters and debugging of communication protocols for sensors, robots, complex automated lines and other industrial equipment.
You will find this Terminal extremely useful if you need to create automatic tests or simulate behavior of serial software applications and physical serial devices. It supports RS-232, RS-422, RS-485 legacy or PnP serial ports, software-based virtual serial ports, and all kinds of USB COM ports created by USB to serial adapters or USB-to-RS232 converter cables.
Basic functionality includes sending bytes, text characters, non-ANSI/ASCII characters and files over a serial transmit line. It supports sending/receiving sequences of binary, hex, decimal, octal, float and double data as well as sending characters in virtually any encoding including ANSI, EBCDIC, ISO, OEM, ISCII, MAC, multi-byte UNICODE UTF-8, UTF-16 over a serial line. It supports all standard/non-standard Baud rates, Data bits, Stop bits, Parity (odd/even/mark/space), software XON/XOFF and hardware flow control. It also allows you to control auxiliary modem and handshaking lines (CTS, DSR, RI and CD), toggle RTS/DTR lines.
The product’s various editions also include features for sending Modbus protocol commands (ASCII/RTU Modbus requests/responses) and creating automated test tasks both from the UI and with the help of Serial Port Terminal API (supports JavaScript/TypeScript). Download Serial Port Terminal now and start automating RS232 communications in seconds!
Maintain multiple serial port and TCP connections at the same time and change port settings on the go, with the ability to save option presets.
View data in raw, hexadecimal, or VT100 emulation modes. Sent and received data can optionally be color-coded. There is an option to continually resend a data block at a specified time interval.
Choose what format to send your data in, including ASCII strings, hex, binary, and octal, with the option to record what you’ve sent.
Create aliases for your commonly-used commands, binding them to hotkeys. Sets of aliases can be kept individually for each connection.
Программа Terminal 1.9b — это полезная и небольшой программы эмуляции последовательного порта (RS232), так же, данная программа позволяет передавать макрокоманд.
Основные возможности Terminal 1.9b
► Работает без установки, небольшой размер файле 248k
► Возможность отправки файлов
► Счетчик символов
► Скорость передачи, до 256 кбит
► Сохраниение файл журнала (HEX & строку)
► Возможность передача макросов
► Поддержка операционных систем: Windows XP / 7 / 8 / 8.1 / 10
Ссылки
Скачать программу Terminal 1.9b