FREE SHIPPING to Peninsular Malaysia for orders over RM39.00
Dear valued customer. We will be closed on 18/01 (Tue) for Thaipusam. All orders placed after cut off time 1pm at 17/01 (Mon) will be shipped out on 19/01 (Wed). Thank you.

Makeblock Me RGB Line Follower V1
Price RM75.00
Product SKU MAB4398-0001
Brand Makeblock
Reward Points 75
Points Needed 3750
Availability Out Of Stock
  • Walk-In Price: RM80
  • Warranty: 12 Months (T&C Apply)
  • Operating voltage: 5V DC
  • Operating temperature: 0 ºC~70 ºC
  • Detection height
  • Signal mode: I2C communication


RGB line follower sensor module, which is designed specifically for line-following car matches, has 4 RGB supplement lamps and 4 light-sensitive receivers. The module applies to line following for either light-colored tracks on dark backgrounds or dark tracks on light-colored backgrounds. All kinds of RGB line following modules are applicable, as long as the greyscale of the chromatic aberration between the background and the track is higher than the threshold (the higher the chromatic aberration, the better the line following performance).


The module is characterized by fast detection, field learning function through keys and excellent adaptability. A blue-white labeled interface is equipped, indicating that it is a dual-digital, I2C interface that needs to be connected to the mainboard with a blue-white marking interface.



  • Operating voltage: 5V DC
  • Operating temperature: 0 ºC~70 ºC
  • Detection height: it is suggested that the sensor is 5mm~15mm from the track, depending on material of the track and illumination
  • Signal mode: I2C communication (corresponding to the blue-white label)
  • Dimensions: 48 x 72 x 26.5 mm 



  • Arduino IDE programmable, with runtime library to simplify programming
  • 4 LEDs for feedback of line-following and learning of new surroundings
  • RJ25 interface for convenient connection
  • Suitable for metal parts of Makeblock DIY platform (white area on the module is the reference area in contact with metal beams)
  • Compatible with LEGO
  • Equipped with interfaces compatible with most Arduino control boards
  • Field learning function
    • Identifying and recording background of the field and color of the route
  • Supporting EEPROM storage
    • Data learned will be stored in EEPROM
    • Preventing data loss in case of power failure
  • Colors of RGB supplement lamps switchable
    • Currently 3 colors switchable (red, green and blue), by pressing the switching key for 2 seconds
  • Sensitivity of line-following is adjustable
  • Reverse polarity protection, protecting IC in case of reverse polarity
  • Up to 4 lines following sensors available on one mainboard



The RGB line follower module has a 6-pin interface, each pin has the function below:


S/N Pin Function
1 SDA I2C data interface
2 SCL I2C clock interface
3 VCC Power line
4 GND Ground line
5 S2 I2C address assignment port
6 S1 2C address assignment port



The RGB line following sensor has 4 pairs of RGB transmitters and light-sensitive receivers, as shown in the figure below:

When RGB passes through different color backgrounds, the light-sensitive receivers converts the received light information into electrical signals, and outputs specific values from the analog ports after passing through the amplifier. The software then uses the analog values of the four light-sensitive receivers as a fusion algorithm to finally calculate the deviation of the position of the output sensor module from the track. The user can directly use this offset to control the rotation speed of the left and right two motors.



RJ25 Connection

  • Since the RGB line sensor module interface is blue-white, when using the RJ25 interface, it needs to be connected to the interface with the blue and white interfaces on the main control board. Taking Makeblock MegaPi as an example, you can connect to interfaces 5, 6, 7, and 8, as shown in the following figure:



Connection with Dupont line

  • When using a DuPont cable to connect to the Arduino Uno mainboard, the A0 pin of the module needs to be connected to the ANALOG port as shown below:




  • 1 x Makeblock Me RGB Line Follower V1

Reviews (0)
view all
0 reviews
What's in the box

1 x Makeblock Me RGB Line Follower V1