Download Print this page

Dazzle Robotics Qu-Bot User Manual

A quickly programmable robot

Advertisement

Quick Links

Qu-Bot, A Quickly Programmable Robot User's Manual
This manual contains crucial information including the precautions that must be taken
seriously to insure trouble free operation of Qu-Bot robot as well as prevent damage
for the users and others. Please read the manual carefully before starting assembly
and programming of Qu-Bot.
Do not disassemble or tamper with any part of the machine.
When power is turned on do not touch any conductor such as metal parts
to robot. This may damage the robot or some parts of it permanently.
Remove the battery connector when robot is not in use for a long time.
Do not store the robot for long time when the battery is discharged. This
will drastically decrease the life of battery.
Keep the kit away from small children. There are many small parts which
can create problem if swallowed.
Battery and motor connectors are polarized. Do not try to force insert
them in wrong direction. This will damage the robot permanently.
Do not dispose the robot or battery in fire. There is a danger of explosion
and poisonous fumes.
There are many possible uses of this robot except described in this
manual. All these experiments and modifications should be carried out at
owner's risk.
Specifications and product design are subject to change without prior
notice. Please refer the latest manual from website www.qu-bot.com.
Precautions
Page 1 of 52

Advertisement

loading
Need help?

Need help?

Do you have a question about the Qu-Bot and is the answer not in the manual?

Questions and answers

Summary of Contents for Dazzle Robotics Qu-Bot

  • Page 1 Precautions This manual contains crucial information including the precautions that must be taken seriously to insure trouble free operation of Qu-Bot robot as well as prevent damage for the users and others. Please read the manual carefully before starting assembly and programming of Qu-Bot.
  • Page 2 Please contact info@qu-bot.com for inquiries. The Qu-Bot Robot kit connects to the PC via USB cable (included) and is programmable through an easy-to-use QBVLab drag and drop modular icon based software program. After the program sequences have been uploaded into the robot via USB, it can be controlled by remote control, PC or can behave according to the user defined parameters.
  • Page 3 7. USB connectivity for maximum compatibility with all PC’s and Laptops. 8. Easy Icon-based visual programming for beginners – sample programs included 9. Onboard li-ion rechargeable battery which can run Qu-Bot for more than 3 hours. 10. Battery charged through AC charger.
  • Page 4 Qu-Bot, A Quickly Programmable Robot User’s Manual Qu-Bot Package Includes: 1. 1X Fully Assembled Main Circuit board with all above features 2. 1X Li-ion Rechargeable Battery 3.7V, 1.4Ah with protection circuit 3. 2X Geared DC motors 4. 2X Mounting Clamps for motor 5.
  • Page 5 1.2. Identification of parts on assembled Qu-Bot 2. QBVLab & USB driver Installation 2.1. USB Driver Installation 2.2. Qu-Bot Visual Lab Installation 3. Basic usage of Qu-Bot Visual Lab V3.23 (QBVLAB) 3.1. Qu-Bot Visual Lab Structure 3.1.1. Screen display 3.1.2. Menu Bar 3.1.3.
  • Page 6 Qu-Bot, A Quickly Programmable Robot User’s Manual 4.5.3. Display Text on Serial Terminal 4.5.4. Using Serial Terminal to check output of above program 5. Programming in Qu-Bot Visual LAB (Loop Blocks) 5.1. WHILE(1) Infinite loop 5.1.1. Characteristics of WHILE(1) Block 5.1.2.
  • Page 7 Qu-Bot, A Quickly Programmable Robot User’s Manual 1. Identification of components & Assembling 1.1. Assembling Qu-Bot Qu-Bot Kit contents out of the box. Castor, motor clamps, cable ties and different screws and nuts included in kit. Page 7 of 52...
  • Page 8 Insert 3 long screws in the castor wheels 3 holes keeping plastic washers in-between as shown in picture. Step 2 Insert castor wheel with screws to the Qu-Bot PCB allocating the 3 holes. After inserting place 3 more plastic washers on the top and lock the castor wheel to PCB with nuts.
  • Page 9 Qu-Bot, A Quickly Programmable Robot User’s Manual Step 3 Place the battery in the center of Qu-Bot between 4 holes. Secure the battery to PCB with help of 4 cable ties included in the kit as shown above. Cut the extra portion of cable ties with paper cutter or nipper.
  • Page 10 Qu-Bot, A Quickly Programmable Robot User’s Manual Step 5 After securing a castor, battery and 2 clamps the robot now looks as above from back side. Step 6 Now attach motor to the clamp as shown above. Put the screws inside the holes in motors through clamps and tighten nuts on them as shown in above picture.
  • Page 11 Qu-Bot, A Quickly Programmable Robot User’s Manual Step 7 After screwing 2 motors, connect the motors and battery to the board. Take care while plugging in the connectors. All the connectors are polarized so they cannot be inserted wrongly but still do not try to force them in different configuration. This may damage the board permanently.
  • Page 12 Qu-Bot, A Quickly Programmable Robot User’s Manual Step 9 Insert the LCD on the top. Now the Qu-Bot is ready to use. It’s advisable to charge the battery before using it. The Qu-Bot can also get charged or run directly on USB power but it’s advisable to use AC charger for fast charging.
  • Page 13 Qu-Bot, A Quickly Programmable Robot User’s Manual 1.2. Identification of parts on assembled Qu-Bot Page 13 of 52...
  • Page 14 Qu-Bot, A Quickly Programmable Robot User’s Manual Component Usage 1. Power & Charge LED’s Indicate whether the Qu-Bot has been powered up. Charge LED will glow once battery is charged through AC charger. 2. LED1, LED2 & LED3 Lights up through software 3.
  • Page 15 2. USB driver & QBVLab Software Installation 2.1. USB Driver Installation Before connecting the Qu-Bot to USB port of PC you need to install driver for USB on your PC. Qu-Bot is compatible with most windows versions. In this manual all screenshots are taken from Windows 7 Ultimate operating system, however Qu-Bot is tested on most of the windows versions successfully.
  • Page 16 Qu-Bot, A Quickly Programmable Robot User’s Manual Press next to continue. On License agreement page click “I accept…” and click next. Page 16 of 52...
  • Page 17 This finishes the installation. Press finish to close the window. Now the driver is installed. Inserting the USB cable from Qu-Bot should now automatically detect the device and give connect device sound. It will also show balloon from the task bar as shown in above picture.
  • Page 18 Qu-Bot, A Quickly Programmable Robot User’s Manual 2.2. Qu-Bot Visual Lab Installation In Qu-Bot CD there is a setup file for Qu-Bot Visual Lab software. The file name is QBVLabSetup.exe. Run this file to install QBVLab software. On the welcome screen click next to install software.
  • Page 19 Qu-Bot, A Quickly Programmable Robot User’s Manual Within few seconds the software gets installed. Now the software is installed. Press finish to exit installer. The QBVLab icon now appears on desktop as well as start menu. Run it to start the software.
  • Page 20 6. Collapse all and expand all buttons: Expands and collapse all branches. 7. Code flow window: Space for programming Qu-Bot 8. Status bar: Shows status of programming 9. Progress bar: Shows programming progress 10. USB status: Switches between green and red while connected to Qu-Bot. Page 20 of 52...
  • Page 21 Qu-Bot, A Quickly Programmable Robot User’s Manual 3.1.2. Menu Bar 3.1.2.1. File 3.1.2.1.1. New Code (Ctrl+N): Creates a new blank file. Click the “New” button on quick menu bar or “File-> New Code”. 3.1.2.1.2. Open (Ctrl+O): Opens a previously saved file. Click “Open” button on quick menu bar or “File->...
  • Page 22 3.1.2.2. Tools 3.1.2.2.1. Load Program (Ctrl+L): Program written in code flow is transferred to Qu-Bot via USB Cable. Please connect USB Cable before programming. 3.1.2.2.2. Serial Terminal (Ctrl+T): Opens Serial Terminal window from which you can send and receive UART commands.
  • Page 23 Qu-Bot, A Quickly Programmable Robot User’s Manual 3.1.2.3.1. Zoom In (F7): Makes All icons smaller in size. 3.1.2.3.2. Zoom Out (F8): Makes All icons smaller in size. 3.1.2.3.3. Expand All (F11): Expands All Branches. 3.1.2.3.4. Collapse All (F12): Collapse all Branches.
  • Page 24 Qu-Bot, A Quickly Programmable Robot User’s Manual 3.1.2.4.2. Get Update Notification: Register your email id for notification of new QBVLab software update. 3.1.2.4.3. Check for Updates: Check for current latest QBVLab Version. 3.1.2.4.4. Qu-Bot Forum: Are you facing any problems?? Visit forums for solutions.
  • Page 25 Qu-Bot, A Quickly Programmable Robot User’s Manual Generates Delay in Microseconds, Milliseconds and Seconds. Operates on more than One Operands. One of the operands must be Variable and second operand can be either variable or constant. Operators available are (+,-,*, /).
  • Page 26 Qu-Bot, A Quickly Programmable Robot User’s Manual Branch depending upon UART input Variable. Branch depending upon input IR Code. Branch depending upon the Switch1, 2 & 3 status. Branch depending upon the Motor counter (Encoder) Variables. 3.1.3.4. Loop blocks (Red) Infinite loop.
  • Page 27 Qu-Bot, A Quickly Programmable Robot User’s Manual 3.2.3. Programming Qu-Bot Check that you have connected USB cable to your Qu-Bot. Once you have built program as above click on program. Check Status bar for programming status. Once you get programming complete on status bar and USB Status symbol Red you can check your Qu-Bot.
  • Page 28 4.1.1. Characteristics of LED Block LED Block controls on, off and toggle status of LED’s. There are in total 3 LED’s on Qu-Bot which can be separately operated by this module. LED’s are indicated by number in figure2.1. 4.1.2. Changing Attributes Left Click on the LED block in code flow to see attributes.
  • Page 29 4.3.1. Characteristics of LCD Block LCD Block controls 16X2 Liquid Crystal Display on Qu-Bot. LCD is detachable from Qu-Bot hence you can select whether to use LCD or not from Start Block attribute. Set “LCD Init” attribute to “Yes” to use LCD.
  • Page 30 LCD at current cursor position. 4.3.3. Display Text on LCD Arrange the blocks and set attributes as shown in the figure. The program will execute as below when downloaded to Qu-Bot. Clear LCD. Move cursor to Column 5 Row 1.
  • Page 31 Arrange the blocks and set attributes as shown in the figure. The program will execute as below when downloaded to Qu-Bot. Left motor will move at half speed of right motor for 60 seconds. Hence Qu-Bot moves in anti-clockwise circle for 60 seconds.
  • Page 32 4.5.3. Display Text on Serial Terminal Arrange the blocks and set attributes as shown in the figure. The program will execute as below when downloaded to Qu-Bot. The execution of this program can be checked on serial terminal window. Qu-Bot will print “HELLO!!!” and NEWLINE.
  • Page 33 Qu-Bot will print “MY NAME IS QU-BOT.” and NEWLINE. Wait for 1 second. Qu-Bot will print “YOU ARE USING UART SAMPLE CODES” and NEWLINE. Buzzer will beep thrice indicating end of program. 4.5.4. Using Serial Terminal to check output of above program Select Tools ->...
  • Page 34 5.1.2. Blink LED1 forever Above program will be executed as following. First of all when code flow will encounter WHILE(1) block. The Qu-Bot will save the position of the next block. Then it will execute the program normally and LED1 will be on and off for 100mS.
  • Page 35 Qu-Bot, A Quickly Programmable Robot User’s Manual any point of time condition is false the code flow will shift to next block of ENDWHILE block. 5.2.2. Blink LED1 until Switch1 is pressed Above program will be executed as following. First of all when code flow will encounter WHILE(Condition) block it will check for the condition.
  • Page 36 Sometimes we need to alter our actions in the face of changing circumstances. If there is an obstacle we need to turn our Qu-Bot right. You can notice that these decisions depend on some condition being met. We can check such conditions from these conditional blocks.
  • Page 37 Qu-Bot, A Quickly Programmable Robot User’s Manual 6.1.1.1. Operand1 There are four columns in the condition builder block. First of all click on Variable blank box to see drop down menu. Here you will see all sensor input variables. Also there are general purpose variables available which can be compared through this block.
  • Page 38: Front Left

    Qu-Bot, A Quickly Programmable Robot User’s Manual <= Less than or Equal to >= Greater than or Equal to 6.1.1.3. Operand2 Value is to be typed or selected by dropdown menu. 6.1.1.4. Logical operator && Logical AND (Both condition must be true) Logical OR (Any one condition should be true) These operators are used between two conditions.
  • Page 39 Qu-Bot, A Quickly Programmable Robot User’s Manual 6.1.4. Glow LED’s as per switch press status There are two programs written for glowing LED’s on Qu-Bot depending upon the switch press. IF blocks are used within an infinite loop. From first sight it looks that both the programs are same. But there is functional difference.
  • Page 40 Qu-Bot, A Quickly Programmable Robot User’s Manual 6.3. Nested IF ELSE sample IF block inside IF or ELSE Block generates nested IFELSE. Above right side image shows three levels of nesting and the same program should clarify your all doubt of IF ELSE structure.
  • Page 41 These variables are kept separate because of some reason. 7.3.1.1. UART Input Refer section 4.5.4 where we used Serial Terminal. Here we have not used output window. This window can be used to transfer characters to Qu-Bot. Whenever you Page 41 of 52...
  • Page 42 Qu-Bot, A Quickly Programmable Robot User’s Manual write something in the output box it will be transferred to Qu-Bot and it will be stored in a FIFO (First in First Out) buffer. This is done so that you don’t loose any character while you do other stuff.
  • Page 43 Qu-Bot, A Quickly Programmable Robot User’s Manual Above program waits until it receives IR remote code and displays the code on LCD. 7.4. Variable Operator Block This block is used to do mathematical operations like +, -, * and /. Left click on the...
  • Page 44 Qu-Bot, A Quickly Programmable Robot User’s Manual The delay can be specified in Microseconds, Milliseconds and Seconds. Choose Unit from dropdown box. Write “Timer Value” in the box. The above attribute explorer shows the delay value is set to 100 Milliseconds.
  • Page 45 Qu-Bot, A Quickly Programmable Robot User’s Manual 8. Application Programs 8.1. Bugler alarm This sample code shows the basic application of sensors and buzzer. • When any of the front sensors senses an object the buzzer goes on for infinite time.
  • Page 46 Qu-Bot, A Quickly Programmable Robot User’s Manual 8.2. Obstacle avoider This sample code shows how Qu-Bot can be programmed to make an obstacle avoider robot. • LCD is initialized to show status of robot. • The robot starts moving when switch 1 is pressed because there is a while conditional loop on top.
  • Page 47 Qu-Bot, A Quickly Programmable Robot User’s Manual 8.3. Edge avoider If the robot is kept on a table surface with this code programmed, the robot moves forward by default whenever it senses edge (Bottom sensors doesn’t sense table surface) it takes actions accordingly.
  • Page 48 This code is made to move robot forward for approximately 1 meter. • The diameter of the Qu-Bot wheel measures 66.3 mm. So the periphery of the wheel becomes 208.182 mm (πD = 66.3 x 3.14 ).
  • Page 49 Qu-Bot, A Quickly Programmable Robot User’s Manual 8.5. Line Follower using one sensor This code uses only one sensor to follow a dark color line on light colored floor. • In the start robot starts running left motor. Right motor is stopped. So the robot takes a long right turn.
  • Page 50 Qu-Bot, A Quickly Programmable Robot User’s Manual 8.6. Line Follower using three sensors This code uses 3 bottom sensors to make Qu-Bot follow a dark color line on light color surface. • When the bottom center sensor is on the dark line the value is 0. This means the robot is on the line.
  • Page 51 Qu-Bot, A Quickly Programmable Robot User’s Manual 8.7. Remote Controlled Qu-Bot Programming this code into Qu-Bot makes it a manual remote controlled robot. • When any switch is pressed on IR remote, it transmits a RC5 code. In the remote included with this kit the code is from 1 to 127.
  • Page 52 PC. However this needs a high level of programming and hardware knowledge on PC but this sample code gives a demo on how to move Qu-Bot on commands taken from keyboard.