0% found this document useful (0 votes)
63 views55 pages

AISTEAM User Guide

The AISTEAM User Guide provides comprehensive information on the AISTEAM educational robot developed by Shanghai NASHENBOT Co., Ltd., detailing its features, specifications, and installation procedures. It covers various core modules, including controllers, motor expansion modules, and sensors, along with their functionalities and interfaces. The document emphasizes the importance of adhering to product specifications and third-party service terms while using the robot.

Uploaded by

sh3y
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views55 pages

AISTEAM User Guide

The AISTEAM User Guide provides comprehensive information on the AISTEAM educational robot developed by Shanghai NASHENBOT Co., Ltd., detailing its features, specifications, and installation procedures. It covers various core modules, including controllers, motor expansion modules, and sensors, along with their functionalities and interfaces. The document emphasizes the importance of adhering to product specifications and third-party service terms while using the robot.

Uploaded by

sh3y
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 55

AISTEAM User Guide

Programming of Things Internet of Things

User Guide

Document Version V1.0.2

Release Date August 13, 2021

Shanghai NASHENBOT Co., Ltd.


AISTEAM User Guide

Copyright © 2021 Shanghai NASHENBOT Co., Ltd. reserves all rights.


Without the written permission and authorization of the company, no unit or individual can
extract or reproduce some or all of the contents of this document and shall not be able to
disseminate them in any form.
"NASHENBOT" is a trademark or registered trademark of Shanghai NASHENBOT Co., Ltd.
in Chinese mainland and/or other countries or regions, and the other products and trade
names mentioned are trademarks or registered trademarks of their respective holders.
Notification
Please read this instruction carefully before installing and using the product, and keep it
safe for future reference.
Some of the parts, features, and functions mentioned in this document are for illustrative
purposes only and may only apply to certain models of products. Nothing in this
document is a description of the specific specifications and configuration of the product,
unless otherwise expressly stated. For product specifications and configurations, please
refer to the product specifications or consult the product vendor.
The pictures and legends in this file are for example and illustrative purposes only and may
differ from the actual product, please take the actual condition of the product as the
standard.
The unofficial Internet sites mentioned in this document are provided for user-friendly
purposes only, and the information on these sites is not part of the official product
information, plus, we make no warranty on these websites and information.
Some features of the products are supported by third-party network services that are not
officially provided, guaranteed and supported and may be terminated or changed at any
time. The use of third-party services is governed by third-party, in terms of service and
privacy policies, which may differ from official provisions, and please read the third-party
terms carefully before using the relevant functions and services.
Nothing in this document constitutes an express/implied license or warranty to official or
third-party intellectual property rights. The software and Internet services mentioned are
used in accordance with the relevant licenses and/or service agreements.
The software provides with the products that may differ from the retail version of the
software and may not included in the user handbooks or all program functions. If you use
the software, external equipment or options provided with the product, or if you use the
software, external devices, or options that are not recommended or permitted in this
product specification document, you are solely responsible for the compatibility, reliability
and legality of the product.
Nothing in this document constitutes a change to the official product warranty policy.
The product performance data mentioned in this document is measured in a specific
environment and may differ from that measured in other operating environments. In
addition, some data may be deduced and the actual results may vary. Users of this file
should check the data that applies to their specific operating environment.
We have carefully revised and checked this document, but there is no guarantee that there

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

i
AISTEAM User Guide
will be no errors or omissions in this document. We may make changes to the contents of
this document from time to time or periodically, which will be reflected in the new version
of this document.
Shanghai NASHENBOT Co., Ltd.
Address: 600 Yunling West Road, Putuo District, Shanghai, 4th floor
Website: https://www.nashenbot.com
Service line: 400-001-8330

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

ii
AISTEAM User Guide

Preface

AISTEAM is the fifth generation of educational robot developed by NASHENBOT, it is the


artificial intelligence programming robot, which has the characteristics of "Programming of
Things" and "Internet of Things", and it is a product line that combines artificial intelligence,
robot and creator.
This handbook introduces the functions, specifications, software installation, function
debugging, etc. of the AISTEAM product line, so that users can understand and use
AISTEAM with convenience.

Revision Record

Time Revision Record

June 19, 2021 First release

August 12, 2021 1. Chapter 1, Section 2, add a description of the motor expansion
module ID
2. Chapter 1, Section 10, add a description of the V2 version of
the infrared barrier avoidance module
3. Chapter 1, Section 17, add a description of the encoder motor
module interface
4. Chapter 1, Section 18, add a description of the interface of the
V1 version of the ordinary motor module
5. The second one, section 4, menu bar: Set up, add a description
of modifying the motor expansion module ID
6. The second one, section 4 program module library: Intelligent
programming, increase the description of infrared barrier
avoidance
7. The second one, section 4 program module library : Motion
control, increase the description of ordinary motors

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

iii
AISTEAM User Guide

Catalog

Copyright © 2021 Shanghai NASHENBOT Co., Ltd. reserves all rights................i


Notification................................................................................................................. i
Preface.......................................................................................................................iii
Catalog......................................................................................................................iv

Chapter 1 Core module parameter.......................................................................1

1. Controller.........................................................................................................1

2.Motor expansion module................................................................................4

3. Expansion screen module.............................................................................. 5

4. Single-trail follow module............................................................................. 5

5. Switch module.................................................................................................5

6. Infrared remote control module....................................................................6

7. Sound strength detection module................................................................ 6

8. Light sensitivity detection module................................................................ 6

9. Temperature and humidity detection module.............................................7

10. Infrared barrier avoidance module............................................................. 7

11. Integrated grayscale module.......................................................................8

12. Fan module................................................................................................... 8

13. Monochrome light module..........................................................................8

14. Full-color light module................................................................................ 9

15. Buzzer module.............................................................................................. 9

16. Vision module............................................................................................... 9

17. Encoder motor module............................................................................10

18. Ordinary motor module...........................................................................10

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

iv
AISTEAM User Guide

19. Simulated steering gear module.............................................................11

20. Digital steering gear module...................................................................11

21. Expansion module.................................................................................... 11

22. Lithium battery module............................................................................12

Chapter 2 Operation Guide............................................................................... 14

1. Introduction.................................................................................................14

2. Download, update, and request................................................................14

3. Install............................................................................................................ 15

Prerequisite: The AIcode package has been obtained........................ 15

Operation steps:......................................................................................15

Verify the installation.............................................................................. 17

4. Get started...................................................................................................20

menu bar................................................................................................. 20

Toolbar.....................................................................................................21

Programming.......................................................................................... 29

Program modules library....................................................................... 30

Programming area..................................................................................48

4) Download area.................................................................................49

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

v
AISTEAM User Guide

Chapter 1 Core module parameter

This chapter introduces the core module functions included in the AISTEAM series products
and their interface descriptions.

*Due to differences in product configuration, the modules introduced in this chapter are
not included in all product models.

1. Controller

The controller adopts the ARM Cortex-M3 architecture, the main frequency is 72MHz, and
the interface supports the fusion of rich sensor actuators on three platforms: artificial
intelligence, robots, and makers; the shell is compatible with the LASY and LEGO build
systems.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd


AISTEAM User Guide
Interface function

Schematic diagram Mark Function

Turn on: Press and hold the button


for about 1 second in the off state;
Shut down: Press and hold the
button for about 1 second in the
power-on state;
Select program 1: short press once;
Select program 2: short press twice;
Select program 3: short press three
times;
Exit the program: short press once.

Support 5V, 485 communication bus


PH2.0-6pin interface AI vision
module, 2.4G wireless transceiver
P1~P2
module, voice recording and
broadcasting module, 2.8-inch LCD
display module, etc.

Support 7.4V output, steering gear


bus communication, digital steering
S1
gear with Molex5264-2.5-3pin
interface, etc.

Power interface: rated to support


7.4V1A power supply.

Support 5V output, IIC


communication, I/O digital input
and output, analog input, I/O
module with RJ11-6pin interface,
such as:
Single-channel tracking, switch,
A1~A4 temperature, humidity, sound
intensity, photosensitive, gyroscope,
Infrared barrier avoidance and other
sensors;
Actuators such as digital tubes,
buzzers, full-color lights, fan motors,
etc.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd


AISTEAM User Guide

Support 5V output, IIC


communication, I/O digital input
and output, analog input and serial
A5 communication, I/O module with
RJ11-6pin interface, such as:
Integrated grayscale, bluetooth, wifi,
etc.

Support 3.3V power supply, SCSI-


0123VG 80pin interface Micro:bit
ND (compatible with V1.5 and V2),
AISTEAM expansion screen.

Supports 3 groups of -4pins,


PIN including G/V/S, and supports
hundreds of maker sensors.

Support 5V output, PWM servo


D1 control, PWM servo (analog servo)
with XH2.5-3pin interface.

Support 7.4V output, speed control,


M1~M2 open loop motor with XH2.5-2pin
interface.

Support the standard USB Type-C


interface data connect to computer,
support the download of user
USB
program, update controller
firmware, controller online
debugging (real-time data) function.

Support 7.4V output, 485 bus


communication and steering gear
bus communication, motor
EX
expansion module with RJ50-10pin
expansion interface, sensor
expansion module.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd


AISTEAM User Guide

2.Motor expansion module

The motor expansion module adopts the ARM Cortex-M3 architecture, the main frequency
is 108MHz, and it supports ID customization (ID1~4, factory default ID1). A single module
supports the expansion of 4 closed-loop motors. At the same time, when 4 sets of
modules are connected in series, it supports the expansion of 16 closed-loop motors to
run at the same time; the shell is compatible with LASY and LEGO build systems.
Interface function

Support 7.4V output, 485 bus


communication and steering gear
bus communication, motor
EX
expansion module with RJ50-10pin
expansion interface, sensor
expansion module.

Support 7.4V output, speed control,


M3~6 closed-loop motor with XH2.5-6pin
interface.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd


AISTEAM User Guide

3. Expansion screen module

The expansion screen module uses a 0.96-inch low-power OLED module with a resolution
of 128*64, a full-view display, and SPI communication; the exterior is equipped with a
high-transmitting acrylic protection board; the back supports building blocks to expand
and build.

4. Single-trail follow module

The working voltage is 5v, the detection distance is 1~2cm, the interface type is digital
output; the back supports building blocks to expand and build.

5. Switch module

The working voltage is 5v, the detection distance is 1~2cm, the interface type is digital

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd


AISTEAM User Guide
output; the back supports building blocks to expand and build.

6. Infrared remote control module

Infrared remote control receiving module (left), Infrared remote control board (right)
Infrared remote control receiving: working voltage 5v, receiving range 0~1000cm, interface
type digital output; infrared remote control: working voltage 3v, remote control range
0~1000cm, infrared carrier frequency 38kHz, programmable keys have at least 15 ones; the
back supports building blocks expansion and construction.

7. Sound strength detection module

The working voltage is 5v, the detection range is 20~90dB, the interface type is analog
output; the back supports building blocks to expand and build.

8. Light sensitivity detection module

The working voltage is 5v, the detection range is 0-600LUX, 45°, the interface type is

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd


AISTEAM User Guide
analog output; the back supports building blocks to expand and build.

9. Temperature and humidity detection module

Temperature detection mode: the working voltage is 5v, the detection range is 0~50 ℃ ±
1℃, the detection method is air contact, the interface type is digital output;
Humidity detection mode: the working voltage is 5v, the detection range is 20-90%±5%, the
detection method is air contact, the interface type is digital output; the back supports
building blocks to expand and build.

10. Infrared barrier avoidance module


V1 version:

V2 version:

The working voltage is 5v, the detection range is 5-20cm, the detection accuracy is ±2cm
(white surface reflection), the interface type is analog output; the back supports building
blocks to expand and build.
Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd


AISTEAM User Guide

11. Integrated grayscale module

The working voltage is 5v, the detection range is 0.8~1.6cm, the interface type is analog
output; 5 channels can be integrated to return values independently; it comes with 5 visible
light sources for anti-interference; the back supports building blocks to expand and build.

12. Fan module

The working voltage is 5v, the no-load current is 45mA, and the no-load speed is
2550RPM±15%; the blades are soft and anti-cut; the back supports building blocks to
expand and build.

13. Monochrome light module

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd


AISTEAM User Guide
The working voltage is 5v, the colors are red, yellow, and green, and the light-emitting
angle is 180°; the back supports building blocks to expand and build.

14. Full-color light module

The working voltage is 5v, the color range is RGB0~255, and the light-emitting angle is
120°; the back supports building blocks to expand and build.

15. Buzzer module

The working voltage is 5v, the output sound pressure is ≥ 83dB, the interface type is
digital/analog output; the back supports building blocks to expand and build.

16. Vision module

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd


AISTEAM User Guide
Roof vision (left), front vision (right)
The working voltage is 5v, the viewing angle is 72°, the maximum resolution is 320*240, the
maximum code rate is 30Mbps, it not only supports AprilTag code recognition, face
detection, multi-color blocks (up to 4 at the same time) recognition and tracking, visual
custom data (up to 5 groups), but also supports PYTHON algorithm design, supports data-
to-graphic visualization; the structure supports pitch angle adjustment, roof vision
supports height adjustment; vehicle front vision supports bus serialization; module housing
supports building blocks to expand and build.
It can realize rich AI vision applications, such as LAB threshold debugging, template
matching, visual line inspection, and visual ranging.

17. Encoder motor module

Interface: 6pin, working voltage: 7.4V, rated speed: 75RPM±10%, reduction ratio: 1:120, no-
load current: 50mA, control mode: PWM speed closed loop; shell is compatible with LASY
and LEGO build system.

18. Ordinary motor module


V1 version:

The interface is 2pin, with its own connection line, the working voltage is 7.4V, the rated
speed is 200RPM±10%, the reduction ratio is 1:120, the no-load current is 50mA; the shell
is compatible with the LEGO construction system.
V2 version:

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

10
AISTEAM User Guide

The interface is 2pin, the working voltage is 7.4V, the rated speed is 75RPM±10%, the
reduction ratio is 1:120, and the no-load current is 50mA; the shell is compatible with LASY
and LEGO construction systems.

19. Simulated steering gear module

The working voltage is 5V, the torque is 1.5kgf.cm, the angle range is 0~180°, and the
speed is 0.12 seconds/60°; the shell is compatible with the LEGO construction system.

20. Digital steering gear module

The working voltage is 7.4V, the torque is 8kgf.cm, the angle range is ±120°, and the speed
is 0.1 second/60°; it supports the series connection of the servo bus; the shell is compatible
with the LEGO construction system.

21. Expansion module

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

11
AISTEAM User Guide

It support expansion such as robot bus serial screen, serial voice recording and
broadcasting module, it also supports servo bus serial robot arm and supports flame
detection, three-axis gyroscope, three-digit digital tube, etc.; AISTEAM will continue to
expand the very rich electronic modules .

22. Lithium battery module

The output voltage is 7.4V, the rated capacity is 1100mAh, the maximum discharge rate is
3C; the rated charging voltage is 8.4V, the rated charging current is 1A; the input and
output ports are DC5.5, supporting multiple batteries in parallel; the shell is compatible
with the LASY and LEGO building systems.
When the battery is low, you need to use a dedicated 8.4V1A charger to charge. When the
indicator light on the charger is red, it means it is charging, and when the battery is fully
charged, it turns green.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

12
AISTEAM User Guide

*Precautions for the use of batteries and chargers:


1. If the product is not used for a long time, the device should be
completely shut down after fully charged;
2. After charging is completed, please unplug the charging cable to
avoid damage to the overcharged battery and possible dangers;
3. Check whether the wires, plugs, shells and other parts are damaged
regularly. If you find any damage, please stop using it until the
repair is complete.
4. Do not use other types of batteries and chargers that are not
specified by the company;
5. Avoid liquid flowing into the controller and lithium battery, so as
not to cause the short circuit of battery power supply and power
terminal;
6. When the battery is not powered on or cannot be charged, it can
only be replaced by the service providers authorized by
NASHENBOT or NASHENBOT;
7. Batteries must be recycled or disposed of separately from
household waste;
8. It is strictly forbidden to use the appliance while charging.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

13
AISTEAM User Guide

Chapter 2 Operation Guide

This chapter introduces the download and installation of programming software AIcode
and AISTEAM instructions.
*Due to the continuous update and iteration of the software version, the functions
introduced in this chapter are not included in all versions.

Name Release time Version

AIcode June 16, 2021 V2.1.1 beta1

AIcode August 13, 2021 V2.1.1 beta5

1. Introduction
AIcode's next-generation AI programming platform, which includes artificial intelligence
graphical programming and Python, not only can quickly complete simple, concise code
programs, but can also write complex logic algorithms.
Programming with AIcode can realize basic functions such as motion control, human-
computer interaction, and advanced functions such as intelligent vision, which can really
start the AI programming journey.

2. Download, update, and request


Visit https://www.nashenbot.com, get the latest programming software, and install it as
prompted.
You can connect the controller to your computer, using a standard USB Type-C cable, and

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

14
AISTEAM User Guide
the software supports writing user programs, updating controller firmware, and controller
distribution.
Get more help with project samples, etc. with the help of “Help” function in the software.
Operating system requirements: Only Windows 7 or above is supported.
Hardware requirements: the memory is not less than 2GB, the processor is not less than
1.5GHz, the screen resolution is not less than 1024x600.

3. Install
Prerequisite: The AIcode package has been obtained.

Operation steps:
Step 1:Unzip the acquired AIcode package.
Step 2: Find and double-click on "AIcodeSetup .exe" and read the User License
Agreement carefully.

Step 3 Follow the prompts to start the installation.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

15
AISTEAM User Guide
Step 4: Wait for the installation to complete.
Note: This procedure, which may be intercepted multiple times by the computer
security software, must "allow all operations" or will result in a failed software
installation or loss of functionality; If Blocking, exit the installation, temporarily
exit all protection software, and restart start step 1. For security reasons,
download the package on the official website.

Step 5 Complete the installation

Step 6 Install the driver.


Note: This procedure, which may be intercepted multiple times by the computer
security software, must "allow all operations" or will result in a failed software
installation or loss of functionality; If Blocking, exit the installation, temporarily
exit all protection software, and restart start step 1. For security reasons,
download the package on the official website.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

16
AISTEAM User Guide

Verify the installation


Step 1 The controller is plugged in.
Step 2 Press the button to turn on (status light on).
Step 3 Connect your computer and controller with a USB cable.

light

switch

USB
power

Step 4 Open the software and select the robot.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

17
AISTEAM User Guide

Note: Only the first time you run the software, you must select the robot family
before you can switch between settings.
Step 5 Find the download area to see if the characters appear on the edge of the
download button.

The controller is not connected The controller is connected

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

18
AISTEAM User Guide

Note: The download area does not display characters, indicating that the
controller is not properly connected, you can try these steps accordingly:
(1) Select the right robot;
(2) Restart the controller
(3) Re-plug the USB on the controller;
(4) Change the USB interface on the computer;
(5) Reload the software.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

19
AISTEAM User Guide

4. Get started

menu bar toolbar programmatically

program module library


operating area

download

The shown above is the AIcode visual programming window, which is divided into menu
bar, toolbar, programming method, program library, programming area and download
area.
menu bar
1) file

New: Program

Open: Program

Save: Program

Save as: Program

Exit: Programm software

The program file format of the “new, saved and saved in other way” is .nsh; the opened
files, supporting program file. nsh and media file .jpg, . pdf、. mp4; Here is a channel for
quickly opening media files, but the media files are still opened as the default program for
the computer operating system.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

20
AISTEAM User Guide
2)setting

Software update: When a computer's


operating system is networked,
programming software can detect if the
server provides update support

Firmware update: The programming


software has built-in firmware that
matches the current software version, and
when the controller is connected, it can
detect if the controller's firmware needs
to be updated

Modifying the rudder ID: Supports the


modification of the rudder ID in series in
controller S1; up to 16 IDs are supported

Modifying the motor expansion module


ID: Supports the modification of the
expansion module ID, in series in
controller EX; four IDs are currently
supported

Language: Support simplified Chinese and


English, manual restart is effective.

Select robot: support AIBOT, AISTEAM


two series, automatic restart is effective

3)help

Project examples: Provides rich examples, including


routines, demo videos, or building examples

Instructions for use: Provide documentation of the


product usage instructions

About

Toolbar
1)Real-time data

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

21
AISTEAM User Guide

Real-time data is one of the most commonly used debugging tools, providing real-time
data on controller from A1 to A5 ports, motor expansion module from M3 to M4 ports,
and battery voltage.

The sensor modules that supported by


A1 to 5: single track, collision switch,
infrared remote control, Sound strength
detection, Light sensitivity detection,
temperature detection, humidity
detection, infrared barrier avoidance

The sensor module supported by A5


additionally: integrated grayscale

M3 to M6 supports encoder motors

Reference table for the return value range of each sensor module:

Module Physical diagram the


name range
Notes
of the

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

22
AISTEAM User Guide

return
values

0 indicates that white (or


lighter color) has been
Single-trail detected, and 1 indicates
0 or 1
follow that black (or dark color or
to the air) has been
detected

0 indicates that the switch


has not been pressed and
Switch 0 or 1
the 1 indicates switch has
been pressed

0 to 9 indicates that the


remote control board
button from 0 to 9;
Infrared
remote 0 to 16 10indicates*
control
11indicates#
12indicates▲
13indicates▼

14indicates ◀
15indicates ▶
16indicatesOK

Sound
The intensity is
strength 0-100%
proportional
detection

Light
The intensity is
sensitivity 0-100%
proportional
detection

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

23
AISTEAM User Guide

Temperature The intensity is


0-85%
detection proportional

Humidity The intensity is


0-100℃
detection proportional

Infrared
The higher the value, the
barrier 0-4000
farther away it is
avoidance

1:0-4000
The five channels return
2:0-4000
values independently, and
Integrated
3:0-4000 the blacker the return
grayscale
value, the greater the
4:0-4000
detection
5:0-4000

Limited by the number of


Encoder digits displayed by the
±999999
motor upper computer,
theoretically infinite

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

24
AISTEAM User Guide
2)The image threshold

Image threshold is an easy-to-use AI vision module color recognition debugging tool, it


can be used to detect the visual module's real-time picture. By adjusting the
corresponding data, it can complete the identification of specific objects.
Example: Monitoring of parking signs
Step 1 Tiles the monitoring logo (drawing) on the desktop with a steady light, as shown
below:

Step 2 Use a USB cable to connect the visual module directly to your computer.
Step 3 Click on the connection to turn on the image real-time monitoring function, as
shown below:

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

25
AISTEAM User Guide

The visual module monitoring screen is displayed at the source image in the upper left
corner of the threshold editor interface, as well as in the real-time monitoring of the image.
By setting the appropriate parameters, the visual module can also monitor specific objects,
and when the parameters shown in the following image have been adjusted, the visual
module can identify the parking sign.

Getting the LAB threshold values can be directly placed in the color recognition in the
following image.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

26
AISTEAM User Guide

Step 4 parameter adjustment and function

Source image: A real-time image


monitored by the visual module

Binary image: After adjusting the


color to the tracking threshold, L
maximum, L minimum, A maximum,
A minimum, B maximum, B
minimum, you can selectively
monitor the object, and select the
monitoring arrow shape in the
figure on the right。

Adjust the color recognition


threshold

Reset slider: initialize the slider value

LAB threshold: Monitor the specific


characteristics of an object after a
combination of three primary colors

Apply threshold: Displays image


information corresponding to the
current LAB threshold in real time,
such as coordinate, width height

Resuming factory settings: Visual


module initialization, typically used
when the visual module crashes

Connection: real-time image


monitoring for visual module and
computer

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

27
AISTEAM User Guide

3)Visual algorithms

Visual algorithm is a powerful AI vision module visual algorithm editor, you can use Python
code directly to design and edit the underlying algorithm of the visual module, with real-
time image display and LAB threshold display tools.
Stay tuned for more detailed feature introductions and examples!

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

28
AISTEAM User Guide
Programming
1)Modular programming and Python code programming

Modular programming is the use of graphics modules, through mouse-dragging and


parameter typing, you can complete a wealth of programming; Python code programming
is the use of Python code for complex programming.
When Python code is programmed, it also supports dragging program modules into a
specified line of code to complete the need for rapid programming.
2)Display the Python code

Showing python code is a very useful code-control feature when programming in modular;

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

29
AISTEAM User Guide
This is a great help to develop code programming interest and programming ability.

Program modules library


1)module type

module
Type description Module example
type

Set parameters such


Setting
as speed, angle, time,
class
etc

Execution Follow the instructions


class as described

Return the
information you get,
Information
such as text, values,
class
lists, and other
different types of data

Returns the different


data types that you
Model class
get, such as variables,
lists, and so on

Based on the
Boolean information obtained,
class return "True (1)" or
"False (0)"

Execute the
instructions based on
Conditional
whether the
conditions are met

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

30
AISTEAM User Guide
2) Intelligent programming

Perceive

Module Physical diagram


Module diagram
name

Single-trail
follow

Switch

Infrared
remote
control

Sound
strength
detection

Light
sensitivity
detection

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

31
AISTEAM User Guide

Temperat
ure
detection

Humidity
detection

Infrared
barrier
avoidanc
e

V1&V2

Integrate
d
grayscale

Fan

Module
Physical diagram Module diagram
name

Turn on the
fan

Turn off the


fan

Operation

Module
Module diagram Notes
name

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

32
AISTEAM User Guide

The parameters filled in by the


user or the variables referenced
Arithmetic
are operated on addition,
operations
subtraction, multiplication,
division and surplus.

Relationship operations: The


parameters filled in by the user
Relationship or the referenced variables are
operations, used in relational operations that
logical are greater than, less than, and
operations equal to each other, usually in
conjunction with conditional
judgment

Define a variable of random


number. The parameters are
Random
random number generation
number
intervals, with values ranging
from 0 to 99999

logic calculation:
Use user-created parameters or
logic referenced variables for "and"
relationship logical operations, usually in
: and conjunction with conditional
judgment. The "and" operation is
true when both logical
comparisons are true

logic calculation:
Use user-created parameters or
logic
referenced variables for "or"
relationship
logical operations, the "or"
: or
operation is the middle of two
logical comparisons, and when
fewer are true, the logic holds

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

33
AISTEAM User Guide

true

Control

Module
Module diagram Notes
name

The user keeps the current


program state for a certain
wait amount of time by setting the
time in S (seconds), range: 0-
99999.

The while(true) statement in the


Repeat C language, which means that
execution the statement in the current loop
body is repeated all the time

For statements in the C language,


users can set the number of
cycles by parameters or
The number reference variables. The number
of re- of cycles represents the number
executions of time when the statements in
the current loop body are
repeated, and the number of
times’ ranges are 0-99999.

The while statement in the C


language allows the user to set
variables, sensor readings,
Repeat parameters to control the
execute the condition.
condition If the condition meets the
statement in the body of the
execution loop, or the current
loop body will jump out.

If (conditional) statement in C
language, the user can set
Conditional
variables, sensor readings,
judgment
parameters to control the
condition.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

34
AISTEAM User Guide

If (condition) in C language...
else... statement, the user can set
variables, sensor readings,
Judgment of
parameters to control the
supporting
conditions. If the condition meets
conditions
the requirement, the upper
statement can be executed, or
the lower statement is executed.

The user can set variables, sensor


readings, parameters to control
the conditions. If the condition is
Wait until
not met, wait until the condition
meets the skip-wait, and then
execute the following statement

Jump out of Jump out of the current loop


the loop statement

Variable
Variables are important concepts and functions in programming that can be used to store
data information, For example, you can save a point-in-time sensor reading into a variable,
which can then be called in a program, or to simplify the program with variables to achieve
the countdown.

Module
Module diagram Notes
name

Create a new variable that can be


Create a
counted or assigned to the
new variable
corresponding port sensor

Variable Variables, which are typically


module used to store the detected values
of sensors or constantly changing
values
Variable
initialization Sets the initial value of the
variable
Variables
self-increase The variable increases the
and subtract specified value each time

Customization

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

35
AISTEAM User Guide
When the program becomes complex, we can take some of them out and put them in a
building block of our own definition, so that we only need to call the block, which also
does what we want. Defining blocks also makes it easier for us to understand the structure
of the program and facilitate later debugging.

Module
Module diagram Notes
name

Make new
Create a new building
building
block module
blocks

Package programs with


multiple instructions
into a block of building
blocks to simplify the
structure and length of
the main program.
New You can call subroutine
building of other programs
blocks set through this building
block, or you can
modify the internal
parameters of a
subroutine by changing
parameters or
referencing variables

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

36
AISTEAM User Guide

3)Motion control

McNham wheel chassis

Module Module Notes


name
Diagram

Control the Speed range -100


wheel to 100;
chassis
Angle range 0 to
translation
360;
speed,
angle, time Time range ≥ 0

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

37
AISTEAM User Guide

Control the
wheel
chassis
translation
speed, angle

Control the
wheel
chassis The speed range -
rotation 100 to 0 is
speed, clockwise;
angle, time
The speed range 0
to 100 is
Control the
counterclockwise;
wheel
chassis The time range ≥ 0
rotation
speed, angle

Encoder motor

Module Module
Notes
name Diagram

Control the
speed of the
4 encoder
motors at Speed range -
the same 100 to 100;
time
Time range ≥
Control the 0
speed of 1
encoder
motor

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

38
AISTEAM User Guide

Control the
speed and
time of 1
encoder
motor

Control the The power


speed of the range -1.00 to
4 encoder 0 is reverse;
motors at The power
the same range is 0 to
time 1.00 is positive

Stop the
encoder
motor

The
encoding
value of the
encoder
motor is
zeroed

Get the
encoding
value of the
encoder
motor

Ordinary motors

V1, V2 version is shared

Module Module
Notes
name Diagram

M1 to 2 Speed range -100


normal to 100;

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

39
AISTEAM User Guide

motor Time range ≥ 0


speed

1 normal
motor
speed

Speed and
time of 1
normal
motor

The power range -


Ordinary from 1.00 to 0 is
motor reverse;
power of The power range
M1 to 2 from 0 to 1.00 is
positive

Stop the
ordinary
motor

Rudder

D1 rudder (analog rudder, left) S1 rudder (digital rudder, right)

Module Module
Notes
name Diagram

D1 rudder
Angle range: 0~180°
angle

ID range 1~16
S1 rudder
angle Angle range:
120~120

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

40
AISTEAM User Guide
4) Human-computer interaction

Display

Module Module Notes


name
Diagram

Screen
display Display English
numbers or
variables;
Clear screen
Line range 1~4;
display
X wide range
0~128;
The screen
Y height range
is displayed
0~64
to the
coordinates

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

41
AISTEAM User Guide

The screen
is all black
or all white

Screen
rotation

Draw points

Set the line


width

Draw a line

Draw a
circle

Draw a
rectangle

Monochrome light

Module Module
Notes
name Diagram

Turn on the
monochrome
light

Turn off the


monochrome
light

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

42
AISTEAM User Guide

Full-color lights

Module Module
Notes
name Diagram

Color range

Turn on the
monochrom
e light

Turn off the


monochrom
e light

5)Smart voice

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

43
AISTEAM User Guide

Buzzer

Module Module
Notes
name Diagram

Notes C1 to 7;
Turn on the
buzzer Beat 1/2, 1/4,
1/8, 1/16

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

44
AISTEAM User Guide
6)Intelligent vision

Image recognition

Top vision(left),front vision(right)

Module Module Function


name
Diagram

Identify tag Visual module type:


codes roof vision, head
vision
Identify face Identification
detection function: on, off

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

45
AISTEAM User Guide

Set the threshold for


Color visual recognition
recognition (LAB range) and
threshold area of interest data
(monochro (x/y/W/H)
me) Multi-color setting
data ID: 1 to 4

Color
recognition
threshold
(multi-color)

Get color
recognition
(monochro
me)

Get color
recognition
(multi-color)

Get Tag
recognition

Get face
recognition

Get
customized
data

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

46
AISTEAM User Guide
7)Expansion module

NASHENBOT EX

Module
Physical diagram Module diagram
name

Remote
control
handle

Digital tube
(3-bit)

Flame
sensor

Gyroscope

Audio
recording

Display (2.8
inch color)

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

47
AISTEAM User Guide
Programming area

1)Main program

The main program will be downloaded to the controller to execute, the program module
that is not connected to the main program is invalid and does not work after downloading.

All program modules are valid and can be executed after downloading (left) after waiting
0.5 seconds for the program module to be invalid (right)
2)View tool

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

48
AISTEAM User Guide

Zoom in, zoom out, and navigate to the main program view
3)Operating area

By dragging and dropping the connection of the program module, the module will prompt
the snap connection status when it is near;
The program module parameters are set by keyboard input;
The right-click is include additional actions, such as copying, pasting, adding comments,
disabling, etc.
Drag and drop blank space or drag scroll bar to move the view.

Download area

Click the arrow to select the program path to download to the controller;
Click “Download” to download the main program to the controller.

Document Version V1.0.2 Copyright © Shanghai NASHENBOT Co., Ltd

49

You might also like