2016-01-11 07:59 PM
I am using the stm32f4 discovery to send PWMs to ESCs. However, the program executes for some time and then stops. When I try running the application without connecting the ESCs, it works perfectly fine. Here, the power supply is provided by the LiPo battery and I am using the BEC of the ESCs to power the Discovery.
#!random-shit #external-power-supply #discovery2016-01-12 01:13 AM
There are more or less two options: Software or hardware.
Maybe you're triggering a software error mostly when you have the ESCs connected but not otherwise. But you think it is not that. That leaves ''hardware''. ESCs are ''power'' devices and may emit some Electro Magnetic interferance. Either throught power or signal lines or through radiation. First: try to keep them as far away as possible (if not possible in the final application, at least for now to try and find the problem), place (extra) capacitors on powerlines and make sure that you power your board adequately.... Can you use a scope to check power lines?