background image

 

 

PBOT2018

MANUAL GUIDE

FUNCTIONS :

PBOT 2018

  

> Line follower
 

                  > Maze Solver

  > Collision Avoidance
  

> Sumo fight

Included:
- USB Cable Type A to mini B

- 5V 1A adaptor

Summary of Contents for PBOT2018

Page 1: ...PBOT2018 MANUAL GUIDE FUNCTIONS PBOT 2018 Line follower Maze Solver Collision Avoidance Sumo fight Included USB Cable Type A to mini B 5V 1A adaptor...

Page 2: ...den the Capabilities of prototyping by adding certain peripheral to the Board to follow the black line on the track from start to finish line It has Digital line calibration to make it easy to solve t...

Page 3: ...e are not available for user shields application Features Basic Arduino Programming Include eGizmo_PBOT2018 library The operation of motor to its maximum power Efficient Motor Driver circuitry enables...

Page 4: ...PBOT 2018 BOARD MAJOR PARTS...

Page 5: ...7 GND DRV LN3 LN2 LN1 LINE SENSOR ARRAY 3 channel Line sensors LINE CAL for making line sensor calibrated as easy to calibrate read the page 5 LINE SENSOR LED INDICATORS LN3 D13 LN2 D12 LN1 D11 if LED...

Page 6: ...IDE SOFTWARES Download Arduino 1 8 5 egizmo themes new Windows Choose your Arduino IDE for your OS www e gizmo net oc kits documents ARDUINO IDE SOFTWARES Download Prolific Driver v10 0 Windows For Ma...

Page 7: ...Setting Up your Arduino IDE with Ardublock...

Page 8: ...Block MOD Ardublock 060118 jar Go to My Documents Arduino Create filename tools folder then ArduBlockTool folder and tool folder Inside the tool folder place the ardublock 060118 jar Now Open your Ard...

Page 9: ...Open the ArduBlock The Ardublock shown in Tools list Click ArduBlock Done...

Page 10: ...Familiarize with Blocks THE IDE...

Page 11: ...Basic Block CONTROLS sketch control structures loop delays millis if if else while do while repeat break...

Page 12: ...Basic Block PINS FUNCTIONS Digital I O Analog I O Time Advanced I O read digital pin analog pin INPUT set digital pin OUTPUT analog pin servo ultrasonic Dht11 tone set digital 8pins 0 7...

Page 13: ...Basic Block TESTS Comparison Operators Boolean Operators greater than less than equal to greater than equal to less than equal to not equal to...

Page 14: ...Basic Block MATH OPERATORS Arithmetic Operators Math Random Numbers addition subtraction multiplication division remainder absolute power square root sine cosine tangent random...

Page 15: ...Basic Block VARIABLES CONSTANTS Constants Conversion Set integer variable unsigned long string boolean low high true false double int byte char...

Page 16: ...Basic Block COMMUNICATION Serial communication Stream Print Serial read write Serial data available serial read serial parseInt Serial write Serial print...

Page 17: ...For PBOT2018 blocks E GIZMO PBOT2018 BLOCKS USE FOR NEW PBOT BOARD...

Page 18: ...Connect the PBOT to PC USB Connector USB Cable Open Arduino IDE...

Page 19: ...mo_PBOT2018 LINEBOT 2 Board select Go to Tools Boards gizDuino mini w Atmega168 3 Port select Go to Tools Port COM Select the correct port Go to Device Manager if you re not sure Tips for uploading Pr...

Page 20: ...e for linesensors Turn OFF the POWER switch 2 Place the eGizmo PBOT controller to the black line then Turn Off A B C Turn On Press and Hold LINE CAL and SYS RST while pressing and holding the buttons...

Page 21: ...the SYS RST followed by LINE CAL Make sure the 3CH Line sensors are faces on the black line and you will see the LN1 and LN3 D11 and D13 LED indicators are Turn ON and LN1 is blinking Now Press LINE...

Page 22: ...s on the White track Then Press LINE CAL again once for the white color calibration After that you will see all the LEDS for linesensors are ON 5 Now your eGizmo PBOT Controller Linesensors are calibr...

Page 23: ...AX PBOT LS1_LEFT PBOT LS2_CENTER PBOT LS3_RIGHT OUTPUT WHITE LINE DETECTED 0 or LOW BLACK LINE DETECTED 1 or HIGH EXAMPLES If PBOT LS2_CENTER HIGH if line sensor 2 center is high Serial println Black...

Page 24: ...START WITH ADDING A BLOCK PBOT BEGIN Adding PBOT BEGIN block settting up the eGizmo_PBOT2018 Wire library and turn ON all the motors...

Page 25: ...SERIAL MONITOR BY ADDING THE SERIAL PRINT BLOCK...

Page 26: ...USE THE DROP DOWN ARROW TO SELECT SENSOR Click the Dropdown arrow to select immediately the line sensor As you can see the 3 line sensors appears...

Page 27: ...FOR BLACK LINE SENSING LEFT...

Page 28: ...FOR BLACK LINE SENSING CENTER...

Page 29: ...FOR BLACK LINE SENSING RIGHT...

Page 30: ...FOR WHITE LINE SENSING LEFT...

Page 31: ...FOR WHITE LINE SENSING CENTER...

Page 32: ...FOR WHITE LINE SENSING RIGHT...

Page 33: ...ECTION SECTION MOTOR WIRE CONNECTIONS P2 MOT 1 1A 1B MOT2 2A 2B MOT 1 LEFT Blue Bottom Yellow Upper MOT 2 RIGHT Green Upper Black Bottom Please don not depends on the color of the wires Follow the loc...

Page 34: ...mo_PBOT2018 MOTOR_TEST 2 Board select Go to Tools Boards gizDuino mini w Atmega168 3 Port select Go to Tools Port COM Select the correct port Go to Device Manager if you re not sure Tips for uploading...

Page 35: ...motor MOTOR_A or MOTOR_B MOTOR_BOTH dir MOTOR_FWD MOTOR_REV EXAMPLES PBOT DIRECTION MOTOR_BOTH MOTOR_FWD Move Forward PBOT SPEED MOTOR_BOTH 80 Set motor speed PBOT SPEED whichmotor speed where whichmo...

Page 36: ...START WITH ADDING A BLOCK PBOT BEGIN Adding PBOT BEGIN block settting up the eGizmo_PBOT2018 Wire library and turn ON all the motors...

Page 37: ...Move Forward Motors forward at 120 PWM speed in 2 secs...

Page 38: ...Reverse Motors Motors reverse at 120 PWM speed in 2 secs...

Page 39: ...Turn Right Motors A turning right at 120 PWM speed in 2 secs...

Page 40: ...Turn Left Motors B turning left at 120 PWM speed in 2 secs...

Page 41: ...Motor Stops Both Motor stops at 0 speed in 2 secs...

Page 42: ...Extreme Right Motors A forward and Motor B reverse at 120 PWM speed in 2 secs...

Page 43: ...Extreme Left Motors A reverse and Motor B forward at 120 PWM speed in 2 secs...

Page 44: ...SENSORS CONNECTIONS IR RECEIVERS 38Khz U5 U6 U7 IR LED TRASMITTER D17 D18 D19 Distance Range 2 4 inches IR LED INDICATORS COL1 D14 COL2 D15 COL3 D16 if LED is ON Object detected if LED is OFF No obje...

Page 45: ...es eGizmo_PBOT2018 MAZE 2 Board select Go to Tools Boards gizDuino mini w Atmega168 3 Port select Go to Tools Port COM Select the correct port Go to Device Manager if you re not sure Tips for uploadin...

Page 46: ...es eGizmo_PBOT2018 SUMO 2 Board select Go to Tools Boards gizDuino mini w Atmega168 3 Port select Go to Tools Port COM Select the correct port Go to Device Manager if you re not sure Tips for uploadin...

Page 47: ...TAX SYNTAX PBOT COL1_RIGHT PBOT COL2_CENTER PBOT COL3_LEFT OUTPUT NO OBJECT DETECTED 0 or LOW OBJECT DETECTED 1 or HIGH EXAMPLES If PBOT COL2_CENTER HIGH if IR sensor 2 center is high Serial println O...

Page 48: ...START WITH ADDING A BLOCK PBOT BEGIN Adding PBOT BEGIN block settting up the eGizmo_PBOT2018 Wire library and turn ON all the motors...

Page 49: ...SERIAL MONITOR BY ADDING THE SERIAL PRINT BLOCK...

Page 50: ...USE THE DROP DOWN ARROW TO SELECT SENSOR Click the Dropdown arrow to select immediately the collision sensor As you can see the 3 IR collision sensors appears...

Page 51: ...FOR OBJECT DETECTION RIGHT...

Page 52: ...FOR OBJECT DETECTION CENTER...

Page 53: ...FOR OBJECT DETECTION LEFT...

Page 54: ...SERVO CONNECTION Servo labels 1 4 Servo connectors from P3 P6 Servo Supply J2...

Page 55: ...eGizmo_PBOT2018 Servo_Sweep 2 Board select Go to Tools Boards gizDuino mini w Atmega168 3 Port select Go to Tools Port COM Select the correct port Go to Device Manager if you re not sure Tips for upl...

Page 56: ...idth where Whichservo 1 to 4 ignore other values Pulsewidth 0 to 180 degrees value less than 500 stops the Servo PWM generator the pulsewidth converted to degrees from 0 to 180 default EXAMPLES PBOT S...

Page 57: ...START WITH ADDING A BLOCK PBOT BEGIN Adding PBOT BEGIN block settting up the eGizmo_PBOT2018 Wire library and turn ON all the motors...

Page 58: ...For Servo Blocks Double Click the block 1 to change the servo number also the 90 degrees to change it Upload to Arduino This will shown on the IDE...

Page 59: ...For more info Website www e gizmo net Egizmo Tech blog www e gizmo com wp Facebook eGizmoMechatronix Youtube Channel e Gizmo Mechatronix Central...

Reviews: