Talk about sensors, OSD systems, radios and anything else related to electronic hardware.
no avatar
User

Noy

Posts

6

Joined

Mon Sep 21, 2015 9:02 pm

Bosch Sensor (BMI160, BMM150, BMP280) support for own FC?

by Noy » Tue Sep 29, 2015 4:19 pm

Hello Guys,
currently my quad is flying with a STM32F3Disco on a dasdboot shield. Unfortunately I discovered that it is not the best and accurate setup.
Cause of this, first I searched a Quanton but it is not longer sold in europe and it is quite expensive to order it from USA (taxes, shipping ..).
Sparky 2 isn't a proper board for me. I have a bigger quad and I want to have normal 2,54mm pitch Pin headers for normal connectors.

So i decided to build a own FC (my normal work is to design SBC's, so I think this shouldn't be to hard for me (if I get into Kicad a bit more (on work we use Mentor...)) . My currently planned setup is (everything with normal 2.54mm Pin Headers!):
(Normaly I like Freescale MCUs more, but I think it is too much work to port Taulabs to them..)

1. STM32F407 or STM32F405 (same as Quanton or Flying F4 for less Software work), which one best?
2. Planned is to have the option for mounting a HC05/HC06 Board or something else ? Any offers /whishes ?
3. GPS mounted on Board (uBlox NEO-M8N or MAX-M8W) which best? With SMA connector for antenna?
4. SPI-flash (not yet specified)
5. FrSky Telemetry SBUS support on board.

Sensors (in case of easy software support??):
I think the Invense IMUs are a bit to expensive in opposite of other Sensors? Also it is a bit harder to get one in Europe, I wish do build the FC for a less price of a Quanton. Also it should be OpenHardware and so on for free use. I will give away PCBs (planned to build them with Seedstudio or dirtyPCBs or so) for manufacturing costs.

I would have 3 Sensors (Gyro/Acc, Mag, Pressure) each one on a different Bus (if possible SPI) for high update rates, better for a FC or?
For example I can get the following Sensors easily and quite cheaper then Invense ones, in Europe from Mouser (price for 1 piece, with 1piece order available):

1. BMI160 (technical equal to MPU6000? (looks like for me)) for under 4€ (Invense Sensors not available from Mouser, other shops > 10€)
2. BMM150 (technical equal to HMC5883L? (looks like for me)) for under 2€ (HMC5883L not available from Mouser, other shops >2€)
3. BMP180/BMP280 (I think BMP280 is better, but Im not sure! Or even one of the BME ones (like environment logging stuff)?) for under 4€ (MS5611 >= 9€) but I'm not sure which one is technical better?

Also there is the BNO055 (9DOF + 32bit µC + Sensor Fusion algorithm) but I think it is to slow for a FC to get all data from it (UART,I2C interface only).

How much work will it be to get these sensors into Taulabs (HW engineer, so only a bit of software knowledge (PIC and Linux with C, no RTOS))? Are they a good choice for building a "cheap" and accurate FC for Taulabs?

Any further wishes or offers ??
I'm willing to build the FC with community feedback from here, FPV-Community.de and Mikrocontroller.net...
no avatar
User

jihlein

Posts

97

Joined

Thu Nov 13, 2014 11:01 pm

Re: Bosch Sensor (BMI160, BMM150, BMP280) support for own FC

by jihlein » Tue Sep 29, 2015 6:05 pm

FWIW, using the BMP085 pios driver as a template, I've put together a BMP280 driver. Driver works, BMP280 seems to do altitude hold fairly well in initial testing with default gains on an rcExplorer tricopter.

I don't know anything about the other Bosch sensors.

As far as I recall, the only difference between the F405 and F407 is the F407 has ethernet and camera support, so the F405 is probably fine.

I think you are fine with the all the sensors on one SPI bus, SPI eeprom on a different SPI bus. The on board mag can be of little use depending on how things are installed, so you might consider leaving that off the main board and having an external I2C (for HMC5883 or equivalent) or external SPI (for HMC5983 or equivalent) bus.

As far as Frsky inverters, make sure the telemetry inverter supports both sensor hub and smart port versions.

Bring out as many serial ports as possible.
no avatar
User

tracernz

Posts

119

Joined

Mon Apr 06, 2015 7:46 am

Re: Bosch Sensor (BMI160, BMM150, BMP280) support for own FC

by tracernz » Wed Sep 30, 2015 4:09 am

BMI160 looks really good. I have a couple on hand and a breakout board which I intend to solder up and test when I get some time. Would be nice to write a driver for it.
no avatar
User

Noy

Posts

6

Joined

Mon Sep 21, 2015 9:02 pm

Re: Bosch Sensor (BMI160, BMM150, BMP280) support for own FC

by Noy » Thu Oct 01, 2015 12:38 am

I found 2 other Sensors:

LSM6DS3TR (IMU) and MAG3110 (Magnetometer)

Could you help me to choose the better ones for Quadrocopters / Taulabs?

I don't know which Magnetometer would be better MAG3110 or BMM150 ? The MAG3110 has the easier Package to solder it by Hand but is it good enough or I mean better then BMM150?

Also which one: LSM6DS3TR or the BMI160?

Any suggestions?
no avatar
User

Noy

Posts

6

Joined

Mon Sep 21, 2015 9:02 pm

Re: Bosch Sensor (BMI160, BMM150, BMP280) support for own FC

by Noy » Sat Oct 03, 2015 12:01 pm

I decided to make 2 Boards. 1 with GPS (uBLOX MAX M8W) and Mag (MAG3110 Freescale) for a GPS stand off holder. With 2.54mm Jack and 25mm Patch antenna.

And the FC like quanton with SPort and Bluetooth Modul for GCS.

I choose MAG3110 (better Package and it looks like its a bit more accurate...)

Now i found FIS1100 from Fairchild.
It looks like it is very hard to find the most suitable Sensor for a FC..

So BMI160 or FIS1100 or LM6... (BMI and FIS are newer so i think they are better but which one? Has somebody looked at them already?)
no avatar
User

Noy

Posts

6

Joined

Mon Sep 21, 2015 9:02 pm

Re: Bosch Sensor (BMI160, BMM150, BMP280) support for own FC

by Noy » Sat Oct 03, 2015 4:54 pm

Is it already possible in Taulabs to use the Datasynchronisation things from BMM150 and BMI160?

Is it an advantage? Or is it not useful or useable for Taulabs cause of sensorfusion algorithm or something else?
User avatar
User

shred

Posts

287

Joined

Fri Mar 14, 2014 11:50 am

Re: Bosch Sensor (BMI160, BMM150, BMP280) support for own FC

by shred » Sun Oct 11, 2015 8:52 pm

jihlein wrote:FWIW, using the BMP085 pios driver as a template, I've put together a BMP280 driver. Driver works, BMP280 seems to do altitude hold fairly well in initial testing with default gains on an rcExplorer tricopter.


Would you mind sharing the BMP280 driver? I'm evaluating this sensor as well.
no avatar
User

jihlein

Posts

97

Joined

Thu Nov 13, 2014 11:01 pm

Re: Bosch Sensor (BMI160, BMM150, BMP280) support for own FC

by jihlein » Mon Oct 12, 2015 3:20 am

User avatar
User

shred

Posts

287

Joined

Fri Mar 14, 2014 11:50 am

Re: Bosch Sensor (BMI160, BMM150, BMP280) support for own FC

by shred » Mon Oct 12, 2015 5:58 pm

jihlein wrote:@Shred,

You can find it here:

https://github.com/jihlein/TauLabs/tree/myNext


Awesome, thanks!
no avatar
User

alexpaul

Posts

11

Joined

Thu Nov 10, 2016 3:24 am

Re: Bosch Sensor (BMI160, BMM150, BMP280) support for own FC

by alexpaul » Wed Dec 14, 2016 8:51 am

I decided to build a own FC (Your normal work is to design android single board computer's, so I think this shouldn't be to hard for me (if you get into Kicad a bit more (on work we use Mentor...)) . BMI160 looks really good. I have a couple on hand and a breakout board which I intend to solder up and test when I get some time. Would be nice to write a driver for it.

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron