By | April 13, 2015
In this tutorial, i will show you how to interface a Virtual Terminal in Proteus with Arduino Uno, for Arduino simulation in Proteus you need to Update the Library of Proteus  Click Here and Learn How to Update! I Declared the 9 and 10 pin as Tx Rx  Pins in the code the Rest of the Code is very Simple.
CODE For interfacing of Virtual Terminal in Proteus:

#include <SoftwareSerial.h>
SoftwareSerial mySerial(9, 10);

void setup()
{
mySerial.begin(9600);   //set baud rate of Virtual terminal
Serial.begin(9600);
delay(500);
}
int a = 0;
void loop()
{
a ++;
if(a > 0 && a < 4 )
mySerial.println(“Hi Hello Electronics Lovers”);    //Text you want to send
delay(2000);
if(a > 0 && a < 4 )
mySerial.println(“www.Electronicslovers.com”);
delay(2000);

}

 

Category: Arduino

About Abid Jamal

Abid Jamal Received his B.S. Degree in Electronics & Communication in 2014 (Gold Medalist) from University of Lahore, Islamabad, Pakistan and Master’s Degree in Electrical Engineering from Capital University of science and technology, Islamabad, Pakistan, in 2016. He is the Creator of www.Electronicslovers.com website. Awarded by “A” grade in Electronic & circuits MIT online certificate. He achieved an academic Excellence certificate in the year 2014. He received Dean Honor Roll award for earning GPA 3.67, Spring-2015 in MSEE. He has done many projects using Different kinds of microcontroller. His research interests include Radar Cross Section measurements, Smart Grid communications, Intelligent transportation systems, driver-less car, cellular mobile communication & networks, improve Smartphone’s battery life for 3G+LTE user’s, and embedded systems.

Leave a Reply

Your email address will not be published. Required fields are marked *