Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Collecting data from multiple accelerometers and a video camera

    Collecting data from multiple accelerometers and a video camera

    kpr
    Occasional Visitor

    I'm working on a project where I need to collect data from multiple tri-axial accelerometers and gyroscopes and one video camera during sports activities lasting around 8 hours, store that data, and later export it to a computer. There would be a maximum of 20 sensors plus the video camera, but I can work with fewer sensors if that many isn't feasible. I also need to be able to sync that data in time, so that t=0 is the same point in time for each sensor's data and the video camera; it's okay if this is done after the data is exported to the computer, though. The system will need to be battery-powered. 

    I have computer programming experience, but no experience with sensors or microcontrollers, and I'm wondering what to buy that will let me do that. I see a lot of accelerometers and gyroscopes for sale, but I don't know what sort of microcontroller(s) or other things would be needed to take in data from several accelerometers and gyroscopes and a video camera all at once, and store that data until it can be uploaded to a PC.

    Thanks for any suggestions!

    1 REPLY 1

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    It is not possible to synchronize multiple accel and gyro and video camera data, because they are independent and have their own group delay. In addition, the microcontroller needs time to read the data from those sensors one by one. What you can do is collect sensor data as fast as possible to minimize the time difference. The combination of accel and gyro is so called IMU (inertial measurement unit).

    We have the latest smart sensor BHI260AB that has one IMU built in. It has SPI/I2C on its primary interface to talk to the host microcontroller and SPI/I2C on its secondary interface to take care of other external sensors. For example, if you want to collect 60 or 120 frames from the video camera per second, then you can also collect 60 or 120 sets of multiple  IMUs data from BHI260AB per second. You can connect 4 pcs. of BMI160 IMU chips on BHI260AB secondary interface through SPI bus for example. Then you will have total 5 IMUs data. You can write your own code in BHI260AB SDK to collect total 5 IMUs data into FIFO at 60Hz or 120Hz. Your microcontroller can just grab all IMUs data through BHI260AB primary SPI bus at once.

    Thanks.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist