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 Wireless Remote control car
  • 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 6 replies
  • Answers 1 answer
  • Subscribers 393 subscribers
  • Views 938 views
  • Users 0 members are here
Related

Wireless Remote control car

Former Member
Former Member over 10 years ago

Dear Guys,I am now doing my university project.This project name is called wireless remote control Car.I want to use some funtionality for my car design.
1.Bluetooth control for driving car(Forward,Backward,Turn left ,Turn right,Release)
2.Avoiding obstacle using Ultrasonic sensor
3.Horn and signal with LEDs

 

For above describe functionalities ,I use the following materials.The list are in below.
1.Arduino UNO board
2.L293D DC motor control drive  Shield
3.Bluetooth module(HC-06)
4.Ultrasonic sensor (HC-SR04)
5.Two DC motor
6.Speaker(8 ohm )and LEDs

 

Firstly we are using only without motor shiled and
control code over bluetooth.It is very nice for simple DC motor and it is very ok.I am happy.But,When I attached with car motor ,it does not work ,It is because of load (can`t support required current).For bluetooth module,I already use RX and TX . to control motor forward and backward.Turn left and right.So,I must decide to find new design.I found motor shield.

 

Secondly,I use L293D motor shield for motor control.It is only convenient for serial data in (I mean signal control only using serial motor tool default built in Arduino IDE). When I have idea to connect with bluetooth module),actually it does not work and does not reach singals.I combine using arduino and motor shiled,I have a little difficulties for connecting wires (ie.
digital pins ,analog pins,etc from arduino board).

 

According to my desire,I want to control my car driving using bluetooth over mobile phone(BlueStick ).But the bluetooth singal does not work when I am connecting with motor shiled.my Car design is four wheels using two DC motors.The first motor is using forward and backward.I found the code how to spin motor forward and backward.Another one is Turn left and right using the same function like as forward and backward ;it is ok.

 

Please sir,Another desirable condition is avoiding obstacle using Ultranosic Distance sensor.When sensor detect in the desire distance,turn left or right.

 


Hopefully,:you can help me my project.Please help me sir.My project due date is so near and near.Help me.

  • Sign in to reply
  • Cancel

Top Replies

  • muffenme
    muffenme over 10 years ago +1 suggested
    I would use a servo instead of a motor for turning unless you have a toy car that has everything you need except the microcontroller. I might do something like this with one my toy TC truck. First take…
  • kitfud
    kitfud over 10 years ago +1
    www.youtube.com/watch Let me know if this is something that interests you....it uses wireless receivers and transceivers which can be a bit tricky to use but is well worth it in the end.
  • element14jamie
    0 element14jamie over 10 years ago

    Hello myominhein

    Welcome to the element14 Community, we hope you enjoy it! I will move this over to the Arduino area as it is a better fit.

     

    Thank you,

     

    Jamie

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • muffenme
    0 muffenme over 10 years ago

    I would use a servo instead of a motor for turning unless you have a toy car that has everything you need except the microcontroller.  I might do something like this with one my toy TC truck.  First take it one step at a time.

    1st see if you can do simple task with the bluetooth device, that if you new to microcontroller.

    Once you understand the basic then is just slowly hooking things up and writing and testing you code.  You can easy do it.  The hard part is on the phone/or any bluetooth compatible device.  If you have already writing code for android, then you aren't going to have have any problem.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • neilk
    0 neilk over 10 years ago

    Hi myominhein I agree with muffenme.

     

    A servo is best for steering and it's always a good idea to start small and build things up. You should try and get your Bluetooth working in a simple situation.

     

    Here is a link to my blog which shows a simple set up using an HC-06 to link an Android phone to an Arduino and control an LED:

     

    http://www.element14.com/community/people/neilk/blog/2014/07/14/mit-app-inventor-creating-android-app-to-control-arduino-via-bluetooth

     

    I hope this helps

     

    Neil

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to neilk

    Hi,all of my friends I am ok with 5 volt DC motor and using software serial

    pin over the bluetooth signal module.The things that I worry about is that

    damaging my Arduino.The schematic pin that I connect shown,please take a

    look and after that the code also.

    Please advice to me.The code and circuit is not complete at all lefting

    about sensor,LEDs and sound system and LCD display.

    The code is like that...

    #include <AFMotor.h>  //For motor Driver that produce enough current

    #include<SoftwareSerial.h> //For Serial External Data  Command

     

    SoftwareSerial mySerial(10, 11); // RX, TX

     

    AF_DCMotor Motor1(1);

    AF_DCMotor Motor2(2);

     

     

    void setup()

    {

      Serial.begin(9600);

      Motor1.setSpeed(255);

      Motor2.setSpeed(200);

    }

     

    void loop()

    {

        if(Serial.available() >0)

        {

          char ch=Serial.read();

                if(ch =='C')

                {

                    Motor1.run(FORWARD);

                    delay(1000);

                }

                else if (ch=='D')

                 {

                    Motor1.run(BACKWARD);

                    delay(1000);

                 }

                 else if(ch =='4')

                {

                    Motor2.run(FORWARD);

                    delay(1000);

                }

                else if (ch=='6')

                 {

                    Motor2.run(BACKWARD);

                    delay(1000);

                 }

                 else if(ch =='8')

                 {

     

                  Motor1.run(RELEASE);

                  Motor2.run(RELEASE);

                 delay(1000);

                 }

                else

                 Serial.println("You are wrong!");

     

        }

     

     

     

     

    }

     

    The abstraction digram is like that..

     

     

    Attachments:
    image
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kitfud
    0 kitfud over 10 years ago

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    Let me know if this is something that interests you....it uses wireless receivers and transceivers which can be a bit tricky to use but is well worth it in the end.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • muffenme
    0 muffenme over 10 years ago

    Each motor needs 2 MOSFET to protect your arduino board or you can get a board design to work with arduino to control motor. like http://www.ebay.ca/itm/Stepper-Motor-Drive-Controller-Board-Module-L298N-Dual-H-Bridge-DC-For-Arduino-/170926726867?pt=LH_DefaultDomain_0&hash=item27cc06ded3.  The link was added March 10, 2015.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