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
    vor 2 Tagen

    Error moving joints simultaneously in Mobile app

    5
    0
    Tomi Ade
    vor 5 Tagen

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

    3
    0
    Phillip Brush
    8月09日

    On Definition Rule Issues

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

    ModuleTests Bittle

    在 Software

    I am follwing https://bittle.petoi.com/4-configuration and I want to run the tests, like the Buzzer test.


    My question is what happens after I have tested?


    I am new to Arduino and the NyBoard so I don't know what happens with a sketch.


    Does it run forever until I turn the battery off?

    Does it stay forever on the board or is it in RAM and then disappears?

    Does it take up memory?

    Does it erase the prestored routines?

    Can I send a command like "beep()" on the Serial Monitor? or is it only what is written in the "void setup()" function?

    How many sketches can I upload?

    How do I choose a sketch?


    4 則答覆0 則回覆
    0
    4 則留言
    L
    Lucas GOUTFREIND
    2021年5月04日
    最佳解答

    In Open cat, the main program it have a buzzer test into the setup(){} the fonction is playMelody(MELODY); if you take it into loop(){} the robot will pley the bootup melody forever. But into setup(){} it will play 1 time.


    If the battery are off and you have plugged in the USB PC Board the Bittle enter into a fonction made to do buzzing. (I'm not sure but) it's into loop(){}

    if (voltage <

    #ifdef NyBoard_V0_1

    650

    #else

    300

    #endif

    ) { //give the cat a break when voltage drops after sprint

    //adjust the thresholds according to your batteries' voltage

    //if set too high, the robot will keep crying.

    //If too low, Nybble may faint due to temporary voltage drop

    PTL("check battery");

    PTL(voltage);//relative voltage

    meow();

    delay(500);

    }


    Everything are stored into Flash memory.


    You can upload/write more than 100,000 times on the Atmega.


    Follow the repertories order (https://bittle.petoi.com/4-configuration) and follow the README instruction into the ZIP of the source code.


    Everything will working fine ! Have fun !

    2
    L
    Leslie Solorzano
    2021年5月04日
    回覆

    Thank you. Everything is so new. I got scared because the limbs move so fast sometimes and they vibrate and sometimes go into weird positions and I freak out thinking something will break haha. I tried codecraft to understand a little bit more.


    Does uploading a sketch erase the main functionality? I mean, does uploading the testBuzzer remove the instincts?


    按讚

    L
    Lucas GOUTFREIND
    2021年5月05日
    回覆

    @Leslie Solorzano I tried codecraft but it doesn't work for me. With codecraft normaly when you upload code it erase only the main program. I think instincts stay in place. So don't panic ! Take your time to do calibration and understand the code in order to improve it later.

    按讚

    R
    Rongzhong Li
    2021年5月05日

    Side note: We only maintain the OpenCat codes on GitHub. We always make sure the WriteInstinct.ino and OpenCat.ino are from the same release. The codecraft interface is developed by another company. It's a wrapper based on OpenCat.ino. It may be outdated in the future.

    1
    4 則留言
    相似文章
    • No comms with bittle
    • Bittle with Raspberry
    • LEDs for Bittle?

    Pittsburgh, PA, USA | info@petoi.com 

    © 2019 Petoi LLC

    © 2019 Petoi LLC