Git Product home page Git Product logo

rc-car-project's Introduction

WiFi Controlled Motor Driver with NodeMCU and Arduino

Description

This project demonstrates how to control motors connected to an Arduino using a NodeMCU (ESP8266) module and a Motor Driver Shield L293D. The NodeMCU creates a WiFi hotspot and hosts a simple web server. When you send HTTP requests to the server, the NodeMCU sends corresponding commands to the Arduino via serial communication to control the motors.

Components

  • NodeMCU (ESP8266)
  • Arduino (any model with serial communication support)
  • Motor Driver Shield L293D
  • Motors
  • Jumper wires

Features

  • WiFi Hotspot: NodeMCU creates a WiFi hotspot.
  • Web Server: NodeMCU hosts a web server to receive HTTP requests.
  • Serial Communication: NodeMCU sends commands to the Arduino via serial communication.
  • Motor Control: Arduino controls the motors based on the commands received.

Setup

Hardware Connections:

  1. Stack the Motor Driver Shield L293D on the Arduino.
  2. Connect the motors to the motor driver shield.
  3. Connect the TX pin of NodeMCU to the RX pin of Arduino.
  4. Connect the RX pin of NodeMCU to the TX pin of Arduino.
  5. Connect the GND of NodeMCU to the GND of Arduino.

Software Setup

  1. Clone the repository.
  2. Open the arduino_wifi_controller folder in PlatformIO.
  3. Install the required libraries specified in platformio.ini.
  4. Upload the code to the NodeMCU and Arduino.

Usage

  1. Connect to the WiFi hotspot created by the NodeMCU.
  2. Open a web browser and navigate to the NodeMCU's IP address (default: 192.168.4.22).
  3. Use the web interface to control the motors or use the arrow keys on your keyboard.

Related Documentation Links

License

This project is licensed under the MIT License.

rc-car-project's People

Contributors

svbsh avatar

Stargazers

Hortenzia Wollentová avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.