Skip to content

Latest commit

 

History

History
99 lines (56 loc) · 4.22 KB

README.md

File metadata and controls

99 lines (56 loc) · 4.22 KB

Petoi Mind+ Expansion Library

A block-based drag-and-drop programming tool for Petoi robots.


Table of Contents

URL

  • Project URL : https://github.com/PetoiCamp/Petoi_MindPlusLib

Summary

Use the user library of Mind+V1.7.3 and above to load this extension to control the Petoi robot. It allows to schedule movements, play music, and access to the GPIO pins.

How to use

Download and install Mind+ Desktop app.

Input the project URL: https://github.com/PetoiCamp/Petoi_MindPlusLib in the interface to import this library as follows: image image image

For macOS, if your Mind+ version is <=V1.7.2 RC3.0, you need to download PetoiRobot.zip first, and copy the extracted folder (PetoiRobot) to /Users/{your username}/Documents/mindplus-py/environment/Python3.6.5-64/lib/python3.6/site-packages/

  • Before running the program, we recommend you upgrade your robot to the newest firmware for the best compatibility. The standard firmware should support most of the coding blocks. However, you will need to use the GROVE_SERIAL_PASS_THROUGH mode to access the IO pins.

image

image

Examples

The following examples can be found in examples/ folder and opened by the Mind+ APP directly.

Play melody (/examples/PlayMelody.mp)

PlayMelody

Execute skills (/examples/ExecuteSkills.mp)

ExecuteSkills

Turn around (/examples/TurnAround.mp)

TurnAround

Write the value of digital pin (/examples/WriteDigital.mp)

WriteDigital

Write the value of analog pin ((/examples/WriteAnalog.mp)

WriteAnalog

Read the random values of analog pin and turn them into music tones ((/examples/ReadAnalog.mp)

ReadAnalog

Control the robot's joints and play melody ((/examples/Robot.mp)

Robot

License

MIT

Supported targets

MCU JavaScript Arduino MicroPython Python
arduino
esp32

Release Logs

  • V0.0.1 Basic functions completed.

Link to the online store for the robots' hardware.