2021-01-03, 02:16 PM
(This post was last modified: 2021-01-03, 11:16 PM by CapnKernel.)
(2021-01-02, 10:56 PM)seandepagnier Wrote: I bought 3 and all 3 were defective in all different ways.. So I basically stopped using this part. Maybe it will work if you reduce pwm frequency but it will then make audible noise.
Did you try VNH2SP30 modules, or VNH5019?
I bought 3 VNH2SP30, two from China sellers, and one from a reputable hobbyist place here in Australia. All three were faulty - they either didn't work, or only worked in one direction. (The Australian sourced one looked exactly the same as the China ones, so I think they were just reselling).
I have bought 16 VNH5019 modules (single channel version) in three orders from this company:
https://www.aliexpress.com/item/4000046778315.html
I've tested eight VNH5019 (some from all three orders) and all have worked fine.
I suspect most of the VNH2SP30 from China are faulty. Three scenarios:
- They are "pulls". They may have been recycled from old cars, as these were intended as power window drivers.
- They failed ST's QC, and were sold off as working in only one direction, but these have been returned to the market by unscrupulous sellers as grade A.
- They were part of an unofficial run at the plant ST had their chips made at, and these were sold out the back door.
https://www.bunniestudios.com/blog/?page_id=1022
Mention of VNH2SP30 in the PyPilot code stands as a tacit approval of this device, but anyone who tries the VNH2SP30 is almost certainly on the road to failure. This doesn't seem a good idea.
What if we replaced VNH2SP30 in the code with VNH5019?