Title :
Teaching introductory autonomous robotics with JavaScript simulations and actual robots
Author :
Kuc, Roman ; Jackson, Edward W. ; Kuc, Alexander
Author_Institution :
Dept. of Electr. Eng., Yale Univ., New Haven, CT, USA
Abstract :
This paper describes a flexible method of teaching introductory robotics. Students program an autonomous mobile robot to complete a set of tasks of increasing complexity, including multirobot tracking. Two proximity detectors (1 b each) and a pair of photosensors (2 b each) provide six sensory inputs to logic circuits, which control two drive motors and two internal memory flip-flops. The robot brain is a digital logic circuit programmed by loading an AS CH code that specifies the logic circuit configuration, similar in approach to a field-programmable gate array. The logic circuit design evolves with task complexity. Two internal set/reset flip-flops can be used to design a finite-state machine to implement a memory. One novelty of the method is that students develop and test their logic circuits on a Web-based graphic simulation before downloading the code to an actual robot. The simulation is written in JavaScript to acquire sensor readings and control robot motors to interact with the environment in a flexible manner. The simulation is downloaded with the Web page and runs smoothly on the client´s machine, eliminating the need for high-speed connections. The ASCII code producing successful simulation performance is downloaded to an actual robot through a printer port on a PC in the robot laboratory. A microcontroller on the actual robot interprets the ASCII code in the same manner as the simulation. Classroom experience indicates that evolving a robot brain is an effective teaching tool and students enjoy applying logic circuit design to program a robot.
Keywords :
Java; computer aided instruction; control engineering education; finite state machines; further education; intelligent robots; mobile robots; multi-robot systems; robot programming; ASCII code; JavaScript simulations; Web-based graphic simulation; Web-based simulation; finite-state machine; flexible robot; internal flip-flops; introductory autonomous robotics; logic circuit design; microcontroller; mobile robot; multirobot tracking; photosensors; proximity detectors; sensory inputs; task complexity; teaching method; Brain modeling; Circuit simulation; Circuit testing; Education; Educational robots; Flip-flops; Java; Logic circuits; Programmable logic arrays; Robot sensing systems;
Journal_Title :
Education, IEEE Transactions on
DOI :
10.1109/TE.2003.817619