Page 136 - Robot Design Handbook ROBOCON Malaysia 2019
P. 136

single channel, bi-directional motor driver to drive its movements. The speed of the robot is

               controlled by pulsed wide modulation (PWM), generated by the micro-controller while the
               direction is controlled by changing the state of a digital pin on the micro-controller. Figure

               6 shows the circuit diagram of the MR1.































                               Figure 6 : A pictographic diagram of the electronic devices


                       The manual robot is operated using a wired PS2 joystick. A wired joystick is used

               because of the lack of reliable and simple Bluetooth or WIFI joystick in hand. Other than
               that, an optical sensor is used to give a signal to the second robot to start moving.



               2.3    Software Design


                       In the software design, the main software used for the development of this robot is
               the software used to programme the controller and the software used to do the 3D design of

               the robot. A software for is also used to convert the 3D designed parts for 3D printing. A

               programme comprises sets of instructions formulated to control the movement or action of
               a robot. The  micro-controller needs to  be pre-programmed with  instructions  to  react  to

               inputs  provided  by  the  human  operator  or  move  autonomously  according  to  input  or
               conditions  pre-programmed in  it.  Instruction for the motor speed, direction and display

               among others are programmed into the micro-controller.







                                                          132
   131   132   133   134   135   136   137   138   139   140   141