VIETNAM NATIONAL UNIVERSITY, HANOI INTERNATIONAL SCHOOL GRADUATION PROJECT Project: Multi-Function Arduino Car Student’s name: Trương Hoàng Nam Hanoi - 2024 VIETNAM NATIONAL UNIVERSITY, HANOI INTERNATIONAL SCHOOL GRADUATION PROJECT Project: Multi-Function Arduino Car SUPERVISOR: Prof. NGUYEN VAN TINH (Academic title, academic degree, full name) STUDENT: Truong Hoang Nam STUDENT ID: 19071618 COHORT: ICE SUBJECT CODE: INS401401 MAJOR: INFORMATICS AND COMPUTER ENGINEERING Hanoi - 2024 Acknowledgments I would like to express my sincerest gratitude to Mr.Nguyen Van Tinh, who supported me in the process of completing my graduation thesis.Tinh 's great help and knowledge have helped me improve my knowledge and skills in solving complex problems. My research and development work was greatly helped by his enthusiasm, experience and quick feedback. Initially, researching and manufacturing an Arduino car with many features faced many difficulties.Tinh 's constant support and encouragement has strengthened my resolve and helped me face these problems with great confidence and determination.
To turn my first ideas into a viable project, his ability to explain complex issues and how to solve practical problems was crucial. Our conversation revealed Mr.Tinh 's support for learning and research and genuine concern for student success. I was impressed by his extensive knowledge and seriousness in research and development. I am grateful for his support and patience in ensuring that I had the resources and knowledge necessary to succeed.
This project not only improved my abilities but also my research and critical thinking skills. In light of the above, I am grateful to Professor Tinh for his guidance, expertise, and unwavering support. I am honored to work under his leadership and want to share his scholarly interests and creativity in my future endeavors. 1I Declaration I thus certify that the graduation project named "Multi-function car" is my own unique work, written by myself.
Professor Nguyen Van Tinh supervises this research at International School, Vietnam National University, Hanoi. I certify that this material was not submitted to any other academic or non- academic institution for the intention of getting a degree or for commercial benefit. This project's material is the result of my personal study, and it comprises facts and findings presented as precisely as possible. Any knowledge gleaned from the work of others has been cited and documented in the References section.
I understand the definition of plagiarism and declare that all sources of information and data utilized in this research are properly acknowledged, in accordance with the ethical norms expected in academic work. Furthermore, I consent to the institution utilizing my project for academic objectives, such as exhibition in a library, inclusion in course materials, or dissemination in academic circles, as long as the author is properly attributed. III Figures Chapter 2. Knowledge for the project Fig1.
Arduino Logo Fig3. Arduino UNO R3 DIP Fig 2. Pin Diagram Fig2. Arduino Motor Shield L293D Fig2.
Arduino Motor Shield L293D Circle Diagram Fig2. Bluetooth Module HC-05 Fig2. Servo Motor SG90 Fig2. Dimensions SG90 180 Servo Motor Fig2.
HC-SR04 Ultrasonic Sensor Fig2. Cylewet 2Pcs Gear Motor Dual Shaft Fig2. Wheele/DC motor Fig2. Cell 18650 battery holder bracket + Li-ion battery Chapter 4.
Circle Diagram Fig4. Multi-Function Car Chapter 5. Bluetooth Arduino Car App Fig7. Arduino Bluetooth Control App 1 Table Of Content Chapter 1.
Target User and Reason For Choosing. Knowledge for the project. What is Arduino ?. Component of Ardunino Board.
Comprehension of hardware. State Machine Programming. Sensor Integration and Data Processing. List Of Component.
Description of Each Component. Arduino UNO R3 DIP. Arduino Motor Shield L293D. Bluetooth Module HC-05.
Servo Motor SG90. HC-SR04 Ultrasonic Sensor. 2Pcs Gear Motor Dual Shaft. Robot wheel/DC Motor Wheel.
Cell 18650 battery holder bracket + Li-ion battery. Gear Motor & Wheels. Assembly Of Car. Step by step.
Set-up Libraries and Dependencies:. Define project requirements. Motor Driver Configuration. Overview project completion.
Integration and Final Testing. Possible Extensions and Improvements. Enhanced Sensor Integration. Enhanced sensor integration.
Enhanced Communication and Control Features. Improved Voice Recognition and Command Processing. Autonomous Behavior and Decision Making. Energy Efficiency and Power Management.
Project Overview The Arduino platform has transformed the world of DIY electronics and embedded systems by offering a versatile and accessible environment for creating a wide range of projects. Among my projects, the versatile Arduino automobile distinguishes out for its use of advanced capabilities like obstacle recognition, voice control, and Bluetooth connectivity. My essay gives an academic overview of the primary components and functionalities of a multi-functional Arduino automobile, emphasizing its significance, technological design, and prospective applications. My initial hopes for the project were that the multi-function Arduino Cart would be an excellent instructional tool, offering hands-on training in robotics, programming, and electronics.
Beyond schooling, similar systems may be expanded and customized to handle increasingly complicated applications such as automation, monitoring, and even assistive technology. The key aspects may be summarized as follow. Current Context Several modern elements influence the project's development and implementation. Technological breakthroughs have made inexpensive sensors, microcontrollers, and modules available, allowing for the development of complicated robotic systems.
The global movement toward remote learning, as well as a growing interest in hands-on educational solutions, has underlined the need for initiatives like these that can be carried out and mastered from a distance. The open- source ecosystem, with its vast collection of software and hardware designs, speeds up project development by offering easily available resources. Furthermore, there is an increasing emphasis on developing energy-efficient and environmentally friendly technologies, which this project may support through careful design and component selection. Target User and Reason For Choosing My project is mostly intended for enthusiasts and makers with a strong interest in robotics, electronics, and DIY projects.
These people frequently seek 5 hands-on experience to enhance their knowledge and abilities in these areas. The initiative also aims to help students and educators learn and teach about robots, programming, and electronics. This project will appeal to tech enthusiasts who want to discover new methods to combine technology into practical applications. Furthermore, Tech clubs and workshops can use this project to engage their members in engaging and informative activities.
I was picked because of its comprehensive educational value and capacity to improve a wide range of abilities. It provides a full learning experience by combining several disciplines, including electronics, programming, and mechanics. Participating in this project helps me gain important skills in coding, problem solving, circuit design, and system integration. The popularity of Arduino-based projects assures a big supporting community and a multitude of information, making the project easier to manage and access.
The practical uses of technology in robotics and automation highlight the importance and potential influence of such initiatives. Project Scope The project scope includes hardware and software components. The hardware consists of an Arduino microcontroller, motor driver module, ultrasonic sensors, Bluetooth module, microphone module, DC motors and wheels, power supply, and chassis. The Arduino IDE is used for programming, together with libraries for Bluetooth connection, motor control, and speech recognition, as well as bespoke scripts for obstacle avoidance, Bluetooth command handling, and voice command processing.
This project includes many different stages, first I started drawing diagrams and assembling the car's components and testing them to make sure the engine runs smoothly. Next, I developed features including: obstacle avoidance system, Bluetooth and voice control. In the next phase of testing, this plays an important role in ensuring performance. I thoroughly tested each function, then optimized the system and responsiveness to ensure accuracy.
6 Besides, to guide users, I have provided detailed documentation, including assembly, code, and troubleshooting instructions. Finally, I am creating an Arduino project whose purpose is to create a learning tool and lay the foundation for future innovations. Function Introduction The project I developed has 3 keys features including: The first is obstacle detection. In particular, the car will detect obstacles on the road using an ultrasonic sensor, placed in front of the car.
This sensor works by generating ultrasonic waves to identify obstacles. Next is the Bluetooth control feature, this is a feature that helps users remotely control and monitor vehicles via Bluetooth-enabled smartphones and computers. Finally there is voice control, this is a feature that simplifies use, it is operated using via a voice recognition module designed to identify words or phrases certain words. My initial intention was to create a tool for teaching practical subjects about robotics, programming and electronics.
In addition to helping with education, the project can be expanded and customized for more complex problems such as automation, monitoring, and even assistive technology. Main Parameters My idea had three keys aspects so the major parameters I evaluated were: 3. Microcontroller Models: Arduino Uno, Mega, and Nano. Processing Power: Make sure it has enough I/O pins and memory to support many sensors and modules at once.
Power Supply Battery: rechargeable Li-Po or Li-ion battery (7.1V, depending on motor and module needs). Voltage Regulation: A DC-DC converter provides a consistent 5V or 3.3V to 7 the Arduino and modules. Motors and Motor Drivers: DC motors with encoders for easier control (6-12V). Motor Driver: An motor driver such as the L298N or L293D that can handle the motor voltage and current needs.
Obstacle Detection Sensors include ultrasonic (e., HC-SR04), infrared (e., IR proximity sensors), or a combination of both. Sensors must be mounted on the front, sides or rear for wide coverage. Voice Control Microphone Module: A voice sensor module detects voice. Speech Recognition Module: Dedicated module, such as Elechouse Voice Recognition Module V3, or using software-based solutions (for example, Google Assistant with an ESP8266/ESP32).
Bluetooth Module: HC-05 or HC-06 for wireless connectivity when using a smartphone for voice instructions. Bluetooth connection: Use the HC-05 or HC-06 module to connect the Arduino to other devices like as smartphones or PCs via serial connection. App: Custom-built or third-party apps (such as Bluetooth Terminal) for transmitting commands to the Arduino. Control and User Interface Remote Control: A smartphone app for Bluetooth control or a separate remote control module 3.
Software & Libraries Arduino IDE: To write and upload code to the Arduino library: Required libraries for each module and sensor. Chassis and Assembly Chassis: All components are compatible with their size and weight, which ensures stability. Wiring and connections: Secure and orderly wiring, taking into consideration power distribution and signal integrity. Knowledge for the project 1.
What is Arduino ? Arduino is an open-source electronics platform with simple hardware and software. It consists of a microcontroller board (hardware) and an Integrated Development Environment (IDE), which is used to write, upload, and run code (software). Arduino boards are intended to take inputs—such as light on a sensor, a finger on a button, or a Twitter message—and convert them into outputs— activating a motor, lighting an LED, or posting anything online. Component of Ardunino Board An Arduino board's key components include: Microcontroller.
The board's brain, which is commonly an ATmega328 for Arduino Uno, runs the code me write. Digital and Analog Pins: Used to connect sensors, LEDs, motors, and other components. Power Supply: USB or external power supply possibilities. Programming Interface: A USB port for uploading code from my PC.
Additional components include a crystal oscillator, voltage regulator, and serial communication interface. For Project Easy to Use: 10 Programming is easy for beginners because to the Arduino IDE's simple Wiring language. Community and Resources: With extensive online resources, tutorials, and a helpful community, troubleshooting and learning are made simpler. Versatility: Arduino boards are versatile and compatible with a variety of modules and shields, including ultrasonic sensors for obstacle avoidance and Bluetooth modules for control.
Bread boarding & Prototyping: Use breadboards to quickly prototype circuits before committing to more permanent solutions. Cost-Effective: Arduino boards and associated components are very affordable, making them excellent for hobby projects and prototyping. Open Source: Arduino is open-source, allowing for modification and adaption of hardware and software to meet project requirements.