This is a tutorial about how to connect Proteus with Arduino IDE by serial port. Take BCD Adder for an instance.
1. Install virtual serial port driver for creating virtual serial port pair.
2. Pick “COMPIM” component in Proteus and setup baud rate and port number, so does “VIRTUAL TERMINAL”.
3. Setup Serial Monitor in Arduino IDE.
Now run simulation in Proteus and input addend in Serial Monitor in Arduino IDE. The data will be transmitted and received by COM1/COM2.
Demo codes:
c++
1 | /* |