background image

STEP 2: 

Connect the H-Bridge with the Arduino. (Refer the Getting Started Manual) 

STEP 3: 

There are 4 pins in Line Following Sensor. Vcc (+5V), GND, A0 and D0. 

Make the Connections between Arduino & Line Following Sensor as follows: 

Line Following Sensor 

Arduino 

Vcc 

5V 

GND 

GND 

D0 

Digital Pin 3 

 

STEP 4: 

Startup ArduBlock (Refer Getting Started Manual for Installation). Build the Code as follows: 

1.

 

Select a “do loop” panel from the “Control”

 tab. 

 

2.

 

Select “set digital variable” from “Variables/Constants” tables and snap it as shown.

 

Reviews: