Reaalaja kell LEGO MINDSTORMS NXT jaoks

Date

2011

Journal Title

Journal ISSN

Volume Title

Publisher

Tartu Ülikool

Abstract

Bakalaureusetöö kirjeldab firma Mindsensors poolt toodetud reaalaja kella (RTC-Nx-v2) DS1307. Lõputöö alguses kirjeldatakse kellaaja täpse määramise keerukust ja olulisust. Lisaks sellele tehakse lühikene ülevaade aja mõõtmise ajaloo tähtsamatest sündmustest. Järgneb ülevaade andurist ning seejärel lahendamisülesanded. Lõputöö põhirõhk on reaalaja kellale DS1307 eestikeelse toe loomisel. Anduri tutvustamiseks tuuakse välja selle omadused ning antakse põhjalik ülevaade reaalaja kella tööpõhimõtetest. Lõputöös selgitatakse anduri ühendamist LEGO robotiga, selle kasutamist ning programmeerimist NXT-G programmeerimiskeskkonnas. Programmeerimisülesanded on mitme raskusastmetega, et rahuldada erinevate tasemetega õpilaste huvisid. Ülesannete lahendamise käigus õpivad õpilased reaalaja kella kasutama nii üksinda kui ka koostöös teiste anduritega. Kirjutatud materjali hakatakse kasutama Kooliroboti projekti raames õppetöös.
In 2007, the project of Koolirobot was started. Its aim was to raise interest in science subjects among school students by introducing LEGO MINDSTORMS NXT robots and robotics courses to the Estonian school system. One can use different sensors with the LEGO MINDSTORMS NXT kit. The aim of this bachelor thesis is to introduce and describe the real-time clock RTC-Nx-v2 (DS1307) sensor for LEGO MINDSTORMS NXT. In addition some exercises for lab sessions were created. The thesis consists of three chapters. The first chapter gives an overview of the history of time. It is important for the reader to understand how our current perception of time came to be. The second chapter focuses on the real-time clock sensor developed by Mindsensors. It gives a specific overview of the sensor’s work principles. Programming introductions for the NXT-G programming software are also included in the second chapter. Furthermore, some precautions are included for those, who use the real-time sensor in extreme conditions. The third and final chapter consists of exercises meant for robotics courses. The exercises are with various difficulties for students with different levels of experience. Each exercise has a similar layout: it contains the information and components needed to solve the exercise, a possible programming solution and gives an overview of the problems that could occur. All the solution files are on the CD that is included with this bachelor thesis.

Description

Keywords

Citation