Light Above 2 User Interface

light_above2

This is the Scratch-programmed user interface for the second mode for grisbot to obey commands from a flashlight shined from above.

When a flashlight is shined on the robot with an intensity greater than user-selected value (a), the robot turns:

above1

When the light intensity drops below (a)-100, the robot travels in a straight line and stops at user-selected distance (b):

above2

The user challenge is an exercise in geometry/trigonometry to move the robot toward a target position by a series of turns and moves:

above3

I’ve programmed this procedure in both Scratch and Arduinoese (aka ‘Wiring’) so that it will work on the test bed, but the robot has chosen now to break down. I think that while moving the microcontroller onto the breadboard today, I jiggled the wires so that they are either loose or crossed. So trouble shooting the hardware is where I’m at today.

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