Difference between revisions of "ECE497 Project Electric Car"

From eLinux.org
Jump to: navigation, search
Line 58: Line 58:
  
 
Packaging:
 
Packaging:
 +
<gallery>
 +
File:H-Bridge Control Board.jpeg|Top
 +
File:H-Bridge Control Board2.jpeg|Button
 +
</gallery>
 +
Soldering the L293 H-bridge chip, rsistors, and diodes together. And put the control board on the car.
 +
<gallery>
 +
File:Motor Connect.jpeg|Motor connection
 +
</gallery>
 +
Connect the motor to the control board.
 +
<gallery>
 +
File:IR Sensor.jpeg|IR Sensor
 +
</gallery>
 +
Glue the IR Sensor in front of the car.
 +
<gallery>
 +
File:Sensor & Switch connect.jpeg|Sensor & Switch connection
 +
</gallery>
 +
Connect both on/off switch and IR sensor to the beaglebone.
 +
<gallery>
 +
File:Wire the beaglebone.jpeg|Wire the Beaglebone
 +
</gallery>
 +
wire eveything to the beaglebone.
 +
<gallery>
 +
File:Electric Car.jpeg|Electric Car
 +
</gallery>
 +
Our Electric Robot Car is ready to go.
  
 
== Installation Instructions ==
 
== Installation Instructions ==

Revision as of 15:47, 17 November 2013

thumb‎ Embedded Linux Class by Mark A. Yoder


Team members: Junxuan Hou, Zhen Wei

Grading Template

I'm using the following template to grade. Each slot is 10 points. 0 = Missing, 5=OK, 10=Wow!

00 Executive Summary
00 Installation Instructions 
00 User Instructions
00 Highlights
00 Theory of Operation
00 Work Breakdown
00 Future Work
00 Conclusions
00 Demo
00 Late
Comments: I'm looking forward to seeing this.

Score:  10/100

(Inline Comment)

Executive Summary

This project interfaces the Beaglebone with motor-based electronic mini-car. The gpio pins are used to control the motor on the car to remote it. Some additional interfaces, such as a IR sensor to control the moving direction of the car, and an analog input to control the speed of the car, are considered to be done based on the progress of the project.

Currently we have the small car which can be controlled by keyboard, or IR sensor. With the keyboard controlling, the car can go foreword and backward, make a turn to both right and left. With the IR sensor controlling, the car can keep space before the barrier in front of item.

At first, we use the H-bridge to control four motors which connect to four wheels for the car. And use the GPIO pins to control this H-bridge. And then use a analog input pin to get the signal feedback from the IR sensor.

Depending on the time, in the feature time, there are lots of works can be done for this robot car.

Packaging

Parts List:

Parts Quantity
Robot Car Kits 1
Beaglebone 1
sharp 2d120x f IR sensor 1
L293 H-Bridge Chip 1
1N4004 Diodes 8
100 ohm Resistors 2
On/Off Switch 1

Packaging:

Soldering the L293 H-bridge chip, rsistors, and diodes together. And put the control board on the car.

Connect the motor to the control board.

Glue the IR Sensor in front of the car.

Connect both on/off switch and IR sensor to the beaglebone.

wire eveything to the beaglebone.

Our Electric Robot Car is ready to go.

Installation Instructions

The Github Link for this project is https://github.com/weizhen1883/Electric-Car.git.

Give step by step instructions on how to install your project.

  • Be sure your README.md is includes an up-to-date and clear description of your project so that someone who comes across you git repository can quickly learn what you did and how they can reproduce it.
  • Include a Makefile for you code.
  • Include any additional packages installed via opkg.
  • Include kernel mods.
  • If there is extra hardware needed, include links to where it can be obtained.

User Instructions

  1. Login to the Beaglebone and open the project folder.
  2. $beagle ./ECar to run the keyboard control model.
  3. $beagle ./GoForwordwithSensor to run the IR sensor control model.

At the keyboard control model

  • 'w'----go forward
  • 'x'----go backward
  • 'a'----turn left
  • 'd'----turn right
  • 's'----stop

Highlights

At this time, this Electric Car can only controlled by keyboard, and run forward and backward to keep the space between item and the barrier in front of item.

The YouTube video to show the demo.

Theory of Operation

Give a high level overview of the structure of your software. Are you using GStreamer? Show a diagram of the pipeline. Are you running multiple tasks? Show what they do and how they interact.

Work Breakdown

List the major tasks in your project and who did what.

Also list here what doesn't work yet and when you think it will be finished and who is finishing it.

Future Work

Suggest addition things that could be done with this project.

Conclusions

Give some concluding thoughts about the project. Suggest some future additions that could make it even more interesting.




thumb‎ Embedded Linux Class by Mark A. Yoder