Product Introduction
Accurately tap into the potential of K10 and enable convenient and efficient teaching applications.
This product is an expansion board specially designed for the UNIHIKER K10. It features complete pins, a clear and intuitive functional design, and detailed silk-screen labels on the interfaces. It is quick to get started with, allowing users to begin using it without the need to consult additional tutorials.
Functions and Features
- Comprehensive of IO Ports and Integration of Rich Functions:
- Fully lead out all IO ports of the K10 mainboard.
- Integrate multi-functional C ports (C0-C3): There are 4 channels in total, each supporting analog input, digital input/output, and can easily read data from 18B20 temperature sensors and DHT11/DHT22 temperature and humidity sensors.
- Stable and Reliable Servo Drive:
- Provide 4 dedicated servo interfaces (S0-S3), supporting simultaneous control of four-channel servos.
- Key design: The servo power supply adopts a direct supply mode from the power input end, ensuring stable power supply when multiple servos work together, and avoiding servo jitter or failure caused by voltage drop.
- Optimized for AI Devices:
- Equipped with a dedicated I2C interface for HuskyLens AI camera.
- Key design: It also uses a direct supply mode from the power input end to provide sufficient and stable working current for HuskyLens, ensuring reliable operation during its recognition process.
- Flexible and Convenient Power Supply Design:
- Adopt Type-C interface to input 5V power, with strong compatibility.
- Support power supply from common mobile phone chargers, power banks or computer USB ports, making power acquisition convenient and improving flexibility in teaching scenarios.
- Compatible with micro:bit:
- The mainboard socket is fully compatible with all series of micro:bit mainboards (V1/V2).
- Considerate design: Onboard buzzer and MicroUSB interface (for micro:bit power supply) to meet compatibility requirements.
- USB anti-misinsertion: The physical layout of MicroUSB and Type-C interfaces has been carefully calculated with reasonable spacing design. It not only ensures smooth plugging and unplugging operations of each, but also effectively prevents risks such as short circuits caused by students mistakenly inserting both for power supply at the same time.
Product Features
- Fully leads out all IO ports of K10.
- Interfaces are clearly labeled, allowing for quick identification of their functions without the need to consult tutorials.
- 4 multi-functional interfaces (C0-C3).
- 4 servo interfaces.
- Onboard dedicated I2C interface for HuskyLens AI camera.
- Power supply via Type-C and MicroUSB, with anti-misinsertion design for both.
- Compatible with micro:bit.
Specification Parameters
Power Supply Parameters:
- Interfaces: TYPE-C, MicroUSB
- Input Voltage: DC 5V
- Power Switch: Connect or disconnect 5V power supply
- Power Indicator: Red LED
Expansion IO Ports:
- Number of IO Ports: *19 (functions consistent with K10)
- IO Expansion Port Voltage: DC 3.3V
- Number of 3.3V I2C Interfaces: *2
- Number of 5V I2C Interfaces: *1
Multifunctional Interfaces:
- Number of Multifunctional Interfaces: *1
- Multifunctional Interface Numbers: C0, C1, C2, C3
- Multifunctional Interface Voltage: DC 3.3V
Servo Interfaces:
- Number of Servo Interfaces: *4
- Servo Power Supply Voltage: DC 5V (power supply voltage)
Buzzer:
- Buzzer Specification: Passive buzzer
- Number of Buzzers: *1
- Buzzer Interface: P0
- Buzzer Switch: Connect or disconnect P0 port
Product Dimensions:
- PCB Dimensions: 66mm (length) * 50mm (width) * 12mm (height)
- Mounting Hole Diameter: 3.1mm
- Mounting Hole Spacing: 55mm
Function Indicator Diagram
Function Description:
- The TYPE-C power port and MicroUSB power port must not be plugged in simultaneously.
- The expansion IO ports and I2C interfaces are compatible with both Xingkong Board and micro:bit motherboards.
- The buzzer is only applicable to the micro:bit motherboard.
- The servo ports S0-S3 are only applicable to K10.
- The multi-functional C ports C0-C3 are only applicable to K10.
Connection Method of the K10/micro:bit
Insert the UNIHIKER K10 and micro:bit into the expansion board with their front sides (display sides) facing up, as shown in the figure:
Note: Do not insert the mainboard reversely. If inserted reversely, the mainboard will not work properly, and there is a risk of damaging the mainboard or the expansion board.
Load the Mind+ library
Step 1: Download and install Mind+: https://mindplus.cc/
Step 2: Click here to download the Mind+ library file for the K10 IO expansion board.
Step 3: Click the "Extensions" button:
Step 4: Select UNIHIKER K10:
Step 5: Import the user library: Click "Import User Library", find the downloaded user library file with the suffix .mpext, confirm and open it to complete the import.
Step 6: After successful loading, click the "Back" button to return to the main interface.
The following figure shows the user library that has been successfully loaded:
Application Example
The following example will use the Xingkong Board K10 for programming, with an external DHT11 temperature and humidity sensor connected to the expansion board to read the current ambient temperature.
Wiring Diagram:
As shown in the diagram, connect the DHT11 module to the C0 port of the expansion board.
- Black wire: GND, connected to the black "G" pin.
- Red wire: Positive power supply, connected to the red "3V3" pin.
- Green wire (or blue wire): Signal wire, connected to the blue "C" pin.
Mind+ Program:
Execution Effect:
As shown in the following diagram, the program reads the ambient temperature detected by the DHT11 connected to the C0 port and displays it on the screen of the Xingkong Board K10, with the temperature being 30.7℃.