Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MIKROBOTIK and is the answer not in the manual?

Questions and answers

Summary of Contents for MCT MIKROBOTIK

  • Page 3: Table Of Contents

    “Mikrobotik” Pathfinding Robot .................................................... 6 Arduino Nano Microcontroller ....................................................7 Low Battery Indicator ......................................................... 8 Installation of mBlock v5 ......................................................9 Steps for Adding Mikrobotik ....................................................11 Calibration Process ........................................................12 Type of Junctions ......................................................... 19 Objective 1: Vroom Vroom ....................................................... 21 Introduction to Buzzer ......................................................
  • Page 4 Step by Step block arrangement ................................................21 Challenge ............................................................23 Objective 2: Please Switch On The Lights!............................................24 Introduction to Light-Emitting Diode (LED) ............................................ 24 Step by Step block arrangement ................................................24 Challenge ............................................................26 Objective 3: Our Adventure Begin (Free Movement) ........................................27 Introduction to Motors ......................................................
  • Page 5 Mechanism ......................................51 Step by Step blocks arrangement ................................................ 52 Challenge ............................................................54 Objective 8: Let’s Control Mikrobotik ................................................55 Introduction to Bluetooth and its Mechanism..........................................55 Step by Step block arrangement: ................................................56 Mikrobotik Mobile Apps ..................................................... 61 ©...
  • Page 6 Challenge ............................................................62 Objective 9: We Need Area Patrol! ................................................63 Introduction to Movement and Its Mechanisms........................................63 Step by Step Block Arrangement ................................................. 66 Objective 10: Let's Find Hidden Treasures............................................69 Introduction to Push Button ..................................................70 Introduction to Movement and Its Mechanisms........................................70 Step by Step Block Arrangement: .................................................
  • Page 7: Element Of Robotics

    Mechanical Structure Mechanical Movement Element of Robotics Electronic Hardware Software Coding © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 8: What Is Electronic Hardware

    What is Electronic Hardware? Detects and Controls or senses the reacts to surrounding surrounding © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 9: What Is Software Coding

    What is Software Coding? Electronic Hardware Controller Operate Sets of instruction written in specific language © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 10: Path Finding Robot

    Robot designed and built specifically to detect and autonomously follow white and black line . Besides, robot also designed for other functions such as obstacle detector and moving small objects. Figure 1: "Mikrobotik" Pathfinding Robot © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 11: Contents In The Box

    Contents in the box 1x Usb Cable 1x Charger 1x Mikrobotik 1x Bluetooth Module 1x Mikrobotik Track Figure 2: Mikrobotik Track © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 12: Mikrobotik" Pathfinding Robot

    “Mikrobotik” Pathfinding Robot Line Detector Sensor Indicator LED LiPo Battery Charger Connector Power Switch Battery Power Connector Power Indicator Robot Power Connector Line Low Battery Indicator P1 Open Port Detector Sensor P2 Open Port Right Motor Left Motor Light Indicator L2...
  • Page 13: Arduino Nano Microcontroller

    Mikrobotics uses an Arduino Nano microcontroller that acts as the brain to control the entire hardware and movement of the robot. Figure 3: Arduino Nano Atmega328p Arduino Nano microcontroller on Mikrobotik © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 14: Low Battery Indicator

    Low Battery Indicator Low battery indicator will light up red colour. User need to stop using Mikrobotik and start charging when low battery The lower the voltage value in battery, the brighter the indicator. indicator lights at maximum. Minimum voltage operated: 11.0 V (Low battery indicator light...
  • Page 15: Installation Of Mblock V5

    Installation of mBlock v5 Step 1 mBlock v5 software can be obtained from: Link: https://mblock.makeblock.com/en-us/download/ @ QR: Step 2 Download the latest version of mBlock v5 based on the computer operating system. Step 3 Click mBlock v5 on your download location. Step 4 Wait until mBlock v5 installation is complete.
  • Page 16 INSTALL Step 5 Click ‘ ’. Step 6 Click OK and exit Step 7 Tick “ mBlock”. Finish Click “ ”. © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 17: Steps For Adding Mikrobotik

    Mikrobotik software can be obtained from: Link: https://www.microconcept.com.my/stem-robotic/download/ Step 2 Open mBlock v5 Step 3 Go to mikrobotik.mext file and drag into mBlock v5. Step 4 Now, you can enjoy using mBlock v5! © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 18: Calibration Process

    The calibration process is an important process for the robot to identify between the white line and the black line. The calibration process for this Mikrobotik robot can be done both manually and automatically. This process is done before the robot can follow the line and complete the circuit.
  • Page 19 Combine these blocks with blocks in Step 2. Stop Wait (1 second) Repeat Step 4 Lastly, drag and block and put under block Mikrobotik performs calibration process while moving for few seconds Mikrobotik stops for 1 second © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 20 Make sure all sensors starting from TR1 (LED L1) until TR5 (LED L5) were put on black line. Step 2 Switch on the power switch for Mikrobotik. Red LED1 light and blue LED2 will light up. The robot will automatically rotate to carry out the calibration process.
  • Page 21 Block Arrangement (Manual Calibration): © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 22 Steps for Manual Calibration Process Step 1 Switch on Mikrobotik. LED1 with red colour and LED2 with blue colour will light up. RED LED BLUE LED (LED1) (LED2) POWER SWITCH Step 2 Move all sensors starting from sensor labelled with TR1 (LED L1) until TR5 (LED L5) and bring back to TR1 (LED L1).
  • Page 23 Step 3 Repeat movement in Step 2 until both LED (LED1 and LED2) light off. Make sure all the sensors can detect the black line. The RED LED (LED1) LED on the sensors will light up if the sensor detects a LIGHTS OFF.
  • Page 24 Autonomous Robot PID Algorithm PID algorithm is a control strategy suitable to assist determine the direction and speed of the robot such that it autonomously drive and follows the line as close and fast possible . PID algorithm will ensure the robot does not overshoot from the line track when turning and moves straight along the line.
  • Page 25 Type of Tracks Black Line White Line Black Thin Line (aprox 20mm) (aprox 20mm) (aprox 10mm) © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 26: Type Of Junctions

    Type of Junctions Left junction Right junction Middle junction Dead end Offset © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 27: Objective 1: Vroom Vroom

    Introduction to Buzzer Buzzer is a type of sound device that converts audio models into sound signals. It is usually used for alarms. Step by Step block arrangement: When Mikrobotik starts Robot Prepare. Step 1 Combine block with block...
  • Page 28 After Step 2 Next, combine block Mikrobotik starts Play with block C5” Choose “ Music (Note-C5, Beat-Double) (Note- as music note D5, Beat-Double), (Note-E5, Beat- Double), (Note-F5, Beat-Double), (Note-G5, Beat-Double), (Note-A5, Beat-Double), (Note-B5, Beat-Double) double” Choose “ as music beat...
  • Page 29: Challenge

    Challenge!! In this challenge, you have to enter the provided musical notes and try to guess the name of the music. © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 30: Objective 2: Please Switch On The Lights

    Introduction to Light-Emitting Diode (LED) Light-Emitting Diode or LED functions to convert electric current into light and emit light. Used as an application for indicator and light source. Step by Step block arrangement: When Mikrobotik starts Robot Prepare Step 1 Combine block with block ©...
  • Page 31 After Mikrobotik starts Turn Step 2 Combine block with block On LED Status On with choice of and LED #1 and block wait 1 second . Put the blocks under the block in Step 1. This program will light up the LED.
  • Page 32: Challenge

    3 seconds Program above show LED will light up in three seconds and light off in three seconds. The program will continue to run until the Mikrobotik is turned off by the user. © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 33: Objective 3: Our Adventure Begin (Free Movement)

    (labyrinth). The robot will move depending on the speed and direction of the left and right motors set by user. Introduction to Motors There are two motors on Mikrobotik that can be controlled separately, can rotate clockwise and counterclockwise continuously. These motors can also be used to move or drive the project.
  • Page 34: Introduction To Basic Of Free Movement

    Introduction to Basic of Free Movement: Stop Left motor stops, right motor stops. Moves forward Moves backward Left motor forward, right motor forward Left motor backward, right motor backward left motor speed = right motor speed left motor speed = right motor speed ©...
  • Page 35 Steer to right Steer to left Left motor forward, right motor forward. Left motor forward, right motor forward. Left motor speed > Right motor speed Left motor speed < Right motor speed Sharp steer to right Sharp steer to left Left motor forwards, right motor stops.
  • Page 36 Turn to right Turn to left Left motor forward, right motor backward Left motor backward, right motor forward left motor speed = right motor speed left motor speed = right motor speed © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 37: Step By Step Block Arrangement

    Step by Step block arrangement Move forwards Step 1 Combine block When Mikrobotik starts with block Robot Prepare. After Mikrobotik starts Tank Turn Wheel Left -Forward Speed Wheel Step 2 Combine block with block -100, Right-Forward Speed wait 3 seconds...
  • Page 38 Mikrobotik stop after 1 loop Step 4 After the program uploaded, Mikrobotik will move forwards for duration of 3 seconds. Step to make the robot move backwards is the same as step to move forwards. You only need to change the direction of the left wheel to backward and the direction of the right wheel to backward.
  • Page 39 1 second Step 4 After the program uploaded, Mikrobotik will steer to left for duration of 3 seconds. Step for steer to the right is similar to the step for steer to the left. You just need to change the direction to right.
  • Page 40 Turns left Step 1 Combine block When Mikrobotik starts with block Robot Prepare. After Mikrobotik starts Tank Turn (Wheel Left -Backward, Speed Step 2 Combine block with block -100, Wheel Right-Forward, Speed wait (3 seconds) stop -100), block and block .
  • Page 41 Mikrobotik stop after 1 loop Step 4 After program uploaded, Mikrobotik turns left for 3 seconds and stops. Step for turn to the right is similar to the step for turn to the left. You just need to change the wheel left direction to forward and wheel left direction to backward.
  • Page 42: Challenge

    Challenge!! In this Challenge, you need to ensure that Mikrobotik moves along the path that has been prepared by applying the knowledge that has been learned. Start Finish © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 43: Objective 4: Let's Follow The Line

    Introduction to Line Tracer Time and its Mechanism Line Tracer Time used to make Mikrobotik follow along line with Black or White colour until it reach maximum time period (in ms). When Mikrobotik reaches the maximum time period, Mikrobotik will stop. Mikrobotik will move continuously without making turn when meeting left junction, right junction and middle junction.
  • Page 44: Step By Step Block Arrangement

    Step by Step block arrangement: Step 1 Prepare the arrangement blocks for automatic calibration. Mikrobotik performs calibration process while moving for few seconds Mikrobotik stops for 1 second © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 45 After Mikrobotik Starts Line Tracer Time. Step 2 Then, insert block and combine with block Line sensitivity (higher values mean more sensitive) ≥ 50: Motor speed when divert from line < 50: Time at maximum speed Left motor speed when on the line...
  • Page 46: Challenge

    Step 3 After uploading the code, Mikrobotik will start moving forward temporarily. Perform the calibration process on the line sensor. After that, Mikrobotik will follow the line of either Black or White until it reaches the maximum time period (in ms).
  • Page 47: Objective 5: What To Do When Meeting Junction

    (right or left or middle or dead end or offset). At the junction, Mikrobotik will act to turn (left or right or stop) for a set period of time or until the robot finds the next line and will stop.
  • Page 48: Step By Step Block Arrangement

    Step by Step Block Arrangement: Step 1 Prepare the blocks arrangement for automatic calibration. Mikrobotik performs calibration process while moving for few seconds Mikrobotik stops for 1 second © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 49 After Mikrobotik Starts Path Finder (Line Format-Black, Junction Step 2 Lastly, combine block and block Left, Action-Turn Left, Left Speed Right Speed Turn Speed RampUp Perc -50, -50, -200, -100, Kp-0.02, Sensor Threshold Junction Speed Forward Delay Turn Period ms Kd-0.2,...
  • Page 50: Challenge

    After uploading the code, turn on the Mikrobotik switch and perform the calibration process. After that, Mikrobotik will follow the black line and if the robot meets a left junction, Mikrobotik will move forward and then turn to enter the left junction until Mikrobotik meets another line.
  • Page 51 Path Finder Right Junction, steer right at right junction. Finish Start Path Finder iii) Middle Junction, stop. Finish Start © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 52: Objective 6: What Else Can Be Done When Meeting Junction

    Introduction to and its Mechanism Mikrobotik travel autonomously on lines (Black or White or Thin Black or Thin White) until meet an intersection (Left or Right or Middle or Dead End or Offset). At the junction, Mikrobotik will act (Turn left or Turn right or Stop) for at least the Minimum Turn Period (Min Turn Period) continue turning until it detects the line and stops.
  • Page 53: Step By Step Block Arrangement

    Step by Step block arrangement: Step 1 Prepare the blocks arrangement for automatic calibration. Mikrobotik performs calibration process while moving for few seconds Mikrobotik moves for 1 second © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 54 After Mikrobotik starts Path Finder Tank (Line Format- Black, Junction Step 2 Combine block with block Right, Action-Turn Left, Left Speed Right Speed Turn Speed RampUp Perc -50, -50, -200, -100, Kp-0.02, Sensor Threshold Junction Speed Forward Delay Min Turn Period ms Kd-0.2,...
  • Page 55: Challenge

    Step 3 After uploading the code, turn on the Mikrobotik switch and perform the calibration process. After that, Mikrobotik will follow the black line and if the robot finds a left junction, Mikrobotik will move (Min Turn Period) forward and then turn for at least the Minimum Turn Period and continue turning until it detects the line and stops.
  • Page 56 Path Finder Tank Left Junction, turn at left junction Finish Start Path Finder Tank iii) Middle Junction, stop Finish Start © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 57: Objective 7: Wrong Way? Make U-Turn

    Objective 7: Wrong way? Make U-turn Mikrobotik can make a U-turn on the line it passes through 180 degrees on its axis and turn left or right during the Minimum Turn Duration (Min Turn Period) and continue until it meets the line (Black or White).
  • Page 58: Step By Step Blocks Arrangement

    Left wheel moves Right wheel moves Left wheel speed forward backward Right wheel speed Mikrobotik performs calibration process while moving for few seconds process Mikrobotik stops for 1 second Turn At Centre (Line Format- Black, Direction Turn-Left, Speed Step 2 Combine block...
  • Page 59 Step 3 After uploading the code, turn on the Mikrobotik switch and perform the calibration process. After that, Mikrobotik will make a U-turn according to the set direction and will stop after detect the black line. © 2022 Copyright Micro Concept Tech...
  • Page 60: Challenge

    Challenge!! U-turn at the middle, left direction and move forward. (blue arrow to yellow arrow) Start Finish U-turn at the middle, left direction and move forward. (blue arrow to yellow arrow) Start Finish © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 61: Objective 8: Let's Control Mikrobotik

    Introduction to Bluetooth and its Mechanism Mikrobotik can be control in close range using the Bluetooth approach as it can be find and control easily. The Bluetooth module inserted into the port provided. This Bluetooth module contains 4 pins which are RXD, TXD, GND, and VCC.
  • Page 62: Step By Step Block Arrangement

    Step by Step block arrangement: Step 1 Insert block When Mikrobotik Starts and combine Robot Prepare with block After Mikrobotik starts Bluetooth Step 2 Combine block with block after combined with block Data Check. Put those blocks under the block in Step 1.
  • Page 63 After Mikrobotik starts Bluetooth Data Control Data (F, B, L. R, X) Step 3 Under the block , combine 5 blocks with 5 then Tank Turn blocks and under the block combine with 5 blocks to get forward, backward, turn to left, turn to right and stop movement.
  • Page 64 Bluetooth Data Control Data (T, S, E. Q, C, Z) Step 4 For the next block, combine 6 blocks with 6 blocks then Play Music (Note-C3, Beat Half) Tank Turn under the block combine with 2 blocks .5 and 4 blocks get forward and steer right, forward and steer left, backward and steer left, backward and steer right movement.
  • Page 65 Bluetooth Data Control Data (1, 2, 3, 4, 5) Step 5 For the next block, combine 5 blocks with 5 blocks then Turn On LED (#1 On, #1 Off, #2 On, #2 Off) under the block combine with 2 blocks and 1 block Play Music (Note-A3, Beat Whole) Data for turn On LED#1...
  • Page 66 After uploading the code, pair the Bluetooth module on the Mikrobotik and match it with the device. Mikrobotik is ready to be controlled by the device. Make sure all Bluetooth pins are connected to the Bluetooth port (RXD-RX, TXD-TX, GND-GND, VCC-VCC) ©...
  • Page 67: Mikrobotik Mobile Apps

    MIKROBOTIK Step 2 Open application and click on “Bluetooth connection”. Choose based on the number of Bluetooth. Step 3 Make sure “Connected” displayed. Now Mikrobotik can be controlled in free movement. © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 68: Challenge

    Challenge!! In this challenge, you need to make sure that Mikrobotik moves along the path provided by using a device that has been paired with a Bluetooth module on Mikrobotik. Start Finish © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 69: Objective 9: We Need Area Patrol

    Objective 9: We Need Area Patrol! Sometimes a robot needs to use more than one block to complete a task such as "area patrol robot". To patrol an area, the robot needs to move along a line at varying speeds and for a certain distance or time. In addition, while following the line, the robot has to make a turn in the opposite direction.
  • Page 70 Line Tracer Time The robot moves autonomously using with high speed for 3 seconds (red arrow) and then with low speed for 3 seconds (yellow arrow). Start Turn At The robot makes a turn in the middle, towards the left. (yellow arrow direction to green arrow) using Centre.
  • Page 71 Line Tracer Time The robot moves autonomously to the end point using at high speed for 4 seconds. © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 72: Step By Step Block Arrangement

    The left wheel turns The right wheel turns forward Left wheel speed backward Right wheel speed Mikrobotik perform the calibration process while moving for a few seconds. Mikrobotik stop for 1 second. After Mikrobotik starts repeat until Line Tracer Step 2...
  • Page 73 Turn at Centre Line Tracer Time Step 3 Add a block and set it to make a left turn. Add another by setting Line Tracer Time the speed to 80 for 3 seconds. Then, add another block by setting the speed to 80 in 4 seconds.
  • Page 74 Step 4 After uploading the code, turn on the Mikrobotik switch and perform the calibration process. After that, Mikrobotik will make all movements according to the set time and will stop after the set time. © 2022 Copyright Micro Concept Tech...
  • Page 75: Objective 10: Let's Find Hidden Treasures

    Objective 10: Let's Find Hidden Treasures. Sometimes the robot needs to use more than one block to complete a task such as "robot looking for hidden treasure". In order to get all five hidden treasures, the robot needs to go through many intersections, among which are left junctions, right junctions and 3-way junctions.
  • Page 76: Introduction To Push Button

    A push button is a type of switch that functions to control a machine directly through the touch of a hand or finger from the user or the surface of a component. Mikrobotik has push buttons S1 and S2. The analog reading value will be less than 400 when S1 is pressed while the analog reading will be less than 500 when S2 is pressed.
  • Page 77 Here is a sketch of the movement of the robot searching for hidden treasures by going through different intersections to complete the task. Path Finder The robot moves from the starting point to find the left junction and turns using the to the left to pick up the first hidden treasure.
  • Page 78 Path Finder iii) The robot moves to find the 3-way intersection and turns using the to the left to pick up the third hidden treasure. Path Finder Tank The robot moves again to find the left junction and turns using the to the left to pick up the fourth hidden treasure.
  • Page 79 The robot continues to move looking for the right junction and turns using the Path Finder Tank to the right to take the last hidden treasure and then stops . © 2022 Copyright Micro Concept Tech Version 1.2...
  • Page 80: Step By Step Block Arrangement

    The left wheel turns The right wheel turns forward Left wheel speed backward Right wheel speed Mikrobotik perform the calibration process while moving for a few seconds. Mikrobotik stop for 1 second. After Mikrobotik starts repeat until Path Finder Step 2...
  • Page 81 Path Finder Junction – “Right”, Action – “Turn Right”, Speed – Step 3 Add a new block and set the value to ( “60”, Turn Speed – “200”, Junction Speed – “50”, Forward Delay – “0” Turn Period – “600” Path Finder Junction –...
  • Page 82 Path Finder Tank Junction – “Left”, Action – Turn Left”, Step 5 Add a block and set the value to ( Speed – “70”, Turn Speed – “100”, Junction Speed – “100”, Forward Delay – “350” Min Turn Period – “200” Path Finder Tank Junction –...
  • Page 83 Step 7 After uploading the code, turn on the Mikrobotik switch and perform the calibration process. After that, Mikrobotik will move to find the designated intersection and make a circle until it finds the hidden treasure. © 2022 Copyright Micro Concept Tech...
  • Page 84: Extra: Try Upgrade And Self Program

    Extra: Try Upgrade and Self Program DEVICE PORT ARDUINO NANO PIN PERIPHERALS ADDITIONAL INFO ITR1 Line Detection Sensor – Outer Left ITR8307 ITR2 Line Detection Sensor – Inside Left ITR8307 ITR3 Line Detection Sensor – Middle ITR8307 ITR4 Line Detection Sensor – Inside Right ITR8307 ITR5 Line Detection Sensor –...

Table of Contents