Sengo1 AI Vision Card Maker Extension Kit
1. Introduction
Sengo1 AI Vision Card Maker Extension Kit includes a smart vision module specially designed for maker education, which is perfectly compatible with Lego building blocks and the Arduino ecosystem. This module integrates a multi-core AI processor and supports 8 machine vision functions such as color recognition, face detection, ball and QR code recognition. Through plug-and-play hardware interfaces and open-source projects, students can quickly build vision-driven projects such as cars and robotic arms, and easily from graphical programming to Python/Arduino code development. What an ideal teaching aid for cultivating AI thinking and engineering capabilities!
Features:
Compatible with LEGO
Modular snap-on design, directly embedded in the Lego technic structure
Full-stack Visual Capability
Basic → Advanced → Developed: Color recognition → QR code recognition → Ball detection → body detection
Multiple Programming Languages
KidsBlock graphical programming (primary and secondary school students) + Arduino/C++/MicroPython (high school/university students)
High Compatibility
Compatible with development boards such as Arduino UNO, Arduino Nano, ESP32, and Pico
2. Kit List
N.O. |
NAME |
QTY |
PIC |
|---|---|---|---|
1 |
Sengo1 AI vision module |
1 |
|
2 |
wires |
1 |
|
3 |
Lego technic pin black |
6 |
|
4 |
Lego 1x3 technic long pin blue |
4 |
|
5 |
Lego 1*11 brick |
2 |
|
6 |
Lego 1*9 brick |
2 |
|
7 |
red card |
1 |
|
8 |
green card |
1 |
|
9 |
blue card |
1 |
|
10 |
black card |
1 |
|
11 |
white card |
1 |
|
12 |
QR code Red |
1 |
|
13 |
QR code Green |
1 |
|
14 |
QR code Blue |
1 |
|
15 |
QR code Black |
1 |
|
16 |
QR code White |
1 |
|
17 |
traffic card forward |
1 |
|
18 |
traffic card left-turn |
1 |
|
19 |
traffic card right-turn |
1 |
|
20 |
traffic card U-turn |
1 |
|
21 |
traffic card stop |
1 |
|
3. Sengo1 Vision Sensor
3.1 Introduction
Sengo1 vision sensor is an image recognition device for artificial intelligence education in primary and secondary schools. It adopts dual-core ESP32 processor, and comes with various offline image recognition algorithms, such as handling recognition of colors, line, face, QR code, and traffic cards, etc. It communicates with the main control board via UART serial port or I2C. Besides, its back is equipped with a 1.3-inch full-view high-definition LCD screen, which can display the image and recognition results in real time, facilitating operation and debugging.
Sengo1 supports mainstream educational development boards such as Arduino, Micro:bit, Source Master, ESP32, etc. It also supports graphical programming platforms like MakeCode, Mixly, KidsBlock, and code editors like Arduino and Thonny. The official provides a variety of driver libraries to meet the needs of primary and secondary schools to carry out artificial intelligence education and AI competitions, and it is also suitable for individual students or makers to design AI vision products.
The sensor is lightweight and easy to use, and is surrounded by 12 Lego positioning holes for users to build and innovate products, theme teaching and competition designs.
3.2 Component Overview

Camera: Collect image data
Screen: Display camera images and algorithm detection results in real time for observation and debugging
Communication interface: Achieve data communication between the sensor and the main control device, adopt a PH2.0-4Pin interface and support two communication modes of UART serial port and I2C
Function button: Short-press to quickly switch algorithms, long-press to train/delete data, press upon start-up to enter the firmware burning mode
Mode button: Short-press to switch communication mode, long-press to flip the camera image
Reset button: Reset hardware and is generally used for firmware burning
RGB LED: Different colors reflect the status recognized by the algorithm, and the LED colors can be set by programming
Power indicator: After powering on, this LED will remain constantly on
Heartbeat indicator: When the device is operating normally, this LED will flash rhythmically, just like a heartbeat
Positioning holes: Multiple 4mm positioning holes are reserved around the device, with a spacing of 16mm or 32mm, compatible with Lego building blocks
3.3 Parameters
Name |
Unit |
Parameter |
Remarks |
|---|---|---|---|
Input voltage |
V |
3.3-5.0 |
Beyond this range, it may cause abnormal operation or damage to the equipment |
Operating current |
mA |
110@5V |
5V power supply, the typical value when the face algorithm is enabled |
IO level |
V |
3.3-5.0 |
IO level is consistent with the input voltage. It cannot be adapted to the 1.8V main control device |
Dimensions |
mm |
40x40x12.5 |
edge dimensions of the shell, with buttons slightly higher than the shell |
Weight |
g |
15 |
|
Camera type |
/ |
CMOS |
|
Camera resolution |
pixel |
30W |
VGA lens, with a maximum resolution of 640x480 |
Field of view of the lens |
degree |
83 |
Diagonal Angle of the picture with infrared filtering |
Screen type |
/ |
TFT |
262K color, full viewing Angle |
Screen size |
inch |
1.3 |
Diagonal Angle of the picture, with a resolution of |
LED indicator |
piece |
4 |
Programmable RGB-LED X2, power indicator, heart rate indicator |
Button |
piece |
3 |
Function, mode, reset buttons |
Communication interface |
port |
1 |
PH2.0-4pin interface |
Communication mode |
/ |
UART, I2C |
UART serial port and I2C mode |
Hardware address |
/ |
0x60 |
7-bit I2C bus address |
Positioning holes number |
hole |
12 |
on the front and back sides, both sides and the bottom of the shell |
Center distance of the positioning holes |
mm |
16, 32 |
|
Diameter of positioning hole |
mm |
4 |
Compatible with Lego technic blocks |
3.5 Wiring
3.5.1 Interface Definition

Pin Number |
Label |
Function |
UART |
I2C |
|---|---|---|---|---|
1 |
R/D |
Signal 1 |
RX |
SDA |
2 |
T/C |
Signal 2 |
TX |
SCL |
3 |
GND |
Power Ground - |
GND |
GND |
4 |
VCC |
Power Supply + |
VCC |
VCC |
Please make sure all wiring is correctly connected before powering on. Incorrect wiring may result in the device malfunctioning or even permanent damage.
3.5.2 Communication Mode
• I2C : This mode follows the I2C bus communication protocol, supports communication speeds of 100~400Kbps. The device address is 0x60. Only one-byte read/write operations are permitted, batch read/write operations for consecutive addresses are not supported.
• UART-9600 serial port protocol, UART-57600 serial port protocol, UART-115200 serial port protocol : These three modes are serial communication modes based on UART, with the numbers representing the baud rates, following the AITosee Standard Command protocol. This protocol includes a checksum for stable and reliable data transmission. Select an appropriate baud rate based on the performance of the main controller. A Higher baud rates will reduce communication time and improve the system’s response speed. Lower baud rates are suitable for the main controller using the software serial method or communication via a longer cable.
• UART-9600 simple protocol : Serial communication mode with a baud rate of 9600, following the AITosee Simple Command protocol. The main controller only needs to send and receive strings to start the algorithm and obtain results, without the need to develop a dedicated driver library. This protocol is compatible with any controller that supports UART communication mode.
3.5.3 Wiring Method
Sengo1 is compatible with a variety of main controllers. This manual uses the UNO as an example to illustrate the wiring method. For other development boards such as Micro:bit, Pico, ESP32 development board, etc., please refer to their respective documentation and user guides.
Sengo1 supports a power supply voltage of 3.3V to 5V. Choose an appropriate power source based on the power supply capacity of the main controller. If the power source is unstable or has limited load capacity—especially when devices like motors, servos, or speakers share the same power supply with the Sengo1—power instability may occur, potentially causing the Sengo1 to restart unexpectedly.
3.5.3.1 Hardware UART Serial Mode

In the hardware UART mode, the RX pin of Sengo1 needs to be connected to the TX pin of Arduino, and the TX pin of Sengo1 should be connected to the RX pin of Arduino.
Some main controller, such as the Arduino UNO, only have only one hardware port, which is used for program downloading and code debugging. If Sengo1 is directly connected to this port, communication conflicts often occur. It is recommended to use I2C mode to reduce the difficulty of wiring and the probability of errors.
3.5.3.2 Software Analog Serial Mode

Also known as software serial mode. In the program, two general-purpose IO pins of Arduino are respectively defined as TX and RX pins, the software controls the voltage level changes of these two IO pins to simulate the signal waveforms of the UART port, thereby relizing data communication.
In the example diagram, Arduino IO pin 10 is defined as the RX pin, and pin 11 is defined as the TX pin. The pin definition code for Software Serial in the Arduino IDE is as follows:
#include <SoftwareSerial.h>
#define TX_PIN 11
#define RX_PIN 10
SoftwareSerial mySerial(RX_PIN, TX_PIN);
Note: In software serial mode, it is recommended to set the communication baud rate to 9600~57,600. Data transmission may fail under a high baud rate.
3.5.3.3 I2C Mode

Connect the T/C pin of Sengo1 to the SCL pin of the main controller, and the R/D pin of Sengo1 to the SDA pin of the main controller. To ensure stable communication, the length of the I2C communication wires should be kept as short as possible. Excessive cable length may lead to communication errors or instability.
3.6 Running Page

Algorithm State: Displays the algorithm currently running.
Firmware Version: Shows the current firmware’s version .
Image Area: Displays the real-time images.
Markers: Mark a detected object, including a detection box ,coordinate lines and size and label information.
Frame Rate: Indicates the frame rate at which the algorithm is operating. Different algorithms may run at different speeds, and lighting conditions can also affect the frame rate.
Communication Mode: Shows the communication mode currently in use.
3.7 Result Display

Coordinate System: Sengo1 uses the Percentage Coordinate System. The image is divided into 100 units along both the horizontal (X) and vertical (Y) directions. The top-left corner of the camera image is the origin (0,0), and the bottom-right corner is (100,100). The center of the image corresponds to (50,50).
Detection Results: When an object is detected or recognized, different algorithms may return different recognition results, normally including center coordinates, width and height of the object, and classification label. All of the above information will be displayed on the screen for observation and debugging. Since Sengo1 does not actively send out data, the results need to be read through protocol instructions.
Horizontal Coordinate (X): The horizontal position of the object’s center, range: 0–100.
Vertical Coordinate (Y): The vertical position of the object‘’’s center, range: 0–100.
Width (W): The width of the rectangle detection box, range: 0–100.
Height (H): The height of the rectangle detection box, range: 0–100.
Label (L): A numeric ID representing the detected object type in classification-capable algorithms. The meaning of the same label differs depending on the algorithm. For example, for algorithm Color, label=3 represents red, while for algorithm Card, it represents Right-turn.
Special: The algorithm Color returns RGB values. The algorithm Line returns coordinates of two endpoints and the inclination angle. The algorithm QR Code returns the character information encoded in the QR code. For more details, refer to the specific algorithm descriptions.
3.8 Algorithm
Sengo1 integrates multiple practical and easy-to-use offline algorithms, each assigned a unique ID. The ID serves as the sole identifier for communication between the main controller and Sengo1, and is used to control algorithm activation, set parameters, and acquire results.
Algorithm ID |
Name |
Description |
|---|---|---|
1 |
Color |
Returns color information (RGB values and a classification label) of a specified recognition region. |
2 |
Blob |
Detects whether there is a blob with specified parameters in the image, supporting the detection of color blocks of any one of black, white, red, green, blue or yellow. |
3 |
Ball |
Detects whether there is an orange table tennis ball or a green tennis ball in the image. |
4 |
Line |
Detects a line segment in the image and returns the coordinates of the two endpoints and the inclination angle. |
5 |
Null |
|
6 |
Card |
Recognizes a set of 5 predefined traffic-sign cards. |
7 |
Body |
Detects whether there is a person in the field of view according to the the outlines of a head and shoulders. |
8 |
Face |
Learns and recognizes up to 10 human faces. |
9 |
QrCode |
Detects and decodes a QR code generated by up to 10 characters. |

























