-1

I am trying to create a drone but I am struggeling a bit with the components and the schematic. I have 4 small drone motors from hubsan x107 and i have soldered their wires on a l293d driver like this below:

enter image description here

As you can see i have also soldered jumper cables on the l293d as well and I now look to put them on the arduino uno or a arduino mini pro (i have both at home) but I am not sure where to put these cables in order to make this work. I have typed them out as you can see on the picture and named them: Jumper cable 1, 2, 3, 4, 5, 6, 7 and 8.

This is the hardware I use:

Motor: http://www.banggood.com/Hubsan-H107C-X4-RC-Quadcopter-Spare-Parts-Motor-H107-a23-p-87563.html

Arduino uno

L293D

Cables

Would a setup like this work if I put the jumper cables on the correct pins on the arduino? And if so where on the arduino do i need to connect each wire?

Thanks a lot!!

  • I did not down vote you. But will try to explain why it likely happened. Your question is way too broad - actually to the point it can not be answered. All Arduino project are based on software / firmware. And if there is none in the question, then there really can be no project. – st2000 Dec 21 '16 at 17:51
  • Appreciate the feedback! Updated the post with the motor i use. Other then that It is a simple arduino uno board i work with along with the L293D driver that I also linked an image about. And of course cables – Martman Dec 21 '16 at 18:02
  • Hint: Most people who write code (drivers?) for the Arduino leave documentation explaining how to use their drivers. This is to say, you are still leaving out a key piece of information in your question: What driver are you using? – st2000 Dec 21 '16 at 19:14
  • L293D driver? Well i only use x4 motors, the L393D and a arduino uno so I guess that is my driver haha :P – Martman Dec 21 '16 at 19:17
  • You are missing a huge piece. There's bare metal programming. Which is very difficult. But the Arduino paradigm abstracts you from that. So there is at least the PWM drivers that come with the Arduino software package. So you need to connect up to the pins that the Arduino will support with the built in PWM Arduino driver. But to control 4 motors for flying is going to take a lot more than that. What are you using? Are you writing your own software? – st2000 Dec 21 '16 at 20:16
0

schematic

simulate this circuit – Schematic created using CircuitLab

The battery needs to be the right voltage for your motors. There are no specifications on the page you linked to at all, so your job now is to find out what your motors are and what voltage they run from.

| improve this answer | |
  • The datasheet has an interesting addition to the ground prins: "Device ground and heat sink pin. Connect to printed-circuit-board ground plane with multiple solid vias." – Paul Dec 21 '16 at 20:20
  • 1
    @Paul Yeah, I was thinking of mentioning that. Not sure if the OP has a driver on a breakout (in which case it doesn't matter) or if he has directly wired jumpers to the chip pins - in which case he may want to solder on some lumps of metal as well to act as a heat sink... – Majenko Dec 21 '16 at 20:22
  • Also, I'm curious if you could toggle the enable pin to get "active breaking" then it may be worth to not directly wire them to vcc. – Paul Dec 21 '16 at 20:24
  • @Paul That may be vaguely possible, but I wouldn't want to do that through an Arduino IO pin. – Majenko Dec 21 '16 at 20:27
  • @Paul Actually that might be ok. I think the EN would be isolated from the back EMF from the motor. – Majenko Dec 21 '16 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.