Coder Social home page Coder Social logo

petoi_mindpluslib's Introduction

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.

petoi_mindpluslib's People

Contributors

borntoleave avatar jasonwong08 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

nicolas-thill

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.