00 - Quick Start
Introduction
By reading this chapter, you will learn how to use the product from scratch. If you are a beginner with no programming experience, please follow the steps carefully.
Software Preparation
Kittenblock is a PC-side graphical programming software independently developed by Shenzhen KittenBot Technology since 2016. It connects software and hardware programming, supports KittenBot hardware and popular hardware such as Microbit and Arduino on the market. It is famous for its rich AI plug-ins, and it combines a variety of AI plug-ins and IoT plug-ins. It supports one-click conversion to Python and one-click import of the original project. The complete and rich plug-ins enable users to avoid frequently changing software, break the knowledge barriers, and reduce the learning costs and thresholds for users, so that users can focus more on creative project production. Since its launch in 2016, Kittenblock has entered more than 2,000 schools and institutions, providing primary and secondary schools with low-threshold and low-cost AI learning and education solutions.
The Grapebit is supported in the latest Kittenblock1.89 version. Please download the software before use.
Click to download Kittenblock1.89 WIN Click to download Kittenblock1.89 MAC
Connecting the Mainboard
Wired Connection
Connect the Grapebit to the computer with a Type-C USB data cable.
Having trouble?
- Use the original data cable if possible, or make sure the data cable has data communication function (not just a charging cable).
- If you are using a desktop computer, it is recommended to use the USB port on the back of the computer case to ensure sufficient power supply (avoid using a splitter if possible).
Open the Kittenblock programming software => Select Hardware => Grapebit
Connect to the serial port
Connection completed
Wireless connection
Wireless connection is based on grape board Bluetooth. Please follow the following steps to complete Bluetooth connection:
Powered by battery or USB data cable
When using battery power, the semi-load battery power switch needs to be turned on, as shown in the figure, turn it to the side marked with BAT
Press the grape board reset button to restart the grape board. Note that there is about 3s of white RGB rotation during startup. During this time, press any A or B button, and the RGB light turns blue to indicate successful entry into Bluetooth mode
After selecting the grape board on the software side, select
Wireless connection
in the connectionWait for the device to be found, and the target hardware is the one that starts with grapebit
The connection is complete, and you can proceed to the next step
Two control modes
There are two hardware control modes in Kittenblock, Stage interaction
and Code upload
Case 1 - Control hardware playback
Drag and drop the Buzzer building block from the left column and click on the building block. You can hear the Buzzer Board making a sound.<br />
Case 2 - Controlling the Stage Character with a Gyroscope
Drag the Attitude Angle Block from the Grapebit column on the left and select the Left Tilt and Right Tilt attitudes using the drop-down box.
<br />
Assemble the program as shown in the diagram. The sprite's angle is changed based on the Grapebit attitude feedback.
Effect Demonstration
Uploading Programs
When the main control board needs to run a specified program without a computer, the program needs to be uploaded to the hardware. The grape board will check the main.py file in the file system by default when it starts up and execute the program in the file. The program to be uploaded cannot contain building blocks related to the stage or characters outside the hardware. Build the program as shown in the figure, switch to the code window (upload mode), and click upload