modul 1 basic & beyond basic

Upload: muhammad-hilmi-asyrofi

Post on 08-Mar-2016

7 views

Category:

Documents


0 download

DESCRIPTION

Pedoman Praktikum PRD untuk mahasiswa STEI dan FMIPA ITB

TRANSCRIPT

Notes: Laporan berupa laporan tertulis dan video (maks. 5 menit) secara individu dikumpulkan pada Senin, 15 Februari 2016, pk. 23.59 WIB. Informasi tentang pengumpulan akan diberitahukan secepatnya.Silahkan mengikuti langkah-langkah panduan tutorial basic Lego Mindstorms berikut. Apabila mengalami kesulitan silahkan hubungi asisten masing-masing.1. Basica) Straight MoveUsing Move Steering Block, build and program a Driving Base that can: Move straight forward for 5 seconds, stopping for 2 seconds, move straight backward for 5 secondsb) Curved MoveUsing Move Steering Block, build and program a Driving Base that can: Move Robot 360 degree to its center, right and left forward with 100 percent steering. Move Robot 360 degree to its center, right and left backward with 50 percent steering.c) Tank MoveUsing Move Tank Block, build and program a Driving Base that can: Move Robot 360 degree with left wheel as its rotation center, right and left forward with 100 percent steering. Move Robot 360 degree with right wheel as its rotation center, right and left forward with 100 percent steering.d) Move ObjectBuild a Cuboid, build a Medium Motor-Driving Base, equip Driving Base with it, and program the Driving Base so that it can: Move Cuboid 10 cm from its original location using Medium Motor-Driving Base. Move Cuboid 180 degree from its original location using Medium Motor-Driving Base.e) Stop at LineBuild a Color Sensor Down Driving Base, equip Driving Base with it, and program the Driving Base so that it can: Move straight forward and stop only if it detects black band. f) Stop at angleBuild a Gyro Sensor Down Driving Base, equip Driving Base with it, and program the Driving Base so that it can: Move exactly 180 degree to its center and then stop.g) Stop at ObjectUse Cuboid, build an Ultrasonic Sensor-Driving Base, equip Driving Base with it, and program the Driving Base so that it can: Move exactly 180 degree to its center and then stop.h) Brick ProgrammingProgram the Driving Base using Brick Programming: Do what you have done in instruction (a) using Brick Programming.

2. Beyond Basica) MultitaskingUsing Driving Based you have built in Hands On 1, program the Driving Base so that it can: Move straight forward while playing notes, the notes are C, D, and E. After all the notes being played, the Driving Base moves backward while playing E, C, and D notes then stop moving and stop playing the notes. b) LoopBuild Touch Sensor-Driving Base, equip the Driving Base with it. Make program so that the Driving Base can: Just follow the example exactly as given in Loop section.

c) SwitchBuild Color Sensor Down-Driving Base, equip the Driving Base with it. Make program so that the Driving Base can: Just follow the example exactly as given in Switch section.d) Multiple SwitchBuild a Cuboid, build a Color Sensor Forward-Driving Base, equip Driving Base with it, and program the Driving Base so that it can: Move straight forward when color sensor detects green color. Turns Left when color sensor detects red color Turn Right when color sensor detects blue color Move straight backward when color sensor detects yellow color Stop when color sensor detects no colore) Data WiresUse the Cuboid you have built, Build an Ultrasonic Sensor Brick, equip Driving Base with it, and program the Driving Base so that it can: Show distance value between Cuboid and Ultrasonic Sensor on the screen with its dimension, the dimension should be in cm. Show PRD 2 on the screen when the distance value is under 5 cmf) RandomBuild Touch Sensor-Driving Base, equip the Driving Base with it. Make program so that the Driving Base can: Just follow the example exactly as given in Random section.g) Sensor BlocksBuild a Color Sensor Forward-Driving Base, build a Touch Sensor Driving Base, equip Driving Base with them, and program the Driving Base so that it can: Just follow the example exactly as given in Sensor Blocks section.h) TextUse Cuboid you have built, build an Ultrasonic Sensor- Driving Base, and Program the Driving Base so that it can: Just follow the example exactly as given in Text section.i) RangeUse the Cuboid you have built, use the Ultrasonic Sensor- Driving Base you have built, equip Driving Base with it, and program the Driving Base so that it can: Move forward only if it detects the Cuboid at a distance of 5cm to 15cm.j) Mathematics-BasicUse the Driving Base you have built, program the Driving Base so that it can: Just follow the example exactly as given in Mathematics-Basics section..k) Gyro RateUse the Driving Base you have built, build a Gyro Sensor Brick, equip the Driving Base with it, and program the Driving Base so that it can: Just follow the example exactly as given in Gyro Rate section.l) CompareUse the Cuboid you have built, use Color Sensor Forward-Driving Base you have built, equip the Driving Base with it, and program the Driving Base so that it can: Just follow the example exactly as given in Compare section.m) VariablesUse the Touch Sensor-Driving Base you have built, equip the Driving Base with it, and program the Driving Base so that it can: Just follow the example exactly as given in Variables section.n) Color Sensor CalibrateUse the Color Sensor Down-Driving Base you have built, equip the Driving Base with it, and program the Driving Base so that it can: Just follow the example exactly as given in Random section.o) MessagingUse the Cuboid you have built, use the Driving Base, and program the Driving Base so that it can: Just follow the example exactly as given in Messaging section.Note: You have to work with other team to do this instruction.p) LogicUse the Cuboid you have built, use the Color Sensor Down-Driving Base you have built, use the Ultrasonic Sensor- Driving Base you have built, equip the Driving Base with them, and program the Driving Base so that it can: Just follow the example exactly as given in Logic section.q) Mathematics-AdvanceBuild a Gyro Sensor-Driving Base, equip the Driving Base with it, and program the Driving Base so that it can: Just follow the example exactly as given in Mathematics-Advance section.r) ArraysUse the Cuboid you have built, use the Color Sensor Forward-Driving Base you have built, use the Touch Sensor- Driving Base you have built, equip the Driving Base with them, and program the Driving Base so that it can: Just follow the example exactly as given in Arrays section.