Phototransistor as robot mode switch

Here’s the thing about cheapbot: as soon as you program it, it wants to go. It really needs a mode switch with two modes: one to accept commands, and the other to execute them. Also I want to be able to make it stop without having to chase after it, pick it up, and pull out the battery high wire.

The idea of putting a phototransistor on cheapbot is that I can switch modes by merely shining a flashlight on the robot. In other words, I can attach the cable and download the commands, then place the robot on the floor, then shine a light on it and it’ll go. When I want it to stop, I just shine the light on it again, and en voila. No hassle of chasing after or pulling wires.

Shown in the photo is the breadboard setup, and once it fully works, I’ll solder stuff so that the robot can be mobile again.

Status on programming: yes, I can make the robot move when the light is on it and stop when the light is off, but what I want is to cycle modes when I shine a light. That is the next step.

Advertisements

About engineerzero

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

One Response to Phototransistor as robot mode switch

  1. I would like to take the opportunity of saying thanks to you for that professional instruction I have always enjoyed viewing your site. We’re looking forward to the commencement of my college research and the general groundwork would never have been complete without coming over to your web blog. If I could be of any help to others, I would be pleased to help by means of what I have gained from here.

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