Microcontroller Theory and Applications with the PIC18F


Book Description

A thorough revision that provides a clear understanding of the basic principles of microcontrollers using C programming and PIC18F assembly language This book presents the fundamental concepts of assembly language programming and interfacing techniques associated with typical microcontrollers. As part of the second edition's revisions, PIC18F assembly language and C programming are provided in separate sections so that these topics can be covered independent of each other if desired. This extensively updated edition includes a number of fundamental topics. Characteristics and principles common to typical microcontrollers are emphasized. Interfacing techniques associated with a basic microcontroller such as the PIC18F are demonstrated from chip level via examples using the simplest possible devices, such as switches, LEDs, Seven-Segment displays, and the hexadecimal keyboard. In addition, interfacing the PIC18F with other devices such as LCD displays, ADC, and DAC is also included. Furthermore, topics such as CCP (Capture, Compare, PWM) and Serial I/O using C along with simple examples are also provided. Microcontroller Theory and Applications with the PIC18F, 2nd Edition is a comprehensive and self-contained book that emphasizes characteristics and principles common to typical microcontrollers. In addition, the text: Includes increased coverage of C language programming with the PIC18F I/O and interfacing techniques Provides a more detailed explanation of PIC18F timers, PWM, and Serial I/O using C Illustrates C interfacing techniques through the use of numerous examples, most of which have been implemented successfully in the laboratory This new edition of Microcontroller Theory and Applications with the PIC18F is excellent as a text for undergraduate level students of electrical/computer engineering and computer science.







Microcontroller Theory and Applications with the PIC18F


Book Description

A thorough revision that provides a clear understanding of the basic principles of microcontrollers using C programming and PIC18F assembly language This book presents the fundamental concepts of assembly language programming and interfacing techniques associated with typical microcontrollers. As part of the second edition's revisions, PIC18F assembly language and C programming are provided in separate sections so that these topics can be covered independent of each other if desired. This extensively updated edition includes a number of fundamental topics. Characteristics and principles common to typical microcontrollers are emphasized. Interfacing techniques associated with a basic microcontroller such as the PIC18F are demonstrated from chip level via examples using the simplest possible devices, such as switches, LEDs, Seven-Segment displays, and the hexadecimal keyboard. In addition, interfacing the PIC18F with other devices such as LCD displays, ADC, and DAC is also included. Furthermore, topics such as CCP (Capture, Compare, PWM) and Serial I/O using C along with simple examples are also provided. Microcontroller Theory and Applications with the PIC18F, 2nd Edition is a comprehensive and self-contained book that emphasizes characteristics and principles common to typical microcontrollers. In addition, the text: Includes increased coverage of C language programming with the PIC18F I/O and interfacing techniques Provides a more detailed explanation of PIC18F timers, PWM, and Serial I/O using C Illustrates C interfacing techniques through the use of numerous examples, most of which have been implemented successfully in the laboratory This new edition of Microcontroller Theory and Applications with the PIC18F is excellent as a text for undergraduate level students of electrical/computer engineering and computer science.




Microcontroller Based Applied Digital Control


Book Description

Combines the theory and the practice of applied digital control This book presents the theory and application of microcontroller based automatic control systems. Microcontrollers are single-chip computers which can be used to control real-time systems. Low-cost, single chip and easy to program, they have traditionally been programmed using the assembly language of the target processor. Recent developments in this field mean that it is now possible to program these devices using high-level languages such as BASIC, PASCAL, or C. As a result, very complex control algorithms can be developed and implemented on the microcontrollers. Presenting a detailed treatment of how microcontrollers can be programmed and used in digital control applications, this book: * Introduces the basic principles of the theory of digital control systems. * Provides several working examples of real working mechanical, electrical and fluid systems. * Covers the implementation of control algorithms using microcontrollers. * Examines the advantages and disadvantages of various realization techniques. * Describes the use of MATLAB in the analysis and design of control systems. * Explains the sampling process, z-transforms, and the time response of discrete-time systems in detail. Practising engineers in industry involved with the design and implementation of computer control systems will find Microcontroller Based Applied Digital Control an invaluable resource. In addition, researchers and students in control engineering and electrical engineering will find this book an excellent research tool.




8051 Microcontrollers


Book Description

A guide to the 8051 family of microcontrollers with particular focus on how they are used in practical circuits. This volume includes worked examples and design applications which are designed to enable the reader to fully understand the devices. The material should be accessible to students with an elementary understanding of microprocessors and is aimed at second and third year electronic engineering and computing students, as well as postgraduate students on computer application research courses.




Introduction to Microcontroller Programming for Power Electronics Control Applications


Book Description

Microcontroller programming is not a trivial task. Indeed, it is necessary to set correctly the required peripherals by using programming languages like C/C++ or directly machine code. Nevertheless, MathWorks® developed a model-based workflow linked with an automatic code generation tool able to translate Simulink® schemes into executable files. This represents a rapid prototyping procedure, and it can be applied to many microcontroller boards available on the market. Among them, this introductory book focuses on the C2000 LaunchPadTM family from Texas InstrumentsTM to provide the reader basic programming strategies, implementation guidelines and hardware considerations for some power electronics-based control applications. Starting from simple examples such as turning on/off on-board LEDs, Analog-to-Digital conversion, waveform generation, or how a Pulse-Width-Modulation peripheral should be managed, the reader is guided through the settings of the specific MCU-related Simulink® blocks enabled for code translation. Then, the book proposes several control problems in terms of power management of RL and RLC loads (e.g., involving DC-DC converters) and closed-loop control of DC motors. The control schemes are investigated as well as the working principles of power converter topologies needed to drive the systems under investigation. Finally, a couple of exercises are proposed to check the reader’s understanding while presenting a processor-in-the loop (PIL) technique to either emulate the dynamics of complex systems or testing computational performance. Thus, this book is oriented to graduate students of electrical and automation and control engineering pursuing a curriculum in power electronics and drives, as well as to engineers and researchers who want to deepen their knowledge and acquire new competences in the design and implementations of control schemes aimed to the aforementioned application fields. Indeed, it is assumed that the reader is well acquainted with fundamentals of electrical machines and power electronics, as well as with continuous-time modeling strategies and linear control techniques. In addition, familiarity with sampled-data, discrete-time system analysis and embedded design topics is a plus. However, even if these competences are helpful, they are not essential, since this book provides some basic knowledge even to whom is approaching these topics for the first time. Key concepts are developed from scratch, including a brief review of control theory and modeling strategies for power electronic-based systems.




Microcontroller Theory and Applications


Book Description

For undergraduate students taking a Microcontroller or Microprocessor course, frequently found in electrical engineering and computer engineering curricula. This text provides the reader with fundamental assembly language programming skills, an understanding of the functional hardware components of a microcontroller, and skills to interface a variety of external devices with microcontrollers




Fundamentals of Microcontrollers and Applications in Embedded Systems (with the PIC18 Microcontroller Family)


Book Description

Learn microcontroller fundamentals as well as the basics of architecture, assembly language programming, and applications in embedded systems! This comprehensive introduction to the PIC microcontroller text builds an in-depth foundation in microprocessor theory and application. The text features balanced coverage of both hardware and software for a fuller understanding of how microcontrollers function. Readers are systematically guided through fundamental programming essentials of assembly language in a step-by-step process that builds a sound knowledge base for tackling the basic operability of the chip, as well as more advanced applications of the PIC.




Microcontrollers Fundamentals for Engineers and Scientists


Book Description

This book provides practicing scientists and engineers a tutorial on the fundamental concepts and use of microcontrollers. Today, microcontrollers, or single integrated circuit (chip) computers, play critical roles in almost all instrumentation and control systems. Most existing books arewritten for undergraduate and graduate students taking an electrical and/or computer engineering course. Furthermore, these texts have beenwritten with a particular model of microcontroller as the target discussion. These textbooks also require a requisite knowledge of digital design fundamentals. This textbook presents the fundamental concepts common to all microcontrollers. Our goals are to present the over–arching theory of microcontroller operation and to provide a detailed discussion on constituent subsystems available in most microcontrollers. With such goals, we envision that the theory discussed in this book can be readily applied to a wide variety of microcontroller technologies, allowing practicing scientists and engineers to become acquainted with basic concepts prior to beginning a design involving a specific microcontroller. We have found that the fundamental principles of a given microcontroller are easily transferred to other controllers. Although this is a relatively small book, it is packed with useful information for quickly coming up to speed on microcontroller concepts.




Embedded Digital Control with Microcontrollers


Book Description

EMBEDDED DIGITAL CONTROL WITH MICROCONTROLLERS Explore a concise and practical introduction to implementation methods and the theory of digital control systems on microcontrollers Embedded Digital Control with Microcontrollers delivers expert instruction in digital control system implementation techniques on the widely used ARM Cortex-M microcontroller. The accomplished authors present the included information in three phases. First, they describe how to implement prototype digital control systems via the Python programming language in order to help the reader better understand theoretical digital control concepts. Second, the book offers readers direction on using the C programming language to implement digital control systems on actual microcontrollers. This will allow readers to solve real-life problems involving digital control, robotics, and mechatronics. Finally, readers will learn how to merge the theoretical and practical issues discussed in the book by implementing digital control systems in real-life applications. Throughout the book, the application of digital control systems using the Python programming language ensures the reader can apply the theory contained within. Readers will also benefit from the inclusion of: A thorough introduction to the hardware used in the book, including STM32 Nucleo Development Boards and motor drive expansion boards An exploration of the software used in the book, including Python, MicroPython, and Mbed Practical discussions of digital control basics, including discrete-time signals, discrete-time systems, linear and time-invariant systems, and constant coefficient difference equations An examination of how to represent a continuous-time system in digital form, including analog-to-digital conversion and digital-to-analog conversion Perfect for undergraduate students in electrical engineering, Embedded Digital Control with Microcontrollers will also earn a place in the libraries of professional engineers and hobbyists working on digital control and robotics systems seeking a one-stop reference for digital control systems on microcontrollers.