Skip to main content

RC Car controlled with WIFI

Remote Controlled Car using WIFI and a phone app.

info

Author: George-Alexandru PETRE
GitHub Project Link: https://github.com/UPB-FILS-MA/project-GeorgePetre11

Description

An RC Car, created using Pico, that can be controlled using a Phone App with the use of WIFI. The car has controls to move forward,backward and sideways (as of this moment, in time there can also be added a sensor that can detect obstacles)

Motivation

I choose this project because I wanted to have an RC car that I could control with my phone and the idea of creating it and modifying it to my liking felt like an interesting challenge to take.

Architecture

Arhitecture

Log

Week 6 - 12 May

  • started buying the components for the project
  • tested to see that all the components work properly

Week 7 - 19 May

  • started building the project
  • soldered wires to the motors
  • made the connection between the Pico, L289N and the Motors

Week 20 - 26 May

  • started the software milestone for the project
  • first, made a code that moves the car 2 seconds in all directions
  • then added the functions to move to lab 8 so that I can control the car using Wi-Fi.

Hardware

The main components of the hardware that I used are:

  • Raspberry Pi Pico - The Pico microcontroller is a small, low-cost, high-performance microcontroller board built with the RP2040 chip developed by Raspberry Pi. It features a dual-core ARM Cortex M0+ processor, which provides ample power for handling the logic and control functions of the car.
  • L289N Driver motor - The L289N is a powerful dual full-bridge driver designed to drive inductive loads such as relays, solenoids, DC, and stepping motors. In this project, this driver manages the motors by allowing the Pico microcontroller to run motors with a higher power requirement than the Pico can provide directly. It can handle a significant current load and operates over a wide voltage range, making it ideal for controlling the wheels of the car.
  • Power Supply - 4 AA batteries
  • 4WD Kit - This represents the chasis of the car. Contains the wheels, motors for the wheels and 2 acrylic plates that make the body of the car.

Schematics

Schematic

Photos

Photo1 Photo2 Photo3 Photo4 Temp_Photo Photo6

Bill of Materials

DeviceUsagePrice
Rapspberry Pi Pico WHThe microcontroller56 RON
Punte H Dubla L298NThe Driver Motor11.53 RON
Kit sasiu Smart Car 4WDThe chasis of the Car75.05 RON
Suport baterii 4AASupport for batteries11.53 RON
4 x CauciucuriWheelsIn the Kit.
2 x Placi acrilic2 Acrylic PlatesIn the Kit.
Fire MotoareWires for the MotorsIn the Kit.
4 x Encoders4 EncodersIn the Kit.
8 x Suporti acrilic pentru motoare8 Acrylic supports for the motorsIn the Kit.
6 x Piloni hexagonali 30mm6 x Hexagonal Pillers 30mmIn the Kit.
8 x Suruburi M3x30mm8 Screws M3x30mmIn the Kit.
16 x Suruburi M3x5mm16 x Screws M3x5mmIn the Kit.
10 x Piulite M310 x Nuts M3In the Kit.
4 x AA Duracell Bateries4 AA Duracell Bateries15 RON
Suport baterii 2AASupport for 2 batteries4.99 RON

Software

LibraryDescriptionUsage
embassy-executorAsynchronous executor for Rust embedded systemsUsed for task scheduling and asynchronous programming
embassy-timeTime management libraryUsed for time-based operations
embassy-rpPeripheral access libraryUsed for initializing and interacting with peripherals
logLogging facadeUsed for logging messages
embassy-usb-loggerUSB logger implementation for embassyUsed for logging messages over USB
embassy-netNetworking libraryManages Wi-Fi communications
gpioGPIO manipulationUsed for interacting with GPIO pins
cyw43CYW43Used for interacting with the wi-fi chip of the pico
  1. Raspberry Pi Pico W: WiFi Controlled Robot
  2. Raspberry Pi Pico - Bluetooth Controlled Car Project