Basic Usage
Connect to a serial port from the command line:Specifying Baud Rate
Set the connection speed with the--baud flag:
Custom Baud Rate
Common Baud Rates
| Baud Rate | Typical Use Case |
|---|---|
| 9600 | Older devices, GPS modules |
| 19200 | Legacy equipment |
| 38400 | Some industrial devices |
| 57600 | Bluetooth modules |
| 115200 | Arduino, ESP32, modern devices |
| 230400 | High-speed microcontrollers |
| 460800 | Very high-speed serial |
| 921600 | Maximum speed for some devices |
Use Cases
Arduino Development
Connect to Arduino boards for serial monitor functionality:Arduino Serial Monitor
Arduino Sketch
ESP32/ESP8266 Development
ESP32 Connection
Server Console Access
Connect to server console ports for out-of-band management:Server Console
Embedded Linux
Embedded Linux Console
Networking Equipment
Access Cisco, Juniper, and other network device consoles:Network Device Console
Limitations
When operating in serial mode:Multiple Serial Connections
To work with multiple serial devices simultaneously, use separate terminal windows:Multiple Devices
Finding Serial Devices
Permissions (Linux/macOS)
You may need permissions to access serial devices:Troubleshooting
Device Not Found
Check Device Existence
Permission Denied
Fix Permissions
Wrong Baud Rate
If you see garbled characters:- Verify the device’s baud rate in documentation
- Try common rates: 9600, 115200, 38400
- Check device settings (Arduino sketch, firmware config)
No Output
If connected but seeing no data:Troubleshooting Steps
Comparison to Other Serial Tools
| Feature | WezTerm | screen | minicom | PuTTY |
|---|---|---|---|---|
| Cross-platform | ✓ | Linux/Mac | Linux/Mac | ✓ |
| GPU acceleration | ✓ | ✗ | ✗ | ✗ |
| Modern UI | ✓ | ✗ | ✗ | ✓ |
| Simple usage | ✓ | ✓ | ✗ | ✓ |
| Scrollback | ✓ | ✓ | ✓ | ✓ |
| Configuration | Lua | .screenrc | Complex | GUI |
Tips and Tricks
-
Create shell aliases for frequently used devices:
Shell Aliases
-
Use udev rules (Linux) to create stable device names:
/etc/udev/rules.d/99-usb-serial.rules
- Monitor connection state with device LEDs or system logs
- Save important output using WezTerm’s scrollback feature
-
Use search (
Ctrl+Shift+F) to find specific messages in serial output