This tutorial uses microbit V2.0, and K210 requires running the program in * * K210-AI (microbit) * * to start the experiment Microbit * 1 Eyu clip * 3 Several DuPont Lines K210 perspective module * 1 (requires SD card (with AI model inside) and camera) USB to TTL module * 1 Import k210AI library:https://github.com/YahboomTechnology/K210-Module
microbit | USB to TTL module |
---|---|
P1 | RXD |
GND | GND |
microbit | k210 |
---|---|
P2 | TXD |
GND | GND |
Wiring as shown in the diagram: |
From the code, simply configure the serial port and call the relevant serial port and K210 building blocks for data acquisition -Msg: It is the result of object detection The meaning of numbers is represented as follows: 0. Aircraft, 1. Bicycle, 2. Bird, 3. Boat, 4. Bottle, 5. Bus, 6. Car, 7. Cat, 8. Chair, 9. Cow, 10. Dining Table, 11. Dog, 12. Horse, 13. Motorcycle, 14. Person, 15. Potting, 16. Sheep, 17. Sofa, 18. Train, 19. Monitor
This experiment displays the results of object detection
Website of K210 library:https://github.com/YahboomTechnology/K210-Module