KS0426 Keyestudio Micro：bit Mini Smart Robot Car Kit V2
Micro:bit is significantly applied to STEM education for teenagers, as a small microcontroller, which features small in size, easy to carry, and powerful function. At present, innovative technology products, like robots, wearable devices and interactive electronic games can be produced by programming and code.
In this kit, we will guide you how to control and generate a Micro:bit turtle smart car through programming in Makecode.
MakeCode is a framework for creating interactive and engaging programming experiences for those new to the world of programming. The platform provides the foundation for a tailored coding experience to create and run user programs on actual hardware or in a simulated target.
To make you deeply know the micro:bit, we provide test code and projects.
The Keyestudio micro:bit smart car integrates obstacle avoidance, line tracking and IR and Bluetooth control functions. It contains passive buzzer, ultrasonic sensor, KEYES-2812-18R module, IR obstacle avoidance sensor and so on.
The passive buzzer makes music play, a KEYES-2812-18R module can display different effects, a photoresistor can detect light intensity.
Simultaneously, this smart car is chargeable. You only connect power to the port of battery holder.
1)Voltage: DC 5V 2)Current: USB power supply or power supply with a capacity greater than or equal to 2A 3)Maximum power: maximum output power is 10W 4)Operating temperature range: 0-50 degrees Celsius 5)Dimensions: 120*90.7mm 6)Environmental attributes: ROHS
Set up your micro:bit
For more details, enter the website please：https://microbit.org/guide/
- NRF51822 processor（16 MHz 32bit, ARM Cortex-M0, Bluetooth 4.0 low consumption/2.4GHz RF wireless, 16kB RAM and 256kB Flash）
- KL26Z micro controller（48 MHz ARM Cortex-M0+ core,128 KB Flash）
- 25 pcs programmable LEDs
- 2 programmable buttons
- Physical pins
- Light and temperature sensors
- Accelerometer(MMA8652 and I2C get the data from accelerator sensor)
- Geomagnetic sensor/compass (MAG3110, I2C obtain three-axis geomagnetic data)
- Wireless communication，by radio and Bluetooth.
Micro USB port
More details, please enter website：https://microbit.org/guide/features/
The details of micro:bit board: https://tech.microbit.org/hardware/
Before getting started with the following projects, firstly need to figure out each pin of micro:bit main board.
The BBC micro:bit has 25 external connections on the edge connector of the board, which we refer to as“pins”. The edge connector is the gray area on the right side of the figure below. There are five large pins, that are also connected to holes in the board labeled: 0, 1, 2, 3V, and GND. And along the same edge, there are 20 small pins that you can use when plugging the BBC micro:bit into an edge connector.
Please refer to the following diagram shown below.
More details you could refer to the official website：https://microbit.org/guide/hardware/pins/
Install Drive of Micro:bit Board
1)First of all, connect the micro:bit to your computer using a USB cable.
And enter website https://fs.keyestudio.com/KS0426Driver to download the driver file of micro:bit, double-click ，
Tap “Finish”. Then click“Computer”—>“Properties”—>“Device manager”, as shown below.
Keyestudio Micro:bit Mini Smart Car
The keyestudio micro:bit smart car is supplied power by a 18650 battery or USB port. The battery is rechargeable and maximum current is 700 mA. Note: the battery is not included in this kit.
Show the working status of keyestudio micro:bit smart car.
1.Install base plate of micro:bit mini smart car
(Take out the two self-tapping screws of universal wheels first, we provide the 2 pcs longer self-tapping screws to replace them, and don’t screw them too tightly）
4.Install Micro:bit Board
Code and Programming
We take Windows system as example to show you.
Get started with Micro:bit: Https://microbit.org/guide/quick/
Step 1: Connect Micro：bit Board
Link micro:bit board to computer with USB cable.（Guide to mobile apps：https://microbit.org/get-started/user-guide/mobile/） Macs ,PCs, Chromebooks and Linux system（including Raspberry Pi）support micro：bit.
There will be a MICROBIT drive in your computer, as shown below:
Step 2: Programming
We recommend you to use Google Chrome
Enter https://makecode.microbit.org/ then click and you will view the dialog box.
Input“heartbeat”to name your project and click “Create”
Through MakeCode editor, you just need to drag blocks into code editing area to design program. There is a video to show you how to finish“heartbeat”pattern.
Next, we will introduce Makecode.
Step 3: Download Code
Enter Makecode editor, tap“Download”to get a“hex”file. Then copy it into MICROBIT drive.
Get “hex” file firstly, drag or copy it in MICROBIT drive. Then hex file will be copied on MICROBIT drive.
After the hex file is copied, the indicator of micro：bit board will be always on.
Step 4: Run program
Upload code on micro:bit board and plug in power with USB cable.
5 x 5 LED dot matrix will display heartbeat pattern.
micro USB for power supply