Difference between revisions of "EBC Mini Project 01"

From eLinux.org
Jump to: navigation, search
m
m (What to turn in)
(4 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
Think of some interesting combinations of these.  For example:
 
Think of some interesting combinations of these.  For example:
 
# You could read a voltage off a potentiometer and use it to control the brightness of an LED using the PWM output.
 
# You could read a voltage off a potentiometer and use it to control the brightness of an LED using the PWM output.
# When a push button is pressed the temperature is read from an i2c device.
+
# When a push button is pressed the temperature is read from an i2c device and displayed.
 
# A [http://www.ti.com/product/tmp102 TMP102] i2c is used.  When the temp exceeds a certain level an interrupt is generated and a message is printed.
 
# A [http://www.ti.com/product/tmp102 TMP102] i2c is used.  When the temp exceeds a certain level an interrupt is generated and a message is printed.
 
# Use two analog inputs to control the location of a lit LED on an [http://adafruit.com/products/870 Mini 8x8 LED Matrix].
 
# Use two analog inputs to control the location of a lit LED on an [http://adafruit.com/products/870 Mini 8x8 LED Matrix].
  
== What do turn in ==
+
== What To Turn In ==
  
# Create a repository on [https://github.com/ https://github.com/] and make a subdirectory in it called '''MiniProject01'''.   
+
# Create a repository on [https://github.com/ https://github.com/]
 +
# List your repository [[ECE497 Contributions and Project Status here]].
 +
# Make a subdirectory in your github repository called '''MiniProject01'''.   
 
# Put all you files in the directory, include a '''ReadMe.txt''' that explains what you project does and how to use it.
 
# Put all you files in the directory, include a '''ReadMe.txt''' that explains what you project does and how to use it.
 
# Document your code.
 
# Document your code.
  
 
{{YoderFoot}}
 
{{YoderFoot}}

Revision as of 22:29, 12 September 2012

thumb‎ Embedded Linux Class by Mark A. Yoder


Up to this point you've learned how to to gpio, analog in, pwm, i2c and git. The purpose of this mini project is to have you design a program that uses all of these.

Requirements

It's up to you to decide just what your mini project does, however it must:

  1. use at least 1 interupt driven gpio input (it could read a switch)
  2. use one gpio output (it could blink an LED)
  3. use a PWM output (maybe blink or dim and LED)
  4. use an i2c device (read a temperature?)
  5. use at least one analog in (read a voltage?)
  6. handle a ^C interrupt

Some Ideas

Think of some interesting combinations of these. For example:

  1. You could read a voltage off a potentiometer and use it to control the brightness of an LED using the PWM output.
  2. When a push button is pressed the temperature is read from an i2c device and displayed.
  3. A TMP102 i2c is used. When the temp exceeds a certain level an interrupt is generated and a message is printed.
  4. Use two analog inputs to control the location of a lit LED on an Mini 8x8 LED Matrix.

What To Turn In

  1. Create a repository on https://github.com/
  2. List your repository ECE497 Contributions and Project Status here.
  3. Make a subdirectory in your github repository called MiniProject01.
  4. Put all you files in the directory, include a ReadMe.txt that explains what you project does and how to use it.
  5. Document your code.




thumb‎ Embedded Linux Class by Mark A. Yoder