This SDK is a collection of information about MABOR Devices from Contentwise Tech. Information here shall help you to quickly start using MABOR board in your projects.
An automation board MABOR features two Gigadevice GD32V Microcontrollers, DC motor drivers and lot of connections for sensors and other devices. Here is the board overview.

| Motors | Sensors | Connectivity | Storage |
|---|---|---|---|
| 4 x DC motor output | 14 x GPIO | non-addressable RGB LED control | micro SD card |
| 4 x Servo motor output | 2 x analog distance sensor | UART serial console | |
| 4 x Stepper motor control | 1 x TOFL sensor or PWM output |
MABOR must be powered by DC between 12V and 24V with maximum current 3A.
automat.json file in root directory of SD cardWe have created a Visual Editor https://code.mabor.cloud based on Google's Blockly to help you create programs quicky.
Editor produces an intermediary set of commands formatted as a JSON. To quickly create programs for our MABOR devices. At the moment this SDK is specific to MABOR R1.
To start please make sure to have an empty Micro SD card a 12V/3A powersupply and an a 12V DC motor. Please connect the DC motor first two DC Motor output pins.
Download dcmotor-test.mabor and head to https://code.mabor.cloud where you press LOAD button to load dcmotor-test.mabor into editor. Afterwards press Export to MABOR button to obtain JSON file and save it to SD card with file name automat.json.

Or if you do not want to use editor you can directly create a file named automat.json on your Micro SD card and place following content in it:
{
"step 0": "sendMsg terminal,START DC MOTOR TEST",
"step 1": "sendMsg terminal,RIGHT",
"step 2": "rgbLed 255,0,0",
"step 3": "dcMotor 0,100",
"step 4": "delay 1000",
"step 5": "dcMotor 0,0",
"step 6": "rgbLed 0,0,0",
"step 7": "delay 1000",
"step 8": "sendMsg terminal,LEFT",
"step 9": "rgbLed 0,255,0",
"step 10": "dcMotor 0,100",
"step 11": "delay 1000",
"step 12": "dcMotor 0,0",
"step 13": "rgbLed 0,0,0",
"step 14": "delay 1000",
"step 15": "goto 1"
}