element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Help with motor driver module
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 11 replies
  • Subscribers 393 subscribers
  • Views 927 views
  • Users 0 members are here
Related

Help with motor driver module

jehielmartinez
jehielmartinez over 11 years ago

I make an Arduino standalone to drive a simple bluetooth RC Car from my Android phone. Using a

ZITRADES L9110S DC/Stepper Motor Driver Module, a Tamiya double motor gearbox and a HC-06 Bluetooth module.


When I run my code on the Microcontroller eveything works fine, then I plug the Motor Driver  and everything fails.

I need help with this issue? I dont know what's the problem.

I plug just one motor and works, but it doesnt works with the two motors plugged on the Driver Module.

T


  • Sign in to reply
  • Cancel
  • jw0752
    0 jw0752 over 11 years ago

    Hi Jehiel - I really don't have enough information on your hookup but many times when something works with one load and fails when a second load is added it is because of an inadequate power supply. Check to see what happens to your voltage level with one and then two motors. Are your logic circuits tied to the same power supply? This can be an additional problem as voltage spikes from the motors need to filtered out.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    John is right on the money with this one

     

    Very DeJaVu as we answered a similar question just a few weeks ago

     

    1. Are you powering the motors from the controller, if you are, dont, unless it is a real small motor it will cause problems, especially with two.

    2. As John already said, Is your PSU up to the job and is it coupled to the motors correctly, you need only have a common ground between the motor controller and the micro-controller board

    3. Draw us a picture and post it showing your connections and components (Even a cell phone picture will do, make sure it is well lit and shows all the parts

    4. Attach or post you code in this thread for us to review for you

     

    5.  wait for us to review it all and get back to you, (That's is usually the quick bit)

    6. apply changes recommended and if it is still not working go to 3 and repeat image

    7. If all is working well, post your results (Other can benefit from your experience and you get points for it) and pat yourself on the back for a job well done

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jehielmartinez
    0 jehielmartinez over 11 years ago

    Thank you for your reply.

    Here's the problem more detalied. Sorry for the crappy solder job. I was soldering and desoldering things trying to fix it

    image

    image

    WHEN I CONNECT  THE MOTOR DRIVER VCC TO THE POSITIVE JOINT ON THE BATTERY PACK WITH A ALLIGATOR CLIP. IT WORKS!!

    image

    THEN I CONNECT THE DRIVER VCC TO POSITIVE 5V ON THE OUTPUT OF THE L7805 WITH AN ALLIGATOR CLIP. IT WORKS!!

     

    image

    OK! I WILL SOLDER THE DRIVER VCC TO THE OUTPUT OF THE L7805. IT DOESN'T WORK!! image

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to jehielmartinez

    there is no simple reason the lsat two should not behave the same way

     

    there is an observation on the routing of your wire though

     

    in the working version where you connect to the output of the 5V reg will clip, the wires are away from the cpu pins

     

    in the soldered version your running the power to the driver right over the XTAL pins, dont so that, route the power to the motor away from the CPU pins, especially the oscillator. This may fix your issue , th theory being the noise from the motor is affecting the CPU oscillator

     

    also add a small value decoupling capacitor at the motor connector end of your pcb maybe 100nF ish, this will help to eliminate the noise feeding back from the motor control

     

    Worth a shot and fits your symptoms

     

    let me know what your results are

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to Robert Peter Oakes

    image told you it would be quick image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to jehielmartinez

    I also just realized you seem to be using NMIH Rechargeable batteries, or a version of Rechargeable battery

     

    These are only 1.2V each and you appear to have only 4 in your holder, this adds up to 4.8V before the regulator, the reg also requires 2V more on the input to get the designated output (5V in this case). This would require nearer 7V from the batteries

     

    If you can simply try replacing the rechargeable with a fresh set of Alkaline to see if that is all it needs to make things work, re-routing the wire is also still a wise thing to do

     

    Do you have a meter to validate the voltage coming out of the regulator without the motor running and then with both motors on ?, if so what are the readings

     

    Regards

     

    peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 11 years ago in reply to jehielmartinez

    I had something similiar happen to me on a circuit a while back. As it turned out my load had a capacitor that was pulling my Vcc low and resetting my arduino. When I used the jumper wires it worked ok. The jumper wires have a measureable resistance compared to the direct wiring and this acted like a buffer that prevented the microprocessor from resetting. Try putting a low value resistor in place of the direct wire if you want to test this possibility.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jehielmartinez
    0 jehielmartinez over 11 years ago

    I put a 100nF capacitor between the VCC an ground of the motor driver.

    Re-route the conector avoiding pass it through the processor.

    Power it up with a Bench Power Supply ay 9 volts.

    Still not working.

    image

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jehielmartinez
    0 jehielmartinez over 11 years ago in reply to jw0752

    Thank you. I will try it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jehielmartinez
    0 jehielmartinez over 11 years ago

    It works!!

    Thanks for all your help! Now its working fine.

    Here's how I fix it:

    1. Filtering Noise with a 100pF capacitor

    2. Moving vcc source away from the microcontroller.

    3. Four 10 ohms resistors between the Motor Driver vcc and the battery power source.

    4. Replace batteries with 4 AA Alkaline.

     

    It works perfect. There's just one problem the resistor ladder it's getting very hot. I have to replace them with Mora capable resistor.

     

    Thank you all for your help.

    image

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube