Skip to main content
Version: FILS English

Intelicar

A car remote-controlled via a smartphone

info

Author: Todașcă Tudor
GitHub Project Link: https://github.com/UPB-PMRust-Students/project-TudorTT

Description​

Intelicar is a remote-controlled car operated via a smartphone using Internet. It is equipped with sensors on to detect nearby objects. If the car gets too close to an obstacle, the buzzer is activated as a warning.

Motivation​

I've always been passionate about cars, and I wanted to dive deeper into how some of the systems we use every day as drivers actually work. This project gave me the chance to explore that by building a miniature version of a car with real-world features like obstacle detection, motor control, and speed sensing. It's a hands-on way to show how useful and important these systems are-not just in big commercial vehicles, but even in small embedded systems. It's all about turning curiosity into something real and practical.

Architecture​

Raspberry Pi Pico 2W​

  • Purpose: Central controller
  • Function: Manages and coordinates all components in the system, including sensors, motor driver, buzzer, and motors. Runs the core logic for movement control and obstacle detection.

L298N Motor Driver​

  • Purpose: Motor control interface
  • Function: Controls the speed and direction of the DC motors based on signals from the Pico. Enables forward, backward, and turning motion.

DC Motors​

  • Purpose: Provide mobility
  • Function: Drive the car by rotating wheels in desired directions. Operate independently or together to enable turning and directional control.

U-Shape Photoelectric Sensor​

  • Purpose: Speed measurement
  • Function: Detects motor rotation (RPM) by sensing interruptions in the beam. Sends feedback to the Pico for precise motor control.

HC-SR04P Ultrasonic Sensors​

  • Purpose: Obstacle detection
  • Function: Measure distance to nearby objects by emitting ultrasonic pulses and timing the echoes. Used to avoid collisions and trigger the buzzer.

Buzzer​

  • Purpose: Warning system
  • Function: Emits a sound when an obstacle is detected within a certain range. Alerts the user of potential collisions.

Diagram

Log​

Week 5 - 11 May​

Week 12 - 18 May​

Week 19 - 25 May​

Hardware​

2x Raspberry Pi Pico 2W: acts as the primary processing unit, equipped with Wi-Fi capabilities.

1x HC-SR04 Ultrasonic Sensor: utilized for measuring distances to detect nearby objects.

1x L298N Motor Driver Module: Provides the ability to control the two wheels.

2x U Shape Photoelectric Sensor

2x Wheels with motors

1x Buzzer

1x Battery Support

Schematics​

Place your KiCAD schematics here.

Note: The schematics are not yet available, but they will be created using KiCAD

Bill of Materials​

DeviceUsagePrice
Raspberry Pi Pico 2WThe microcontroller40 RON
Gearmotor with WheelThe motors15 RON
L298N Dual Motor DriverThe motor driver11 RON
U Shape Photoelectric SensorThe photoelectric senzor9 RON
HC-SR04PThe sensor7 RON
Battery support Battery6 RON

Software​

LibraryDescriptionUsage
embassyEmbassyAn asynchronous executor and Hardware Abstraction Layer (HAL) designed for constructing embedded applications in Rust.
embassy-executorEmbassy ExecutorUsed for task scheduling and asynchronous programming.
embassy-rpEmbassy RPUsed for initializing and interacting with peripherals.
gpioGPIOUsed for interacting with GPIO pins.
cyw43CYW43Used for interacting with the wi-fi chip of the pico.
HC-SR04PSensor Driver for HC-SR04PUsed for controlling the ultrasonic sensor.
  1. link
  2. link