IR Line Trace Module

IR Line Trace Module (HKBM8012B)

../../_images/07_031.png

This is an infra red line tracing module, it has 2 line tracing sensors.

The LEDs on the back turn off when a black line is detected.

../../_images/IMG_25701.GIF

Details

../../_images/07_011.png

Specification

  • Voltage: 3V-5V

  • Dimensions: 56mm X 24mm X 16mm

  • Connector: 4Pin PH2.0

Precautions

  • The module should be as close to the ground as possible.

  • The ground or table must have a non-reflective surface.

Connecting the module

Connect the Line Trace Module to Armourbit with a 4Pin cable.

../../_images/linefollow_wire.png

MakeCode Coding Tutorial

../../_images/mcbanner.png

Powerbrick Extension: https://github.com/KittenBot/pxt-powerbrick

Loading Extensions

Line Trace Module Blocks

../../_images/linefollowblocks1.png

Tracing black lines

../../_images/linefollow1.png

Sample Code Link

Makecode Tutorial Video

../../_images/irtut1.png

Extension Version and Updates

There may be updates to extensions periodically, please refer to the following link to update/downgrade your extension.

Makecode Extension Update

KittenBlock Coding Tutorial

../../_images/kbbanner.png

Load Powerbrick Extension

Select Powerbrick from the hardware column.

../../_images/addextension1.png

Line Trace Module Blocks

../../_images/kblinetraceblocks1.png

Tracing black lines

../../_images/kblinetrace1.png

Sample Code Download

FAQ

1:Why is there no reaction when I click the blocks?

Make sure you have connected the Micro:bit correctly and flash the firmware again.