petoi-camp-logo.png
Chinese
ZH
Chinese
ZH
English
EN
  • 主页

  • 论坛

  • Shop

  • 简介

  • 图鉴

  • 资源

    • Documentation Center
    • GitHub 源代码
    • 教程视频
    • NyBoard V0_1 手册
    • NyBoard V0_2 手册
    • Smartphone App
    • GitHub/CatMini
  • 社区

    • 成员
  • More

    Use tab to navigate through the menu items.
    Rafael Marín
    1d

    Error moving joints simultaneously in Mobile app

    2
    0
    Tomi Ade
    4d

    Trouble Uploading to Nyboard - stk500_recv(): programmer is not responding

    3
    0
    Phillip Brush
    7d

    On Definition Rule Issues

    4
    0
    若要查看作用方式,請前往您的即時網站。
    • 類別
    • 所有文章
    • 我的文章
    Shane Gingell
    2021年6月24日

    RPi API

    在 General Discussions

    I work with educating kids about robotics. One of the organizations that I work with has just ordered a bittle. I have been watching the opencat develop since very ear;y days when it popped up on Haster.io


    All the educators that I work with are teaching with either scratch based for younger kids or python based for older kids. I notice the low level functionality of the robot is Ardunio based. I did also notice the is a graphical interface developed as well. I also notice that RPi can be connected to the NyBoard as well.


    I need to do some research and learn how to drive the robot for when it arrives. I would like to know more about the RPi interface. Can the RPi act like a master and just send serial commands to the Nyboard for it to carry out?? How do most user use the RPi interface, do they program it in python??


    I haven't been able to find good links to info about an RPi API for Brittle or a link to info about teh graphical interface can anyone provide more info and links to the need info??


    Thanks in advance

    4 則留言
    4 則留言
    Shane Gingell
    2021年6月25日

    Micopython firmware is written in C so once you have working C functions for BiBoard then it is just a case of adding the C fuctions to the open source ESP32 Micopython firmware then creating a python wrapper(cut and paste the standard wrapper) so that the C functions can be called by python.


    I look forward to the bittle arriving and having a play with it.

    按讚

    Shane Gingell
    2021年6月24日

    Many thanks for your reply.


    Your graphical interface partner has made a great resource for teaching kids about robotics and how to program bittle :)


    The fan made python scripts is looks like a very nicely developed python API and I look forward to testing it.


    I do notice that your currently developing an ESP32 main board and look forward to its development. Many robots that are using ESP32 are making use of micopython because it allows both C and python functionality. Low level functions can be written in C and compiled into the micropython firmware then high level use of these functions can be scripted in python.

    按讚
    R
    Rongzhong Li
    2021年6月25日
    回覆

    We are making the C version driver for ESP32 first to make it work, then will develop other versions.

    按讚

    R
    Rongzhong Li
    2021年6月24日

    Hi,

    The graphical interface is developed by our partner: https://www.yuque.com/tinkergen-help-en/bittle_course/?language=en-us


    For the RaspPi interface, you can find our documentation at https://bittle.petoi.com/4-configuration#4-4-raspberry-pi-serial-port-as-an-interface

    We provide the basic Python modules to send serial commands.

    There are other fan-made Python scripts to handle the control of the robot.

    按讚
    4 則留言
    相似文章
    • How to connect a RPi + Slanted y1Pi pieces?
    • Web API to control Nybble - OpenCatWeb
    • First build - Bittle plus RPi 3 A+

    Pittsburgh, PA, USA | info@petoi.com 

    © 2019 Petoi LLC