Example Code for UNIHIKER K10-Unmanned Supermarket Vending Machine

Last revision 2026/01/04

This article guides readers through the process of building an unmanned supermarket vending machine using UNIHIKER K10, RFID modules, and push buttons. It offers detailed hardware and software preparation instructions, wiring diagrams, and sample code, making it ideal for hands-on learning and creative projects.

Hardware Preparation

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

Software Preparation

  • Mind+ Upload Mode User Library Link:click here

Wiring Diagram

Other Preparation Work

  • 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.

Sample Code

Result

Was this article helpful?

TOP