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.
- 2 x Right Angle Hobby Geared Motor.
- 2 x Wheel for Hobby Motor.
- 1 x Motor Driver Board V2 for the BBC micro:bit.
- 1 x Buggy Chassis.
- 2 x M3 30mm Pozi Pan Machine Screw.
- 8 x M3 6mm Machine Screw.
- 2 x M3 Full Width Nut.
- 4 x M3 20mm Plastic Spacer.
- 1 x 8mm x 12mm x 25mm Foam Pad.
- 1 x 15cm Length Red Wire.
- 1 x 15cm Length Black Wire.
- 1 x 15cm Length White Wire.
- 1 x 15cm Length Green Wire.
- 2 x 15cm Length Blue Wire.
- 1 x Metal Ball Caster.
- 1 x 4xAA Battery Box with Switch.
- 1 x Line Following Board Kit.
- 4 x AA Batteries.
- A small flat head screwdriver.
- Wire strippers.
- A soldering iron and some solder.
- A pair of pliers.
- A Phillips screwdriver.
- A computer with a spare USB port and internet access.
- 1 x BBC micro:bit.
- A USB to micro USB cable.
- Black insulation tape.
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.
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 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.
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.
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.
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.
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. 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.
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.
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.
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.
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.
Do you have examples of 3D printed bodies to the kit?
Posted byon Friday, 21 October 2016
If you have a look here https://www.kitronik.co.uk/blog/robot-buggy-part-1-build-robot-wars-buggy-introduction/ you'llfind information about our Robot Wars 3D printed modifications, including download files.
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 byon 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.
About how long does it typically take to ship this product to the US (zip 78737). Thanks!
Posted byon 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.
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 byon 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 https://www.kitronik.co.uk/5613-bbc-microbit-board-only.html
Do you know when this product will be back in stock? Thanks
Posted byon 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.
Excl. VAT: £6.20 Incl. VAT: £7.44
Add line following capability to your tank with this Line Following Bo...
Excl. VAT: £1.90 Incl. VAT: £2.28
This is a 90RPM geared hobby motor. It runs off a voltage of between 3...
Excl. VAT: £1.10 Incl. VAT: £1.32
A 68mm diameter wheel for use with our matching geared hobby motor. Th...
Excl. VAT: £2.50 Incl. VAT: £3.00
This Edge Connector Breakout Board for the BBC micro:bit gives access ...
Excl. VAT: £9.58 Incl. VAT: £11.496
DISCONTINUED - This motor driver board for the BBC micro:bit allows tw...
Excl. VAT: £12.46 Incl. VAT: £14.952
Break out all 21 pins of the BBC micro:bit and easily connect addition...