Code Monkey home page Code Monkey logo

rover's Introduction

Rover

Introduction

This is an Arduino based Bluetooth-Robot-Car, which can move around in two modes. The Bluetooth control mode allows to control the rover through a HC-05 module via a smartphone and any Bluetooth controller app. In the pathfinder mode the rover moves around on its own and avoids obstacles with the help of a servo motor and an ultrasonic sensor.

Code and Recources

  • Environment: Arduino IDE, Visual Studio Code -> PlatformIO extension
  • Libraries: Servo, NewPing, SoftwareSerial

Build

Parts used are an Arduino Uno, Sensor Shield v5.0, L298N H-Bridge Dual DC Motor Driver, 2x Li-Ion 3.7V batteries as an external power supply, HC-05 Bluetooth Module, HC-SR05 Ultrasonic Sensor, SG90 Micro Servo.

Flow

Bluetooth Mode: Control the rover through the HC-05 module via an app on the smartphone.

Pathfinder Mode: Rover moves forward until it detects an obstacle in close proximity. It then backs up, scans its environment and finally moves in the direction with the least amount of obstruction.

Below is a link to a YouTube video demonstating the movement (make sure to open the link in a new tab):

Bluetooth Robot Car with Arduino

Circuit

Pin Name Pin Used
(left motor) ENA 6
(left motor) IN1 8
(left motor) IN2 7
(right motor) ENB 5
(right motor) IN3 4
(right motor) IN4 2
(servo) PWM 3
(sonar) Trig A1
(sonar) Echo A0
(HC-05) TX 9
(HC-05) RX 10

rover's People

Contributors

dschlee 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.