Jamm02 / Wall-E-WiFi-Controlled-Bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WiFi Controlled Bot

WiFi Controlled Bot - Moves the bot in desired direction at press of a button.

Table of Contents

Demonstrations

Controls

Bot

About the project

Tech Stack

The Technologies used for this project are

File Structure

.
├── Components                           # Contains files of specific library of functions or Hardware used
│   ├──sra-board-component               # Library for motor drivers
├── frontend                             # Frontend file
│   ├── index.htnl                       # Code for frontend 
├── main                                 # Source files (alternatively `lib` or `app`)
│   ├──main.c                            # Main Source code to be executed
|   ├──tuning_http_server.c              # Source code for http server
|   ├──motion.c                          # Source code for motion of the bot
|   ├──wifi_handler.c                    # Source code for handling wifi operations
│   ├──kconfig.projbuild                 # defines the entries of the menu for configuration
│   ├──CMakeLists.txt                    # contains commands to include the bluetooth library and main.c in esp-idf
├── CmakeLists.txt                       # contains commands to include Components and main folder while executing
├── LICENSE
└── README.md 

Data Processing:

  • Data of button press is relayed from the frontend to the server(ESP32) using JSON.
JSON format:
{
   motion:parameter
}  
parameters: forward,backward,left,right
  • The data fetched is then decoded using cJSON and hence ESP32 gets to kmow about the input provided by the user.

Getting Started

Prerequisites

Install ESP-IDF : https://github.com/espressif/esp-idf

Installation

Clone the project

https://github.com/Jamm02/Wall-E-WiFi-Controlled-Bot.git

cd Wall-E-WiFi-Controlled-Bot

Usage

Build

idf.py build

Flash

idf.py -p (PORT) flash monitor

Configuration

idf.py menuconfig
  • Example Connection Configuration
    • WiFi SSID - Set wifi SSID
    • WiFi PASSWORD - Set wifi Password

Contributors

Acknowledgements and Resources

License

The License Used for this Project.

About

License:GNU General Public License v3.0


Languages

Language:C 79.8%Language:HTML 16.1%Language:CMake 3.3%Language:Makefile 0.8%