This project enables remote control of an Arduino-based car through a web interface. A Flask server is used to relay commands between the web interface and an Arduino connected via serial communication.
- Description
- Requirements
- Dependencies
- Setup and Usage
- Web Interface Preview
- Movement Demonstrations
- Project contributors
- License
This project showcases how to integrate an Arduino with Python's Flask framework to create an interactive car controller. It serves as a practical example of robotics integration, perfect for learning microcontroller-based projects.
- For this code, you need Arduino IDE and a compiler for Python.
Important
You need this hardware and software for do this proyect
- Hardware
- Arduino board (compatible with the pins defined in the code).
- Motor driver module (e.g., L298N or similar).
- DC motors.
- USB connection for Arduino communication.
- Software:
- Arduino IDE
- Python 3.9 or higher.
- Flask (pip install flask)
- Serial communication library: pyserial (pip install pyserial).
Important
You need to download the dependencies for the configuration to work.
- This is for the dependecies for the python code.
pip install flask pyserial
- The code for Arduino doesn't need dependencies.
- Upload the Arduino code:
- Open the Arduino IDE and upload the provided .ino file to your Arduino board.
- Install Python dependencies:
- Run pip install flask pyserial in your terminal.
- Run the Flask server: *python app.py
- The server will start at http://:4353 (replace with the ip the host give you).
| Forward | Backward | Left | Right |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
We are grateful for the efforts of the following contributors who made this project possible:
This project is licensed under the MIT License.




