Difference between revisions of "ECE497 Beagle VNS"

From eLinux.org
Jump to: navigation, search
(Software)
(Software)
Line 24: Line 24:
 
=== Software ===
 
=== Software ===
  
'''github'''
+
*'''github'''
  
In order to use the project code for the Beagle VNS, you will need github installed in order to download the code.  If you do not have github there are instruction on how to install it on the [[EBC Exercise 16 git |ECE Exercise 16]] web page.
+
::In order to use the project code for the Beagle VNS, you will need github installed in order to download the code.  If you do not have github there are instruction on how to install it on the [[EBC Exercise 16 git |ECE Exercise 16]] web page.
  
To download the code for the Beagle VNS run the following code:
+
::To download the code for the Beagle VNS run the following code:
  
 
  beagle$ '''git clone https://github.com/geislekj/BeagleBoardVNS.git'''
 
  beagle$ '''git clone https://github.com/geislekj/BeagleBoardVNS.git'''
  
*Python
+
*'''Python'''
  
*GCC
+
::Python is natively installed on the Beagle operating system.  However it is important to note that the program will be using a python script to send email.
  
*ALSA
+
*'''ALSA'''
  
*Lame
+
::The project uses ALSA drivers in order to record audio from a microphone device.
 +
 
 +
::In order to download the ALSA drivers you will need to run the following commands:
 +
 
 +
beagle$ '''opkg update'''
 +
beagle$ '''opkg install alsa-utils-aplay alsa-utils-amixer'''
 +
 
 +
*'''Lame'''
 +
 
 +
::Lame is a audio encoder that will take raw audio and convert it into an mp3 format.
 +
 
 +
::To install the lame onto the beagle board you will need to run the following command.
 +
 
 +
beagle$ '''opkg install lame'''
  
 
*GStreamer
 
*GStreamer
  
*Email
+
::GStreamer is an application that allows the user to capture video from a camera for multiple types of solutions.  For this project, it is being used to capture an image of the person leaving a message.
 +
 
 +
::Instructions to install GStreamer is still in the process of being developed.
  
 
== Installation Instructions 2 ==
 
== Installation Instructions 2 ==

Revision as of 04:23, 2 November 2012

thumb‎ Embedded Linux Class RHIT

by Tom Atnip, Kevin Geisler, Ruffin White


BeagleVNS.png

Team members: Tom Atnip, Kevin Geisler, Ruffin White


Executive Summary

Where is Dr. Yoder?
I'll leave him a message

We wanted a way for students to be able to leave audio (and possibly video) messages for professors when they are out of their office. Using a BeagleBoard Bone, we plan to connect a wireless USB device and a PlayStation Eye to achieve this. Students will be able to walk up to the device and press a button to record their message which will then be available for the professor.

At this time, we have a method for capturing audio for a specified amount of time and encoding that recording into a mp3 file. We also have python script that allows the user to send email messages to another email by running a script. We also have a working external power source for the beagle.

The wireless usb adapter does not work at this time. We are still trying to get recompile the kernel to install and enable the driver for this wireless adapter.

Overall we are looking at creating a c program that will record the audio while the button is being pressed. Once the button has been released the program will encode the raw audio into mp3 format, and then attach it via an email and send it to the owner of the Beagle VNS system.

Installation Instructions 1

Software

  • github
In order to use the project code for the Beagle VNS, you will need github installed in order to download the code. If you do not have github there are instruction on how to install it on the ECE Exercise 16 web page.
To download the code for the Beagle VNS run the following code:
beagle$ git clone https://github.com/geislekj/BeagleBoardVNS.git
  • Python
Python is natively installed on the Beagle operating system. However it is important to note that the program will be using a python script to send email.
  • ALSA
The project uses ALSA drivers in order to record audio from a microphone device.
In order to download the ALSA drivers you will need to run the following commands:
beagle$ opkg update
beagle$ opkg install alsa-utils-aplay alsa-utils-amixer
  • Lame
Lame is a audio encoder that will take raw audio and convert it into an mp3 format.
To install the lame onto the beagle board you will need to run the following command.
beagle$ opkg install lame
  • GStreamer
GStreamer is an application that allows the user to capture video from a camera for multiple types of solutions. For this project, it is being used to capture an image of the person leaving a message.
Instructions to install GStreamer is still in the process of being developed.

Installation Instructions 2

Hardware

  • BeagleBone

This project is design primarily for the BeagleBone, but could be implemented on any other Beagle Board given the proper driver installation for the USB hardware and available GPIOs. The BeagleBone is applicable for this project due to is small size, low power consumption, and networking capabilities. Make sure

  • Camera
  • Wifi Dongle
  • Battery Pack
  • Doorbell
  • LED

User Instructions

Once everything is installed, how do you use the program? Give details here, so if you have a long user manual, link to it here.

Highlights

Here is where you brag about what your project can do.

Include a YouTube 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.


  1. Acquire Hardware - Ruffin
  2. Set up project page - Tom&Kevin
  3. Get USB wireless to work
  4. Get PlayStation Eye to work
  5. Get BeagleBoard Bone to run off a battery pack
  6. Register an email for the BeagleBoard
  7. Program stuff....
  8. Build stuff......

Future Work

Suggest addition things that could be done with this project.

  1. Flame decals
  2. Spoiler
  3. Bigger Engine
  4. Sentient

Parts

Beagle Bone

Conclusions

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



thumb‎ Embedded Linux Class RHIT

by Tom Atnip, Kevin Geisler, Ruffin White