element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
  • About Us
  • 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
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
Forum needing help to connect a 2-pin rc-car steering motor to an adafruit pwm i2c controller
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 15 replies
  • Subscribers 179 subscribers
  • Views 2658 views
  • Users 0 members are here
  • raspberry pi i2c
  • servo motor
  • i2c
  • how to i2c
  • pwm
  • raspberry pi io
  • servo
  • pwm controller
Related

needing help to connect a 2-pin rc-car steering motor to an adafruit pwm i2c controller

tlucas756
tlucas756 over 7 years ago

So I saw a neat project on a magazine about controlling an rc-car wirelessly through a raspberry pi, using pwm.

I ordered everything I needed, mainly an i2c controller, and I started working on it. i am using a clone of the adafruit controller instead of a real one, because it was a lot cheaper, though the functionality remains the same.

Now, I have a problem. The article says that I need to connect the steering motor to the 3 pins on the adafruit controller, which are labeled power, ground, and PWM, but my motor only has two wires, so I have no idea what they do, or what to do next.

I do not have another rc-car to do this on. How do I connect the motor to the controller? do I need to get a different motor?

Thank you for your help!

image

imageimageimage

  • Sign in to reply
  • Cancel

Top Replies

  • beacon_dave
    beacon_dave over 7 years ago +3
    Not sure from the photo if your steering is actually a DC motor or a spring loaded solenoid. Does the steering spring back to centre if the wheels are pushed and let go ? You will also likely have problems…
  • dougw
    dougw over 7 years ago +3
    As Dave indicates a DC motor would need an H-Bridge to reverse polarity. The micro servo might work as a demo but may have problems in actual use. You need to check if the torque is enough, the speed is…
  • ninjatrent
    ninjatrent over 7 years ago +3
    The L293D h bridge will drive this type of motor. It is a very low cost part (US $2). The PCA9685 is for use with servos although as mentioned a circuit can be created. The cheapest and easiest option…
Parents
  • 14rhb
    14rhb over 7 years ago

    Tiago,

     

    You need a few extra electronic components in between the Adafruit board and your motor. Something like this:

    arduino - Control of a coreless DC motor using a PWM and a ...

    (from https://electronics.stackexchange.com/questions/176601/control-of-a-coreless-dc-motor-using-a-pwm-and-a-mosfet  )

     

    Happy building image

     

    Rod

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • 14rhb
    14rhb over 7 years ago

    Tiago,

     

    You need a few extra electronic components in between the Adafruit board and your motor. Something like this:

    arduino - Control of a coreless DC motor using a PWM and a ...

    (from https://electronics.stackexchange.com/questions/176601/control-of-a-coreless-dc-motor-using-a-pwm-and-a-mosfet  )

     

    Happy building image

     

    Rod

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Children
  • 14rhb
    14rhb over 7 years ago in reply to 14rhb

    Actually I might have misled you there - I didn't notice it was the steering motor you were having trouble with (sorry).

     

    That motor might change polarity to make it turn either direction. It could be that PWM isn't the right solution for that. I think for that you need to put something else between the Adafruit PWM and your motor called an H-bridge circuit. That would allow you to control the direction that the simple DC motor can turn.

     

    Perhaps another E14 member with more knowledge of how RC cars work can comment ?

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • 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