top of page

Clinic

Public·125 members

BiBoard Hardware Malfunction?


ree

Trying to diagnose what is going on here.. Before I got this output in the serial monitor I had the expected output asking about calibration and whatnot. I entered 'y', and then started calibrating, but one of the servos started jerking back and forth rapidly, then the BiBoard CPU got very hot and made a hissing sound, almost like the sound of a frying egg. I suspect that something on the BiBoard is broken, however it is odd that I am able to upload the main sketch successfully with the Arduino IDE.

38 Views
Jason
Jason
May 14, 2024

According to the video you attached, I think the development environment of ESP32 is not set correctly, such as the modification of sdkconfig.h. Would you like to book a remote session for this issue? I'll send a email to you later.

BittleX Battery Voltage Test

The purpose of the test is to verify that the BittleX battery is providing the correct voltage to power the BittleX robot.


Equipment:


BittleX battery with USB connector

Multi-meter with probes

breadboard

2 male-male 18 or 22 guage wires, one red, one black


38 Views
Rongzhong Li
Rongzhong Li
Jun 22, 2024

The 8.3V comes from two Li-ion batteries connected in series.

A single Li-ion battery is 3.7V, but can reach 4.2V when fully charged.

So 8.3V is about 4.15 x 2.

SOLVED: In Search of Reliable Bidirectional Bluetooth Serial Port Profile (SPP) Communication

Lately, I have been working on some software (Windows using Visual Studio in C# / .NET) to turn my laptop into a "brain" for the "Bittle with BiBoard" robot.  To keep things simple, I want to use the well established bidirectional serial streaming communication of the Bluetooth Classic Serial Port Profile (SPP).  By simple, I mean in contrast to the more complicated client-server option that is the Bluetooth Low Energy (BLE) with Generic Attribute (GATT) Profile.  The ESP32 in the BiBoard supports both options and, I believe, the OpenCatEsp32 source code supports both as well (but see below).


Why is this simpler?  Mainly because it is easier to code up a serial transceiver than to code up a GATT client.  Also, it is a better fit to this use case because the SPP was designed for serial streaming whereas the GATT is meant for short message exchanges.


Here is the…


ree

138 Views
este este
May 13, 2024

Those are worthy goals!


I have searched the forum and found only one post, by @Kevin KO, that "may" be close to what I am doing, wherein "Bluetooth two ways communication" difficulties were mentioned. My original post has that link. If there are folks trying to do bidirectional Bluetooth Serial Port Profile (SPP) communication, well, I haven't found them.


I believe the other posts using Bluetooth are using BLE protocol with the GATT profile, not the Bluetooth Classic protocol with SPP. I believe this by inference because that appears to be what the Petoi Mobile App is using and, also by inference, I think that is what the remote control (Bittle as drone) posts are also doing. It is well suited to that use case where the 'k' token plus skill command is sent to initiate skills and where the back communication is typically a one character response, not a stream of sensor data.


I have found no reason to believe there are any problems with how the GATT profile is implemented, over BLE, in OpenCatEsp32. However, I have found every reason to make the code change I proposed when using the SPP in that same source code! Again, I'd love to find someone trying the same thing as me to see what their experiences have been. But, I can't find what hasn't been posted...


As for learning about how Bluetooth is supposed to work, my recommendation is to spin up a hobby project that requires it and then do the usual "[1] google >>> [2] read >>> [3] code >>> goto [1]" cycle, repeated ad nauseam with "question asking" detours as needed.

Don Patrick
Don Patrick

App buttons unresponsive after playing imported skill

Hi. I used the Skill Composer to create a few behaviours, exported them to .md files, then imported them in the Android smartphone app by opening the .md files with the Petoi app, which adds a button for each skill. This all works fine. However, after I play an imported skill, other app buttons like "stand" and "rest" do not work anymore, unless I double-tap any skill button and exit the edit screen. Does the app not recognise when a custom skill has ended?


ree

32 Views
este este
May 03, 2024

Rz, is the app using the T_SKILL_DATA token to install such new skills? If so, those are stored in EEPROM, yes? Just checking.

bottom of page