STMicroelectronics-CentralLabs / ST_Drone_FCU_F401

Toy drone project for STEVAL-FCU001V1 flight controller unit demo board.
Other
157 stars 114 forks source link

BLE Remocon Firmware + app v11 #7

Closed ziogianni closed 6 years ago

ziogianni commented 6 years ago

Hello I have an issue with the android app, as soon as I arm the drone using the proper command sequence, the DC motors start to spin but the application loses the connection with the STEVAL board.

Then I'm forced to reset the board and start it over.

Any help?

teomaras76 commented 6 years ago

Hi, can you make again the same test with debugger connected or check LED status and verify if a MCU reset is occurring? It may be that when spinning the motors a sudden drop of voltage on Vbatt bus may reset the MCU.

teomaras76 commented 6 years ago

If it's an issue of voltage drop it should be related to battery used. A different battery with higher discharge rate should solve situation, or an additional capacitor on the Vbatt

ziogianni commented 6 years ago

Hello Matteo, actually I have no battery connected yet, I was using the power supplied by the ST Link just for testing purposes. The LED placed in the middle of the board which turns green when the Bluetooth is connected, after the arming procedute turns amber. Do you think could be tied to the low current provided with such USB interface?

Il 20 gen 2018 12:32 PM, "Matteo Maravita" notifications@github.com ha scritto:

If it's an issue of voltage drop it should be related to battery used. A different battery with higher discharge rate should solve situation, or an additional capacitor on the Vbatt

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/STMicroelectronics-CentralLabs/ST_Drone_FCU_F401/issues/7#issuecomment-359164839, or mute the thread https://github.com/notifications/unsubscribe-auth/AJbYOkfzwlcWsyYYcoo3q8LchxHBAj9Uks5tMc7MgaJpZM4RjcUE .

teomaras76 commented 6 years ago

Hi Gianni, The power given by the USB is not enough and there will be a drop of 3.3V voltage given to STM32. If you look at schematics the USB will give power to the battery charger that will charge battery but with no battery inserted it will not give enough current. Also during debugging phase, with or without motor spinning, battery must always be connected.

ziogianni commented 6 years ago

Ok Matteo, thanks for the heads-up.

As soon as my battery arrives I'll update you on this issue. But I'm pretty confident, it's due to the low current drawn from the USB interface. That's what I guessed and now I got a corfimation

Il 21 gen 2018 4:34 AM, "Matteo Maravita" notifications@github.com ha scritto:

Hi Gianni, The power given by the USB is not enough and there will be a drop of 3.3V voltage given to STM32. If you look at schematics the USB will give power to the battery charger that will charge battery but with no battery inserted it will not give enough current. Also during debugging phase, with or without motor spinning, battery must always be connected.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/STMicroelectronics-CentralLabs/ST_Drone_FCU_F401/issues/7#issuecomment-359221237, or mute the thread https://github.com/notifications/unsubscribe-auth/AJbYOrn9Btbgap0d9jsKRrgxTx14E-x2ks5tMrBegaJpZM4RjcUE .

inishchith commented 6 years ago

@teomaras76 I'm from AboutCode org , can i know the category of the license (BSD or proprietary). couldn't find your email id .

teomaras76 commented 6 years ago

@inishchith you may find the description of license in the file LICENSE at top page, is the information enough for you?

teomaras76 commented 6 years ago

@ziogianni please may you kindly comment if you have solved your issue so I may close this issue post?

inishchith commented 6 years ago

@teomaras76 Yes , thanks !

ziogianni commented 6 years ago

Matteo actually I haven't had any chance to try yet. I'll let you know

Il 1 feb 2018 2:42 AM, "Matteo Maravita" notifications@github.com ha scritto:

@ziogianni https://github.com/ziogianni please may you kindly comment if you have solved your issue so I may close this issue post?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/STMicroelectronics-CentralLabs/ST_Drone_FCU_F401/issues/7#issuecomment-362130753, or mute the thread https://github.com/notifications/unsubscribe-auth/AJbYOi6NgDuD1Xktyw7o4C1JRoa1vZcpks5tQRahgaJpZM4RjcUE .