Arduino Pin 13 as low-res serial monitor

Now that I have data to send from the computer to the arduino, I’d like to verify that it has gotten to the arduino. My original assumption was that I could echo back the data and read it on the arduino serial monitor. Unfortunately, it appears that when a program in Processing is running the serial port, the arduino serial monitor capability doesn’t work.

My short-term solution is to have the arduino’s built-in LED at pin 13 serve as kind of a low-res serial monitor. When a byte value of 67 is received over the serial port, the arduino sketch writes pin 13 high. Why 67? It’s the last byte value in the path file that I wrote and am using for testing purposes.

Anyhow, when I transferred the data from the computer to the arduino, pin 13 did indeed come on:

This is an improvement over the null pointer errors that crashed GIRC when I initially tried to transfer data, but still I want to verify that all the bytes are getting over to the arduino. So that’s where I’ll be heading next.

Advertisements

About engineerzero

Once and future engineer.
This entry was posted in Uncategorized and tagged , , , , , . Bookmark the permalink.

One Response to Arduino Pin 13 as low-res serial monitor

  1. Pingback: Arduino Pin 13 as low-res serial monitor | Engineer Zero | Serial Bitwa Warszawska

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s