Product Introduction

This is a multifunctional expansion board specially designed for maker education, compatible with UNIHIKER K10 & M10 and micro:bit. It integrates LEGO-style building, sensor applications, and robot control into one device. The base adopts standard LEGO pin holes, ensuring full compatibility with LEGO structures for fast and creative assembly. The board comes with built-in motor and servo drivers and supports mainstream sensor interfaces such as Gravity, Boson, and HuskyLens for true plug-and-play functionality.

Whether for robot programming, sensor experiments, IoT applications, or interactive art installations, this expansion board handles it all with ease. It combines the creative fun of LEGO building with the versatility and scalability of open-source hardware.

Teachers can effortlessly conduct a robotics class; makers can assemble an AI-powered car within 30 minutes; and artists can use it as the intelligent core of an interactive installation.

Application Scenarios

  1. Robotics Programming
  2. Sensor Experiments
  3. IoT Projects
  4. Creative Projects and Art Installations

Hardware Overview

1. Key Features

  • Full Sensor Ecosystem Compatibility: Natively supports both Gravity and Boson sensor systems for true plug-and-play functionality.

  • AI Vision Ready: Directly connects to the HUSKYLENS AI Camera, enabling AI features such as face recognition, color tracking, and tag reading with ease.

  • Seamless LEGO Integration: The bottom adopts standard LEGO pin holes, allowing quick assembly with bricks, beams, axles, and wheels to turn electronic expansions into movable models.

  • Triple Mainboard Compatibility: Fully supports micro:bit and UNIHIKER K10 & M10, offering seamless switching between three popular controllers with a single expansion board.

2. Pin Description

Special Notes

  • The expansion board can only be powered by a lithium battery. The Micro port on the board and the PH2.0 solar interface at the bottom are for charging purposes only.

  • The Type-C port can be used for charging and also supports data communication with the UNIHIKER M10.

  • Since the RGB LED is connected to the P1 pin, it may light up unintentionally when the P1 pin is occupied by a program. This is a normal phenomenon and does not affect functionality.

3. Product Dimensions

User Guide-micro:bit(MakeCode & Mind+)

MakeCode User Library Link:https://github.com/cdjq/pxt-expansion-board-for-microbit-k10
Mind+ Upload Mode User Library Link:https://gitee.com/yxniu/ext-expansion
Mind+ Python Mode User Library Link:https://gitee.com/yxniu/ext-expansion

Project1-Blinking LED

Project Description:By outputting high and low signals on pins C0–C2, control the LEDs to blink in a cycle, lighting for one second and turning off for one second.

Hardware Connections:Connecting LEDs to C0, C1, and C2

Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_2Lh6euLtHVjd
Mind+ Program Screenshot

Running Effect

Project2-Button Fan

Project Description:When the button module is pressed, C1 outputs a high level (fan rotates); when the button module is released, C1 outputs a low level (fan stops).

Hardware Connections:Connect the button module to pin C0 and the fan module to pin C1.

Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_JgHekEeysaqY
Mind+ Program Screenshot

Running Effect

Project3-Read Rotary Knob Analog Value

Project Description:Read the analog value from pin C0 and print it through the serial port. The maximum value is 4095 and the minimum value is 0.

Hardware Connections:Connect a rotary knob to pin C0.

Program Screenshot:

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_965hhee1KRwV
Mind+ Program Screenshot

Running Effect

Project 4-Button LED

Project Description:When the button module on pin P0 is pressed, the LED on pin P1 outputs a high level (LED lights up); when the button module is released, pin P1 outputs a low level (LED turns off).

Hardware Connections:Connect the button module to pin P0 and the LED module to pin P1.

Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_8kgTE13LYL0e
Mind+ Program Screenshot

Running Effect

Project 5-Adjustable-Speed Fan

Project Description:Map the analog value obtained from the rotary knob module to the fan’s analog output value. By adjusting the rotary knob, control the fan’s rotation speed.

Hardware Connections:Connect the fan module to pin P0 and the rotary knob module to pin P1.

Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_05vMfjALyJgt
Mind+ Program Screenshot

Running Effect

Project 6-180° Servo Rotation

Project Description:Continuously control the servo to rotate from 0° to 180°, then from 180° back to 0°.

Hardware Connections:Connect the 180° servo module to pin S1.

Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_g6JfwkWf4FEk
Mind+ Program Screenshot

Running Effect

Project 7-360° Servo Rotation

Project Description:Control the 360° servo on pin S2 to rotate forward at speed 100 for 5 seconds, then reverse for 5 seconds.

Hardware Connections:Connect the 360° servo to pin S2.

Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_VAi7XH9bT7Pw
Mind+ Program Screenshot

Running Effect

Project 8-Motor Control

Project Description:Control the motors on pins M1 and M2, rotating forward for 5 seconds and then reverse for 5 seconds.

Hardware Connections:Connect two motors to pins M1 and M2, respectively.

Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_gMrWjmePRhEy
Mind+ Program Screenshot

Running Effect

Project 9-Rainbow Running Lights

Project Description:Set the four RGB LEDs on the board to display rainbow colors and create a running light (marquee) effect.
Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_1MM6yVAvuW0u
Mind+ Program Screenshot

Running Effect

Project 10-Read Battery Level

Project Description:Print the obtained battery level through the serial port. The battery level value ranges from 0 to 100.

Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_576EWM6voeYF
Mind+ Program Screenshot

Running Effect

User Guide-UNIHIKER K10

Mind+ Upload Mode User Library Link:https://gitee.com/yxniu/ext-expansion

Special Notes

  • When the mainboard is UNIHIKER K10, the usage of the expansion board is the same as with micro:bit, so the general usage instructions will not be repeated.

  • To make learning more engaging and practical, we will combine the unique features of the K10 and use a series of creative mini-projects to guide students in mastering the basic use of pins in real-world projects.

Project 1-trolled “Mood Light”

Project Description:Use the rotary knob to adjust the “mood light.”When the knob value is less than 1065, the UNIHIKER K10 screen displays a “happy” emoji, and the RGB LED lights green.When the knob value is between 1065 and 2130, the screen displays a “neutral” emoji, and the RGB LED lights yellow.When the knob value is greater than 2130, the screen displays an “angry” emoji, and the RGB LED lights red.

Hardware List

  • UNIHIKER K10 *1
  • Rotary Switch *1

Hardware Connections

Program Screenshot

Running Effect

Project 2-Automatic Pet Feeder

Project Description:Use the UNIHIKER K10’s cat and dog detection feature. When the camera detects a cat or dog, the feeder automatically opens (servo rotates to 170°, simulating the opening action) to dispense pet food. After 2 seconds, the feeder closes (servo rotates to 10°, simulating the closing action). Additionally, the camera feed is displayed in real time on the UNIHIKER K10 screen.

Hardware List

  • UNIHIKER K10 *1
  • 180° Servo *1

Hardware Connections

Program Screenshot

Running Effect

Project 3-Smart Voice Switch

Project Description:Use voice control commands such as “Turn on/off the light,” “Turn on/off the fan,” and “Open/Close the window” to control the LEDs, fan, and servo connected to the expansion board to perform the corresponding actions.

Hardware List

  • UNIHIKER K10 *1
  • LED灯 *1
  • Fan Module *1
  • 180° Servo *1

Hardware Connections

Program Screenshot

Running Effect

Project 4-Unmanned Supermarket Vending Machine

Project Description:Build an unmanned shopping supermarket on the UNIHIKER K10 board. Use the RFID module to identify different products and calculate the total cost. After checkout, display a QR code of the total price on the UNIHIKER K10 screen for the user to scan and make payment.

Hardware List

  • UNIHIKER K10 *1
  • Push Button *2
  • RFID Radio-Frequency Identification Module *1
  • RFID Tag Card * 3

Hardware Connections

Program Screenshot

Running Effect

User Guide-UNIHIKER M10

Mind+ Python Mode User Library Link:https://gitee.com/yxniu/ext-expansion

Project1-Smart Control Panel

Project Description:This project uses the UNIHIKER M10 screen interface to achieve centralized control of common household appliances such as lights, windows, and fans. Users can operate devices individually or use a one-touch master control through the virtual buttons on the screen, experiencing the convenience and efficiency of a smart control panel.

Hardware List

  • UNIHIKER M10 *1
  • LED *1
  • Fan Module *1
  • 180° Servo *1
  • U-Shaped Type-C to HY2.0-4P Cable *1

Hardware Connections

Program Screenshot

Running Effect

Project2-Plant Irrigation System

Project Description:On the UNIHIKER board, the soil moisture status is displayed using two plant state images (wilting and healthy), and the real-time soil moisture data is sent to the SIoT platform. For more user-friendly watering control, there are two control modes: manual and automatic.

Manual Control:

Use the “On” and “Off” buttons in the manual control area to start or stop the water pump.

Automatic Control:

Use the “+” and “−” buttons in the automatic control area to adjust the soil moisture threshold suitable for plant growth. When the soil moisture sensor detects a value below the threshold, the water pump automatically turns on; otherwise, it turns off.

Hardware List

  • UNIHIKER M10 *1
  • Soil Moisture Sensor *1
  • Water Pump *1
  • Simple Relay *1
  • Battery Holder *1
  • AA Battery *4
  • U-Shaped Type-C to HY2.0-4P Cable *1

Hardware Connections

Program Screenshot

Running Effect

Comprehensive Project

Project 1-Smart Desk Lamp

Project Description:The desk lamp can automatically turn on or off based on ambient light intensity. When the detected light level falls below the set threshold (500), the lamp turns on automatically; otherwise, it turns off.

Hardware Connections

Module List

Program Screenshot

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_K8E3ksaY6C0y
Mind+ Program Screenshot

Running Effect

Project 2-Seesaw

Project Description:This project uses a motor to drive gears, causing the seesaw to move up and down. When the A button on the micro:bit is pressed, the motor rotates forward, making the seesaw rock like an amusement park ride. When the B button is pressed, the motor stops, and the seesaw comes to rest.

Hardware Connections

Module List

MakeCode Program Screenshot
Program Link:https://makecode.microbit.org/_hCTRoj0ca1eT
Mind+ Program Screenshot

Running Effect

More LEGO Creative Building Examples