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 & Tria 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi RC Car
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 9 replies
  • Answers 1 answer
  • Subscribers 678 subscribers
  • Views 1080 views
  • Users 0 members are here
  • helpme
  • element14
  • raspberry_pi
  • raspberrypi
Related

Raspberry Pi RC Car

Former Member
Former Member over 11 years ago

Hi I am a high school student and I just purchased a raspberry pi and I want to make a RC car that i can control with my Iphone. So the reason I am here is because i want to know if anybody can tell me what i will need?(Any info would help, as I do not know much about this.)

 

Thank You in advance.image

  • Sign in to reply
  • Cancel
Parents
  • iagorubio
    0 iagorubio over 11 years ago

    Hello Faizan,

     

    What you need is:

     

    • A motor controller. Car motors should not be directly driven by the raspberry.
    • A communication method. The easier is bluettoth, so a bluetooth dongle for your Pi.
    • The software on the Pi and on the Phone.
    • Optionally you can buy an already made chassis with motors.

     

    There are plenty of motor controller board out there to control the motor. Usually an H-Bridge IC to control the movement of the motor in both directions as you will want your car to have reverse.

     

    One of the cheapest and easiest controller I used on the Pi, is the Ryantek controller https://www.ryanteck.ltd.uk/rtk-000-001/ but it requires some easy soldering. If you don't want to solder any H-BRidge DC motor control board will work. I use to work with L298 based like this one https://www.sparkfun.com/products/9670 because they are sturdy and can use them in other projects with high voltages up to 35V.

     

    The bluetooth dongle must be compatible with the Raspberry so take a look at here before to buy one. RPi USB Bluetooth adapters - eLinux.org

     

    The software on the Phone won't be that hard to build but it will depend on your programming.

     

    I know for Android there are already made bluetooth robot controllers you can just download and configure like this https://play.google.com/store/apps/details?id=pl.mobilerobots.vacuumcleanerrobot

     

    I don't know if there is something similar for iPhone but I would look for it before to start to code.

     

    The software on the Pi will depend a lot on the motor controller to use but usually is just to pulse some pins for direction and two PWM channels for speed.

     

    The chassis is optional, you can just screw everything motors and that on a thin board and it will be ok.

     

    Not long ago we had to made 10 cars for some robotic classes and we found good enough to buy cheap chinesse chassis like those Arduino Chassis: Electrical & Test Equipment | eBay but there are plenty of them there out like Magician Chassis: Amazon.com: Industrial & Scientific or a little better ones like Pololu - Dagu Rover 5 Tracked Chassis with Encoders or many others. You even have beasts like https://www.sparkfun.com/products/11056 if you fancy it but I would not spend that much on a chasis.

     

    The only thing to look on those chassis is they have motors, battery holders and some kind of screw in system so you don't need to drill holes on it.

     

    Take a look at this and if you have more doubts don't hesitate to come back and ask.

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

    I'd agree with most of this parts list except really these days with the WIFI been like £2-3 for the little USB units  you may as well use themt and really writing a simple program to stream data or control some I/O is much easier over a more conventional network link after all you can do this using an apache webserver on the vehicle and a browser rather than dealing with the specifics of bluetooth!

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

    I agree with the wifi part, specially if you want to stream video, because it's much easier to set it up on a web server.

     

    But overall I prefer bluetooth over wifi for robotics because wifi eats lots of juice and drains batteries quite quick.

     

    To overcome the main problems related to bluetooth - so many protocols - I use mostly blutooth as a virtual serial port - must be an RFCOMM protocol capable device - so I just read and write the /dev/ttyUSBX block device to comunicate over bluetooth. That works even with the other MCUs like AVR (or arduino) where you can use a bluetooth to serial like https://www.adafruit.com/products/1588 (there are much cheaper ones in the market) and just use the UART pins for comunication.

     

    Anyway wifi is fine. Much better if you want to stream video.

     

    But take care with the energy requirements of the wifi devices you use. A friend of mine got a wifi camera - NetCam Wi-Fi Camera with Night Vision - to attach it to a Dagu chasis for a "Mars Explorer" Robot, and it ended up draining 3A just for the camera. At the end the LiPo batteries was almost as big as the robot for just a couple of hours of fun.

     

    That won't be a problem in this case with the Raspberry Camera and a wifi dongle though.

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

    I agree with the wifi part, specially if you want to stream video, because it's much easier to set it up on a web server.

     

    But overall I prefer bluetooth over wifi for robotics because wifi eats lots of juice and drains batteries quite quick.

     

    To overcome the main problems related to bluetooth - so many protocols - I use mostly blutooth as a virtual serial port - must be an RFCOMM protocol capable device - so I just read and write the /dev/ttyUSBX block device to comunicate over bluetooth. That works even with the other MCUs like AVR (or arduino) where you can use a bluetooth to serial like https://www.adafruit.com/products/1588 (there are much cheaper ones in the market) and just use the UART pins for comunication.

     

    Anyway wifi is fine. Much better if you want to stream video.

     

    But take care with the energy requirements of the wifi devices you use. A friend of mine got a wifi camera - NetCam Wi-Fi Camera with Night Vision - to attach it to a Dagu chasis for a "Mars Explorer" Robot, and it ended up draining 3A just for the camera. At the end the LiPo batteries was almost as big as the robot for just a couple of hours of fun.

     

    That won't be a problem in this case with the Raspberry Camera and a wifi dongle though.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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