KOI Programming with KittenBlock QuickStart

KOI can also be programmed using KittenBlock.

Connecting the KOI

First, we need to establish connection with the KOI in KittenBlock.

Connect your KOI to the computer using a USB cable.

Select KOI from the hardware selector.

../../_images/connect1.png

Click “Connect” or click the exclamation mark icon.

../../_images/connect2.png

Click “Connect”.

../../_images/connect3.png

Wait for a few seconds.

../../_images/connect4.png

Test the connection by clicking on any block.

../../_images/connect5.png

KOI Programming on KittenBlock Guide

Basic Operations

../../_images/blocks1.png

Sample Program

../../_images/code1.png

Image Classifier

../../_images/blocks2.png

Sample Program

Model Training

../../_images/code2.png

Image Classification

../../_images/code3.png

Face Detection

../../_images/blocks3.png

Sample Program

../../_images/code4.png

Geometric Shapes Detection

../../_images/blocks4.png

Sample Program

../../_images/code5.png

Color Tracking

../../_images/blocks5.png

Sample Program

../../_images/code6.png

Barcode and QR code Scanner

../../_images/blocks6.png

Sample Program

../../_images/code7.png

Voice Recognition

../../_images/blocks7.png

Sample Program

../../_images/code8.png

IOT

../../_images/blocks8.png

Sample Program

../../_images/code9.png

Face Recognition(Requires Internet Connection)

../../_images/blocks9.png

Sample Program

../../_images/code10.png

../../_images/code11.png

Troubleshooting

1. Clicking on the blocks has no effect after connecting the KOI.

The firmware may be outdated, use the firmware update function to undate the firmware.

2. Running the image classifier returns an undefined error.

The Classifier hasn’t been reset, reset the classifier and try again.

3. Can I upload the program to run on the KOI?

Yes, the KOI will run the main.py on startup.