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
  • 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
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Differential drive wifi controlled robot car .
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 9 replies
  • Subscribers 276 subscribers
  • Views 933 views
  • Users 0 members are here
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Differential drive wifi controlled robot car .

Shockwave69
Shockwave69 6 months ago

Hi I am looking for a tutor or mentor pal who can help me with a project which I want to do for learning purpose . I want to build a Differential drive robot car with stm32 nucleo board , brushless 12 v dc motors which will be wifi controlled . I want to use STM32 cube IDE or Keil platform and c language . Can anyone will kind enough to help me out with this project ?

  • Sign in to reply
  • Cancel

Top Replies

  • robogary
    robogary 6 months ago +3
    I would be happy to answer any specific questions you post. You have the pleasure to write the code and do the learning. You may want to start with 2 continuous servos rather than DC motors tho. …
  • robogary
    robogary 6 months ago in reply to shabaz +1
    good advice. Its tough for a beginner to get comfy with all the facets: mechanical hardware, electronic hardware, platform software & IOT. BTW, A big disadvantage with steppers for mobile vehicles, standard…
  • robogary
    0 robogary 6 months ago

    I would be happy to answer any specific questions you post.

    You have the pleasure to write the code and do the learning.

    You may want to start with 2 continuous servos rather than DC motors tho.

    Open loop DC motors dont keep speed very well and you'd need to PWM the H bridges, or close the speed loop regulator with a motor encoder,  unless you are buying an I2C driver board with the built in functionality. 

    You might be advised to start with a kit like a parallax with an Arduino controller, Probot DIY, Elegoo, etc...     

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz 6 months ago in reply to robogary

    OP mentions BLDC however, which are likely to keep better speed than typical (i.e. low-cost kits containing them) continuous-rotation hobby servo's.

    Question for OP: it sounds like you have something particular in mind, since you're being quite specific with the type of motor and voltage and the particular mechanical drive you want to implement, and you've even specified the particular microcontroller board. I'd suggest there's a dichotomy between that and a general learning type of project.

    Plus, the chance is almost zero of finding any online educational material that would meet all your specifics.

    Same as robogary says, I wouldn't pick BLDC to start off with either.

    Stepper motors would be another great option, not too difficult to drive due to the variety of ready-made stepper motor controllers, and very good at keeping speed with each other. Not mega fast though (might not always be a bad thing though).

    Totally agree that kits etc would be very good, to reduce frustration if you're a beginner.

    On the other hand, if you specifically need to learn how to drive BLDC, then concentrate on that before you try to integrate into a larger project. That's a large enough learning curve right there.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • robogary
    0 robogary 6 months ago in reply to shabaz

    good advice. Its tough for a beginner to get comfy with all the facets: mechanical hardware, electronic hardware, platform software & IOT. 

    BTW, A big disadvantage with steppers for mobile vehicles, standard steppers are pretty heavy, even heavier than metal DC motors with a gearbox and encoder.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Shockwave69
    0 Shockwave69 6 months ago in reply to shabaz

    Thank you for your suggestion . I have worked with arduino uno  to make a simple car . I have already worked with smaller motors . Now I want to work with different development board. Since stm electronics have so many mcu’s . After researching I decided the nucleo board which will be sufficient economically for me . Is there any reson you are telling me to not start with dc motors . ? Thank you .

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Shockwave69
    0 Shockwave69 6 months ago in reply to shabaz

    I am planning to add hbridge driver to pwm the motors too . That is one of the part in my project too .

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Shockwave69
    0 Shockwave69 6 months ago in reply to robogary

    Thank you Robogary , one of the information i need is about hal library for stm development board . Where can I get examples or learning courses on hal library . 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • robogary
    0 robogary 6 months ago in reply to Shockwave69

    The hat usually has a published users manual, thats the best place to start.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • robogary
    0 robogary 6 months ago in reply to Shockwave69

    2 DC motors on the same vehicle dont run exactly the same speed due to differences in gear losses, friction loading, etc. that is, it doesnt drive in a straight line even with perfect alignment.

    If the vehicle is line following, the differential steering control adjusts the speeds ( output voltage via PWM duty cycle ) anyway, DC motors will be fine. If you are continuously providing external steering control, DC motors will be OK too.  

    Continuous servos are easier to understand and write code for, thats why beginners use them.   

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Shockwave69
    0 Shockwave69 6 months ago in reply to robogary

    Thank you 

    • 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