BBC Micro:bit for sensing and control
As one of the "early adopters" of this site I am delighted to see how it has developed to its current format - with an extensive membership. I have just posted a resource which I hope members will find useful in getting started with programming the BBC Micro:bit for physical computing. This uses a very low cost self-assembly kit from Kitronik to build a buggy with its own motors, drivers and line-following sensors. The code enables you to determine which pins are used to control the motors, and how to use sensors. The line-follower uses LEDs and light-dependent resistors to sense changes between light and dark. The floor turtle just calibrates the motor controls to add turtle graphics commands for Forward, Back, Left and Right. The "bump-and-turn" robot uses the on-board accelerometer to detect a collision.