Mi c r o p r o c e s s o r s<br />Digital electronic systems – 2nd Year presentation project<br />Subject: 		Digital Elect...
A i m s<br />Digital electronic systems – 2nd Year presentation project<br /><ul><li> understand microprocessors
 demonstrate the power of microprocessor
 understand the code
 internet communication
 research</li></li></ul><li>t h e o r y  b e h i n d<br />Digital electronic systems – 2nd Year presentation project<br />...
 architecture
 code</li></ul>0101 1001 b                  89d<br />0101 1001 b                  59h<br />
8 0 5 1<br />Digital electronic systems – 2nd Year presentation project<br /><ul><li> proven architecture
Upcoming SlideShare
Loading in …5
×

Des Presentation

294 views
262 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
294
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Des Presentation

  1. 1. Mi c r o p r o c e s s o r s<br />Digital electronic systems – 2nd Year presentation project<br />Subject: Digital Electronic Systems<br />Lecturer: Brian Hunter<br />Team members: David Tynan<br /> Monteiro Luzala<br /> Roman Villem<br /> Xue Lian<br />
  2. 2. A i m s<br />Digital electronic systems – 2nd Year presentation project<br /><ul><li> understand microprocessors
  3. 3. demonstrate the power of microprocessor
  4. 4. understand the code
  5. 5. internet communication
  6. 6. research</li></li></ul><li>t h e o r y b e h i n d<br />Digital electronic systems – 2nd Year presentation project<br /><ul><li> higher knowledge of </li></ul> electronics<br /><ul><li> number systems
  7. 7. architecture
  8. 8. code</li></ul>0101 1001 b 89d<br />0101 1001 b 59h<br />
  9. 9. 8 0 5 1<br />Digital electronic systems – 2nd Year presentation project<br /><ul><li> proven architecture
  10. 10. different configurations
  11. 11. free developing tools
  12. 12. previous knowledge of </li></ul> 8051<br /><ul><li> access to sources</li></li></ul><li>L o c k d e s i g n<br />Digital electronic systems – 2nd Year presentation project<br />start<br /><ul><li> based on CPU
  13. 13. easy to use
  14. 14. easy to comprehend
  15. 15. inexpensive
  16. 16. secure</li></ul>set the code<br /><ul><li>Use of micro-controller allows to keep the circuit simple while remain fully functioning and physically small.
  17. 17. The device consist of micro-controller, keypad, LCD and other parts.
  18. 18. The LCD informs the user about the state of the lock and provides a way of communication to the user.
  19. 19. The keypad used as an input device transfers the users input to the micro-controller which responds with a true or false statement.</li></ul>read keypad<br />door<br />open / locked<br />check the pass<br />door control<br />blocked<br />
  20. 20. C i r c u i t<br />Digital electronic systems – 2nd Year presentation project<br /><ul><li> microcontroller 2051
  21. 21. LCD in 4 bit mode
  22. 22. low number of parts
  23. 23. high power MOSFET</li></li></ul><li>C o d e<br />Digital electronic systems – 2nd Year presentation project<br />.<br />.<br />unsigned char code lockicon[]={0xe, 0xa, 0x1f, 0x1f, 0x1b, 0x1b, 0xe, 0x0};<br />unsigned char code unlockicon[]={0xe, 0x2, 0x1f, 0x1f, 0x1b, 0x1b, 0xe, 0x0};<br />unsigned char code ex[]={0x1f, 0x1b, 0x1b, 0x1b, 0x1b, 0x1f, 0x1b, 0x1f};<br />unsigned char code ok[]={0x0, 0x1, 0x3, 0x16, 0x1c, 0x8, 0x0, 0x0};<br />.<br />.<br />void lcd_init ()<br />{<br /> unsigned char i;<br />lcd_reset();<br />lcd_cmd(LCD_SETFUNCTION); // 4-bit mode - 1 line - 5x7 font. <br />lcd_cmd(LCD_SETVISIBLE+0x04); // Display no cursor - no blink.<br />lcd_cmd(LCD_SETMODE+0x02); // Automatic Increment - No Display shift.<br />lcd_cmd(LCD_SETCGADDR);<br /> for(i=0;i<8;i++)<br />lcd_data(lockicon[i]);<br /> for(i=0;i<8;i++)<br />lcd_data(unlockicon[i]);<br /> for(i=0;i<8;i++)<br />lcd_data(ex[i]);<br /> for(i=0;i<8;i++)<br />lcd_data(ok[i]);<br />lcd_cmd(LCD_SETDDADDR); // Address DDRAM with 0 offset 80h.<br /> }<br /><ul><li> C code
  24. 24. easy to understand
  25. 25. broken down to </li></ul> functional parts<br /><ul><li>.hex</li></li></ul><li>Si m u l a t i o n<br />Digital electronic systems – 2nd Year presentation project<br />
  26. 26. C o n c l u s i o n<br />Digital electronic systems – 2nd Year presentation project<br /><ul><li> new way of co-operation
  27. 27. retaining gained skills
  28. 28. difficulties</li>

×