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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbies question belonging to flight controller
#16
dear snowleopard, had i just looked up there before! i found this: https://github.com/iNavFlight/inav/issues/3728 - so now i will try to compile the INAV code at my own.
Reply
Login to remove this ad | Register Here
#17
and it worked! thank you very much!
Reply
#18
That's great news. Thanks for reporting back. Normally I would have searched through the GitHub issues myself to see if I could find anything similar to your issue but I've been busy with other things today. I'm glad you found it.
[-] The following 1 user Likes SnowLeopardFPV's post:
  • Cyfly
Reply
#19
No, it was very helpful to talk with you. If you don't mind i will be back for reporting as soon as i have put the next stuff in. There are lots of things to go with. How to apply some foam material onto the baro-holes, how to mount the GPS without a 3d printed part, soldering the GPS to the i2c pads without lose the baro ones Smile
Reply
#20
meh, today i soldered magnetometer to UART2 (SDA/SCL), receiver to UART2 and gps to UART6. now all three, magnetometer, gps and baro are red icons. the receiver-block in 'configuration' is missing. i'm afraid, the story isn't over ...

in target.h i found this block:

#define USE_UART2
#define UART2_RX_PIN PA3
#define UART2_TX_PIN PA2
// PC13 used as inverter select GPIO for UART2
#define INVERTER_PIN_UART2_RX PC13

maybe that last line is responsible for the receiver error.
Reply
#21
(26-Apr-2021, 08:02 PM)Cyfly Wrote: meh, today i soldered magnetometer to UART2 (SDA/SCL), receiver to UART2 and gps to UART6. now all three, magnetometer, gps and baro are red icons. the receiver-block in 'configuration' is missing. i'm afraid, the story isn't over ...

in target.h i found this block:

#define USE_UART2
#define UART2_RX_PIN            PA3
#define UART2_TX_PIN            PA2
// PC13 used as inverter select GPIO for UART2
#define INVERTER_PIN_UART2_RX   PC13

maybe that last line is responsible for the receiver error.

But it's the UART3 connections (MCU pins PB10 and PB11) that are used for connecting external devices to the I2C2 bus, not UART2. So I'm a bit confused.

When the external barometer was previously working with the code changes you made (commented out lines), which UART pads was it connected to?

Those code lines above are for the UART2 connections (MCU pins PA2 and PA3) which have nothing to do with the I2C2 bus.
Reply
#22
Yes sorry, that was a typo, i was a bit tired. of course i soldered the magnometer to UART3 and the reveiver to UART2. the barometer is still connected to UART3, now in parallel with the magnetometer, while the receiver (crossfire) is connected to UART2.
i thought the lines above could be responsible for that i can't see a receiver configration block in the configuratien tab. i have the BN-880 GPS with compass https://de.banggood.com/Beitian-BN-880-F...ds=myorder
Reply
#23
strange. i measure just 2.15V between the +5v-pads and GND. only etween the 3V3 pad and GND there are 3.3V as there should be. the FC is only powered by USB.
Reply
#24
(27-Apr-2021, 01:23 AM)Cyfly Wrote: strange. i measure just 2.15V between the +5v-pads and GND. only etween the 3V3 pad and GND there are 3.3V as there should be. the FC is only powered by USB.

It's possible you are trying to power too many things off of just the USB connection.

Do you have an external power source you can add to simulate the actual power the FC will get when it's in the craft?
I'm really IntoFPV
Youtube|Instagram|Facebook|Steam
Don't forget to rate people who have helped you!
Reply
#25
it's the same when i desolder anything. i have an external powersource, but the fc gets its power by the esc. its a stack. i wanted to solder the things to the fc first, but when its possible that i have only 5v when i connect a lipo maybe its better to put the fc onto the esc first, power that and check then again if anything will work. or do you think my fc is broken? i just have seen a video where the guy tests his 5Vrail only on lipo.
Reply
#26
(27-Apr-2021, 02:30 AM)Cyfly Wrote: it's the same when i desolder anything. i have an external powersource, but the fc gets its power by the esc. its a stack. i wanted to solder the things to the fc first, but when its possible that i have only 5v when i connect a lipo maybe its better to put the fc onto the esc first, power that and check then again if anything will work. or do you think my fc is broken? i just have seen a video where the guy tests his 5Vrail only on lipo.

You should be able to just solder an XT60 on to the ESC and then plug in the ESC-FC cable and power it up easily enough.

I have encountered many problems trying to get everything to run off of USB, its much safer to just power it externally.
I'm really IntoFPV
Youtube|Instagram|Facebook|Steam
Don't forget to rate people who have helped you!
Reply
#27
thanks will try that tomorrow. the xt60 and the motors are already soldered to the fc. will maybe the best to mount the fc on top and solder then.
Reply
#28
(27-Apr-2021, 02:46 AM)Cyfly Wrote: thanks will try that tomorrow. the xt60 and the motors are already soldered to the fc. will maybe the best to mount the fc on top and solder then.

How did it go?
I'm really IntoFPV
Youtube|Instagram|Facebook|Steam
Don't forget to rate people who have helped you!
Reply
#29
(28-Apr-2021, 05:42 AM)bffigjam Wrote: How did it go?

thanks for asking Smile i did it today and it seems to went well ... i connected the esc, usb and an external powersupply. when i started INAV configrator, the GPS was present (blue icon) but barometer and magnetometer not. after configuring the receiver and rebooting everything seemed to be present. looks like when the FC is booting with just usb powered the barometer doesn't appear, but when booting with external power/battery, it is. the magnetometer doesn't show up in sensors tab, is that normal?

now there are still several things to go. i soldered a capacitor to external power even if i don't really need it since with motors 1700KV i only can fly on 4s. but it takes plenty of space and not so much for the wires. also, i have a selfpowered beeper with +, - and signal wire and don't really know how to solder that, i don't really have a free +5V pad and don't know where to put the signal wire. maybe to B+?

next i will solder VTX and camera, find a way how to apply some foam to the baro, figure out how to mount all that stuff to the frame, especially the GPS where i don't have a really a mounting part for, i think i will try to make some holes into that plastic box for it (would it be very bad when i put the cap on that box to secure the GPS antenna a bit?) and zip tie it to the antenna holder i bought. and with the crossfire antenna i am unsure. it has a grey heatshrink so it maybe is for 900MHz, but i am in europe. or use the immortal T? or uild an "immortal L" on the back of the quad, hmm ... what an adventure!-)


Attached Files Thumbnail(s)
   
Reply
#30
(28-Apr-2021, 03:27 PM)Cyfly Wrote: thanks for asking Smile i did it today and it seems to went well ... i connected the esc, usb and an external powersupply. when i started INAV configrator, the GPS was present (blue icon) but barometer and magnetometer not. after configuring the receiver and rebooting everything seemed to be present. looks like when the FC is booting with just usb powered the barometer doesn't appear, but when booting with external power/battery, it is. the magnetometer doesn't show up in sensors tab, is that normal?

now there are still several things to go. i soldered a capacitor to external power even if i don't really need it since with motors 1700KV i only can fly on 4s. but it takes plenty of space and not so much for the wires. also, i have a selfpowered beeper with +, - and signal wire and don't really know how to solder that, i don't really have a free +5V pad and don't know where to put the signal wire. maybe to B+?

next i will solder VTX and camera, find a way how to apply some foam to the baro, figure out how to mount all that stuff to the frame, especially the GPS where i don't have a really a mounting part for, i think i will try to make some holes into that plastic box for it (would it be very bad when i put the cap on that box to secure the GPS antenna a bit?) and zip tie it to the antenna holder i bought. and with the crossfire antenna i am unsure. it has a grey heatshrink so it maybe is for 900MHz, but i am in europe. or use the immortal T? or uild an "immortal L" on the back of the quad, hmm ... what an adventure!-)


I'm glad it's working well.

I'm sorry I'm not overly familiar with iNAV so I coudn't tell you about the sensors tab.

Capacitor will help regardless if you have space then it's a great idea, if not don't worry too much unless you start getting noisy video or something.

You need to go to where you bought the beeper from and see if there is a wiring diagram, generally the ones with the connections you mention can be hooked up as per below:

Buzzer  -----   FC
GND     -----  GND
5v        -----  Buzzer +
Signal   -----  Buzzer -

Let me explain why they are connected like this to better your understanding:
Generally FC's are designed to have a normal piezo style buzzer fitted, which just buzzes when it gets power, so they have a buzzer + and - pad, on the - pad they have a transistor that turns the connection on and off when the buzzer function is activated.

Your type of buzzer has a battery to be charged, it will beep when the quad looses power and it will also beep when you activate buzzer function on the FC. So, the buzzer+ (constant 5v) and standard GND charge up the battery and also let the buzzer know when it's lost power and needs to beep. When the Signal wire is grounded (by activating the buzzer- feature) then the buzzer will also sound.

I would suggest you look into 3D printed mounts for your GPS and immortal T, there are some really nice ones out there that mount them both out the back of the frame where you'll need it Smile
I'm really IntoFPV
Youtube|Instagram|Facebook|Steam
Don't forget to rate people who have helped you!
[-] The following 1 user Likes bffigjam's post:
  • Cyfly
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Which ground controller for Inav? PJKMBAKER 3 276 09-Mar-2024, 04:47 PM
Last Post: StuweFPV
  Autonomous flight C73150N 0 141 03-Jan-2024, 08:19 PM
Last Post: C73150N
  compass wiring question Trankilo 2 301 15-Dec-2023, 10:04 AM
Last Post: Trankilo
  Best ESC (4 In One) or Flight Controller absolutely working on DSHOT koklimabc 2 524 14-Mar-2023, 02:23 PM
Last Post: koklimabc
  Cannot get smart audio working on Matek F411 Wing flight controller buildCrashRepeat 6 7,128 16-Jan-2022, 05:12 PM
Last Post: buildCrashRepeat


Login to remove this ad | Register Here