//
you're reading...
How-to's

HTTYR: Infrared Control

2014-04-26 15.50.11

This post is part of the series: How To Train Your Robot.

The leJOS EV3 menu has a Tools Screen that provides some simple tools for accessing sensors and controlling motors:

tools

The Remote Control tool can be used to drive your robot about with the LEGO Infrared remote.

When you select “Remote Control” and press Enter, if you have no EV3 IR sensor plugged in, you are shown this screen:

plugin

If you plug your EV3 IR sensor in to one of the ports, it is detected and you see:

ir

Select the channel that corresponds to the ports that you have your motors plugged in to, on your LEGO Infrared remote. For example, I have used ports A and B, so I select channel 3 by pulling the red slider down two notches.

I  can now move my robot about by pressing the red and blue up and down buttons.

If I press the two top buttons, the robot goes forward. If I press the two bottom buttons, it goes backwards. If I press one of the top buttons, and the other bottom button, the robot spins left or right.

Happy driving.

When, you have finished, press the Escape (Quit) button on the EV3 (or do it remotely via EV3Control).

Advertisements

Discussion

No comments yet.

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

About leJOS News

leJOS News keeps you up-to-date with leJOS. It features latest news, explains cool features, shows advanced techniques and highlights amazing projects. Be sure to subscribe to leJOS News and never miss an article again. Best of all, subscription is free!
Follow leJOS News on WordPress.com
%d bloggers like this: