Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding Baro and GPS on Mamba F405 Stack
#16
(27-Aug-2020, 02:19 PM)Pedro28july Wrote: Bro, if i use UART3 for Crossfire Nano Rx, and UART6 for DJI Air Unit, is there anyway to find another UART to connect a GPS? Really appreciate your help

Which revision of the Mamba F405 MK2 board do you have? Do you have a TX1 pad next to the PPM pad?
Reply
Login to remove this ad | Register Here
#17
(27-Aug-2020, 02:45 PM)SnowLeopardFPV Wrote: Which revision of the Mamba F405 MK2 board do you have? Do you have a TX1 pad next to the PPM pad?

I know this is a stretch from 4 months ago.  I'm in kind of the same boat. 

Can I just run SmartAudio on the TX1 pad (next to the PPM pad) instead of the TX3 pad where all the VTX pads are located.

This would lead to UART 3 being completely open & ready for GPS.
Reply
#18
(10-Jan-2021, 02:23 AM)twelsch42 Wrote: I know this is a stretch from 4 months ago.  I'm in kind of the same boat. 

Can I just run SmartAudio on the TX1 pad (next to the PPM pad) instead of the TX3 pad where all the VTX pads are located.

This would lead to UART 3 being completely open & ready for GPS.

If you're not already using any part of UART1 for anything else then yes, you can use the TX1 pad for SmartAudio instead of TX3.
[-] The following 1 user Likes SnowLeopardFPV's post:
  • twelsch42
Reply
#19
(10-Jan-2021, 03:04 AM)SnowLeopardFPV Wrote: If you're not already using any part of UART1 for anything else then yes, you can use the TX1 pad for SmartAudio instead of TX3.

Thank you for the reply.  Yep, that's the case.  UART1 is totally free, I'm using UART6 for crossfire.

It really helps when trouble-shooting to know that something should work.

GPS modules get here Monday ... I'll get the soldering iron out for some building.
Reply
#20
Hi Snow,

Will THIS work for any F405 processor ??

I already have GPS on my long range builds, so how would I add just a barometer?
What is a good barometer to use on quads and how does it wire up to the FC?

Thanks
______________________________________
My BUILDS  ||   My INDEX   ||  Parts Guide  <-- Download


Reply
#21
(11-Jan-2021, 02:39 PM)iFly4rotors Wrote: Hi Snow,

Will THIS work for any F405 processor ??

I already have GPS on my long range builds, so how would I add just a barometer?
What is a good barometer to use on quads and how does it wire up to the FC?

Thanks

Yes, but only if I2C2 isn't already mapped and if UART3 isn't already being used for anything else. In addition to remapping the UART3 resource to I2C2 the commands in that linked post also configure the magnetometer which isn't applicable in your case, so some different barometer specific commands will need to be specified instead.

A Bosch BMP280 is the most common barometer to use and is the same as the one used onboard most FCs which have them already integrated. You can get those on standalone circuits which you then just need to wire up to your FC (5V, GND, SDA and SCL pads).
[-] The following 2 users Like SnowLeopardFPV's post:
  • oldfriend, iFly4rotors
Reply
#22
Photo 
(12-Jan-2021, 01:28 PM)SnowLeopardFPV Wrote: Yes, but only if I2C2 isn't already mapped and if UART3 isn't already being used for anything else. In addition to remapping the UART3 resource to I2C2 the commands in that linked post also configure the magnetometer which isn't applicable in your case, so some different barometer specific commands will need to be specified instead.

A Bosch BMP280 is the most common barometer to use and is the same as the one used onboard most FCs which have them already integrated. You can get those on standalone circuits which you then just need to wire up to your FC (5V, GND, SDA and SCL pads).

hallo snow,
i am new,
i have question about remapping resource on tyro79 flightcontroller,

many resource in betafight :
# resource
resource BEEPER 1 C13
resource MOTOR 1 A08
resource MOTOR 2 A09
resource MOTOR 3 A10
resource MOTOR 4 C08
resource MOTOR 5 C09
resource MOTOR 6 B00
resource MOTOR 7 B01
resource PPM 1 C07
resource LED_STRIP 1 B01
resource SERIAL_TX 1 B06
resource SERIAL_TX 2 A02
resource SERIAL_TX 3 C10
resource SERIAL_TX 4 A00
resource SERIAL_TX 5 C12
resource SERIAL_TX 6 C06
resource SERIAL_TX 11 B02
resource SERIAL_RX 1 B07
resource SERIAL_RX 2 A03
resource SERIAL_RX 3 C11
resource SERIAL_RX 4 A01
resource SERIAL_RX 5 D02
resource SERIAL_RX 6 C07
resource SERIAL_RX 11 C05
resource I2C_SCL 1 B08
resource I2C_SCL 2 B10
resource I2C_SDA 1 B09
resource I2C_SDA 2 B11
resource LED 1 C14
resource LED 2 C15
resource SPI_SCK 1 A05
resource SPI_SCK 2 B13
resource SPI_SCK 3 B03
resource SPI_MISO 1 A06
resource SPI_MISO 2 B14
resource SPI_MISO 3 B04
resource SPI_MOSI 1 A07
resource SPI_MOSI 2 B15
resource SPI_MOSI 3 B05
resource ADC_BATT 1 C01
resource ADC_RSSI 1 C02
resource ADC_CURR 1 C00
resource PINIO 1 A13
resource PINIO 2 A14
resource FLASH_CS 1 B12
resource OSD_CS 1 A04
resource GYRO_EXTI 1 C03
resource GYRO_CS 1 A15
resource USB_DETECT 1 C04

but no interfaces uart or i2c on flightcontrol,
so can i use uart or i2c direct to chip stm32 ?
i need the answer friend


Attached Files Thumbnail(s)
       
Reply
#23
(19-Jun-2021, 03:30 AM)oldfriend Wrote: resource SERIAL_TX 1 B06
resource SERIAL_TX 2 A02
resource SERIAL_TX 3 C10
resource SERIAL_TX 4 A00
resource SERIAL_TX 5 C12
resource SERIAL_TX 6 C06
resource SERIAL_TX 11 B02
resource SERIAL_RX 1 B07
resource SERIAL_RX 2 A03
resource SERIAL_RX 3 C11
resource SERIAL_RX 4 A01
resource SERIAL_RX 5 D02
resource SERIAL_RX 6 C07
resource SERIAL_RX 11 C05

resource I2C_SCL 1 B08
resource I2C_SCL 2 B10
resource I2C_SDA 1 B09
resource I2C_SDA 2 B11

but no interfaces uart or i2c on flightcontrol,
so can i use uart or i2c direct to chip stm32 ?
i need the answer friend
The serial_rx resources above are your UARTs and you also have two I2Cs exposed. If the pins are not broken out to pads on the FC you can also solder wires directly to the legs of the MCU to add I2C connections.

Looking at the diagram you posted, PB8 and PB9 are I2C1 and PB10 and PB11 are I2C2. You can use a multimeter to see if those pins go to any of the exposed pads on the FC.
Reply
#24
Hi 

I'm just in the process of building my own with the same stack as you, how did you get on with adding the baro and compass? Can I ask which one you added for my own interest? 

Tim
Reply
#25
I had the GPS installed in the FC uart 6 (Mamba f405 MK2) and it worked correctly, currently I switched to crossfire and had to install it in the uart 6, so the GPS tried to connect it to the Uart 3 but it did not recognize me in betaflight the GPS, I also tried to do it by Softserial and it didn't work either. (It is to clarify that the Sixty9 Crosffire Recepts try to connect it in uart 3, but it only worked in Uart 6) I appreciate your help
cc
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Speedybee f405 mini Servo Treyglass 2 91 19-Apr-2024, 04:56 PM
Last Post: Treyglass
  EByte E108 GN02D GPS BaconFPV 3 80 14-Apr-2024, 03:43 PM
Last Post: BaconFPV
  GEPRC GPS M1025 series hawk01 0 70 13-Apr-2024, 12:54 AM
Last Post: hawk01
  Mamba F722 Mini - FC leds meaning and beeps phelipems 0 84 11-Apr-2024, 09:26 PM
Last Post: phelipems
  Hard to find pieces to fit Mamba F722 Mini Stack 40A phelipems 5 144 31-Mar-2024, 04:08 PM
Last Post: phelipems


Login to remove this ad | Register Here