Giter VIP home page Giter VIP logo

tinyrover's Introduction

TinyRover

TinyRover is an ATtiny85 based obstacle avoiding rover, programmed with Arduino IDE. The goal of this rover is to use few items and signals.

Requirements

Tiny Rover use few items:

  • An ATtiny85 microcontroller which will be the “brain” of the rover.
  • A Sharp GP2Y0A21YK0F IR distance sensor, which will be the “eyes” of the rover.
  • A LD293D motor driver, which will be the “nerves” of the rover.
  • Two DC motors which will be the “muscles” of the rover
  • A L78S05 voltage regulator to power all of the above.

We need to use as few items as possible because ATtiny85 provides only five I/O : four of then will be used as digital outputs to control L293D motor driver, and the last one will be used as analog input to be used with IR distance sensor.

You can find all the schematics into “doc/TinyRover.fzz”, to open with Fritzing.

To program it, you'll have to use Arduino IDE and upload to the ATtiny85 “TinyRover.ino” sketch. If you need info how upload sketches to ATtiny85 microcontrollers, you may refer to http://hlt.media.mit.edu/?p=1695

How does it work

The algorithm of TinyRover is pretty simple:

  1. The rover goes forward until an obstacle is below 15 cm.
  2. Then the rover goes backward until the obstacle is at least at 25cm.
  3. Then the rover randomly turn left or right for 2 to 4 seconds
  4. Go to step 1

The live assembly

The frame of the rover is really too big, but I just used MovingRaspi's frame.

Live assembly

tinyrover's People

Watchers

James Cloos avatar Michel Esc avatar  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.