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.
    Hanna Ovr
    8月02日

    Pest Control Software

    2
    0
    Rafael Marín
    3d

    Error moving joints simultaneously in Mobile app

    5
    0
    Tomi Ade
    6d

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

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

    Frustration with Bittle and Raspberry Pi

    在 Hardware

    Successfully built the Bittle and was able to control it via the USB serial port.

    Purchased a Raspberry Pi 3 and installed it per the instructions.


    Unfortunately, that's as far as I can get as the documentation regarding using the raspberry pi has been a bunch of broken links. The Petroi Instructions reference this document https://www.raspberrypi.org/documentation/configuration/uart.md , but I cannot seem to get it to communicate.


    I've downloaded the OpenCat package and modified the ardSerial.py script to address /dev/ttyS0


    I get the error:


    Traceback (most recent call last):

    File "./ardSerial.py", line 14, in <module>

    timeout=1

    File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__

    self.open()

    File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 272, in open

    self._reconfigure_port(force_update=True)

    File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 326, in _reconfigure_port

    raise SerialException("Could not configure port: {}".format(msg))

    serial.serialutil.SerialException: Could not configure port: (5, 'Input/output error')


    Any help would be greatly appreciated. A step by step document would be helpful as all I can find are articles that give vague references to other articles (most which have broken links).


    I have the Raspberry Pi installed.

    Enabled the UARTS and disabled the serial console as per the instructions.


    DId I miss something really important in the documents?


    What now?


    2 則答覆0 則回覆
    0
    2 則留言
    David Lemmink
    2021年6月13日

    Yes, unplugged per the instructions.

    1

    R
    Rongzhong Li
    2021年6月13日

    The problem seems to be in the serial port configuration. Have you unplugged the 6-pin programmer before mounting the Pi?

    1
    2 則留言
    相似文章
    • Raspberry Pi 4
    • Nybble and Raspberry Pi?
    • Bittle with Raspberry

    Pittsburgh, PA, USA | info@petoi.com 

    © 2019 Petoi LLC

    © 2019 Petoi LLC