How to make a Bluetooth-controlled car-DIY for beginners

How to make a Bluetooth-controlled car-DIY for beginners

Harshavardhan, srinidhi, Hemashri

We all dreamt of making an autonomous guiding vehicle or unmanned vehicle when we watched the launch of Perseverance. Well, We sure did. Then, when we got into making it, we found that behind the complex name laid the simple theory of working. And E-Lagori will help you make it simpler.

While it is definitely a fun project to do, Multi sensor mechanism used in this project have various applications. Autonomous guided vehicles or unmanned vehicles are gaining importance in various fields such as defense, space exploration, recovery, extraction, excavation, etc. These are also vividly used in industries for material handling and transportation. In these applications, There is need for input from multiple sensors to function as intended, as well as good communication between the host and the vehicle.

In this blog, we’ll see how to build a Bluetooth controlled vehicle step by step and we’ll explain how simple it can be using E-lagori boards.

 

Check E-lagori for more fun projects and information related to E-lagori. ( https://www.e-lagori.com/ )

Check the video below for detailed explanation of the project!

Outline

What are we building?

Materials required

Block diagram 

Step by Step guide 

Navigation and sensor test

 

WHAT ARE WE BUILDING?

We’ll be building a blue tooth controlled car which uses multiple sensors to navigate it’s path. It is controlled by a bluetooth app on a mobile phone and has a two wheel drive. Several sensors are placed on the car which provides spatial awareness. This is the beginning of a series of videos we will share increasing the complexity of the car and the sensors attached to it.

materials required

2 Ultrasonic sensors (SR04)

1 IR sensor 

1 E-LAGORi ESP-32 Wrover processor module

(Buy it here: https://www.e-lagori.com/product/esp32-wrover-processor-module/)

1 E-LAGORi USB based low noise power supply board

(Buy it here: https://www.e-lagori.com/product/usb-based-power-supply/ )

1 E-LAGORi Motor driver board

(Buy it here: https://www.e-lagori.com/product/motor-driver-board/ )

1 E-LAGORi 4-Differential / 8 Single ended input with bridge board.  

(Buy it here: https://www.e-lagori.com/product/4-differential-8-single-ended-inputs-with-bridge/ )

CONCEPT

Let’s get into theory of what happens behind your model. 

Two Ultrasonic sensors and the IR sensor are used to take readings of surroundings. They are connected to the 4-diiferential / 8 Single Ended inputs with the bridge board, which is also known as IO board (We’ll be referring it as IO board from here on). This board helps us interface sensors with the process board. 

We further connect the IO board to the processor (ESP-32 processor module). The processor process the data from sensors and sends it to the mobile application. We’ll be using DABBLE app in this project. 

Motor driver board that’s connected drives the two motors that are connected to it. Here, we are using bluetooth as a medium for establishing communication between the mobile app and stack. The sensor data is sent to the mobile app and using application, commands are given to the vehicle. 

 

→  Dabble app: Download it here!

https://play.google.com/store/apps/details?id=io.dabbleapp&hl=en_IN&gl=US&pli=1

 

block diagram

Let us look at the block diagram for easier understanding of concept.

Arrange the modules according to the block diagram.

Green line → Input 

Red line → Output 

Black → Bypass

Blue → Control lines 

Dotted → External connection 

Here, The upper half represents the input, output signals and the lower half represents the control signals. The two echo pins of the ultrasonic sensors and the analog output of the IR sensor are connected to the IO board through which the signals are passed onto the ESP-module. 

The trigger pins of the ultrasonic sensors are connected to the ESP board via the Motor driver board which gets its signal from the ESP-32 board. The EXI pin is used to ower the sensors. 

Finally, the control signals to the motors are sent by ESP-32 module. 

 

STEP BY STEP GUIDE FOR BUILDING YOUR MODEL

1. As previously explained analog output from IR sharp sensor is connected to ch3- and echo pin from two ultrasonic sensors is connected to ch2- and ch2+ of IO board.

2. GND and VCC pins from all three sensors are connected to GND and EXI terminals of IO board. (Trigger pin from two ultrasonic sensors will be connected in a later stage)

3. To send these signals to the esp32 we short jumpers O_C, O_D, O_E and to power the sensors, we short jumper Z.

4. Here O_C, O_D, O_E gets signal from ch2-, ch2+ and ch3-respectively.

5. On the esp32 board, we short Jumpers I_C, I_D, I_E to get signals from IO board.

6. To activate EXI terminal in IO board, we short jumper Z

7. For the trigger pin from two ultrasonic sensors, we short jumper AA and AB, next AC, AD, AE, AF jumpers are shorted for motor driver board.

8. In Motor driver board, we’re using two bidirectional motors. Motor 1 is connected to terminal C1O1 and C1O2 and motor 2 is connected to terminal C2O1 and C2O2.

9. To drive these two motors we short jumpers AF, AE and AD, AC respectively. 

10. In order to power the motors, According to motor specifications we need to connect power supply to the terminals V+ and GND to power the motors.

11. Connect trigger pin from two ultrasonic sensors to AA and AB in this board.

NAVIGATION AND SENSOR TEST

And VIOLA!! Your system is ready. Now, Test out your model by navigation test and sensor test. You can refer to the video below

In this blog, we’ve seen how simple building a bluetooth controlled vehicle can be using E-Lagori boards. Stay tuned for next blog for more cool projects and information.

Do comment and let us know whether you liked this blog and also watch the youtube channel to see the construction and demonstration of this project in detail. 

Tags:
5 Comments
  • Avatar
    Annie Fox
    Posted at 05:22h, 28 February Reply

    Do you want hot phone sex and a little more? Then you should get to know the combination of both! Phone sex with live cams offers you exactly what you need for hot chat online on the Internet. Horny women on the phone who have nothing else on their minds but to have fun with you in front of the cam. There are always horny women online waiting for your call and once they have you on the line they also switch on their cam.

  • Avatar
    Watch milf webcam free
    Posted at 06:53h, 01 September Reply

    his special category of our cement and ready-mix concrete solutions demonstrate unique sustainability attributes that include saving water

  • Avatar
    דירה דיסקרטית בתל אביב
    Posted at 15:52h, 08 June Reply

    Remembering to take a few deep breaths and hold them in andd blow the out hass
    a tremendous calming effect. Getting therapeutic
    massage iss not solely about feeling relaxed and refreshung but it alsao has the impact of circulating blood, reducing muscle tension, and helping you've
    got a bette sleep. By making uuse of strain in designated areas, it
    alleviates chroic situations involving muscle joints and bone.
    Relaxation methods resembling deep respiration, visualization, progressive muscle relaxation, meditation, and yoga ccan make it easier
    tto activate this relaxation response. Relaxation is another secret in relieving stress.
    We all know that, the bodys pure relaxation response iss a strong antidote tto stress.
    There are various issues that we will do during the day to reduce stress.
    There are new and improved percussion instruments such ass the Raptor that has four interchangeable attachments.

    The Gerson therapy makes in depth use of enemas, recommending that they should be administered each 4 hours
    or extra in certain cases.This entire-seat massager has 4
    rotating therapeutiic massage nodes thqt may provide a deep, kneading massae to your tense back.
    Don’t masxsage aeeas the place your baby has been vaccinated.

    Here is my blog post: דירה דיסקרטית בתל אביב

  • Avatar
    נערות ליווי
    Posted at 22:25h, 11 April Reply

    I was very pleased to uncover this great site. I need to to thank you for ones time for this fantastic read!! I definitely appreciated every bit of it and I have you bookmarked to look at new information on your blog.

  • Avatar
    דירות דיסקרטיות בתל אביב
    Posted at 14:25h, 07 April Reply

    Greetings! Very helpful advice in this particular article! It is the little changes that will make the most important changes. Thanks a lot for sharing!

Post A Comment