Arduino Serial Communication Code




Arduino can send output through serial communication to your computer over USB. The output can be anything such as status, text, sensor reading, value, number etc. You can view the status output by clicking Serial Monitor button at Arduino Environment software.

Arduino Serial Communication




Instruction;
1) Connect your arduino to your computer using USB cable A plug to B plug.

Upload this code to your arduino

/*
  Serial Communication
  Arduino can send output through serial communication to your computer over USB.
  Coded by: arduinoprojects101.com
*/
void setup() {
  Serial.begin(9600);
}
void loop() {
  Serial.println("output text send through serial print");
  Serial.println("delay 3 seconds");
  delay(3000);
}

Serial.begin(9600);
Instruct arduino to start serial communication with 9600 bits of data per second.

Major Components in Project

Parts List;
1) 1x USB cable A-B
2) 1x Arduino

For more detail: Arduino Serial Communication Code




This Post / Project can also be found using search terms:

  • arduino home serial communication
  • arduino serial draw
  • example codes for arduino to arduino communication
Clip to Evernote

Leave a Comment

(Spamcheck Enabled)

Read previous post:
Arduino Connect several digital inputs to one analog input
Connect several digital inputs to one analog input using Arduino

I often run out of digital pins on my Arduino. Anything as complicated as, say, a video game controller, was...

Close
Scroll to top