Repository navigation
Support magnetometer connected to SDA1 / SDC1 on HAKRC-MiniF4 #4025
Replies: 19 comments 17 replies
|
that looks like a cool little board combo. got links to the parts you're using ? I might use it in a new nano goblin i'm doing |
https://docs.google.com/spreadsheets/d/1YthgX-AxWWoiD1XvqMCrX5uiW7JgQVIPsdHQczLHrJQ/edit?usp=sharing |
|
I've tried various permutations and combinations of the following to attempt to make it possible to connect the magnetometer to SCL1 and SDA1:
None of this worked. Could there be some extra circuitry connected to SCL2 and SDA2 that is not connected to SDA1 / SCL1? There appears to be an open circuit from the pads to the pins on the IC. How can I debug this? Changes here: This is the second time that I've tried and failed to remap resources. I'd really like to figure out what I'm doing wrong. |
|
@atobiese |
|
This issue is not fixed @shellixyz. I hope I can submit a PR that fixes it. |
|
This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. |
|
hi @msfujino |
|
Hi chobitsfan Because I wanted to connect WS2811_LEDStrip to this LED terminal, I cut the pattern, jumpered the PA1 and LED terminal, and assigned PA1 to WS2811 drive signal. msfujino |
|
hi @msfujino thank you |
|
Hi chobitsfan |
|
hi @msfujino thank you very much. I got it |
|
Thank you very much @msfujino, your post solved my problems both in Betaflight and Inav |
|
Hi Ex4nder, I am glad to help you. |
|
I didn't configure LED pin yet, and right now I've an error I can't arm because of invalid LED setting, but I will like more to enable hardware serial port 4 on PA0/PA1 for lidar and optical flow, and use maybe beeper pin for the led, beeping with ESCs. I still have to read well the datasheet to see if it can be done. About RSSI I also think I don't need it, because I've telemetry on fport (serial 1 TX in half duplex) |
|
The ESC tower connector has 12 pins, but 2 pins each are connected together (6 pairs). |
|
UPDATED! No, it's not, I also checked yesterday night. Serial TX1/RX1(PA9) as f.port [half duplex] In target.c Only Buzzer is missing now to be installed, I don't plan using a blackbox. |
|
It took time to set up the compilation environment, but I remap and use FCs which are not supported by iNav. The betaflight target files are very helpful. |
|
i have this board, run omibus f4v3 target inav 2.6.1 I need 1 uart for Fport, 1 for GPS, 1 for Runcam control and one for Smart audio (no smart audio is ok .) |



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Current Behavior
The HAKRC-MiniF4 is one of only a few 20x20mm flight controllers with built in barometer. INAV is currently supported using the
OMNIBUSF4V3target.The HAKRC-MiniF4 has a JST connector that has a UART and a i2c pins (SCL1 and SDA1) broken out on it that could possibly be used to connect a GPS / magnetometer module e.g Beitan BN-880 .The instructions suggest the magnetometer is connected to SCL2 and SDA2 which means some messy soldering and using up pads that could be used for something else:
Desired Behavior
Make it possible to connect a magnetometer to SC1 / SDA1 on the HAKRC-MiniF4.
Suggested Solution
Create a new target specifically for the HAKRC-MiniF4 that uses
USE_I2C_DEVICE_1.Who does this impact? Who is this for?
People using HAKRC-MiniF4 with external GPS / magnetometer module.
All reactions