I am making an rc car with mpu6050, servos, and bldc motors. But my laptop (windows 10) has been getting BSOD a lot recently. First I thought it was because of my old SSD, no biggy. But after several checks, my SSD seemed fine. I concluded that it might be the Arduino that's causing the problem.
Here is my setup. I am powering my Arduino nano via 5V pin.
And I am aware that this method is not advised, but unfortunately this is my only option.
5V pin is connected to step down voltage converter which is fixed at 5V (3A max), and the converter is connected to 3S lipo battery.
For serial communication, laptop is connected with Nano via usb cable. (this is needed in order to tune the pid gains, will be removed if a good value is found)
My laptop crashes after I stop the motors. I have read that it is fine to use external power supply and usb port at the same time if the external power is connected to Vin. But mine is not, so I am guessing that maybe 5V to 5V pin is causing the problem.
Is my guess correct? And what do you suggest me to do if it is correct??
Thanks in advance.
Is that a band??? acronyms need defining! It sounds like a transient is being passed from the motors via the USB to your laptop. Keep doing this and you will have to replace the laptop. There is a good reason it is not recommended to do it this way. Try powering the nano with the 11.1 volts from the battery, it is in range and you will get the benefit of the onboard filtering of the nano. Also why did you not post the rest of the schematic, I find it hard to believe the motors just run. That could also be the source of your problem.
You could put a diode or two in series with the 3.6 from the battery and that would work for you (1N400? series would work as there is no load on the Nano). If your regulator will give you about 8 volts that will work as well. The regulator will give you better filtering on the 5V and with the diodes you have reverse battery protection.