Hello, I’m a complete newbie in circuits and have tried to figure it out with chatgpt (yeah, feel free to roast me!).I’m trying to control a DIA42B20W (BLDC motor with in-built driver) with a Raspberry Pi. Please see the diagram on how I plan to wire it all up.
I have added a N-MOSFET into my circuit so that I can control the application of the 24V. The reason for this choice is two-fold:
- The warning below listed in the manual (See photo)
“Prohibition of plugging and unpluggin while Power is ON
Unplugging and inserting the connector in the power ON state may cause breakage, so please do not do it absolutely”
- To control the timing for the start up so that it matches recommendation in the manual (see diagram in Photo).
Does the circuit make sense? I’m afraid I already fried one motor when I messing about in my first attempt, but I have ordered two more.
I have seen a person use this motor in a circuit like so, but as far as I can tell that circuit doesn’t allow for controlled timings i.e. 5V first then 24V.
Full manual for the BLDC is here:
https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/2519/DIA42B20W32A_Spec.pdf
@HeinzKetchup
From what I see the connections look good.
@HeinzKetchup
Also, the power on section would be not only for the safety of the motor but also the user.
I would expect that in some cases having the motor jump on as a result of only plugging the overall device into the wall can cause issues.
Sorry which design? The first one I posted that Chatgpt had helped with or the second design in the bottom that I came across (The one where he used an Arduino)?.
I’ve been warmed about the design “I came up with” that I should not not switch Gnd with a MOSFETI and I ought to use HiSide power switch (dedicated one or just P channel MOSFET)
@HeinzKetchup
Sorry, I was referencing the first design.
Thanks for your reply Nathan. Not to question you, but can you comment on why the warnings I have received about this circuit are void? The warnings were:
I should not not switch Gnd with a MOSFETI and I ought to use HiSide power switch (dedicated one or just P channel MOSFET)
@HeinzKetchup
As for the not switching ground with a mosfet.
From what I see it would be recommended in this case as you would probably want all of the parts of the overall design to reference the same ground. And having the motor see the mosfet instead may cause issues.
Hi Robert
Yes, I’m guilty of cross-posting and I really do apologise for that. I was eager to figure out whether I could try out these circuits with the two new motors I’ve got arriving this week (without frying another one!). But I see the consensus is that those circuits are no good, so I need to change it.
You can cross post everywhere you want. It’s just a heads up for everyone else trying to help you, that something else may have been suggested.
Regards,