background image

 

 

Turn Right

Motors A turning right at 120 PWM speed in 2 secs

Содержание PBOT2018

Страница 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...

Страница 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...

Страница 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...

Страница 4: ...PBOT 2018 BOARD MAJOR PARTS...

Страница 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...

Страница 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...

Страница 7: ...Setting Up your Arduino IDE with Ardublock...

Страница 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...

Страница 9: ...Open the ArduBlock The Ardublock shown in Tools list Click ArduBlock Done...

Страница 10: ...Familiarize with Blocks THE IDE...

Страница 11: ...Basic Block CONTROLS sketch control structures loop delays millis if if else while do while repeat break...

Страница 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...

Страница 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...

Страница 14: ...Basic Block MATH OPERATORS Arithmetic Operators Math Random Numbers addition subtraction multiplication division remainder absolute power square root sine cosine tangent random...

Страница 15: ...Basic Block VARIABLES CONSTANTS Constants Conversion Set integer variable unsigned long string boolean low high true false double int byte char...

Страница 16: ...Basic Block COMMUNICATION Serial communication Stream Print Serial read write Serial data available serial read serial parseInt Serial write Serial print...

Страница 17: ...For PBOT2018 blocks E GIZMO PBOT2018 BLOCKS USE FOR NEW PBOT BOARD...

Страница 18: ...Connect the PBOT to PC USB Connector USB Cable Open Arduino IDE...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 25: ...SERIAL MONITOR BY ADDING THE SERIAL PRINT BLOCK...

Страница 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...

Страница 27: ...FOR BLACK LINE SENSING LEFT...

Страница 28: ...FOR BLACK LINE SENSING CENTER...

Страница 29: ...FOR BLACK LINE SENSING RIGHT...

Страница 30: ...FOR WHITE LINE SENSING LEFT...

Страница 31: ...FOR WHITE LINE SENSING CENTER...

Страница 32: ...FOR WHITE LINE SENSING RIGHT...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 37: ...Move Forward Motors forward at 120 PWM speed in 2 secs...

Страница 38: ...Reverse Motors Motors reverse at 120 PWM speed in 2 secs...

Страница 39: ...Turn Right Motors A turning right at 120 PWM speed in 2 secs...

Страница 40: ...Turn Left Motors B turning left at 120 PWM speed in 2 secs...

Страница 41: ...Motor Stops Both Motor stops at 0 speed in 2 secs...

Страница 42: ...Extreme Right Motors A forward and Motor B reverse at 120 PWM speed in 2 secs...

Страница 43: ...Extreme Left Motors A reverse and Motor B forward at 120 PWM speed in 2 secs...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 49: ...SERIAL MONITOR BY ADDING THE SERIAL PRINT BLOCK...

Страница 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...

Страница 51: ...FOR OBJECT DETECTION RIGHT...

Страница 52: ...FOR OBJECT DETECTION CENTER...

Страница 53: ...FOR OBJECT DETECTION LEFT...

Страница 54: ...SERVO CONNECTION Servo labels 1 4 Servo connectors from P3 P6 Servo Supply J2...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: