PBOT2018 and Ardublock – Line tracking sensors
Posted By 0 Comment(s) 836 View(s)
LINE SENSORS SECTIONS:
P7 - Connections for 3ch line sensors LN3,LN2,LN1 - LED Indicators for line sensor
GND - Yellow wire, DRV - Brown wire, LN3 - Orange wire, LN2 - Red wire, LN1 - Red wire
Press and Hold the SYS RST (SW3) then switch ON the Power (SW1) and Click Upload. Release SYS RST when done.
LINE SENSOR CALIBRATIONS:
1. After uploading your code for line sensors. Turn OFF the POWER switch. 2. Place the eGizmo PBOT 2018 controller to the Black line then Press and Hold LINE CAL and SYS RST, while pressing and holding the buttons, Turn ON the POWER Switch. LN2 (D12 LED indicator) is ON. 3. First RELEASE 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 CAL once for the Black color calibration. 4. Next, if the L3 (D13 LED indicator) is blinking. Place the 3CH Line sensors on the White track. then Press LINE CAL again once for the White color calibration. After that you will see all the LEDS for line sensors are ON. 5. Now your eGizmo PBOT 2018 Controller line sensors are calibrated. Then Press the RESET button. You can now trace the line and DONE.
BLACK LINE AND WHITE LINE ILLUSTRATION
PBOT 2018 FUNCTION REVIEW:
- Set Line sensor for reading the black/white color.
Note: Output reads: White color detected = 0 or LOW; Black color detected = 1 or HIGH;
- Setting Up your Arduino IDE with ArduBlocks and the eGizmo PBOT2018 Library. (Read Here)
- In ArduBlock, using PBOT 2018,
START WITH ADDING A BLOCK
SERIAL MONITOR BY ADDING THE SERIAL PRINT BLOCK
USE THE DROP-DOWN ARROW TO SELECT SENSOR:
FOR BLACK LINE SENSING
FOR WHITE LINE SENSING