27-Aug-2020, 02:45 PM
Adding Baro and GPS on Mamba F405 Stack |
10-Jan-2021, 02:23 AM (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. 10-Jan-2021, 03:04 AM (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. 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. 10-Jan-2021, 03:41 AM (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. 11-Jan-2021, 02:39 PM 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 12-Jan-2021, 01:28 PM (11-Jan-2021, 02:39 PM)iFly4rotors Wrote: Hi Snow, 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). 19-Jun-2021, 03:30 AM (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. 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 19-Jun-2021, 04:19 AM (19-Jun-2021, 03:30 AM)oldfriend Wrote: resource SERIAL_TX 1 B06The 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. 08-Sep-2021, 04:38 PM 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 08-Oct-2021, 09:44 PM 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 |
« Next Oldest | Next Newest » |
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 |