Chapter 6
Serial Communication
To use the simulator serial port emulation, you must install a NULL-MODEM emulator:
- Windows: com0com http://sourceforge.net/projects/com0com/
- Linux: tty0tty https://github.com/lcgamboa/tty0tty
For communication the PICSimLab should be connected in one port of the NULL-MODEM emulator and the other application connected in the other port. Configuration examples linking PICSimLab to Cutecom for serial communication:
OS | PicsimLab port | Cutecom port | NULL-Modem prog. | Connection |
Windows | com1 | com2 | com0com | com1<=>com2 |
Linux | /dev/tnt2 | /dev/tnt3 | tty0tty | /dev/tnt2<=>/dev/tnt3 |
The PICSimLab serial communication uses the 8N1 format.