Desenvolupament d'una plataforma mòbil didàctica en base Arduino i Lego
Fitxers
Títol de la revista
ISSN de la revista
Títol del volum
Autors
Correu electrònic de l'autor
gmail.com Tutor / director
Tribunal avaluador
Realitzat a/amb
Tipus de document
Data
Condicions d'accés
Llicència
Publicacions relacionades
Datasets relacionats
Projecte CCD
Abstract
En aquest treball fi de grau es proposa el repte de programar un robot de LEGO i de preparar unes activitats per a introduir en aquest camp als més joves. Per la realització de la programació d’aquest robot s’ha emprat LabView, un dels programes que avui dia s’utilitza en la indústria. L’elecció d’aquesta temàtica ha sorgit a través de les propostes del departament EMIT de l’EPSEM, la qual va ser la que més interès em va crear. Per tal de realitzar els diferents muntatges, s’ha investigat la compatibilitat del material amb diversos perifèrics, on la principal problemàtica és l’avinença entre sensors de tercers i la comunicació amb l’Arduino a través de l’adaptador EvShield-v2. Per tal de solucionar-ho s’ha optat en la utilització de la controladora de LEGO, en comptes de l’Arduino UNO, i canviant el llenguatge utilitzat a LabView. En el cas de voler utilitzar Arduino o ampliar el nombre sensors a connectar a la controladora de LEGO, es dona la possibilitat de poder comunicar la controladora amb l’Arduino UNO, utilitzant el protocol de comunicació I2C. Finalment, una vegada finalitzat el muntatge del robot, s’han desenvolupat cinc activitats, les quals consisteixen en: la implementació d’un sensor d’ultrasons, d’un comandament a distància, la realització d’una brúixola, el seguiment d’una línia i la implementació de funcions utilitzant arxius existents.
This final degree project proposes the challenge of programming a LEGO robot and preparing some activities to introduce the youngest in this field. To carry out the programming of this robot, LabView has been used as one of the programs used in the industry today. The fact of using this programming environment has been a challenge expanding the knowledge acquired during the degree. The choice of this topic has arisen through the proposals of the EMIT department of the EPSEM, which was the one that created the most interest in me. To carry out the different assemblies, the compatibility of the material with various peripherals has been investigated, where the main problem is the compromise between third-party sensors and communication with the Arduino through the EvShield-v2 adapter. To solve this, we have chosen to use the LEGO controller instead of the Arduino UNO and changing the language used in LabView. In the case of wanting to use Arduino or expand the number of sensors to connect to the LEGO controller, it is possible to communicate the controller with the Arduino UNO, using the I2C communication protocol. Finally, once the assembly of the robot was finished, five activities have been developed, which consist of the implementation of an ultrasound sensor, a remote control, the realization of a compass, the following of a line, and the performance of functions using existing files.



