4. case 01 Add Package#

This ElecFreaks Ring:bit Car package was developed by ElecFreaks with minor assistance from Tinkercademy.

4.1. What is ring:bit car ?#


Ring:bit Car is a DIY smart car which is based on BBC micro:bit and ELECFREAKS ring:bit. Ring:bit has extended 3 channels of GPIO, among which 2 channels are used for driving servos and one channel of GPIO is undefined. The basic version of ring:bit car can realize functions like road design, wireless remote control, graphic drawing etc.. By increasing other sensors’ extension, this car can also realize functions line follow, light tracking, barrier avoidance and so on.

1

4.2. How to add ring:bit car package?#


Click Add Package and then search for ringbit so that you can add ring:bit car package.
../../_images/Ruh0MxU.png

../../_images/kiO9N67.png

4.3. Introduction of Major Bricks#


set left wheel pin and right wheel pin#

../../_images/aq4GLkQ.png

Initialize the pins of left and right servos. By default, connect the left servo to P1 and the right servo to P2.

Note: The direction of left or right all depends on the driver’s view.

move forward#

../../_images/QLVHllr.png
The two wheels move forward at full speed.

move back#

../../_images/ToNFNcW.png
The two wheels move backward at full speed.

turn left#

../../_images/KkLjxFP.png
Turn left.(The left wheel move backward while the right wheel move forward.)

turn right#

../../_images/sjq6PSt.png
Turn right.(The left wheel move forward while the right wheel move backward.)

break#

../../_images/fDaWOeJ.png
Stop moving.

4.4. Others#


More senior functions are in developing.

../../_images/D5VkmRg.png