RACING CAR

Created Date: 2017-07-17/ updated date: 2017-07-17
    • Medium screen shot 2017 07 17 at 11.39.17
    Owner & Collaborators
    License
    By
    RACING CAR by hangpham143 is licensed under the Creative Commons - Attribution license.
    Summary

    Materials

      Tools

        Blueprints

          Making

          • OVERVIEW

            0
            Thumb workhardanywhere mb green 1920
            This project is about making an Android controlled racing car using L298N dual H Bridge and a motor. The L298N is controlled via an Arduino UNO and a HC-06 Bluetooth module by Android application Cxem CAR.  
            Small screen shot 2017 07 17 at 12.04.56
            • COMPONENTS

              0
              Thumb workhardanywhere mb green 1920
              List of components:
              - 4-wheel drive chassis car
              - 1 Arduino Uno board
              - 1 HC-06 Bluetooth module
              - 1 L298N motor driver
              - 1.5 x 4 batteries
              - 1 DC motor
              Small screen shot 2017 07 17 at 12.01.38
            • THEORY

              0
              Thumb workhardanywhere mb green 1920
              The commands (ASCII) are transmitted from an Android application to the Bluetooth module by Bluetooth connection. The Arduino checks those commands with its previously defined commands and controls the DC motor to cause the car to move.
              Small screen shot 2017 07 17 at 11.49.39
          • IMPLEMENTATION

            0
            Thumb workhardanywhere mb green 1920
            To create an Android controlled racing car, there are 5 steps:
            - Drawing a circuit diagram
            - Preparing components
            - Assembling
            - Programing
            - Installing Android application
            Small screen shot 2017 07 17 at 12.30.42
            • CIRCUIT DIAGRAM

              0
              Thumb workhardanywhere mb green 1920
              The input is Android application and the output is the DC motor. On the car platform, I placed 1.5V x 4 batteries to power the motor and L298N driver, and used another 5V battery to supply electricity for Arduino. 
              Small screen shot 2017 07 17 at 12.33.37
            • COMPONENTS PREPARATION

              0
              Thumb workhardanywhere mb green 1920
              I went to Akihabara and followed the general list of components to buy. 
              • Small screen shot 2017 07 17 at 12.54.28
              • Small screen shot 2017 07 17 at 12.53.56
              • Small screen shot 2017 07 17 at 12.54.14
              • Small screen shot 2017 07 17 at 12.53.40
              • Small screen shot 2017 07 17 at 12.52.25
            • ASSEMBLY

              0
              Thumb workhardanywhere mb green 1920
              - Assembled the 4-wheel drive chassis kit 
              - Widened the main board of the car using laser cutter 
              - Soldered the motor to connect it with the L298N module
              - Connected all components using wires 

              [AI] Board
              • Small screen shot 2017 07 17 at 15.08.00
              • Small screen shot 2017 07 17 at 15.08.10
              • Small screen shot 2017 07 17 at 15.07.50
              • Small screen shot 2017 07 17 at 15.06.49
              • Small screen shot 2017 07 17 at 15.06.07
              • Small screen shot 2017 07 17 at 15.06.23
              • Small screen shot 2017 07 17 at 15.06.38
            • ARDUINO CODE

              0
              Thumb workhardanywhere mb green 1920
              Note: Since the Bluetooth module is connected to the RX and TX pins of the Arduino, the module should be removed while uploading the code from the PC to the Arduino. The module should be connected once the upload is complete.
              Arduino code
              Small screen shot 2017 07 17 at 13.24.21
            • ANDROID APPLICATION

              0
              Thumb workhardanywhere mb green 1920
              Cxem CAR is an Android app for >3.0 version devices. The application contains several activity. Main activity is a home screen with buttons running different operating modes (from accelerometer, screen buttons and touch-control) and settings. 



              • Small screen shot 2017 07 17 at 13.37.21
              • Small screen shot 2017 07 17 at 13.49.46
              • Small screen shot 2017 07 17 at 13.49.33
              • Small screen shot 2017 07 17 at 15.36.41
              • Small screen shot 2017 07 17 at 15.36.29
          • EVALUATION

            0
            Thumb workhardanywhere mb green 1920
            The initial idea is causing the car to turn left/right, move forward/backward. However, due to the surface of main board, there is only 1 DC motor so it can only move backward/forward. 

            In the future, I'd like to develop this project towards VR game by using camera sensors. 
            Small screen shot 2017 07 17 at 15.34.36
            Add Card Order

            References

              Usages

                Convert State

                 to Annotation.

                Select the numebr of the state to annotate.

                OK
                cancel
                Loading

                facebook

                , data-width="400", data-show-faces="true" data-send="true"
                , data-width="400", data-order-by="reverse_time"