My Cart:

0 item(s) - £0.00
You have no items in your shopping cart.


More Views

Line Following Buggy for the BBC micro:bit

This easy to build Line Following Buggy is controlled by the BBC micro:bit and the Kitronik Motor Driver Board

Availability: In Stock.

5604 £21.83
(£26.196 incl VAT)

Our BBC micro:bit controlled Line Following Buggy uses two LDRs (light dependant resistors) as sensors to control a line following board on the bottom of the chassis to 'follow' black lines.

Two LEDs shine light from underneath the buggy down onto the floor and a pair of LDRs measure how much light is reflected. When the sensor is moved over a black line the level of reflected light decreases and the sensor sends a signal to the BBC micro:bit through the motor driver board. The BBC micro:bit then uses that information to steer back toward the line. It does this by switching off either the left motor to turn left or the right motor to turn right.

Code for the line following function is available below. The buggy can easily be customised and to help you get started we have also supplied code for Bump 'n' Spin functionality uding the BBC micro:bit's on-board accelerometer. Save the code to your account and get customising!


This kit requires assembly. BBC micro:bit NOT included. If you also require a BBC micro:bit, you can order one here.


  • Simple to build buggy.
  • BBC micro:bit controlled.
  • Automatic line following.




Robot Buggy Part 1 An Introduction
This fun learning resource has been put together to provide teachers with an all in one design and technology challenge that you can set for your students over the course of a term or a year. The resource includes a number of different design and technology aspects; electronics, mechanical assembly, 2D and 3D design, using a laser cutter, using a 3D printer and coding and testing. There are also alternative production methods highlighted in the individual resources.
Coding With The PXT Editor
Robot Buggy Part 6 Coding With The PXT Editor
Martin Woolley explains how he wrote the Robot Buggy code using the Microsoft PXT Editor for the BBC micro:bit. Includes a link to the completed code. Martin not only wrote the code that we use for the remote controlled buggies, he also designed the Bluetooth profile for the BBC micro:bit and wrote and released the micro:bit Blue App, which we used to control the buggys.
The Self Righting Flag
Robot Buggy Part 5 The Self Righting Flag
The last part of our physical design challenge was to design a flag for a capture the flag style game. As with most of the design challenges that this project presented, we had some ideas and discarded the difficult and impractical until we were left with a simple but effective solution.
The 3D Printed Add-Ons
Robot Buggy Part 4 The 3D Printed Add-Ons
When designing the 3D printed add-ons we had two main aims; that they maintained our Robot Wars theme and that they could be printed easily. Our additional goals were to create two team colour schemes and that each buggy had it's own personality.
Creating The Perspex Top Plate
Robot Buggy Part 3 Creating The Perspex Top Plate
We looked at a few different ways of achieving our Robot Wars inspired buggy but quickly settled on keeping the buggy completely intact and cutting a top plate from a perspex sheet. We wanted it to be functional, aesthetically pleasing and also easy to produce. We had six buggies to design and build and only a few days to get them done.
Remote Control Via Bluetooth
Robot Buggy Part 7 Remote Control Via Bluetooth
Bluetooth is the technology that makes the remote control aspect of this project possible, fortunately, the BBC micro:bit comes with Bluetooth functionality as standard. Martin Woolley explains how to pair your Android device with the BBC micro:bit and how to use is micro:bit Blue App to control the Robot Buggy.
line following buggy
Robot Buggy Part 2 The Line Following Buggy
The line following buggy for the BBC micro:bit is a great kit for students to build as it combines several elements of design and technology; electronics, mechanical assembly and coding and it is this buggy that the Robot Buggies are built upon. The kit has relatively few parts and is simple to build, making it a suitable option as a classroom activity.
Take The BBC micro:bit To The Next Level With Bluetooth Low Energy
Take the BBC micro:bit to the next level with Bluetooth Low Energy. The BBC micro:bit uses Bluetooth Low Energy, a power friendly version of Bluetooth technology that allows for wireless communication between devices such as PCs, smartphones and tablets allowing for seamless connection to the Internet of things. Every smartphone and tablet platform available comes with Bluetooth Low Energy API's. Android, iOs, Windows Phone, BlackBerry 10 and even Tizen. We explore some of the Bluetooth Low Energy functionality of the BBC micro:bit and the possibilities that it opens up.
BBC micro:bit Line Following Buggy Build Instructions
This is a step by step guide to building the BBC micro:bit Line Following Buggy. The buggy uses two light dependant resistors to control a line following board on the bottom of the chassis to 'follow' black lines.
Transferring a Program to the BBC micro:bit
After you've created your first program you'll need to compile it and transfer it to the BBC micro:bit. This process is very simple, and if you follow our guide you'll be up and running in no time.
Getting Started with the Touch Develop Editor
The Touch Develop Editor centres around a code keyboard, making it perfect for writing code on a touch screen device or by using your mouse.
Getting Started with Microsoft Block Editor
The Microsoft Block Editor is a drag and drop editor that provides a simple introduction to programming. Blocks snap together to build programs and are grouped by the type of function they do. When a group is selected, the commands in the whole group are highlighted and can be selected. It's a great introduction to programming for those with little or no experience.


Posted by Owen Brotherwood, Friday, 21 October 2016 on product Line Following Buggy for the BBC micro:bit


Do you have examples of 3D printed bodies to the kit?


Posted by Matt, Tuesday, 27 September 2016 on product Line Following Buggy for the BBC micro:bit


I was wondering what the size of the chassis is ? Also could the code be multiplied to add another motor in order to stop using tank steer and instead control a Remote controlled car ?


  • Posted by Michael Lockhart on Tuesday, 27 September 2016

    Hi Matt, The black chassis is approximately 14.5x11mm and is 3mm thick. Each motor driver board can only drive 2 motor’s, however if you had a second motor driver board and turned the BBC micro:bit round so the edge pins were activated you could use one micro:bit to power both boards.

Posted by Doug, Tuesday, 20 September 2016 on product Line Following Buggy for the BBC micro:bit


About how long does it typically take to ship this product to the US (zip 78737). Thanks!


  • Posted by Michael Lockhart on Tuesday, 20 September 2016

    Hi Doug, Using the information you have provided to ship to yourself in Texas it would take 2-3 working days via UPS Saver, and 1-2 working days via UPS express. Please note these estimations are only valid if all the items are in stock when the order is placed.

Posted by Jeff, Friday, 16 September 2016 on product Line Following Buggy for the BBC micro:bit


1. Although one of the answers to questions was that the line following buggy would be again available from about 8 of August, but the website shows that they are still on back order? 2. I bought frm you the Micro bit starter kit as well as the motor driver board. I would now like to buy the Line following buggy, but as I already have the motor driving board but would like to have another Micro bit, I would like to know if you could supply me the line following buggy kit with a Micro bit instead of a motor driver card?


  • Posted by Michael Lockhart on Friday, 16 September 2016

    Hi Jeff, As stated we did have the product back in stock around the 8th August, however we have since sold this stock and we are now awaiting a part which is required for the buggy to be delivered. We currently estimate that this will be back in stock late w/c 19/9 early w/c 26/9. Unfortunately we are unable to change the items that are included in a kit. The motor driver is part of the buggy kit and can’t be supplied without it, however we do sell the miro:bit on its own if that helps

Posted by Doug, Thursday, 15 September 2016 on product Line Following Buggy for the BBC micro:bit


Do you know when this product will be back in stock? Thanks

1 people had same question.


  • Posted by Michael Lockhart on Thursday, 15 September 2016

    Hi Doug, We are currently awaiting a part for the buggy from our supplier which is due earlier next week. As such we would expect the buggy kit to be back in stock late next week once we have packed all the components for the kit together.

Need a question answering before you buy? Then ask our technical team.

Ask Your Question

* Required Fields

Related Products