TAILIEUCHUNG - Programming Embedded Systems I

Overview of this seminar This introductory seminar will: • Provide an overview of this course • Introduce the 8051 microcontroller • Present the “Super Loop” software architecture • Describe how to use port pins • Consider how you can generate delays (and why you might need to).Overview of this course This course is concerned with the implementation of software (and a small amount of hardware) for embedded systems constructed using a single microcontroller. The processors examined in detail are from the 8051 family (including both ‘Standard’ and ‘Small’ devices). All programming is in the ‘C’ language | Programming Embedded Systems I A 10-week course using c Michael J. Pont University of Leicester Copyright Michael J. Pont 2002-2003 This document may be freely distributed and copied provided that copyright notice at the foot of each OHP page is clearly visible in all copies. Seminar 1 Hello Embedded World 1 Overview of this seminar 2 Overview of this course 3 By the end of the course . 4 Main course textbook 5 Why use c 6 Pre-requisites 7 The 8051 microcontroller 8 The super loop software architecture 9 Strengths and weaknesseses of super loops 10 Example Central-heating controller 11 Reading from and writing to port pins 12 SFRs and ports 13 SFRs and ports 14 Creating and using sbit variables 15 Example Reading and writing bytes 16 Creating software delays 17 Using the performance analyzer to test software delays 18 Strengths and weaknesses of software-only delays 19 Preparation for the next seminar 20 III Seminar 2 Basic hardware foundations resets oscillators and port I O 21 Review The 8051 microcontroller 22 Review Central-heating controller 23 Overview of this seminar 24 Oscillator Hardware 25 How to connect a crystal to a microcontroller 27 Oscillator frequency and machine cycle period 28 Keep the clock frequency as low as possible 29 Stability issues 30 Improving the stability of a crystal oscillator 31 Overall strengths and weaknesses 32 Reset Hardware 34 More robust reset circuits 35 Driving DC Loads 36 Use of pull-up resistors 38 Driving a low-power load without using a buffer 39 Using an IC Buffer 40 Example Buffering three LEDs with a 74HC04 41 What is a multi-segment LED 42 Driving a single digit 43 Preparation for the next seminar 44 IV Seminar 3 Reading Switches 45 Introduction 46 Review Basic techniques for reading from port pins 47 Example Reading and writing bytes review 48 Example Reading and writing bits simple version 49 Example Reading and writing bits generic version 51 The need for pull-up resistors 56 The need for pull-up resistors 57

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.