Computer/Arduino Communication Via Phototransistor

Here’s the basic idea: I’ll send commands to the Arduino by flashing a rectangle on the screen and having a phototransistor on the Arduino read the light level.

The above photo shows the test bed set-up. This is very similar to the circuit found in Getting Started with Arduino, except that I’m using a phototransistor instead of an LDR. The optimal resistor appears to be 10K ohms, as in the book.

If I can communicate via phototransistor, then I don’t need the USB/serial cable for communications. And if I can get rid of that, then I don’t need a serial-ttl cable or the Arduino platform. I can just stick an Atmel microcontroller on my robot and have the phototransistor read user commands right off the screen. This will save a lot of money.

As for how well it works — well, that’s why I built a test bed, to find out.

Advertisements

About engineerzero

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

One Response to Computer/Arduino Communication Via Phototransistor

  1. Pingback: Arduino reads screen flashes with phototransistor | Engineer Zero

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