8051 Single Board Computer (SBC) Version 1.0 - PowerPoint PPT Presentation

About This Presentation
Title:

8051 Single Board Computer (SBC) Version 1.0

Description:

8051 Single Board Computer (SBC) Version 1.0 By Wichit Sirichote kswichit_at_kmitl.ac.th http://www.kmitl.ac.th/~kswichit/8051sbc/8051sbc.html ... – PowerPoint PPT presentation

Number of Views:185
Avg rating:3.0/5.0
Slides: 15
Provided by: claporte
Category:

less

Transcript and Presenter's Notes

Title: 8051 Single Board Computer (SBC) Version 1.0


1
8051 Single Board Computer (SBC)Version 1.0
  • By Wichit Sirichote
  • kswichit_at_kmitl.ac.th
  • http//www.kmitl.ac.th/kswichit/8051sbc/8051sbc.h
    tml

2
The 8051 Single Board Computer
3
8051 SBC Features
  • CPU 8051 compatible with 40-pin DIP package _at_
    11.0592MHz
  • MEMORY
  • 27C256 32kB EPROM for monitor program
  • 62256 32KB SRAM for both code and data space
  • I/O
  • direct CPU bus interface 2x16 line LCD
  • 8-bit input port 74LS244
  • 8-bit output port 74HC573
  • MEMORY and I/O Decoder GAL16V8D
  • EEPROM 24LC256 32KB serial eeprom
  • Real-Time Clock (RTC) DS1307 with 3V Lithium
    backup
  • ADC LTC1298, SPI interface 2-channel 12-bit
    Analog-to-Digital Converter
  • I/O pins P1, P3 of 8051 CPU, 16-bit I/O port
  • Debug LED single dot LED connected to P 1.7
  • Keypad and DIP Switch 4-bit keypad and 4-bit DIP
    switch
  • RS 232 Level Converter MAX232
  • RS 485 75176 differential transceiver
  • Serial Interface 9600 8n1
  • Monitor Program Modified PAULMON2 including new
    commands

4
Hardware Schematic, CPU, memory, PLD
5
RS232, RS485, DC supply, EEPROM, ADC, RTC,
keypad, debug LED.
6
Output Port
Data output pins
  • 8-bit output port address 0x0100

7
Input Port
Data input pins
  • 8-bit input port address 0x0200

8
12-bit Analog to Digital Converter (ADC)
Transfer Curve
Output Code
Source Linear Technology LTC1298
9
12-bit Analog to Digital Converter (ADC)
Analog input pin
Digital Data output pin
  • Channel 0 (Pin 2) - Analog Input (e.g. from 0 to
    5 volts)
  • Data (Pin 6) - The A/D conversion result is
    shifted out of pin 6
  • Data Transfer Format serial with MSB first
  • Conversion Time 60µs
  • Sampling Rate 11.1 Kilo Samples per second (ksps)

http//www.linear.com/pc/productDetail.jsp?navIdH
0,C1,C1155,C1001,C1158,P1445
Source Linear Technology LTC1298
10
12-bit Analog to Digital Converter (ADC)
  • Handshake between computer and Converter

11
12-bit Analog to Digital Converter (ADC)
  • Handshake between computer and Converter
  • Transfer of data from MSB (i.e. Bit 11) to LSB
    (i.e. Bit 0)

12
MTK51 8051 Microcontroller Trainer
  • http//www.kmitl.ac.th/kswichit/mtk51/index.html

13
MTK51 8051 Microcontroller Trainer
14
MTK51 8051 Instruction Subset
  • ACALL - Absolute Call
  • ADD, ADDC - Add Accumulator (With Carry)
  • AJMP - Absolute Jump
  • ANL - Bitwise AND
  • CJNE - Compare and Jump if Not Equal
  • CLR - Clear Register
  • CPL - Complement Register
  • DA - Decimal Adjust
  • DEC - Decrement Register
  • JNB - Jump if Bit Not Set
  • JNC - Jump if Carry Not Set
  • JNZ - Jump if Accumulator Not Zero
  • JZ - Jump if Accumulator Zero
  • LCALL - Long Call
  • LJMP - Long Jump
  • MOV - Move Memory
  • MOVC - Move Code Memory
  • MOVX - Move Extended Memory

http//www.win.tue.nl/aeb/comp/8051/set8051.html
Write a Comment
User Comments (0)
About PowerShow.com