Two cars with different modes using arduino

We have an embedded system project and we wanted to implement this idea, can you give me your opinions on this project and if it's realizable, and what problems we could face .

Project Overview

This project involves two autonomous cars, Car1 and Car2, each with distinct roles and operational modes. Car1 is a gesture-controlled car that includes obstacle detection and serves as the lead vehicle in "Follow-Me" mode. Car2 features two modes: Remote Control Mode, where it is manually controlled via an RF remote, and Follow-Me Mode, where it autonomously mimics Car1's movements.

Main Features and Modes

Car1: Gesture-Controlled Car

  1. Features:
  • Gesture Navigation Mode: Controlled by gestures via the Arduino Nano.
  • Obstacle Detection in Both Modes:
    • In Normal Mode: Detects obstacles using the ultrasonic sensor and stops the car if an obstacle is found.
    • In Follow Mode: Detects obstacles and sends stop commands to Car2 to halt simultaneously.
  • Wireless communication with Car2 via nRF24L01 transceivers.
  1. Components:
  • Arduino Nano: Processes gestures and sends movement commands.
  • Arduino Uno: Manages motor control, obstacle detection, and wireless communication with Car2.
  • MPU6050 Accelerometer and Gyroscope: Detects hand gestures.
  • nRF24L01 Transceiver (2 units): One in the gesture module and one in the car body for wireless communication.
  • HC-SR04 Ultrasonic Sensor (1 unit): Mounted at the front of the car to detect obstacles in both modes.
  • L298N Motor Driver: Controls the two DC motors.
  • DC Motors (2 units): Provides movement.
  • 7.4V Li-ion Battery Pack: Powers Car1.
  • Car Chassis with Wheels: Holds all components.
  1. System Flow:
  • Normal Mode:
    • Gesture commands are sent from the Arduino Nano to the Arduino Uno.
    • The ultrasonic sensor detects obstacles and stops the car if necessary.
  • Follow Mode:
    • Car1 sends commands to Car2 via nRF24L01.
    • If an obstacle is detected, Car1 stops and sends a stop signal to Car2.

Car2: Dual-Mode Car

  1. Features:
  • Normal Mode: Operated manually using the RF Remote Control. Detects obstacles via its ultrasonic sensor and stops independently.
  • Follow Mode:
    • Mimics Car1’s movements while maintaining a safe distance.
    • Relies entirely on commands from Car1 for stopping and movement; its ultrasonic sensor is disabled in this mode.
  1. Components:
  • Arduino Uno: Processes commands, handles motor control, and manages ultrasonic sensor data in Normal Mode.
  • RF Alıcı Verici Kumanda Seti: Provides manual control via an RF remote.
  • nRF24L01 Transceiver: Receives commands from Car1 in Follow Mode.
  • HC-SR04 Ultrasonic Sensor (1 unit): Used only in Normal Mode to detect obstacles.
  • L298N Motor Driver: Controls the two DC motors.
  • DC Motors (2 units): Provides movement.
  • 7.4V Li-ion Battery Pack: Powers Car2.
  • Car Chassis with Wheels: Holds all components.
  1. System Flow:
  • Normal Mode:
    • RF remote sends commands to the Arduino Uno.
    • The ultrasonic sensor detects obstacles and stops the car when necessary.
  • Follow Mode:
    • The nRF24L01 receives movement and stop commands from Car1.
    • The ultrasonic sensor is disabled, and Car2 halts based solely on Car1’s instructions.

Your topic does not indicate a problem with IDE 1.x and hence has been moved to a more suitable location on the forum.


I can't advise on your project.

Here are some more considerations, you need to consider the vehicles electrical environment.
Valuable Resources for Automotive Electronics:

  1. STMicroelectronics Application Note AN2689:
    This application note provides guidelines on protecting automotive electronics from electrical hazards, focusing on design and component selection. Reading this will greatly enhance your understanding of automotive circuit protection.
    Read AN2689
  2. Analog Devices: Automotive Electronics Design:
    This article distills key insights into designing automotive electronics, offering practical advice for engineers.
    Read the article
  3. Diodes Incorporated: Transient Voltage Suppression in Automotive:
    Learn about techniques to protect automotive circuits from transient voltage, which is critical for ensuring reliable operation in harsh conditions.
    Read the article
  4. AEC-100 Standards Webinar:
    This webinar from Monolithic Power Systems provides a detailed overview of AEC standards, essential for understanding automotive electronics requirements.
    Watch the webinar
  5. Understanding Automotive Electronics, An Engineering Perspective by William B. Ribbens:
    This comprehensive book offers an in-depth look into automotive electronics from an engineering perspective, making it an invaluable resource.
    Access the book
  6. Application Note https://www.ti.com/lit/an/slvafc1/slvafc1.pdf?ts=1652591872294

These resources should provide a strong foundation for anyone involved in automotive electronics design.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.