Difference between revisions of "Ed Powell"

From WLCS
Line 20: Line 20:
 
**  Atmel AVR Atamega16 micro-controller
 
**  Atmel AVR Atamega16 micro-controller
 
**  Programmer for the micro-controller
 
**  Programmer for the micro-controller
**  64 green [http://www.superbrightleds.com/cgi-bin/store/index.cgi?action=DispPage&Page2Disp=/specs/G16120_specs.htm| LEDs]
+
**  [http://www.superbrightleds.com/cgi-bin/store/index.cgi?action=DispPage&Page2Disp=/specs/G16120_specs.htm| 64 green LEDs]
**  1 green (above) and 1 [http://www.superbrightleds.com/cgi-bin/store/index.cgi?action=DispPage&Page2Disp=/specs/R12120_specs.htm| red] status LED
+
**  1 green (above) and [http://www.superbrightleds.com/cgi-bin/store/index.cgi?action=DispPage&Page2Disp=/specs/R12120_specs.htm| 1 red] status LED
**  16 [http://www.radioshack.com/product/index.jsp?productId=2062317&filterName=Type&filterValue=1%26amp;amp;%23047;2-watt+resistors| 220 ohm resistors] for LEDs
+
**  [http://www.radioshack.com/product/index.jsp?productId=2062317&filterName=Type&filterValue=1%26amp;amp;%23047;2-watt+resistors| 16 220 ohm resistors for LEDs]
**  2 [http://www.radioshack.com/product/index.jsp?productId=2062320&filterName=Type&filterValue=1%26amp;%23047;2-watt+resistors| 470 ohm resistors]
+
**  [http://www.radioshack.com/product/index.jsp?productId=2062320&filterName=Type&filterValue=1%26amp;%23047;2-watt+resistors| 2 470 ohm resistors]
**  1 [http://www.radioshack.com/product/index.jsp?productId=2062330&filterName=Type&filterValue=1%26amp;%23047;2-watt+resistors| 10k resistor]
+
**  [http://www.radioshack.com/product/index.jsp?productId=2062330&filterName=Type&filterValue=1%26amp;%23047;2-watt+resistors| 1 10k resistor]
**  4 [http://www.radioshack.com/product/index.jsp?productId=2062325&filterName=Type&filterValue=1%26amp;%23047;2-watt+resistors| 2.2 k resistors]
+
**  [http://www.radioshack.com/product/index.jsp?productId=2062325&filterName=Type&filterValue=1%26amp;%23047;2-watt+resistors| 4 2.2 k resistors]
**  4 [http://www.radioshack.com/product/index.jsp?productId=2062586&filterName=Type&filterValue=Transistor| 2N2222 transistors]
+
**  [http://www.radioshack.com/product/index.jsp?productId=2062586&filterName=Type&filterValue=Transistor| 4 2N2222 transistors]
**  6 [http://www.radioshack.com/product/index.jsp?productId=2062365&filterName=Type&filterValue=Ceramic+disc+capacitors| 0.1uF ceramic capacitors]
+
**  [http://www.radioshack.com/product/index.jsp?productId=2062365&filterName=Type&filterValue=Ceramic+disc+capacitors| 6 0.1uF ceramic capacitors]
**  2 [http://www.sparkfun.com/products/8571| 22pF ceramic capacitors]
+
**  [http://www.sparkfun.com/products/8571| 2 22pF ceramic capacitors]
**  1 [http://www.sparkfun.com/products/669| 14.7456 MHz crystal]
+
**  [http://www.sparkfun.com/products/669| 1 14.7456 MHz crystal]
**  2 [http://www.radioshack.com/product/index.jsp?productId=3060978 |tactile buttons]
+
**  [http://www.radioshack.com/product/index.jsp?productId=3060978| 2 tactile buttons]
 
**  Power switch
 
**  Power switch
 
**  Connector for 5v power
 
**  Connector for 5v power

Revision as of 10:32, 17 February 2011

3rd Quarter Proposal

Description:

  • The instruction set to program the micro-controller will be learned from the PDFs of the Atmel website and from some of the linked websites
  • The soldering of the cube will be finished
  • The cube code will be written using the programming software
  • It will be tested for bugs and brought into class to be finalized

Progress:

  • All of the necessary parts to build the cube have been bought - Done
  • Enough C has been learned to be able to to program the micro-controller - Done
  • The parts have been soldered onto the protobaord and are ready to be programmed - Almost done (just the connections to the micro-controller are remaining)
  • The instruction set to program the micro-controller has been learned - Ongoing
  • The cube has been tested -

Parts:


2nd Quarter Proposal

Description:

  • Continue working on the 1st quarter project by learning C to program the micro-controller
    • There will be more websites used this quarter with more concise information on programming the micro-controller
      • If more websites are found during the quarter they will be added to this page
      • Description from the previous quarter should be read for more information on the project
    • Two books (C for Unix and C++ for You++) will also be used along with the websites to help accomplish this task
    • The goals and deadlines may be altered if more resources are found during the quarter

Resources and Information:

Goals and Deadlines:

  • Work through all steps in the C Programming website by 11/19/10
    • This should be completed at home by the date above
    • After each step is competed a program containing what was learned should be written
  • Work through all of the steps in the ATmega16 programming guide by 12/6/10
    • Two steps of the guide should be done per class period
    • What was learned the last class period should be reviewed the next class period so it is not forgotten
  • Start working with the micro-controller by installing and running beginner programs to understand how it works
    • The tutorials above should be used to learn how to program the controller
    • The installation and testing will only be done at home but the code may be written at school
    • A separate board may be created for this purpose
  • Program the micro-controller with the finished code and make sure that it works
    • After figuring out how the micro-controller works the writing of the final code should begin
    • This may be done at school or at home
  • The finished cube should be brought to class

Progress:

  • The C Programming website has been completed and program files for each section have been written - Done
  • The parts necessary to build the cube have been ordered or gotten - Done
  • The programming process for the ATmega16 miro controller has been learned - Done
  • The code to program the micro-controller has been learned -
  • Writing of the final code for the cube has begun -


1st Quarter Proposal:

Description:

  • Build a single color LED cube using the following parts:
    • Acrylic Case
    • Protoboard (the type with copper circles)
    • Atmel AVR Atamega16 micro-controller
    • Programmer to program the Atmega16
    • 64 LEDs
    • 2 status LEDs
    • Max232 rs-232 chip, or equivalent
    • 16 resistors for LEDs
    • 2x resistor 470 ohm
    • 1x resistor 10k
    • 4x resistor 2.2k
    • 4x NPN transistor BC338
    • 1x 10uF capacitor
    • 1x 1000uF capacitor
    • 6x 0.1uF ceramic capacitor
    • 2x 22pF ceramic capacitor
    • 1x crystal 14.7456 MHz
    • 2x tactile button
    • Optional power switch
    • Connector for 12v power
    • Optional connector for 5v power
  • Learn C to program the micro-controller using the C Programming Guide

Resources and Information:

Goals and Deadlines:

  • Acquire all parts necessary for the cube by 10/1/10
  • Solder parts on to the protoboard by 10/7/10
  • Bend and attach all LEDs to the board by 10/14/10
  • Finish assembling the cube by 10/15/10
  • Learn C by 10/21/10
  • Program the micro-controller by 11/1/10




Possible Later Goal:

  • Build an RGB LED cube after the single color cube is finished using the following parts (if deemed possible):
    • Acrylic Case
    • H4C printed circuit board
    • 110VAC to 9VDC 300mA transformer
    • 22 AWG straightened galvanized soft steel wire x40
    • Diffuse common-cathode RGB LED x64
    • PIC18F4620 micro-controller (40 pins)
    • SN74AHC574 octal D-type flip-flop x4 (20 pins)
    • ULN2803A NPN Darlington transistor array (18 pins)
    • LM2574 5V switching regulator (8 pins)
    • 22 resistor array (16 pins)
    • 47 resistor array (16 pins)
    • 68 resistor array (16 pins)
    • 47K resistor x3 (yellow-violet-orange-gold)
    • 1K resistor x5 (brown-black-red-gold)
    • 1N4148TR signal diode x24 (red)
    • 511-BAT48 rectifier diode (blue)
    • 330mH inductor
    • 0.1uF ceramic capacitor x5
    • 10uF electrolytic capacitor
    • 22uF electrolytic capacitor
    • 220uF electrolytic capacitor
    • 6” black wire
    • 18” red wire
    • 24” white wire
    • 2.1mm DC power jack
    • Toggle switch
    • Momentary toggle switch x2
    • 1” threaded standoff x4
    • 1⁄2” 4-40 screw x8
    • Rubber feet x4
    • DLP-UB232R UART-USB bridge module
    • Mini-B USB cable