LibrePilot Forum

General Category => General Discussion => Topic started by: batata003 on October 10, 2016, 03:31:31 am

Title: Using CC3D to control quadcopter with brushed motor
Post by: batata003 on October 10, 2016, 03:31:31 am
Hi,

I have 4 brushed motor from a drone that I destroyed last year and I decided to use them with CC3D. These motors dont use ESC (of course), I will buy some FETs so I can control those motors. But I have a question: does CC3D has the ability to control brushed motors? If so, what should I do? Connect the signals pin from CC3D to each FET?

I tried to find a tutorial at Google but didnt find. Could you please help me with this?
Title: Re: Using CC3D to control quadcopter with brushed motor
Post by: hwh on October 10, 2016, 06:16:50 am
In general you'd just hook it up to one of the outputs but you'd probably be better off just buying a brushed flight controller from banggood.  Eachine-CC3D-32bits-Brushed-Flight-Control-Board (http://www.banggood.com/Eachine-CC3D-32bits-Brushed-Flight-Control-Board-Based-On-Openpilot-For-DIY-Micro-FPV-Frame-p-1087646.html?p=SO28133399239201512V) is only around $12 USD.

Thread https://forum.librepilot.org/index.php?topic=2401.msg16889#msg16889 and the one it refers to talk about settings for brushed.  Brushed isn't officially supported but those threads talk about how to configure for it.
Title: Re: Using CC3D to control quadcopter with brushed motor
Post by: batata003 on October 10, 2016, 02:36:04 pm
Thank you so much! The problem is that those FC from bangood are gonna take forever to arrive here to brazil :( That's why I would like to use cc3d
Title: Re: Using CC3D to control quadcopter with brushed motor
Post by: xfce on October 10, 2016, 05:35:42 pm
it's very easy, just need to add four nmos controled by 4 pwmout channels.and I have uploaded the uav file in other post as the reference.
Title: Re: Using CC3D to control quadcopter with brushed motor
Post by: Brian on October 10, 2016, 06:01:08 pm
You might also want to add a flyback diode across the motor to reduce the back EMF.
Title: Re: Using CC3D to control quadcopter with brushed motor
Post by: batata003 on October 10, 2016, 06:48:31 pm
@xfce do you think this FET would work: http://www.nxp.com/documents/data_sheet/BUK95_9607_30B.pdf

What do you think? If not, could you please tell me some model of the FET you used?
Title: Re: Using CC3D to control quadcopter with brushed motor
Post by: Brian on October 10, 2016, 07:10:08 pm
Your link didn't work for me, but assuming you're looking at this one: http://cache.nxp.com/documents/data_sheet/BUK9607-30B.pdf, that seems like overkill.

You could use a proven design from the Crazyflie 2 schematic: https://wiki.bitcraze.io/_media/projects:crazyflie2:hardware:crazyflie_2.0_rev.c_schematics.pdf, which uses these: http://www.nxp.com/documents/data_sheet/PMV31XN.pdf
Title: Re: Using CC3D to control quadcopter with brushed motor
Post by: batata003 on October 10, 2016, 09:28:13 pm
Thanks! I will try to shop it online here in brazil :)
Title: Re: Using CC3D to control quadcopter with brushed motor
Post by: xfce on October 11, 2016, 02:31:53 am
Thanks! I will try to shop it online here in brazil :)
yes, PMV31XN is OK, and i also use IRLML2502, as this one is much cheaper here:)
also i found your mos is too big, Id about 75A, usually we use 720 or 820 brushed mortors, and little SOT23 package mos's Id 2-3A is OK
Title: Re: Using CC3D to control quadcopter with brushed motor
Post by: batata003 on October 11, 2016, 02:56:00 pm
You are so kind :) Thank you, I will buy that small factor mos, I also have the same motors as you. Thank you!!