ICCAS2005 June 2-5, KINTEX, Gyeonggi-Do, Korea Learning C Language Using Robots Seung Han, Kim*, and Jae Wook, Jeon** School of Information and Computer Engineering, Sungkyunkwan University, 300 Chunchun-dong, Jangan-gu, Suwon, Gyeonggi 440-746, Korea * (Tel : +82-31-290-7233; E-mail:
[email protected]) ** (Tel : +82-31-290-7129; E-mail:
[email protected]) Abstract - Lego company created a set called Robotic Invention System as a kind of Mindstorm set. This system helps to understand the technology of both robot and programming language. It also improves creativeness by building and controlling the robot we make. This paper will introduce basic idea of controlling the RCX(Programmable Lego Block) in C language. Also, this paper will show different idea of teaching C language by using other types of robots. Keywords: LEGO Mindstorm, RCX, C Language, Robot 1. INTRODUCTION imagination. The RCX brain contains a microprocessor (Hitachi H8300) inside of a plastic case. There are three input LEGO Mindstorms Robotics Invention System (RIS) is a ports and three output ports. Three output ports can attach programmable toy which contains assortment of blocks, pieces, motors and lamps, and three input ports allow light, touch, sensors, motors, and most important a Robotic Command temperature and angle sensors. It has external liquid crystal Explorer(RCX). RCX is a programmable block using display (LCD) can show five characters at one time. Four infrared(IR) transmitter to communicate with personal buttons are on the top for users to control the RCX. IR computers. Lego provides a graphic user interface(GUI) communication device is supported for users to communicate application to control the RCX.