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 Rc Arduino motor control
  • 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 Suggested Answer
  • Replies 8 replies
  • Answers 4 answers
  • Subscribers 394 subscribers
  • Views 1222 views
  • Users 0 members are here
  • remote control
  • esc
  • brushed motor
  • boat
Related

Rc Arduino motor control

loliampol
loliampol over 8 years ago

ok, here is the situation, I have an RC boat with a brushed motor, just normal DC. It worked through a servo pressing a switch imageimage so every time you pushed the gas it would just fly of. Because of this I wanted to make an Arduino speed controller to take the servo signal through an Arduino/MSP430, through a MOSFET, into the engine. but how do I write the software? I have no idea about the incoming PWM signal, but that's why I'm asking you! so the main question is to help me with the software.

  • Sign in to reply
  • Cancel

Top Replies

  • balearicdynamics
    balearicdynamics over 8 years ago +2 suggested
    Hi Pol, if you go step by step I think it is less difficult then you think. This occurs with almost any problem. You have described almost clearly the problem and the circuit in just three lines (!!!)…
  • mcb1
    mcb1 over 8 years ago +2 suggested
    I have an RC boat with a brushed motor It worked through a servo pressing a switch The servo operates a three or four position switch which usually has a resistor in series. The biggest issue you'll face…
  • dougw
    dougw over 8 years ago +2
    Could the servo just turn a pot that directly controls a PWM motor driver?
Parents
  • balearicdynamics
    0 balearicdynamics over 8 years ago

    Hi Pol,

     

    if you go step by step I think it is less difficult then you think. This occurs with almost any problem.

     

    You have described almost clearly the problem and the circuit in just three lines (!!!) We love if we can see also some photos of what you are doing. Only one thing is not clear to me; where is the Arduino? On your side or on board of the boat? If it is on your side I suppose that PWM can't control directly the power of the motor. Another question; your RC controller do have a manual speed control (a jog, joystick or slider etc.) ? Or you mean you want to replace every remote-local parts with the Arduino and the MSP ???

     

    Please can you provide any kind of block schematic of your building so we can focus better the problem? For PWM as well as any other control and feedback you can get from Arduino there are tons of good examples that focus just the single problem. One problem at a time.

     

    Supposing that you place the Arduino - I mean, the new electronic - on board, how do you plan that Arduino (or any other micro controller) receive some sort of signal from somewhere (where?) to provide the right PWM value? Or youaim to build and autonomous boat? Or Arduino should keep a certain speed or work as a limiter?

     

    Enrico

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • loliampol
    0 loliampol over 8 years ago in reply to balearicdynamics

    ok, I'm sorry but the plan has changed a tiny bit, here are some pictures: https://photos.app.goo.gl/8WtRKasUvBLJvycc2. I am going to use the AUX input for a lamp on the boat, and I'm going to BUY a ESC for the motor. oh and the MSP/Arduino aren't two seperate components, but a choice that I still have to make. they will be on the boat itself, using the receiver.

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

    The ESC will take the output of the receiver directly so nothing to do there

    If the lamp is to be simply on/off then you can use the parts from the old motor control (Servo and Switch) to control the lamp, just plug the servo into an alternate channel

     

    Looks simple enough

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

    what I need is a variable speed controller, forward and back. so that's an (brushed) ESC

    for the lamp, the servo would be a good idea! thanks

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

    what I need is a variable speed controller, forward and back. so that's an (brushed) ESC

    for the lamp, the servo would be a good idea! thanks

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

    Right, The ESC takes the PWM output of the receiver, this is the standard signal out of RC systems and was used to drive the servo before, that same PWM signal will now drive the ESC

    https://en.wikipedia.org/wiki/Servo_control

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