Creative Robotics Kit for micro:bit

Creative Robotics Kit for micro:bit

The Creative Robotics Kit for micro: bit is an advanced robot construction platform with micro: bit as its core, integrating key components such as desktop robot chassis, exclusive micro: bit expansion board, high-performance servos, precise tracking sensors, and ultrasonic sensors. The top plate design is clever and can perfectly adapt to 9g metal servos, and is equipped with convenient sensor fixing holes, greatly simplifying the installation process of ultrasonic sensors, expansion boards, and other sensors.

Its IO expansion board is powerful, equipped with 10 flexible digital/analog 3Pin interfaces and 3 efficient IIC interfaces, providing users with a vast space for device expansion and control. It is worth mentioning that the expansion board is equipped with dual motor drivers, effectively releasing the pin resources of the micro: bit. In addition, the expansion board cleverly introduces the micro: bit's gold finger interface (covering 0, 1, 2, 3V, GND), further enriching developers' interface options and enhancing project flexibility and creativity.

Diagram

Installation video linkhttps://drive.google.com/drive/folders/1tooC-M4nx9ka8Kt9ihZIWiPlmes855er?usp=sharing

functional module

IO Expansion Board(SKU:MBT0014)

MiniQ Desktop Robot Chassis(SKU:ROB0049)

Maqueen wheels(SKU: FIT0494)

output module

9g 180° Micro Servo (1.6kg)(SKU:SER0006)

9g 360 degree Micro Servo(1.6kg)(SKU:SER0043)

WS2812 RGB LED strip(FIT0656)

Input module

URM09 Ultrasonic Distance Sensor(SKU:SEN0388)

Digital Line Tracking Sensor(SKU:SEN0017)

Analog Soil Moisture Sensor(SKU:SEN0114)

DHT11 Temperature &Humidity Sensor(SKU:DFR0067)

Analog Ambient Light Sensor(SKU:DFR0026)

Digital PIR (Motion) Sensor(SKU:SEN0171)

Usage Tutorial

MakeCode example(for micro:bit)

Makecode online programming address: https://makecode.microbit.org.

Please copy the library link address and paste it into the Makecode extension to search: https://github.com/DFRobot/pxt-DFRobot_creative-robotics-kit

Project 1 - Motor Rotation

Sample Project:Control the robot platform to move forward for 0.5 seconds; move backward for 0.5 seconds; pause for 0.5 seconds; turn right for 0.5 seconds; turn left for 0.5 seconds; pause for 0.5 seconds.

Hardware Connection

Sample Program

Sample Effect

Project 2 - 180-degree servo

Sample Project:Control an 180-degree servo to rotate from 10 degrees to 170 degrees, and then from 170 degrees back to 10 degrees.

Hardware Connection

Sample Program

Sample Effect

Project 3 - 360-degree servo

Sample Project:Control a 360-degree servo to rotate forward at 50% speed for 5 seconds, and then reverse its rotation at 50% speed for another 5 seconds.

Hardware Connection

Sample Program

Sample Effect

Project 4 - RGB LED strip control

Sample Project:Set the color of 7 LED beads to a rainbow gradient, with a brightness of 255, and control the beads to shift by one unit every 0.1 seconds in a cyclic manner, achieving a running light effect. Hardware Connection

Sample Program

Sample Effect

Project 5 - Motion Sensor Switch

Sample Project:When the PIR (Motion) Sensor detects a person, the servo rotates to 170 degrees; when it detects that the person has left, the servo rotates to 10 degrees.

Hardware Connection

Sample Program

Sample Effect

Project 6 - Light-controlled lamp

Sample Project:When the value detected by the photosensor is greater than 512 (simulating daylight), the RGB light turns off; when the value detected by the photosensor is less than or equal to 512 (simulating darkness), the RGB light turns on.

Hardware Connection

Sample Program

Sample Effect

Project 7 - Ultrasonic ranging

Sample Project:Display the distance detected by the ultrasonic sensor on the dot matrix screen of the micro:bit.

Hardware Connection

Sample Program

Sample Effect

Project 8 - Soil Moisture Detection

Sample Project: Display the soil moisture value detected by the soil moisture sensor through the serial port.

Hardware Connection

Sample Program

Sample Effect

Project 9 - Temperature detection

Sample Project:Display the temperature value detected by the temperature and humidity sensor on the micro:bit's LED matrix display.

Hardware Connection

Sample Program

Sample Effect