Skip to content

PetoiCamp/Petoi_MindPlusLib

 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.7%
  • TypeScript 17.3%