ELEN90066 Embedded System Design Assignment 1v0
Hand held gaming console, operating system and games
Overview
During this semester long assignment you will individually design, build and test a hand
held gaming console and operating system. The project will involve:
1. Circuitdesignandschematiccapture
2. DesignandlayoutofPCB
3. Developembeddedoperatingsystem
4. Hardwareassembly
5. Debuggingandtesting
6. Application development
7. Productdemonstration
Your console will have up to 9 push button inputs, an LCD screen as ouput and a LED. The device will have an operating system and at least one application for sketching. The sketch application permits the user to draw on the screen using 4 direction buttons. It is up to the student to design any other applications they wish to implement.
During and at the end of semester you will present your completed console to a marker who will mark your console on your understanding of the following criteria:
1. SchematicLayout20%
2. PCBLayout40%
3. Qualityofyourcode20%
4. FunctionalityofyourConsole20% 5. Bonusapplications10%
Plagiarism Warning
Plagiarism is a serious offence. You are expected to do this project individually. Do not copy your work from others, if you are found to have copied your work you will face serious disciplinary repercussions. Further, your thorough understanding of the assignment will be tested during the final exam. If you did not do the assignment you will struggle and likely fail the exam. Ensure that you protect your work from others. Having your work copied results in the same disciplinary actions as copying. Do not leave your assignment on hard drives of shared computers, ensure that your files are saved in your private directory.
Page 1 of 5
Functional Specification 1v0
The device will meet the following specifications
1. Power
1.1 The device will be powered from one 1.5v AA battery. 1.1.1 The battery holder will be mounted on the PCB.
1.2 The device will boost the battery voltage to 3.3v using a boost converter
1.3 The device will have a two pin 2.54mm header, one pin connected to the 3.3v line the other pin to ground to power during debugging.
1.4 The device will have a two pin 2.54mm header, one pin connected to the 1.5v line the other pin to ground to power during debugging.
1.5 The device will have a single ground pin connected to ground to facilitate the connection of the ground wire of the oscilloscope. This pin will be far away from any other pins such that the alligator clips do not risk shorting other components to ground.
1.6 A green LED will illuminate if the power is on.
2. Power (Bonus)
2.1 The device will have a soft power switch.
2.1.1 The device will power on when the power push button is pressed and the device is in the off state.
2.1.2 The device will power off when the power push button is pressed and the device is in the on state.
2.1.3 The device will use less than 1uA of standby current.
3. Push Button Inputs
3.1 The device will have up to 9 push buttons.
3.2 There will be one button for power.
3.3 There will be four buttons for left, right, up and down.
3.4 There will be at least one action button.
3.5 There will be one button to reset the microcontroller
3.6 There may be two more additional action buttons.
3.7 The buttons will be debounced using an RC circuit.
3.8 Multiple simultaneous button presses should be detectable.
3.9 Circuitry will be included to generate a single interrupt when any button is pressed .
Page 2 of 5
4. Battery Voltage Level Input (Bonus)
4.1 An ADC channel will be connected to the battery to detect its voltage. 4.2 A red LED will illuminate if the power level is lower than 1.1 volts.
5. Touch Screen Input (Bonus)
5.1 The device may have a resistive touch screen.
5.2 The touch screen will be attached to the device using a 4 pin zif connector.
***(There will be only 10 touch screens available, only for the first 10 students who can demonstrate their ADC hardware and software working with potentiometers. )
6. Display Output
6.1 The device will have an output consisting of a102 x 64 pixel LCD screen.
6.2 The output will have a backlight.
6.3 The backlight will be variable brightness.
6.4 The device will have a green LED to indicate power output from the regulator. 6.5 The device will have a red LED controlled by the microcontroller.
7. Device Size and Layout
7.1 The device will be made of a PCB 78.5mm by 44mm (use the template provided). 7.2 The device will have an ergonomic layout of keys to make it easy to use.
8. Processing
8.1 The device will use an ATMEGA16L running at 8Mhz for processing. 8.2 The device will have 4Kbit of FRAM.
Layout Suggestion
Top Layer uC
Battery Holder
Circuitry
JTAG header and other headers
Bottom Layer LCD
Push Buttons LEDs
Page 3 of 5
Components
– The following components will be available for your use in this assignment. 0805 resistors 10k, 1k, 15, 30 and others
0805 capacitors 100nF
2 x 0805 capacitor 18pF
4 x 0805 capacitor 1uF
1 x 12010 capacitor 22uF
1 x AA Battery Holder
9 x SMD Tactile Push Button Switch
1 x Low Voltage Synchronous Boost Regulator SC120
1 x ATMEGA16 Low Voltage Microcontroller 1 x IND 4.7uH 1210
1 x LCD Screen
1 x LCD Backlight
1 x Inverting D flip flop 74AUC1G80 1 x 8 input Nand Gate 74AHC30
1 x 9 push buttons
1 x FRAM FM25L04B
2 x N Channel Mosfets 2N7002P 1 x 8Mhz Crystal Oscillator
ATMEGA16L-8AU
Page 4 of 5
Software Interface Specifications 1v0
1 PowerUp
1.1 When the device powers up the screen will be cleared
1.2 If the device only has the sketching program it will load at boot up
1.3 The device will be fully booted within 2 seconds of boot up
2 PowerUpBonus
2.1 The device will boot up with the previous user program and state loaded
3 SketchingProgram
3.1 At execution the screen will be cleared
3.2 At execution a single pixel 32 on the short edge and pixel 51 on the long edge will be activated.
3.3 When the up button is pressed the cursor moves one pixel up while leaving the previous activated pixels active.
3.4 When the left button is pressed the cursor moves one pixel left while leaving the previous activated pixels active.
3.5 When the right button is pressed the cursor moves one pixel right while leaving the previous activated pixels active.
3.6 When the down button is pressed the cursor moves one pixel down while leaving the previous activated pixels active.
3.7 When the clear button is pressed the screen is cleared and the cursor is moved back to the middle of the screen.
3.8 If the backlight is off and the back light button is pressed, the back light will illuminate.
3.9 When the back light button is pressed, the back light will reduce in brightness by 10%.
3.10 Whenthebacklightbuttonispressedandthebacklightisat10% illumination the back light will be turned off.
4 Furtherprogramsandinterfaces(Bonus)
4.1 If there is more than one program it is up to the programmer to work out a usable interface for selecting the programs and other controls that may differ to the specifications in 3.
Page 5 of 5