Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnau029/arduino-car
Arduino and Raspberry Pi Car Wifi
https://github.com/arnau029/arduino-car
arduino-shield arduino-uno car css english html javascript json python raspberry-pi robotics web
Last synced: about 2 months ago
JSON representation
Arduino and Raspberry Pi Car Wifi
- Host: GitHub
- URL: https://github.com/arnau029/arduino-car
- Owner: Arnau029
- License: mit
- Created: 2024-11-29T15:42:24.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-05T16:04:44.000Z (about 2 months ago)
- Last Synced: 2024-12-05T17:19:39.083Z (about 2 months ago)
- Topics: arduino-shield, arduino-uno, car, css, english, html, javascript, json, python, raspberry-pi, robotics, web
- Language: Python
- Homepage:
- Size: 19.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arduino-Car 🚗
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.## Table of Contents
1. [Description](#description)
2. [Requirements](#requirements)
3. [Dependencies](#dependencies)
4. [Setup and Usage](#setup-and-usage)
5. [Web Interface Preview](#web-interface-preview)
6. [Movement Demonstrations](#movement-demonstrations)
7. [Project contributors](#project-contributors)
8. [License](#license)
## Description
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.**
# Requirements
> [!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).
# Dependencies
> [!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.
# Setup and Usage
* 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).
# Web Interface Preview
![screenshot](https://github.com/Arnau029/Arduino-Car/blob/main/Image/MOBILE_AND_PC.png)
# Movments
### Movement Demonstrations| **Forward** | **Backward** | **Left** | **Right** |
|-------------|--------------|----------|-----------|
| ![Forward](https://github.com/Arnau029/Arduino-Car/blob/main/GIFs/forward.gif) | ![Backward](https://github.com/Arnau029/Arduino-Car/blob/main/GIFs/Backwards.gif) | ![Left](https://github.com/Arnau029/Arduino-Car/blob/main/GIFs/To_The_Left.gif) | ![Right](https://github.com/Arnau029/Arduino-Car/blob/main/GIFs/To_The_Right.gif) |
# Project contributors
We are grateful for the efforts of the following contributors who made this project possible:# License
This project is licensed under the [MIT License](https://github.com/Arnau029/Arduino-Car/blob/main/LICENSE).