8051 Single Board Computer (SBC) Version 1.0

Slides:



Advertisements
Similar presentations
Chapter 18 The 8051 Microcontroller
Advertisements

Embedded Software 1. General 8051 features (excluding I/O) CPU 8 bit microcontroller The basic registers include (more discussed later) The 8-bit A (accumulator)
Week4. Program Branching  From what we have covered so far, our assembly programs execute one instruction after another in sequence  Programs that solve.
Chapter 3 INSTRUCTION SET SUMMARY
MC68HC11 System Overview. System block diagram (A8 version)
1 Chapter 3 Jump, Loop, and Call Instructions. 2 Sections 3.1 Loop and Jump Instructions 3.2 Call Instructions 3.3 Time Delay Generation and Calculation.
Msc. Ivan A. Escobar Broitman Microprocessors 1 1 The 8051 Instruction Set.
Introduction of Holtek HT-46 series MCU
Microcontroller Intel 8051
The 8051 Microcontroller architecture
MICROCONTROLLER INSTRUCTION SET
Numerical Bases Used in Programming Hexadecimal Binary BCD.
The 8051 Microcontroller and Embedded Systems
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
CoE3DJ4 Digital Systems Design Chapter 3: instruction set summary.
Prof. Cherrice TraverEE/CS-152: Microprocessors and Microcontrollers The 8051 Assembly Language.
CIT 673 Created by Suriyong1 MCS51 ASSEMBLY Language Resources
MICROCONTROLLERS 8051.
The 8051 Assembly Language Branching & Subroutines
Prof. Cherrice TraverEE/CS-152: Microprocessors and Microcontrollers The 8051 Assembly Language.
The 8051 Microcontroller and Embedded Systems
Lecture Set 4 Programming the 8051.
Microcontrollers. An embedded microcontroller is a chip which a computer processor with all it’s support functions (clocking and reset), memory, and i/O.
MICRO CONTROLLER PROGRAMMING & APPLICATIONS UNIT V Mr. S. VINOD LECTURER EEE DEPARTMENT.
CHAPTER 6 ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS.
EE/CS-352: Embedded Microcontroller Systems Part V The 8051 Assembly Language Interrupts.
JUMP, LOOP, AND CALL INSTRUCTIONS
The 8051 Assembly Language. Overview Introduction Addressing modes Data processing (arithmetic and logic) Data transfer instructions Program flow instructions.
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
8 085Microprocessor Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine.
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
CEng3361 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2011 Recitation 06.
Embedded Microcontroller Systems
LCD and Keyboard Interfacing
Classification of Instruction Set of 8051
3.Instruction Set of 8085 Consists of 74 operation codes, e.g. MOV
Interfacing of LCD with µP
Lecture Set 5 The 8051 Instruction Set.
Subroutines and the Stack
ECE,JYOTHI ENGG COLLEGE
INSTRUCTION SET.
The 8051 Family Microcontroller
Data Processing Instructions
The Arduino Microcontroller: Atmel AVR Atmega 328
The 8051 Microcontroller.
Boolean Operations This group of instructions is associated with the single-bit operations of the This group allows manipulating the individual bits.
Introduction to Microprocessors and Microcontrollers
SCHOOL OF ELECTRONICS ENGINEERING Electronics and Communication
The 8051 Assembly Language Arithmetic & Logic Instructions
LCD and Keyboard Interfacing
LCD and Keyboard Interfacing
(Electrical Engg 6th Semester)
Branching Instructions
Introduction to Micro Controllers & Embedded System Design Instruction set Department of Electrical & Computer Engineering Missouri University of Science.
Source: Motor Source:
Subroutines and the Stack
Microcontroller 8051 Made By: Arun Branch. 4th Sem. I&C Engg.
Conditional Jumps and Time Delays
Introduction to Micro Controllers & Embedded System Design Instruction set Department of Electrical & Computer Engineering Missouri University of Science.
Conditional Jumps and Time Delays
DMT 245 Introduction to Microcontroller
First Design Key board R L S.
Conditional Jumps and Time Delays
8051 Micro Controller.
Source: Motor Source:
Compiled by Dr. N.Shanmugasundaram, HOD, ECE Dept, SECE.
Subroutines and the Stack
ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS
Computer Operation 6/22/2019.
PROCESSORS & CONTROLLERS
Presentation transcript:

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

The 8051 Single Board Computer Serial Interface LED Real-Time Clock Analog to digital converter Random Access Memory (RAM) Input/Output Pins Input/Output Pins Read Only Memory (EEPROM) DIP Switches Liquid Cristal Display 8051 CPU 14/11/2018

8051 SBC Features CPU: 8051 compatible with 40-pin DIP package @ 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 14/11/2018

Hardware Schematic, CPU, memory, PLD 14/11/2018

RS232, RS485, DC supply, EEPROM, ADC, RTC, keypad, debug LED. 14/11/2018

Output Port 8-bit output port address: 0x0100 Data output pins 14/11/2018

Input Port Data input pins 8-bit input port address: 0x0200 14/11/2018

12-bit Analog to Digital Converter (ADC) Transfer Curve Output Code 14/11/2018 Source: Linear Technology LTC1298

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?navId=H0,C1,C1155,C1001,C1158,P1445 14/11/2018 Source: Linear Technology LTC1298

12-bit Analog to Digital Converter (ADC) Handshake between computer and Converter 14/11/2018

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) 14/11/2018

MTK51 8051 Microcontroller Trainer http://www.kmitl.ac.th/~kswichit/mtk51/index.html 14/11/2018

MTK51 8051 Microcontroller Trainer 14/11/2018

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 DIV - Divide Accumulator by B DJNZ - Decrement Register and Jump if Not Zero INC - Increment Register JB - Jump if Bit Set JBC - Jump if Bit Set and Clear Bit JC - Jump if Carry Set JMP - Jump to Address 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 MUL - Multiply Accumulator by B NOP - No Operation ORL - Bitwise OR POP - Pop Value From Stack PUSH - Push Value Onto Stack RET - Return From Subroutine RETI - Return From Interrupt RL - Rotate Accumulator Left 14/11/2018 http://www.win.tue.nl/~aeb/comp/8051/set8051.html