+21622886281
App Inventor Arduino Car Project

Controlling a car with smartphone and Arduino

Purpose of this tutorial:

In this tutorial, we will control a car using the Arduino board and a smartphone.

This is why we are going to create two programs: a mobile application with App Inventor for the smartphone and a program for the Arduino board.

Necessary components

  • Arduino
  • L293D Motor Controller Module

  • Smartphone
  • Car

Mounting

Program

Here is the program which allows to connect the Arduino board to the smartphone and to receive a message containing the command order of the car.

Creation of the application with App Inventor:

We are going to create a mobile application called ‘commander_voiture_arduino’ with App Inventor which allows the car to be controlled by the smartphone.

We propose to create the design of the application, with the following visual:

Programming with App Inventor

To program the application, App Inventor offers us to use the Blocks space, which allows you to create a program in the form of a block diagram. Very easy to use but requiring a little programming logic.

Here is the program of the application created in the Blocks area of ​​the Inventor App:




0 commentaire


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top