Arduino reads screen flashes with phototransistor

This is the first test of the communication system as described in the previous entry.

The flashes are one millisecond, followed by a one second delay. The serial monitor informs me that the microcontroller is able to count them.

Here’s a screen capture:

(In case it’s not self-explanatory: the Arduino code and the serial monitor are on the left, the Processing code and the flashing rectangle sketch that sends the signal to the phototransistor are on the right.)

The screen refresh rate for Processing is 60 Hz, or about five bytes per second. For GIRC, that’s about a line segment per second. I guess that’s okay . . . for now.

Advertisements

About engineerzero

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

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