Your SlideShare is downloading. ×
  • Like
Des Presentation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Des Presentation

  • 245 views
Published

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
245
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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