Git Product home page Git Product logo

robot2's Introduction

Robot2

Line following and collision avoidance robot version 2

Overview

The menu is controlled by the four push buttons. The magnetic sensor needs one time calibration, which is done from the 'Calibrate' menu and choosing 'Magneto cal'. The calibration data is erased by choosing Reset bounds. The TCRT5000 sensors can be calibrated by choosing 'Start ir cal' and the data is saved by choosing 'Stop ir cal'. All data is saved to EEPROM. Configurable settings are made from the 'Configuration' menu. The Kp, Ki, Kd and dT parameters used by the motor PID control and the front, side and rear collision distances and the minimal speed are set from this menu. The 'Test drive' menu is used to show the different maneuvers the car can make. The 'Ping' menu option shows the sonar and LIDAR data observed by the car. The collision avoidance mode is selected by choosing 'Self drive' and the line following mode is selected by choosing 'Line Follow'.

Hardware

  • ATmega32 @ 16 MHz
  • SG90 Servo
  • L293D Motor Driver
  • ILI9341 TFT LCD Driver
  • QMC5883L Magnetic Sensor
  • ITR9608 Optical Interrupters
  • HC-SR04 Ultrasonic Ranging Modules
  • TCRT5000 Reflective Optical Sensors
  • VL53L0X Time-of-Flight Ranging Sensors

Schematic

Prototype

Algorithm

Firmware

The firmware has been developed in Atmel Studio 7 using GCC C and can be uploaded to the ATmega32 using the ISP connector and an ISP programmer such as USBasp tool using avrdude:

avrdude -p m32 -c usbasp -U flash:w:Robot2.hex:i -U eeprom:w:Robot2.eep:i -U hfuse:w:0xC9:m -U lfuse:w:0xFF:m

robot2's People

Contributors

tdorssers avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

lijian8

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.