Honolulu, Hawaii
June 24, 2007
June 24, 2007
June 27, 2007
2153-5965
Engineering Technology
7
12.891.1 - 12.891.7
10.18260/1-2--2330
https://peer.asee.org/2330
804
Infrared Communications for Controlling a Robot
Abstract
Remote control is about controlling a robot (or any other electronic device) from a distance, either with or without a wire. Infrared remote control is the best known form of wireless control. It is secure, reliable, easy to operate, economical to establish in a firm or industry, and can travel in high and low temperatures where it is troublesome for humans. Complete IR-receiver modules, are available and can be interfaced with most microcontrollers without many extra components. TV remote controls using RC5 standard code can be used with such modules. The present paper discusses the controlling of a robot using a computer through typical T.V. remote control protocol, which transmits different data for different keys that are in the RC5 code standard. One prominent application of this type of robot is for short distance control in areas where human entry is restricted.
Introduction
Controlling a robot with typical TV remote control is an invaluable tool in teaching many concepts in the design, fabrication, and control logic of an electromechanical system. Preliminary Infrared pulses from computer using the Infrared remote control RC5 protocol can be sent through the transmitter part. Serial communication between the computer and microcontroller AT90S2313 is interfaced by RS-232, by decoding the transmitted coded data different data for different keys are generated. The I.R. modulated data from the computer is received by an I.R. detector and decoder circuit on the robot, consisting of a phototransistor, which in turn converts I.R. pulses into electric pulses. The converted data is decoded by using a decoder circuit that consists of a microcontroller. The data from this section is used to control the robot. The data from the decoder circuit is given to another microcontroller. According to the software logic, the computer will control the driver section circuit. The microcontrollers in the system complete the main components of the robot. The chassis is completed with a mounted camera on the robot, and streaming video in taken on the computer. Advantages to this system include reduced cost, reduced complexity in hardware, and smaller software parts. Hardware requirements for this project include a computer, in order to interface and program the microcontrollers, a serial cable and power supply.
RS-232 (Protocol)
RS-232 stands for Recommend Standard number 232. It provides serial communication between computer and microcontroller provides full duplex, asynchronous transmission and specifies the line voltages, connection considerations and baud rates. It consists of MAX-232 converter/chip (level shifter) used to connect the microcontroller to an RS-232 compatible device, such as the com port on a computer. It converts the TTL voltages of 0 and +5 (microcontroller) into voltages between -10 volts and +10 volts.
Nasab, A., & KAPARTHI, S. (2007, June), Infrared Communications For Controlling A Robot Paper presented at 2007 Annual Conference & Exposition, Honolulu, Hawaii. 10.18260/1-2--2330
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2007 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015