boschsensortec / bhy2_sensorapi Goto Github PK
View Code? Open in Web Editor NEWSensor API for the BHI260AP, BHI260AB and BHA260AB smart sensors
License: BSD 3-Clause "New" or "Revised" License
Sensor API for the BHI260AP, BHI260AB and BHA260AB smart sensors
License: BSD 3-Clause "New" or "Revised" License
Hey, I am currently following the SDK Quick Start Guide for Linux. When I try to build the program with the command โ./build.shโ, I get the error Ninja: build stopped: subcommand failed.
Does anyone have an idea how to solve this?
Hi example owners,
Thanks for your great work on BHI260 series API and examples. But as a core new feature for BHI260AP, could you kindly implement a example on how to initial, learn new pattern and use it for recognition? That would be very helpful. Or if you have any available resource, could you kindly share?
Thanks.
Hello,
I am using a BHI360 6-axis IMU connected to a BMM350 magnetometer on a custom PCB and I wasn't able to make them work using the "BHI360_BMM350C" firmware.
Therefore, I purchased a BHI360 shuttle boards 3.0 to make some tests and it turns out the BMM350 INT pin MUST be connected to the BHI360 JTAG_DIO pin to make this firmware work correctly. Otherwise, we get some (0x24 Sensor Error: No Valid Data) and (0x25: Slow Sample Rate) errors for any virtual sensors requiring the BMM350.
I had to modify my hardware to make this firmware work, which cost us time a and money. In my opinion, it would be more practical to be able to adapt the provided firmware to any specific hardware. For instance, choose to which pin(s) the external sensor interrupt line(s) are connected or choose polling mode instead of interrupt mode.
My question is: could you make some changes to the firmware files to allow to write some registers to adapt the firmware to any specific hardware ? This way, after uploading the firmware to the BHI360, we could easily choose the right pins to use or to enable polling mode instead.
Thank you.
More information about this issue can be found on my Bosch Sensortec Community forum post.
After creating the FW file, as described in the example from the Arduino library (BHY2 - BHYFirmwareUpdate), with the latest BHI260AP-flash.fw file from the github repository, and loading it to the Arduino Nicla Sense ME some sensors show errors during initialization.
The command temperature.begin()
quaternion.begin()
return a FALSE
in each case.
The gyroscope and the accelerometer work.
What could be the reason for this?
Thanks for your help
Marcel
I think (hif->read != NULL)
should be (hif->write != NULL)
as write is used not read
https://github.com/boschsensortec/BHY2-Sensor-API/blob/f1032049ecc9187dc84a537541c0abc995f6a89b/bhy2_hif.c#L450-L457
Hi,
I am working on barometer BMP390 which is mounted on BHI260AP (bhi260ap shuttle board 3.0).
I am accessing BHI260AP shuttle board via I2C using Host MCU and able to upload the firmware(BHI260AP_BMP390.fw.h) which is provided in this repository.
As i am able to upload other firmware and test the other example like Euler, quaternion but not able to get data for barometer.
But i don't know how should i get the data of barometer from BHI260A.
Need help to get driver or example source to access and process the barometer data from BHI260AP AI sensor.
I am stuck at here from last few week. if anyone could help me or provide some data on this it would be appreciated?
Thanks
Hi, we are making a satelite for AAS CanSat 2024 from Yonsei University, and selected Bosch Sensortec BHI360 Shuttle Board 3.0 for 9-DoF IMU and presure & temperature.
I found out that BHI360 Shuttle Board includes
I would like to use BHI360, BMP580 and BMM350 at the same time.
However, I found that there is no firmware that utilizes those sensors.
BHI360_BMM150_BMP580_BME688.fw
does exist in the firmware/bhi360
folder, but I cannot find BHI360_BMM350_BMP580.fw
nor BHI360_BMM350_BMP580_BME688.fw
.
As noted here, the BHI360 SDK is not yet released, and I wonder how can I access those combination of sensors.
Thank you.
bhy2_get_and_process_fifo
does not fire callbacks that were added with bhy2_register_fifo_parse_callback
The reason for this is that the callback is not properly retrieved in the get_callback_info
function. There are bugs on lines 11381338 and 11391339 of bhy2.c. Instead of:
info->callback = NULL;
info->callback_ref = NULL;
those lines should be:
info->callback = dev->table[sensor_id].callback;
info->callback_ref = dev->table[sensor_id].callback_ref;
When this change is made, then callbacks that were registered with bhy2_register_fifo_parse_callback
are called when the appropriate data is in the FIFO, when bhy2_get_and_process_fifo
is called.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.